@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Luxurious, Happy Rose Gold & Blush Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FFFFFF; 
  --bg-tertiary: #FFFFFF;
  
  --text-primary: #2D283E; /* Deep elegant purple-black */
  --text-secondary: #564F6F; 
  --text-light: #9B98A6;
  
  --accent-sage: #D4A373; /* Elegant Rose Gold / Champagne */
  --accent-sage-hover: #C58B54;
  --accent-terracotta: #E89F9F; /* Happy Blush Pink */
  --accent-terracotta-hover: #D48484;
  --accent-gold: #FAEDCD; /* Soft Cream */
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Utilities */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-colored: 0 20px 25px -5px rgba(212, 163, 115, 0.15);
  
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* Base Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-sage);
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-sage-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 163, 115, 0.4);
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-sage);
  border: 1px solid var(--accent-sage);
}

.btn-secondary:hover {
  background-color: var(--accent-sage);
  color: #fff;
}

.btn-terracotta {
  background-color: var(--accent-terracotta);
  color: #fff;
  box-shadow: 0 4px 15px rgba(232, 159, 159, 0.3);
}

.btn-terracotta:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 159, 159, 0.4);
  color: #fff;
}

/* Navigation */
#navbar-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.navbar {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-sage);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-sage);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

/* Decor shapes */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 159, 159, 0.08) 0%, rgba(255,255,255,0) 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, rgba(255,255,255,0) 70%);
  bottom: -150px;
  left: -150px;
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.hero-content h1 span {
  color: var(--accent-sage);
  font-style: italic;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
}

.hero-image.slider {
  height: 600px;
}

.hero-image img, .hero-image.slider .slide {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-colored);
  transform: rotate(2deg);
  transition: transform var(--transition-smooth);
}

.hero-image.slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideAnimation 9s infinite;
}

.hero-image.slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-image.slider .slide:nth-child(2) { animation-delay: 3s; }
.hero-image.slider .slide:nth-child(3) { animation-delay: 6s; }

@keyframes slideAnimation {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-image:hover img, .hero-image.slider:hover .slide {
  transform: rotate(0deg) scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  text-align: center;
}

.hero-badge span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-terracotta);
  font-size: 1.5rem;
  line-height: 1;
}
.hero-badge small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-top: 5px;
}

/* Feature Section (Books) */
.book-showcase {
  background: var(--bg-tertiary);
  text-align: center;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}
.section-header span {
  color: var(--accent-terracotta);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 1rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.book-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.03);
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.book-cover {
  width: 100%;
  max-width: 250px;
  margin: 0 auto 2rem;
  display: block;
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  transition: transform 0.4s;
}

.book-card:hover .book-cover {
  transform: scale(1.05) rotate(-2deg);
}

.book-card h3 {
  margin-bottom: 1rem;
}

.book-card p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* About Preview */
.about-preview {
  background: var(--bg-secondary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-collage {
  position: relative;
  height: 650px;
}
.image-collage img {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}
.image-collage img:nth-child(1) {
  width: 75%;
  top: 0;
  left: 0;
  z-index: 2;
}
.image-collage img:nth-child(2) {
  width: 65%;
  bottom: 0;
  right: 0;
  z-index: 3;
}
.image-collage img:nth-child(3) {
  width: 55%;
  top: 20%;
  right: 5%;
  z-index: 1;
  opacity: 0.6;
}
.image-collage:hover img:nth-child(1) { transform: scale(1.05); z-index: 4; }
.image-collage:hover img:nth-child(2) { transform: scale(1.05); z-index: 4; }

/* Page Header for Subpages */
.page-header {
  padding: 120px 0 60px;
  background: var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.page-header h1 {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--text-primary);
  color: #fff;
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand h2 {
  font-family: var(--font-heading);
  color: var(--accent-sage);
  margin-bottom: 1.5rem;
}
.footer-brand p {
  color: var(--text-light);
}
.footer-links h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-light);
}
.footer-links a:hover {
  color: var(--accent-sage);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero .container, .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-image {
    order: -1;
  }
  .image-collage {
    height: 400px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}

.site-logo {
  max-height: 70px;
  width: auto;
  filter: brightness(0);
}

.site-logo-footer {
  max-height: 100px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
