/*
Theme Name: Aesthetic LK
Theme URI: https://aesthetic.lk
Author: Aesthetic.lk
Description: Premium aesthetic platform for Sri Lanka — articles, services, centers & equipment.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: aesthetic-lk
*/

/* ============================================================
   GOOGLE FONTS & IMPORTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Palette */
  --rose:        #C9829A;
  --rose-light:  #E8B4C4;
  --blush:       #F7EBF0;
  --blush-deep:  #F0D6E0;
  --cream:       #FDF8F5;
  --champagne:   #F5E9DC;
  --gold:        #C49A6C;
  --gold-light:  #E8D5B7;
  --plum:        #4A3040;
  --plum-mid:    #6B4D5E;
  --text:        #3A2A32;
  --text-mid:    #7A6070;
  --text-light:  #B09AA8;
  --white:       #FFFFFF;

  /* Gradients */
  --grad-rose:   linear-gradient(135deg, #FDF8F5 0%, #F7EBF0 50%, #F0D6E0 100%);
  --grad-plum:   linear-gradient(135deg, #4A3040 0%, #6B4D5E 100%);
  --grad-gold:   linear-gradient(135deg, #C49A6C 0%, #E8D5B7 100%);
  --grad-glass:  linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 3rem;
  --sp-xl: 6rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 20px;
  --r-lg: 40px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-soft: 0 4px 30px rgba(74, 48, 64, 0.06);
  --shadow-card: 0 8px 40px rgba(74, 48, 64, 0.10);
  --shadow-hover:0 20px 60px rgba(74, 48, 64, 0.16);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5 {
  font-family: var(--font-serif);
  color: var(--plum);
  line-height: 1.15;
}
p { line-height: 1.75; color: var(--text-mid); }

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: var(--sp-xl) 0; }
.section--alt { background: var(--blush); }
.section--dark { background: var(--plum); }

.tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--sp-sm);
}

.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--plum);
  margin-bottom: 0.5rem;
}
.section-heading h2 em {
  font-style: italic;
  color: var(--rose);
}
.section-heading p {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0.75rem auto 0;
}
.section-heading--light h2,
.section-heading--light p { color: rgba(255,255,255,0.9); }
.section-heading--light .tag { color: var(--rose-light); }

/* Divider line */
.divider {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--rose);
  margin: 1rem auto;
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}
.btn--primary:hover {
  background: var(--rose);
  border-color: var(--rose);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201,130,154,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn--outline:hover {
  background: var(--plum);
  color: var(--white);
  transform: translateY(-3px);
}
.btn--ghost {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--plum);
  transform: translateY(-3px);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(253, 248, 245, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.9rem 0;
  box-shadow: 0 2px 40px rgba(74, 48, 64, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color 0.3s;
}
.site-header.scrolled .site-logo { color: var(--plum); }
.site-logo span { color: var(--rose-light); font-style: italic; }
.site-header.scrolled .site-logo span { color: var(--rose); }

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  padding: 0.5rem 0;
  position: relative;
}
.site-header.scrolled .nav-menu > li > a { color: var(--text); }
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--rose);
  transition: width 0.3s var(--ease);
}
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after { width: 100%; }
.nav-menu > li > a:hover { color: var(--rose); }
.site-header.scrolled .nav-menu > li > a:hover { color: var(--rose); }

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 0.75rem 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  border: 1px solid var(--blush-deep);
}
.nav-menu > li:hover .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .sub-menu li a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.2s;
}
.nav-menu .sub-menu li a:hover {
  color: var(--rose);
  padding-left: 1.8rem;
  background: var(--blush);
}

/* Header cart & mobile toggle */
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link {
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  font-size: 1.2rem;
  position: relative;
}
.site-header.scrolled .cart-link { color: var(--plum); }
.cart-link:hover { color: var(--rose); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.site-header.scrolled .mobile-toggle span { background: var(--plum); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(74, 48, 64, 0.65) 0%,
    rgba(74, 48, 64, 0.25) 60%,
    transparent 100%
  );
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 8rem 0 4rem;
  animation: fadeUp 1s 0.3s both;
}
.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 1.2rem;
  opacity: 0.9;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--rose-light);
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1.5s 1s both;
}
.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator .mouse::before {
  content: '';
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scrollDot 1.5s infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--plum);
  padding: 2.5rem 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--white);
  display: block;
  line-height: 1;
}
.stat-number span { color: var(--rose-light); }
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
  display: block;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-bounce), box-shadow 0.45s var(--ease);
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}
.service-card-img {
  height: 260px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-body {
  padding: 2rem;
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon svg { width: 22px; height: 22px; color: var(--rose); }
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.service-card p { font-size: 0.92rem; }
.service-card .read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rose);
  transition: gap 0.3s;
}
.service-card .read-link:hover { gap: 0.8rem; }

