/* ============================================
   Sei Bella Salon — Custom Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 300;
  color: #1a2e23;
  background-color: #fdfcf8;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

/* ---- Section Eyebrow ---- */
.section__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2d7a4a;
  margin-bottom: 12px;
}

.section__eyebrow--light {
  color: #c8e6d5;
}

/* ---- Section Title ---- */
.section__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: #1a2e23;
  margin-bottom: 48px;
}

.section__title--left {
  text-align: left;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: #2d7a4a;
  color: #fdfcf8;
  border-color: #2d7a4a;
}

.btn--primary:hover {
  background-color: #236139;
  border-color: #236139;
}

.btn--ghost {
  background-color: transparent;
  color: #fdfcf8;
  border-color: rgba(253, 252, 248, 0.5);
}

.btn--ghost:hover {
  background-color: rgba(253, 252, 248, 0.1);
  border-color: #fdfcf8;
}

.btn--ghost-light {
  background-color: transparent;
  color: #1a2e23;
  border-color: rgba(26, 46, 35, 0.3);
}

.btn--ghost-light:hover {
  background-color: #1a2e23;
  color: #fdfcf8;
  border-color: #1a2e23;
}

.btn--large {
  padding: 18px 40px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---- Navbar ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(253, 252, 248, 0);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background-color: rgba(253, 252, 248, 0.97);
  box-shadow: 0 1px 0 rgba(45, 122, 74, 0.1);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: #2d7a4a;
  border: 1px solid #2d7a4a;
  border-radius: 2px;
  padding: 4px 7px;
  letter-spacing: 0.05em;
}

.nav__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: #1a2e23;
  letter-spacing: 0.02em;
}

.nav.scrolled .nav__logo-text {
  color: #1a2e23;
}

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

.nav__link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a2e23;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #2d7a4a;
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link:focus::after {
  width: 100%;
}

.nav__link:hover {
  color: #2d7a4a;
}

.nav__link--cta {
  color: #2d7a4a;
  border: 1px solid #2d7a4a;
  padding: 8px 20px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.nav__link--cta:hover {
  background-color: #2d7a4a;
  color: #fdfcf8;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #1a2e23;
  transition: all 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9, 26, 14, 0.55) 0%,
    rgba(26, 46, 35, 0.65) 50%,
    rgba(9, 26, 14, 0.80) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}

.hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c8e6d5;
  margin-bottom: 24px;
}

.hero__headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  color: #fdfcf8;
  margin-bottom: 24px;
}

.hero__headline-accent {
  font-style: italic;
  font-weight: 300;
  color: #c8e6d5;
}

.hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(253, 252, 248, 0.85);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(253,252,248,0.6), rgba(253,252,248,0));
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 252, 248, 0.6);
}

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

/* ---- Intro ---- */
.intro {
  padding: 120px 0;
  background-color: #fdfcf8;
}

.intro__inner {
  max-width: 720px;
  text-align: center;
}

.intro__eyebrow {
  margin-bottom: 20px;
}

.intro__headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: #1a2e23;
  margin-bottom: 32px;
}

.intro__body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #3d5a45;
  margin-bottom: 20px;
}

/* ---- Services ---- */
.services {
  padding: 100px 0;
  background-color: #eaf5f0;
}

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

.service-card {
  background-color: #fdfcf8;
  border-radius: 4px;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(45, 122, 74, 0.08);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d7a4a;
  margin-bottom: 24px;
}

.service-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: #1a2e23;
  margin-bottom: 12px;
}

.service-card__desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.75;
  color: #4a6b54;
}

/* ---- About ---- */
.about {
  padding: 120px 0;
  background-color: #fdfcf8;
}

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

.about__image {
  border-radius: 4px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__text {
  max-width: 480px;
}

.about__body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #4a6b54;
  margin-bottom: 20px;
}

.about__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #c8e6d5;
}

.about__stat {
  flex: 1;
}

.about__stat-number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #2d7a4a;
  margin-bottom: 4px;
}

.about__stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b8f76;
}

