/* =========================================
   CSS RESET
========================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================
   ROOT VARIABLES
========================================= */

:root {

  /* COLORS */
  --color-bg: #f5f1ea;
  --color-surface: #ffffff;
  --color-text: #111111;
  --color-text-light: #5c5c5c;
  --color-border: #dddddd;

  --color-primary: #111111;
  --color-primary-hover: #222222;

  --color-white: #ffffff;

  /* TYPOGRAPHY */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* FONT SIZES */
  --fs-hero: clamp(3rem, 7vw, 5.5rem);
  --fs-h2: clamp(2rem, 5vw, 3.5rem);

  --fs-body: 1rem;
  --fs-small: 0.95rem;

  /* SPACING */
  --section-spacing: 6rem;
  --container-width: 1200px;

  /* RADIUS */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* TRANSITIONS */
  --transition: 0.3s ease;
}

/* =========================================
   GLOBAL STYLES
========================================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}
/* =========================================
   SMOOTH IMAGE RENDERING
========================================= */

img {
  image-rendering: auto;
}

/* =========================================
   IMAGE OPTIMIZATION
========================================= */

.hero-image,
.about-image,
.gallery-item img {
  will-change: transform;
}

/* Prevent layout shift */
.gallery-item,
.about-image-wrapper,
.map-wrapper {
  background-color: #ddd;
}


a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-heading {
  font-size: var(--fs-h2);
  margin-bottom: 1rem;
}

/* =========================================
   LAYOUT
========================================= */

.container {
  width: min(90%, var(--container-width));
  margin-inline: auto;
}

.section {
  padding: var(--section-spacing) 0;
}

/* =========================================
   SECTION WIDTH REFINEMENT
========================================= */

.section-intro {
  max-width: 700px;
}

.about-text,
.review-text,
.contact-text, 
.review-author {
  text-wrap: pretty;
}


/* =========================================
   BUTTON IMPROVEMENT
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 1rem 2rem;

  border: none;
  border-radius: var(--radius-sm);

  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;

  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

/* .btn-primary {
  background-color: var(--color-white);
  color: var(--color-text);
} */

.btn-primary {
  background-color: #111111;
  color: var(--color-white);

  border: 1px solid rgba(255,255,255,0.12);

}

.btn-primary:hover {
  background-color: #1c1c1c;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.08);
}

/* =========================================
   NAVBAR
========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  z-index: 10000;

  padding: 1rem 0;

  transition:
    background-color 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

/* SCROLLED NAVBAR */
.navbar.scrolled {
  background-color: rgba(245, 241, 234, 0.96);

  backdrop-filter: blur(10px);

  box-shadow: 0 1px 10px rgba(0,0,0,0.06);

  padding: 0.8rem 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 125px;
}

@media (max-width: 480px) {

  .logo img {
    width: 105px;
    filter: brightness(1.08);
  }

}

/* NAV LINKS */
.nav-links {
  position: fixed;

  top: 0;
  right: -100%;

  width: 260px;
  height: 100vh;

  background-color: var(--color-bg);

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 7rem 2rem;

  gap: 2rem;

  transition: right 0.3s ease;
}

.nav-links.active {
  right: 0;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;

  transition: color 0.3s ease;
}

/* =========================================
   NAVBAR LINK EFFECT
========================================= */

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';

  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0%;
  height: 1px;

  background-color: currentColor;

  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}



.nav-links a:hover {
  color: var(--color-text-light);
}

/* MENU BUTTON */
.menu-toggle {
  background: none;
  border: none;

  font-size: 1.7rem;
  color: var(--color-white);

  cursor: pointer;

  z-index: 1100;
}

.navbar.scrolled .menu-toggle {
  color: var(--color-text);
}

/* NAV CTA */
.nav-btn {
  display: none;
}

/* =========================================
   DESKTOP NAVBAR
========================================= */

@media (min-width: 768px) {

  .nav-links {
    position: static;

    width: auto;
    height: auto;

    background: transparent;

    flex-direction: row;
    align-items: center;

    padding: 0;

    gap: 2rem;
  }

  .nav-btn {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

}

/* =========================================
   HERO
========================================= */

.hero {
  position: relative;

  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  overflow: hidden;
}

/* BACKGROUND IMAGE */
.hero-image {
  position: absolute;
  inset: 0;

  background-image: url("../images/hero/hero-bg.jpg");
  background-size: cover;
  background-position: center;

  z-index: 1;
}

/* OVERLAY */ 
 .hero-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);

  z-index: 2;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-text {
  max-width: 700px;
  margin-inline: auto;

  color: var(--color-white);
}

/* TRUST SIGNAL */
.hero-rating {
  margin-bottom: 1rem;

  font-size: 0.9rem;
  font-weight: 500;

  letter-spacing: 0.05em;

  color: rgba(255,255,255,0.82);
}

/* MAIN TITLE */
.hero-title {
  font-size: clamp(4rem, 12vw, 7rem);

  line-height: 0.95;

  margin-bottom: 1.5rem;

  font-weight: 700;
}

/* TAGLINE */
.hero-description {
  max-width: 520px;

  margin-inline: auto;
  margin-bottom: 2.2rem;

  font-size: 1rem;
  line-height: 1.8;

  color: rgba(255,255,255,0.88);
}

/* CTA */
.hero-btn {
  min-width: 220px;
}

/* =========================================
   MOBILE REFINEMENT
========================================= */