/* ============================================================
   FEATURED CENTERS
   ============================================================ */
.centers-section { background: var(--blush); }
.centers-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.centers-layout .card-featured {
  grid-row: 1 / 3;
}
.center-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.center-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.center-card-img { overflow: hidden; }
.card-featured .center-card-img { height: 460px; }
.center-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.center-card:hover .center-card-img img { transform: scale(1.06); }
.center-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.center-badge {
  display: inline-block;
  background: var(--blush-deep);
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 0.75rem;
}
.center-card h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
.center-card p  { font-size: 0.9rem; flex: 1; }
.center-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--blush-deep);
}
.center-meta { font-size: 0.82rem; color: var(--text-light); display: flex; align-items: center; gap: 0.3rem; }
.view-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--plum);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s, color 0.3s;
}
.view-btn:hover { color: var(--rose); gap: 0.8rem; }

/* Small center card */
.center-card.card-small .center-card-img { height: 160px; }
.center-card.card-small { flex-direction: row; }
.center-card.card-small .center-card-img { width: 160px; flex-shrink: 0; }
.center-card.card-small .center-card-body { padding: 1.4rem; }
.center-card.card-small h3 { font-size: 1.2rem; }

/* ============================================================
   EQUIPMENT SECTION
   ============================================================ */
.equipment-section {
  position: relative;
  overflow: hidden;
}
.equipment-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.equipment-image-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.equipment-image-wrap img { width: 100%; }
.equipment-image-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.equipment-image-badge .badge-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--plum);
  line-height: 1;
}
.equipment-image-badge .badge-label { font-size: 0.75rem; color: var(--text-mid); letter-spacing: 1px; }
.equipment-content .tag { margin-bottom: 0.5rem; }
.equipment-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.2rem;
}
.equipment-content h2 em { font-style: italic; color: var(--rose); }
.equipment-content p { margin-bottom: 2rem; }
.equipment-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.eq-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.eq-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eq-feature-icon svg { width: 18px; height: 18px; color: var(--rose); }
.eq-feature-text h4 { font-size: 0.9rem; font-weight: 500; color: var(--plum); margin-bottom: 0.2rem; }
.eq-feature-text p  { font-size: 0.82rem; }

/* ============================================================
   ARTICLES SECTION
   ============================================================ */
.articles-section { background: var(--blush); }
.articles-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.article-card.featured { grid-row: 1 / 3; }
.article-img { overflow: hidden; }
.article-card.featured .article-img { height: 340px; }
.article-card:not(.featured) .article-img { height: 180px; }
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.article-card:hover .article-img img { transform: scale(1.07); }
.article-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.article-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.6rem;
}
.article-card h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: 0.5rem; }
.article-card.featured h3 { font-size: 1.7rem; }
.article-card p { font-size: 0.88rem; }
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--blush-deep);
}
.article-date { font-size: 0.8rem; color: var(--text-light); }
.article-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}
.article-link:hover { gap: 0.7rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  position: relative;
  background: var(--plum);
  overflow: hidden;
  text-align: center;
  padding: 7rem 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,130,154,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,154,108,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-section .tag { color: var(--rose-light); }
.cta-section h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-section h2 em { font-style: italic; color: var(--rose-light); }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   VECTOR ANIMATION — FLOATING SHAPES
   ============================================================ */
.float-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.shape--1 {
  width: 500px; height: 500px;
  background: var(--rose);
  top: -120px; right: -100px;
  animation: floatShape 10s ease-in-out infinite alternate;
}
.shape--2 {
  width: 300px; height: 300px;
  background: var(--gold);
  bottom: -80px; left: 10%;
  animation: floatShape 14s 2s ease-in-out infinite alternate;
}
.shape--3 {
  width: 200px; height: 200px;
  background: var(--rose);
  top: 40%; left: -60px;
  animation: floatShape 8s 1s ease-in-out infinite alternate;
}
@keyframes floatShape {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(30px, 20px) rotate(20deg); }
}

