/* ======================================================
   Velvet Aura Luxury Salon - Home and shared styling
   HTML5 + CSS3 only. No frameworks.
====================================================== */
:root {
  --primary: #D86C8A;
  --secondary: #F7D8E2;
  --accent: #B84F70;
  --background: #FFF8FA;
  --dark: #2D1F24;
  --white: #FFFFFF;
  --muted: #7c6670;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 80px rgba(184, 79, 112, 0.18);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, Arial, sans-serif; color: var(--dark); background: var(--background); line-height: 1.7; overflow-x: hidden; }
body.dark { --background: #21171b; --dark: #fff8fa; --white: #302229; --muted: #f0c7d4; --glass: rgba(48, 34, 41, 0.76); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(880px, calc(100% - 32px)); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.06; margin: 0 0 18px; letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 3vw, 2.1rem); }
p { margin: 0 0 18px; color: var(--muted); }
.eyebrow, .section-title p, .newsletter p { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; }
.section { padding: clamp(72px, 10vw, 135px) 0; position: relative; }
.section.soft { background: linear-gradient(135deg, rgba(247,216,226,.62), rgba(255,255,255,.28)); }
.section-title { margin-bottom: 36px; max-width: 760px; }
.section-title.center { margin-inline: auto; text-align: center; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; transition: .35s ease; }
.site-header.is-scrolled { background: rgba(255, 248, 250, .74); backdrop-filter: blur(18px); box-shadow: 0 12px 32px rgba(45,31,36,.08); }
body.dark .site-header.is-scrolled { background: rgba(33,23,27,.78); }
.navbar { width: min(1180px, calc(100% - 32px)); margin: 0 auto; min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(255,255,255,.25); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.54); }
.logo { display: flex; align-items: center; gap: 10px; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 800; }
.logo span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 10px 22px rgba(216,108,138,.35); }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a, .ghost-btn { border: 0; background: transparent; padding: 10px 12px; border-radius: 999px; font-size: .93rem; color: var(--dark); }
.nav-menu a.active, .nav-menu a:hover, .ghost-btn:hover { background: rgba(247,216,226,.74); color: var(--accent); }
.theme-toggle { width: 42px; height: 42px; padding: 0; display: inline-grid; place-items: center; overflow: hidden; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.theme-toggle:hover { transform: translateY(-2px) rotate(8deg); box-shadow: 0 12px 26px rgba(184,79,112,.16); }
.theme-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 1rem; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(247,216,226,.7)); color: var(--accent); animation: theme-pop .28s ease both; }
body.dark .theme-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border-radius: 999px; border: 0; color: #fff !important; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 14px 34px rgba(184,79,112,.28); font-weight: 800; transition: transform .25s ease, box-shadow .25s ease; }
.btn:hover, .nav-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(184,79,112,.36); }
.btn-secondary { background: var(--white); color: var(--accent) !important; border: 1px solid rgba(216,108,138,.22); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.menu-toggle { display: none; border: 0; background: var(--white); color: var(--accent); width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 10px 28px rgba(184,79,112,.14); }
.hero, .page-hero { min-height: 100vh; display: grid; align-items: center; padding: 120px 0 60px; overflow: hidden; background: radial-gradient(circle at 20% 20%, #fff 0, transparent 26%), linear-gradient(130deg, var(--background), var(--secondary), #fff); }
.page-hero { min-height: 58vh; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.hero-copy p:not(.eyebrow) { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 640px; }
.glass, .lux-card, .service-card, .team-card, .product-card, .blog-card, .plan-card, .testimonial-card, .form-card, .stat-card, .comparison-card, .award-card { background: var(--glass); border: 1px solid rgba(255,255,255,.72); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.hero-media { min-height: 620px; padding: 16px; transform: rotate(2deg); }
.hero-media figure { margin: 0; height: 100%; border-radius: 24px; overflow: hidden; position: relative; }
.missing-image { min-height: 220px; display: grid; place-items: center; background: linear-gradient(135deg, var(--secondary), #fff); color: var(--accent); text-align: center; padding: 20px; }
.shape { position: absolute; border-radius: 999px; filter: blur(.2px); opacity: .55; background: linear-gradient(135deg, var(--primary), #fff); }
.shape-one { width: 210px; height: 210px; right: 8%; top: 16%; animation: float 7s ease-in-out infinite; }
.shape-two { width: 120px; height: 120px; left: 8%; bottom: 12%; animation: float 8s ease-in-out infinite reverse; }
.scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 2rem; color: var(--accent); animation: bounce 1.6s infinite; }
.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { padding: 30px; text-align: center; }
.stat-card strong { font-family: Georgia, serif; color: var(--accent); font-size: clamp(2.2rem, 5vw, 4rem); display: block; }
.service-card, .team-card, .product-card, .blog-card, .plan-card, .lux-card { overflow: hidden; transition: transform .28s ease, box-shadow .28s ease; }
.service-card:hover, .team-card:hover, .product-card:hover, .blog-card:hover, .plan-card:hover, .lux-card:hover { transform: translateY(-8px); box-shadow: 0 30px 90px rgba(184,79,112,.24); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--secondary); }
.card-body { padding: 24px; }
.meta { display: flex; justify-content: space-between; gap: 12px; color: var(--accent); font-weight: 800; margin: 14px 0; }
.about-preview, .split-grid, .contact-grid, .about-page-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 6vw, 70px); align-items: center; }
.about-preview .portrait, .about-page-grid .portrait { border-radius: 34px; overflow: hidden; min-height: 520px; box-shadow: var(--shadow); }
.icon-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.icon-list li::before { content: '✦'; color: var(--accent); margin-right: 10px; }
.icon { font-size: 2.2rem; display: inline-block; margin-bottom: 10px; }
.comparison-card { position: relative; overflow: hidden; min-height: 500px; }
.compare-wrap { position: relative; height: 500px; overflow: hidden; border-radius: var(--radius); }
.compare-before, .compare-after { position: absolute; inset: 0; }
.compare-after { clip-path: inset(0 0 0 50%); }
.compare-range { position: absolute; left: 6%; right: 6%; bottom: 22px; width: 88%; accent-color: var(--accent); z-index: 4; }
.compare-label { position: absolute; top: 18px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.78); color: var(--accent); font-weight: 800; z-index: 5; }
.compare-label.before { left: 18px; } .compare-label.after { right: 18px; }
.image-grid { display: grid; gap: 16px; }
.image-grid.three { grid-template-columns: repeat(3, 1fr); }
.image-grid.five { grid-template-columns: repeat(5, 1fr); }
.image-tile { min-height: 250px; border-radius: 24px; overflow: hidden; position: relative; box-shadow: var(--shadow); background: var(--secondary); }
.image-tile img { transition: transform .5s ease; }
.image-tile:hover img { transform: scale(1.08); }
.overlay { position: absolute; inset: auto 12px 12px; padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,.84); color: var(--accent); font-weight: 800; transform: translateY(10px); opacity: 0; transition: .28s ease; }
.image-tile:hover .overlay { opacity: 1; transform: translateY(0); }
.testimonial-card { padding: clamp(28px, 5vw, 56px); text-align: center; }
.testimonial-card img { width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 18px; }
.stars { color: #d69b2d; letter-spacing: .08em; }
.newsletter, .cta-banner { border-radius: 36px; padding: clamp(30px, 6vw, 70px); background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.newsletter p, .newsletter h2, .cta-banner p, .cta-banner h2 { color: #fff; }
.newsletter form { display: flex; gap: 12px; width: min(480px, 100%); }
input, select, textarea { width: 100%; border: 1px solid rgba(216,108,138,.25); border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.78); color: #2D1F24; outline: none; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(216,108,138,.15); }
.faq-item { margin-bottom: 12px; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid rgba(216,108,138,.16); }
.faq-item button { width: 100%; border: 0; background: transparent; padding: 20px; display: flex; justify-content: space-between; color: var(--dark); font-weight: 900; text-align: left; }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 20px; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-answer { max-height: 180px; padding: 0 20px 18px; }
.footer { padding: 62px 0 28px; background: #2D1F24; color: #fff; }
.footer p, .footer a { color: rgba(255,255,255,.74); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 30px; }
.footer h3 { color: #fff; font-size: 1.35rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: grid; gap: 12px; }
.toast { max-width: 360px; padding: 14px 16px; border-radius: 18px; background: var(--dark); color: var(--white); box-shadow: var(--shadow); }
.toast.error { background: #8f243c; color: #fff; }
.reveal { animation: rise .85s ease both; }
.delay-1 { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }
@keyframes theme-pop { from { opacity: 0; transform: rotate(-90deg) scale(.65); } to { opacity: 1; transform: rotate(0) scale(1); } }
@media (max-width: 1000px) { .hero-grid, .about-preview, .split-grid, .contact-grid, .about-page-grid { grid-template-columns: 1fr; } .card-grid.four { grid-template-columns: repeat(2, 1fr); } .card-grid.three, .stats-grid { grid-template-columns: repeat(2, 1fr); } .image-grid.five { grid-template-columns: repeat(3, 1fr); } .hero-media { min-height: 460px; } }
@media (max-width: 760px) { .menu-toggle { display: inline-grid; place-items: center; } .nav-menu { position: fixed; left: 16px; right: 16px; top: 88px; display: grid; gap: 8px; padding: 18px; background: var(--glass); border: 1px solid rgba(255,255,255,.7); border-radius: 26px; box-shadow: var(--shadow); transform: translateY(-18px) scale(.96); opacity: 0; pointer-events: none; transition: .28s ease; } .nav-menu.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; } .nav-menu a, .ghost-btn { text-align: center; } h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); } .card-grid.four, .card-grid.three, .stats-grid, .image-grid.three, .image-grid.five { grid-template-columns: 1fr; } .newsletter, .cta-banner { display: block; } .newsletter form { margin-top: 18px; flex-direction: column; } .footer-grid { grid-template-columns: 1fr; } .hero, .page-hero { padding-top: 110px; } }
