/* ==========================================================================
   TRAN THI CAY - NHA SANG TAO NOI DUNG | TRANTHICAY.LIFE
   Theme: Tinh Hoa Sen Viet - Binh An, Tinh Thuc, Song Dep & Tron Ven
   ========================================================================== */

:root {
  --primary: #c25975;
  --primary-light: #e6859e;
  --primary-dark: #8c2e47;
  --primary-rgb: 194, 89, 117;
  
  --gold: #d4a359;
  --gold-light: #f3d498;
  --gold-dark: #9f6f28;
  --gold-gradient: linear-gradient(135deg, #d4a359 0%, #f7dfa5 50%, #b8860b 100%);
  
  --lotus-gradient: linear-gradient(135deg, #fff0f3 0%, #fde2e8 50%, #fed7e2 100%);
  --hero-gradient: linear-gradient(135deg, #2a111b 0%, #3e1b29 50%, #1a0f14 100%);
  --card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 245, 248, 0.75) 100%);
  
  --bg-page: #faf6f4;
  --bg-cream: #fbf7f5;
  --text-main: #2d2627;
  --text-muted: #6e6265;
  --text-light: #948689;
  
  --border-subtle: rgba(194, 89, 117, 0.15);
  --border-glass: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 4px 12px rgba(140, 46, 71, 0.05);
  --shadow-md: 0 10px 30px rgba(140, 46, 71, 0.08);
  --shadow-lg: 0 20px 45px rgba(140, 46, 71, 0.12);
  --shadow-gold: 0 10px 30px rgba(212, 163, 89, 0.25);
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TYPOGRAPHY & ACCENTS
   ========================================================================== */

h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lotus-text {
  color: var(--primary);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(194, 89, 117, 0.1);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(194, 89, 117, 0.2);
}

.section-tag.gold {
  background: rgba(212, 163, 89, 0.12);
  color: var(--gold-dark);
  border-color: rgba(212, 163, 89, 0.3);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.4rem;
  color: #1e1518;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(194, 89, 117, 0.1);
}

.site-header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(194, 89, 117, 0.25);
  border: 2px solid var(--primary-light);
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}

.logo-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.brand-logo:hover .logo-symbol img {
  transform: scale(1.08);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(194, 89, 117, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(194, 89, 117, 0.45);
  color: #fff;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #2a111b;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(194, 89, 117, 0.08);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--primary-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  background: radial-gradient(circle at 10% 20%, #fff7f9 0%, #faf3f1 60%, #f6e9eb 100%);
  overflow: hidden;
}

.hero-lotus-bg {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 133, 158, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 3.2rem;
  color: #201317;
  line-height: 1.2;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(194, 89, 117, 0.15);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 6px;
}

/* Hero Visual & Badges */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  overflow: visible;
  transition: var(--transition);
}

.hero-image-frame {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(140, 46, 71, 0.18);
  border: 5px solid #fff;
  background: #fff;
  position: relative;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
  display: block;
}

.hero-image-card:hover .hero-image-frame img {
  transform: scale(1.03);
}

/* Photo Switcher */
.hero-photo-switch {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 4;
}

.photo-switch-btn {
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.photo-switch-btn.active, .photo-switch-btn:hover {
  background: var(--primary);
  color: #fff;
}

.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.floating-pill.pill-top {
  top: -16px;
  left: -24px;
  animation-delay: 0s;
}

.floating-pill.pill-bottom {
  bottom: -16px;
  right: -24px;
  animation-delay: 2s;
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lotus-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.floating-text span {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   PILLARS / TRIET LY SONG
   ========================================================================== */

.section-pillars {
  padding: 100px 0;
  background: #fff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 89, 117, 0.35);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 58px;
  height: 58px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.pillar-card h3 {
  font-size: 1.3rem;
  color: #1e1518;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   JOURNEY & 34 YEARS OF TEACHING & BAO VIET
   ========================================================================== */

.section-journey {
  padding: 110px 0;
  background: var(--bg-cream);
  position: relative;
}

.journey-card-main {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(194, 89, 117, 0.12);
  overflow: hidden;
  margin-bottom: 40px;
}

.journey-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.journey-row.reverse {
  direction: rtl;
}

.journey-row.reverse .journey-text-side {
  direction: ltr;
}

.journey-img-side {
  position: relative;
  min-height: 380px;
}

.journey-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-badge-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.journey-text-side {
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journey-text-side h3 {
  font-size: 1.85rem;
  color: #1e1518;
  margin-bottom: 18px;
  line-height: 1.35;
}

.journey-text-side p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

.achievement-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.achieve-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(194, 89, 117, 0.08);
  border: 1px solid rgba(194, 89, 117, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.achieve-chip.gold {
  background: rgba(212, 163, 89, 0.12);
  border-color: rgba(212, 163, 89, 0.35);
  color: var(--gold-dark);
}

/* ==========================================================================
   BOOKS & SPIRITUAL CREATIONS (SEN TAM, 3 TAI SAN)
   ========================================================================== */

.section-books {
  padding: 110px 0;
  background: #fff;
  position: relative;
}

.book-showcase-box {
  background: linear-gradient(145deg, #fff7f9 0%, #fff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(194, 89, 117, 0.2);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
}

.book-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.book-covers-wrap {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
}

.book-card-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(140, 46, 71, 0.2);
  border: 3px solid #fff;
  transition: var(--transition);
  max-width: 240px;
}

.book-card-item:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 20px 50px rgba(140, 46, 71, 0.3);
}

.book-card-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.book-info-side h3 {
  font-size: 2.2rem;
  color: #1e1518;
  margin-bottom: 12px;
}

.book-subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.book-quote-quote {
  font-style: italic;
  padding: 16px 20px;
  background: rgba(194, 89, 117, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 22px;
  color: #3b282d;
  font-size: 1.02rem;
}

.book-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.highlight-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* Secondary Book: 3 Tai San */
.secondary-creations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.creation-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.creation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 89, 117, 0.3);
}

.creation-card h4 {
  font-size: 1.45rem;
  color: #1e1518;
  margin-bottom: 14px;
}

.creation-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ==========================================================================
   MUSIC & POETRY + INTERACTIVE VIDEO PLAYER
   ========================================================================== */

.section-media {
  padding: 110px 0;
  background: var(--hero-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-media .section-header h2 {
  color: #fff;
}

.section-media .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.media-player-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.video-container {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.video-container video {
  width: 100%;
  max-height: 480px;
  display: block;
}

.media-lyrics-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.lyrics-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(212, 163, 89, 0.25);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 163, 89, 0.4);
}

.media-lyrics-box h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 14px;
}

.lyrics-content {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* ==========================================================================
   DIGITAL PIONEER & AI INNOVATION
   ========================================================================== */

.section-digital {
  padding: 110px 0;
  background: #fff;
}

.digital-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.digital-features-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feature-box {
  display: flex;
  gap: 20px;
  background: var(--bg-cream);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(194, 89, 117, 0.35);
  background: #fff;
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--lotus-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  border: 1px solid rgba(194, 89, 117, 0.2);
}

.feature-content h4 {
  font-size: 1.18rem;
  color: #1e1518;
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.digital-visual-side {
  position: relative;
  display: flex;
  gap: 20px;
}

.digital-photo-item {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
}

.digital-photo-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.digital-photo-item:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   PHOTO & STORY GALLERY (FILTERABLE)
   ========================================================================== */

.section-gallery {
  padding: 110px 0;
  background: var(--bg-page);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.filter-btn {
  background: #fff;
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(194, 89, 117, 0.15);
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(194, 89, 117, 0.3);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 21, 24, 0.88) 0%, rgba(30, 21, 24, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-tag {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 30px;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content-box img {
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #fff;
  margin-top: 15px;
  font-size: 1.05rem;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
}

/* ==========================================================================
   DAILY QUOTES / INTERACTIVE MESSAGE
   ========================================================================== */

.section-quotes {
  padding: 100px 0;
  background: linear-gradient(135deg, #fff2f5 0%, #fff 100%);
  text-align: center;
}

.quote-interactive-box {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(194, 89, 117, 0.18);
  position: relative;
}

.quote-interactive-box::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 30px;
  font-family: var(--font-serif);
  font-size: 7rem;
  color: rgba(194, 89, 117, 0.12);
  line-height: 1;
}

.quote-content-text {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #201317;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.quote-author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 26px;
}

.quote-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #1b1114;
  color: #e5dedf;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-about p {
  color: #a89ba0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b5a8ad;
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #b5a8ad;
  font-size: 0.93rem;
}

.footer-contact-icon {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: #fff;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.88rem;
  color: #8c7e84;
}

.footer-bottom a {
  color: var(--gold-light);
}

/* ==========================================================================
   AI ASSISTANT CHAT WIDGET (BRAND ASSISTANT INTEGRATOR)
   ========================================================================== */

.brand-fab-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #c25975 0%, #8c2e47 100%);
  color: #fff;
  padding: 12px 22px 12px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 35px rgba(140, 46, 71, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.brand-fab-launcher:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 45px rgba(140, 46, 71, 0.55);
}

.brand-fab-icon-box {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.brand-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: pulse-ring 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.brand-fab-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-fab-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.brand-fab-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
}

.brand-fab-badge {
  background: var(--gold-gradient);
  color: #2a111b;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

/* Chat Window */
.brand-chat-window {
  position: fixed;
  bottom: 95px;
  right: 24px;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 570px;
  max-height: calc(100vh - 120px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(194, 89, 117, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.brand-chat-window.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.brand-chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #c25975 0%, #8c2e47 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-chat-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.brand-fab-icon-box img,
.brand-avatar img,
.brand-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #fff;
}

.brand-profile-meta .brand-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}

.brand-profile-meta .brand-status-text {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.brand-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-icon-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.brand-icon-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.brand-chat-body {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fdfaf9;
}

.brand-msg {
  display: flex;
  gap: 10px;
  max-width: 86%;
  animation: fadeInMsg 0.3s ease;
}

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

.brand-msg.bot {
  align-self: flex-start;
}

.brand-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.brand-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lotus-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(194, 89, 117, 0.2);
}

.brand-msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.brand-msg.bot .brand-msg-bubble {
  background: #fff;
  color: #2b2325;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(194, 89, 117, 0.12);
}

.brand-msg.user .brand-msg-bubble {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.brand-msg-bubble strong {
  color: var(--primary-dark);
}

.brand-msg.user .brand-msg-bubble strong {
  color: #fff;
}

.brand-msg-bubble ul {
  padding-left: 18px;
  margin: 6px 0;
  list-style: disc;
}

/* Quick Suggestion Chips */
.brand-suggestions-bar {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border-top: 1px solid rgba(194, 89, 117, 0.1);
  scrollbar-width: none;
}

.brand-suggestions-bar::-webkit-scrollbar {
  display: none;
}

.brand-chip-btn {
  background: rgba(194, 89, 117, 0.08);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(194, 89, 117, 0.15);
}

.brand-chip-btn:hover {
  background: var(--primary);
  color: #fff;
}

.brand-chat-footer {
  padding: 12px 16px 10px;
  background: #fff;
  border-top: 1px solid rgba(194, 89, 117, 0.1);
}

.brand-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f4f5;
  border: 1px solid rgba(194, 89, 117, 0.2);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 14px;
}

.brand-input-field {
  flex: 1;
  background: transparent;
  font-size: 0.9rem;
  color: var(--text-main);
  resize: none;
  max-height: 80px;
  padding: 8px 0;
  line-height: 1.4;
}

.brand-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.brand-send-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.brand-footer-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-cta-box {
    justify-content: center;
  }
  .hero-metrics {
    justify-content: center;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-row, .journey-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .journey-img-side {
    min-height: 300px;
  }
  .book-grid {
    grid-template-columns: 1fr;
  }
  .media-player-grid {
    grid-template-columns: 1fr;
  }
  .digital-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 24px 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
    gap: 16px;
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .secondary-creations-grid {
    grid-template-columns: 1fr;
  }
  .book-showcase-box {
    padding: 28px 20px;
  }
  .book-covers-wrap {
    flex-direction: column;
    align-items: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand-fab-sub {
    display: none;
  }
  .brand-fab-launcher {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
  }
  .brand-chat-window {
    bottom: 80px;
    right: 16px;
    width: calc(100vw - 32px);
    height: 500px;
  }
}