.about__stat-divider {
  width: 1px;
  height: 40px;
  background-color: #c8e6d5;
}

/* ---- Gallery ---- */
.gallery {
  padding: 100px 0;
  background-color: #faf8f2;
}

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

.gallery__item {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 100px 0;
  background-color: #236139;
}

.testimonials .section__title {
  color: #fdfcf8;
  text-align: center;
}

.testimonials .container {
  max-width: 1000px;
}

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

.testimonial {
  background-color: rgba(253, 252, 248, 0.06);
  border: 1px solid rgba(253, 252, 248, 0.1);
  border-radius: 4px;
  padding: 40px 32px;
}

.testimonial__quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: #c8e6d5;
  margin-bottom: 8px;
}

.testimonial__text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(253, 252, 248, 0.9);
  margin-bottom: 24px;
}

.testimonial__source {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9cd0b0;
}

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

.cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.cta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(9, 26, 14, 0.85) 0%,
    rgba(35, 97, 57, 0.75) 100%
  );
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta__headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: #fdfcf8;
  margin-bottom: 20px;
}

.cta__body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(253, 252, 248, 0.8);
  margin-bottom: 40px;
}

.cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Contact ---- */
.contact {
  padding: 120px 0;
  background-color: #fdfcf8;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 48px;
}

.contact__detail {
  display: flex;
  gap: 16px;
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8e6d5;
  border-radius: 50%;
  color: #2d7a4a;
}

.contact__detail-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b8f76;
  margin-bottom: 4px;
}

.contact__detail-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: #1a2e23;
  line-height: 1.5;
}

.contact__link {
  transition: color 0.3s ease;
}

.contact__link:hover {
  color: #2d7a4a;
}

.contact__map {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e8e0cc;
}

/* ---- Form ---- */
.contact__form-wrap {
  max-width: 480px;
}

.form {
  margin-top: 32px;
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a6b54;
  margin-bottom: 8px;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: #1a2e23;
  background-color: #faf8f2;
  border: 1px solid #e8e0cc;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
  border-color: #2d7a4a;
  background-color: #fdfcf8;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #9cd0b0;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__success {
  margin-top: 16px;
  padding: 16px 20px;
  background-color: #eaf5f0;
  border: 1px solid #c8e6d5;
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: #1a2e23;
}

/* ---- Footer ---- */
.footer {
  background-color: #12301c;
  color: #c8e6d5;
  padding: 80px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__logo-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: #c8e6d5;
  border: 1px solid #9cd0b0;
  border-radius: 2px;
  padding: 4px 7px;
  letter-spacing: 0.05em;
}

.footer__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: #fdfcf8;
}

.footer__tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #9cd0b0;
  max-width: 280px;
}

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

.footer__links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #9cd0b0;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #fdfcf8;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #9cd0b0;
  transition: color 0.3s ease;
}

.footer__contact-link:hover {
  color: #fdfcf8;
}

.footer__address {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #6b8f76;
  margin-top: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(253, 252, 248, 0.08);
  padding: 24px 0;
}

.footer__copy {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #6b8f76;
  text-align: center;
}

/* ---- Reveal (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

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

  .about__inner {
    gap: 48px;
  }

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

  .testimonials__grid .testimonial:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #fdfcf8;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }

  .nav__menu.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 0.85rem;
  }

  .nav__link--cta {
    margin-top: 8px;
  }

  .hero__headline {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .intro {
    padding: 80px 0;
  }

  .services {
    padding: 80px 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about {
    padding: 80px 0;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image {
    max-height: 400px;
  }

  .gallery {
    padding: 80px 0;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .testimonials {
    padding: 80px 0;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials__grid .testimonial:last-child {
    max-width: 100%;
  }

  .cta {
    padding: 80px 0;
  }

  .cta__actions {
    flex-direction: column;
  }

  .cta__actions .btn {
    justify-content: center;
  }

  .contact {
    padding: 80px 0;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

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

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .about__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about__stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* Mobile menu overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 999;
}

.nav__overlay.active {
  display: block;
}