/* Sparkle dots */
.sparkle {
  position: absolute;
  border-radius: 50%;
  background: var(--rose-light);
}
.sparkle--a {
  width: 6px; height: 6px;
  top: 20%; left: 30%;
  opacity: 0.5;
  animation: twinkle 3s 0.5s infinite;
}
.sparkle--b {
  width: 4px; height: 4px;
  top: 60%; right: 25%;
  opacity: 0.4;
  animation: twinkle 4s 1.2s infinite;
}
.sparkle--c {
  width: 8px; height: 8px;
  bottom: 20%; left: 60%;
  opacity: 0.35;
  animation: twinkle 2.5s 2s infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(2); opacity: 0; }
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #2D1E28;
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}
.footer-brand .logo span { color: var(--rose-light); font-style: italic; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s, padding-left 0.3s;
}
.footer-col a:hover { color: var(--rose-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--rose-light);
  color: var(--rose-light);
  background: rgba(201,130,154,0.1);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   SINGLE / ARCHIVE PAGES
   ============================================================ */
.page-hero {
  padding: 9rem 0 4rem;
  background: var(--grad-plum);
  position: relative;
  overflow: hidden;
}
.page-hero .float-shapes .shape { opacity: 0.08; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); font-weight: 300; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 540px; margin-top: 0.75rem; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  padding: var(--sp-xl) 0;
}

/* WooCommerce overrides */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 2rem !important;
  margin: 0 !important;
  float: none !important;
}
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: var(--white);
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease) !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-10px) !important;
  box-shadow: var(--shadow-hover) !important;
}
.woocommerce ul.products li.product img {
  border-radius: 0 !important;
  height: 260px;
  object-fit: cover;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-serif) !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: var(--plum) !important;
  padding: 0 1.5rem !important;
}
.woocommerce ul.products li.product .price {
  color: var(--rose) !important;
  font-size: 1.1rem !important;
  padding: 0 1.5rem !important;
}
.woocommerce ul.products li.product .button {
  margin: 0.5rem 1.5rem 1.5rem !important;
  background: var(--plum) !important;
  color: var(--white) !important;
  border-radius: var(--r-pill) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  transition: background 0.3s !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--rose) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .equipment-split { grid-template-columns: 1fr; gap: 3rem; }
  .equipment-image-wrap { max-width: 560px; margin: 0 auto; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-card.featured { grid-column: 1 / 3; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--plum); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; z-index: 999; }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { color: var(--white); font-size: 1.1rem; }
  .nav-menu .sub-menu { position: static; opacity: 1; transform: none; pointer-events: all; background: transparent; box-shadow: none; border: none; text-align: center; }
  .nav-menu .sub-menu li a { color: rgba(255,255,255,0.6); }
  .mobile-toggle { display: flex; }
  .centers-layout { grid-template-columns: 1fr; }
  .center-card.card-small { flex-direction: column; }
  .center-card.card-small .center-card-img { width: 100%; height: 200px; }
  .centers-layout .card-featured { grid-row: auto; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: auto; }
  .stat-item { min-width: 130px; }
  .hero-title { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  :root { --sp-xl: 3.5rem; }
}

/* ============================================================
   PREMIUM SINGLE POST TYPOGRAPHY & UI
   ============================================================ */
.entry-content p {
  font-size: 1.15rem;
  line-height: 2;
  margin-bottom: 1.8rem;
  color: #4a4a4a;
}
.entry-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--plum);
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--blush-deep);
  padding-bottom: 0.5rem;
}
.entry-content ul, .entry-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  color: #4a4a4a;
}
.entry-content ul li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.8;
  list-style: none;
}
.entry-content ul li::before {
  content: '✦';
  color: var(--rose);
  position: absolute;
  left: 0;
  top: 0;
}
.entry-content strong {
  color: var(--plum);
  font-weight: 600;
}

/* Glassmorphism Header Enhancement */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
.site-header {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
