/* ========================================
   FANTASY FLESH — Beauty & Hair Salon
   Classic & Elegant · Forest Green + Off-White
   ======================================== */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-deep: #1A3A2A;
  --green-primary: #2C4A3E;
  --green-mid: #3D6B56;
  --green-light: #5A8A72;
  --cream: #F5F0E8;
  --cream-light: #FAF7F2;
  --cream-dark: #EDE6D8;
  --gold: #B8976A;
  --gold-light: #D4B896;
  --text-dark: #1A1A1A;
  --text-mid: #3D3D3D;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Lato', 'Segoe UI', sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-deep);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 58, 42, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

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

.btn-outline:hover {
  background: var(--green-primary);
  color: var(--white);
}

.btn-large {
  padding: 16px 40px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 74, 62, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--green-primary);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-list a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-list a:hover {
  color: var(--green-primary);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--green-primary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  transition: var(--transition) !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--green-deep) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--green-deep);
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--green-deep);
  transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/35844822/pexels-photo-35844822.png?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 58, 42, 0.72) 0%,
    rgba(26, 58, 42, 0.55) 50%,
    rgba(26, 58, 42, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Intro Strip ── */
.intro-strip {
  background: var(--green-primary);
  padding: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.intro-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition);
}

.intro-item:last-child {
  border-right: none;
}

.intro-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.intro-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.intro-item span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Services ── */
.services {
  padding: 100px 0;
  background: var(--cream-light);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-divider {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(44, 74, 62, 0.08);
  border-radius: 4px;
  padding: 44px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 58, 42, 0.12);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  color: var(--green-primary);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--green-deep);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── About ── */
.about {
  padding: 100px 0;
  background: var(--cream);
  overflow: hidden;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

.about-content {
  padding: 20px 0;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-detail-icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.about-detail strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 2px;
}

.about-detail span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── Gallery ── */
.gallery {
  padding: 100px 0;
  background: var(--cream-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 6 / 9; grid-row: 2 / 3; }

/* ── CTA ── */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/12115016/pexels-photo-12115016.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=600') center/cover no-repeat;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 42, 0.92), rgba(44, 74, 62, 0.88));
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-eyebrow {
  color: var(--gold-light);
}

.cta-title {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.cta-actions .btn-outline:hover {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--green-deep);
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.contact-item a {
  color: var(--green-mid);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--green-deep);
}

.contact-map {
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(44, 74, 62, 0.08);
  border-radius: 4px;
  padding: 40px;
}

.contact-form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  color: var(--green-deep);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream-light);
  border: 1px solid rgba(44, 74, 62, 0.15);
  border-radius: 2px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(61, 107, 86, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(61, 107, 86, 0.1);
  border: 1px solid rgba(61, 107, 86, 0.25);
  border-radius: 2px;
  color: var(--green-primary);
  font-size: 0.9rem;
  text-align: center;
}

/* ── Footer ── */
.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .logo-mark {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
}

.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .gallery-item:nth-child(2) { grid-column: 1 / 2; grid-row: auto; }
  .gallery-item:nth-child(3) { grid-column: 2 / 3; grid-row: auto; }
  .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: auto; }

  .gallery-item img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--cream-light);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    padding: 100px 40px 40px;
    transition: right var(--transition);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .nav-list a {
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 12px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }

  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    order: -1;
  }

  .about-image-wrap img {
    height: 360px;
  }

  .about-image-accent {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: 1;
  }

  .gallery-item img {
    height: 240px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }
}
