/*
Theme Name: Giorgia Arlanch
Theme URI: https://giorgia-arlanch.com
Author: Giorgia Arlanch
Author URI: https://giorgia-arlanch.com
Description: Sacred healing theme with warm, earthy aesthetics for holistic practitioners
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giorgia-arlanch
Tags: blog, wellness, holistic, spiritual
*/

/* ==========================================
   CSS Variables - Design System
   ========================================== */
:root {
  /* Colors - HSL Values */
  --primary: 16 35% 37%;        /* #7B5544 - Terracotta */
  --secondary: 23 46% 78%;      /* #DAB7A3 - Rosa cipria */
  --accent: 42 46% 80%;         /* #DCC296 - Oro chiaro */
  --background: 40 44% 95%;     /* #F7F3EE - Ivory */
  --card-bg: 38 46% 92%;        /* #F3EBDF - Card background */
  --foreground: 25 22% 26%;     /* #483D37 - Text */
  --muted: 40 20% 70%;
  --border: 40 20% 85%;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #DAB7A3, #DCC296);
  --gradient-subtle: linear-gradient(180deg, #F7F3EE, #F3EBDF);
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(123, 85, 68, 0.15);
  --shadow-hover: 0 8px 30px rgba(123, 85, 68, 0.25);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   Base Styles
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cormorant Garamond', serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.7;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: hsl(var(--primary));
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

.signature,
.script-text {
  font-family: 'Parisienne', cursive;
  color: hsl(var(--primary));
  font-size: 2rem;
}

a {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: hsl(var(--accent));
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   Container & Layout
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 243, 238, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  padding: 1.5rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: 'Parisienne', cursive;
  font-size: 2rem;
  color: hsl(var(--primary));
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.main-content {
  margin-top: 6rem;
  min-height: calc(100vh - 10rem);
  padding: 2rem 0;
}

.site-footer {
  background: hsl(var(--card-bg));
  padding: 3rem 0 1rem;
  border-top: 1px solid hsl(var(--border));
  margin-top: 4rem;
}

/* ==========================================
   Button Styles
   ========================================== */
.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  display: inline-block;
  background: var(--gradient-primary);
  color: hsl(var(--foreground));
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
}

.btn:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: hsl(var(--foreground));
}

/* ==========================================
   Card Styles
   ========================================== */
.post-card,
.article-card,
.wp-block-post {
  background: hsl(var(--card-bg));
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.post-card:hover,
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.post-card img,
.article-card img {
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.post-meta {
  color: hsl(var(--muted));
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.post-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.post-excerpt {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ==========================================
   Blog Archive Grid
   ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* ==========================================
   Single Post
   ========================================== */
.single-post {
  max-width: 800px;
  margin: 0 auto;
}

.single-post .featured-image {
  border-radius: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.single-post .entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.single-post .entry-content p {
  margin-bottom: 1.5rem;
}

/* ==========================================
   Comments
   ========================================== */
.comments-area {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.comment-list {
  list-style: none;
}

.comment {
  background: hsl(var(--card-bg));
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

/* ==========================================
   Forms
   ========================================== */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: white;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .site-header .container {
    flex-direction: column;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .main-content {
    margin-top: 8rem;
  }
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
