/* ============================================================
   Salon Akarsha — Premium Beauty Salon
   Theme: White background · Black & Pink accents · Gradients
   ============================================================ */

:root {
  --white: #ffffff;
  --off-white: #faf6f8;
  --black: #0a0809;
  --ink: #221a1e;
  --pink: #d6336c;
  --pink-deep: #b81f5b;
  --pink-soft: #ff5c8a;
  --pink-light: #ffd9e6;
  --blush: #fff0f5;
  --grad: linear-gradient(120deg, #b81f5b 0%, #d6336c 40%, #ff5c8a 75%, #ff8fb3 100%);
  --grad-soft: linear-gradient(120deg, #fff0f5 0%, #ffe3ee 100%);
  --grad-dark: linear-gradient(120deg, #0a0809 0%, #2a0f1c 100%);
  --shadow: 0 20px 50px rgba(10, 8, 9, 0.10);
  --shadow-pink: 0 18px 40px rgba(214, 51, 108, 0.30);
  --radius: 22px;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.section { padding: 110px 0; position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 20px;
}

.section-sub {
  max-width: 560px;
  margin: 0 auto;
  color: #6b5f64;
  font-weight: 300;
  font-size: 1.05rem;
}

.section-head { text-align: center; margin-bottom: 60px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 60px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(13,11,12,0.25); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(13,11,12,0.25);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-3px); }

.btn-whatsapp {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-pink);
  font-size: 1.05rem;
  padding: 18px 44px;
}
.btn-whatsapp:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 26px 55px rgba(233,30,99,0.4); }

.wa-icon { font-size: 1.2rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 6px 30px rgba(13,11,12,0.08);
}
.nav-inner {
  width: min(1180px, 90%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: var(--shadow-pink);
}
.brand-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.02em;
}
.brand-text em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--pink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: 40px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav-cta:hover { background: var(--pink); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--black); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 20px 80px;
  background: var(--grad-soft);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(214,51,108,0.14), transparent 45%),
    radial-gradient(circle at 82% 72%, rgba(255,92,138,0.18), transparent 45%),
    radial-gradient(circle at 60% 15%, rgba(184,31,91,0.08), transparent 40%);
  animation: floatBg 14s ease-in-out infinite;
}
@keyframes floatBg {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 26px;
}
.hero-sub {
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
  font-size: 1.15rem;
  color: #5d5257;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; min-height: 480px; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img.main { width: 78%; height: 440px; }
.about-img.main img { width: 100%; height: 100%; object-fit: cover; }
.about-img.accent {
  position: absolute;
  right: 0; bottom: 0;
  width: 52%; height: 260px;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-pink);
}
.about-img.accent img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: #6b5f64; font-weight: 300; margin-bottom: 18px; }
.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 400; color: var(--ink); }
.tick {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-soft);
  color: var(--pink);
  font-size: 0.8rem;
}

/* ---------- Services ---------- */
.services { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: left;
  border: 1px solid rgba(13,11,12,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  margin-bottom: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-soft);
  color: var(--pink);
  font-size: 1.6rem;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.service-card:hover .service-icon { background: var(--grad); color: var(--white); transform: rotate(8deg) scale(1.05); }
.service-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--black); margin-bottom: 18px; }
.service-list { display: grid; gap: 14px; }
.service-list li {
  position: relative;
  padding-left: 20px;
  color: #6b5f64;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
}
.service-list li::before {
  content: '✦';
  position: absolute;
  left: 0; top: 0;
  color: var(--pink);
  font-size: 0.8rem;
}
.service-list strong { color: var(--black); font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(233,30,99,0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--grad-soft);
  border-radius: 30px;
  padding: 70px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,99,0.18), transparent 70%);
}
.contact-sub { max-width: 480px; margin: 0 auto 34px; color: #5d5257; font-weight: 300; }
.contact-note { margin-top: 20px; font-size: 0.85rem; color: #8a7a80; }

/* ---------- Footer ---------- */
.footer {
  background: var(--grad-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 40px;
  text-align: center;
}
.footer .brand-text { color: var(--white); }
.footer-tag { margin: 18px 0 26px; font-weight: 300; color: rgba(255,255,255,0.55); }
.footer-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-links a { font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--pink-soft); }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow-pink);
  z-index: 200;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2.4s ease-in-out infinite;
}
.whatsapp-float .wa-icon {
  width: 34px;
  height: 34px;
  display: block;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 26px 60px rgba(233,30,99,0.5); }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(233,30,99,0.45); }
  50% { box-shadow: 0 0 0 16px rgba(233,30,99,0); }
}

/* ---------- Scroll Reveal Animations (entrance & exit) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
/* Entrance state */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Exit state — animates out as the element leaves the viewport */
.reveal.hidden {
  opacity: 0;
  transform: translateY(-30px) scale(0.98);
}

/* Staggered delays for grids */
.services-grid .reveal:nth-child(2), .gallery-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3), .gallery-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4), .gallery-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(5), .gallery-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .reveal:nth-child(6), .gallery-grid .reveal:nth-child(6) { transition-delay: 0.35s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { min-height: 0; }
  .services-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(320px, 80%);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    box-shadow: -10px 0 40px rgba(13,11,12,0.12);
    transition: right 0.4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .services-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 260px; }
  .contact-card { padding: 50px 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-img.main { width: 100%; height: 360px; }
  .about-img.accent { width: 60%; height: 200px; }
}