@media (max-width: 480px) {

  .hero {
    padding-inline: 1rem;
  }

  .hero-title {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .hero-btn {
    width: 100%;
  }

}

/* =========================================
   DESKTOP REFINEMENT
========================================= */

@media (min-width: 992px) {

  .hero {
    padding-top: 4rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

}



/* =========================================
   ABOUT SECTION
========================================= */

.about {
  background-color: var(--color-surface);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-image-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-image {
  aspect-ratio: 4 / 5;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: scale(1.03);
}

/* CONTENT */

.section-label {
  margin-bottom: 1rem;

  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--color-text-light);
}

.about-content .section-heading {
  margin-bottom: 1.5rem;
}

.about-text {
  margin-bottom: 1.5rem;

  color: var(--color-text-light);

  max-width: 600px;
}

.about-social {
  display: inline-flex;
  align-items: center;

  font-weight: 600;

  transition: 
      opacity 0.3s ease,
      transform 0.3s ease;
}

.about-social:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}
.about-social i {
  font-size: 1.1rem;
}

/* =========================================
   TABLET+
========================================= */

@media (min-width: 768px) {

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 5rem;
  }

}




/* =========================================
   SERVICES
========================================= */

.services {
  background-color: var(--color-bg);
}

.section-intro {
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;

  padding: 1.5rem;

  background-color: var(--color-surface);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);

  border-color: #bcbcbc;
}

.service-title {
  margin-bottom: 0.3rem;

  font-size: 1.25rem;
}

.service-duration {
  font-size: 0.92rem;

  color: var(--color-text-light);
}

.service-price {
  font-weight: 700;
}

/* =========================================
   TABLET+
========================================= */

@media (min-width: 768px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}











/* =========================================
   GALLERY
========================================= */

.gallery {
  background-color: var(--color-surface);
}

.gallery-grid {
  display: grid;
  gap: 1.2rem;
}

.gallery-item {
  overflow: hidden;

  border-radius: var(--radius-lg);

  background-color: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;

  aspect-ratio: 4 / 5;

  object-fit: cover;

  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);

  filter: brightness(0.92);
}

/* =========================================
   TABLET
========================================= */

@media (min-width: 768px) {

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* =========================================
   DESKTOP
========================================= */

@media (min-width: 1100px) {

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

}








/* =========================================
   REVIEWS
========================================= */

.reviews {
  background-color: var(--color-bg);
}

.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

.review-card {
  padding: 2rem;

  background-color: var(--color-surface);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);

  border-color: #bcbcbc;
}

.review-stars {
  margin-bottom: 1rem;

  letter-spacing: 0.08em;
}

.review-text {
  color: var(--color-text-light);

  line-height: 1.8;
}

.review-author {
  margin-top: 1.2rem;

  font-size: 0.92rem;
  font-weight: 600;

  color: var(--color-text);
}

/* =========================================
   REVIEWS LINK
========================================= */

.reviews-link-wrapper {
  margin-top: 3rem;

  text-align: center;
}

.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  font-weight: 600;

  color: var(--color-text);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.reviews-link:hover {
  opacity: 0.7;

  transform: translateY(-2px);
}
/* =========================================
   TABLET+
========================================= */

@media (min-width: 768px) {

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}













/* =========================================
   BOOKING CTA
========================================= */

.booking-cta {
  background-color: var(--color-text);

  color: var(--color-white);
}

.booking-box {
  text-align: center;
}

.booking-box .section-label {
  color: rgba(255,255,255,0.7);
}

.booking-box .section-heading {
  margin-bottom: 2rem;
}




/* BOOKING CTA BUTTON OVERRIDE */

.booking-cta .btn-primary {
  background-color: var(--color-white);
  color: var(--color-text);

  border: 1px solid rgba(255,255,255,0.12);
}

.booking-cta .btn-primary:hover {
  background-color: #ece7df;
}


/* =========================================
   CONTACT
========================================= */

.contact {
  background-color: var(--color-surface);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-title {
  margin-bottom: 1rem;

  font-size: 1.4rem;
}

.contact-text,
.contact-link {
  color: var(--color-text-light);

  line-height: 1.8;
}

.contact-link {
  transition: opacity 0.3s ease;
}

.contact-link:hover {
  opacity: 0.7;
}

/* HOURS */

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;

  gap: 1rem;

  padding-bottom: 0.8rem;

  border-bottom: 1px solid var(--color-border);

  color: var(--color-text-light);
}

/* MAP */

.map-wrapper {
  overflow: hidden;

  min-height: 400px;

  border-radius: var(--radius-lg);

  height: 100%; /* important for desktop stretch */

}

.map-wrapper iframe {
  width: 100%;
  height: 100%;

  border: 0;

  display: block; /* removes inline iframe gap issue */

}

/* =========================================
   TABLET+
========================================= */

@media (min-width: 900px) {

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    /* align-items: start; */
    align-items: stretch; /* 🔥 important */

    gap: 5rem;
  }

}


/* =========================================
   FOOTER
========================================= */

.footer {
  padding: 2rem 0;

  background-color: var(--color-bg);

  border-top: 1px solid var(--color-border);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  text-align: center;
}

.footer-copy,
.footer-credit,
.footer-social {
  font-size: 0.92rem;

  color: var(--color-text-light);
}

.footer-social {
  transition: opacity 0.3s ease;
}

.footer-social:hover {
  opacity: 0.7;
}

/* =========================================
   TABLET+
========================================= */

@media (min-width: 768px) {

  .footer-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    text-align: left;
  }

  .footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

}







/* =========================================
   FINAL RESPONSIVE POLISH
========================================= */

/* LARGE DESKTOP */
@media (min-width: 1200px) {

  :root {
    --section-spacing: 8rem;
  }

}

/* SMALL MOBILE */
@media (max-width: 380px) {

  .hero-title {
    font-size: 3rem;
  }

  .section-heading {
    font-size: 2.2rem;
  }

  .service-card,
  .review-card {
    padding: 1.3rem;
  }

}