
/* 1. Our colour palette */
:root {
  --cream: #f8f5ef;
  --beige: #e8ddce;
  --brown: #49372b;
  --muted: #827365;
  --white: #ffffff;
}

/* 2. Basic page settings */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: "Lato", sans-serif;
}

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

/* 3. Top navigation */
.navbar {
  min-height: 76px;
  padding: 20px 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e6ded3;
}

.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  letter-spacing: 5px;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 34px;
}

nav a,
.nav-book {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a {
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.6;
}

.nav-book,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--brown);
  color: var(--white);
  padding: 16px 24px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.nav-book:hover,
.button:hover {
  background: #6b5140;
}

/* 4. Main split-screen section */
.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-content {
  padding: 80px 12%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(42px, 4.5vw, 70px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 22px 0;
}

.intro {
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-image {
  min-height: 610px;
  background-color: var(--beige);
  background-image: url("https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&w=1400&q=85");
  background-size: cover;
  background-position: center;
}

/* 5. The lower page sections */
.details {
  padding: 100px 8%;
  text-align: center;
  border-top: 1px solid #e6ded3;
}

.details h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 16px 0;
}

.details > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}


.booking {
  padding: 100px 8%;
  text-align: center;
  background: var(--beige);
  border-top: 1px solid #e6ded3;
}

.booking h2 {
  font-size: clamp(38px, 4.5vw, 58px);
  margin: 18px 0;
}

.booking > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.booking-actions {
  margin-top: 30px;
}

.booking-note {
  margin-top: 22px !important;
  font-size: 12px !important;
}

@media (max-width: 600px) {
  .booking {
    padding: 75px 7%;
  }

  .booking .button {
    padding: 16px;
    font-size: 10px;
  }
}


footer {
  padding: 35px 5%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
}

/* 6. Make it work on phones */
@media (max-width: 760px) {
  .navbar {
    padding: 20px 5%;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 14px;
    letter-spacing: 3px;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  nav a,
  .nav-book {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .nav-book {
    padding: 12px;
  }

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

  .hero-content {
    padding: 65px 8%;
  }

  .hero-image {
    min-height: 430px;
  }

  .details {
    padding: 70px 7%;
  }
}


/* FERNE treatments section */
.treatments {
  padding: 100px 8%;
  border-top: 1px solid #e6ded3;
}

.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin: 16px 0;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.treatment-card {
  background: #fffdf9;
}

.treatment-image {
  height: 320px;
  background-size: cover;
  background-position: center;
}

.nails-image {
  background-image: url("https://images.unsplash.com/photo-1604654894610-df63bc536371?auto=format&fit=crop&w=1000&q=85");
}

.aesthetics-image {
  background-image: url("https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=1000&q=85");
}

.treatment-info {
  padding: 28px;
}

.treatment-info h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  margin: 12px 0;
}

.treatment-info > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.treatment-info a {
  display: inline-block;
  margin-top: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--beige);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Stack the cards on smaller screens */
@media (max-width: 760px) {
  .treatments {
    padding: 70px 7%;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .treatment-image {
    height: 280px;
  }
}


/* FERNE pricing menu */
.prices {
  padding: 100px 8%;
  background: #f0e9df;
  border-top: 1px solid #e6ded3;
}

.price-menu {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
}

.price-category h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 22px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid #d8cbbc;
  font-size: 13px;
}

.price-row span:last-child {
  color: var(--muted);
  white-space: nowrap;
}

.price-note {
  margin: 45px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .prices {
    padding: 70px 7%;
  }

  .price-menu {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}


/* FERNE about section */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fbf9f5;
}

.about-image {
  min-height: 480px;
  background-color: var(--beige);
  background-image: url("https://images.unsplash.com/photo-1600948836101-f9ffda59d250?auto=format&fit=crop&w=1200&q=85");
  background-size: cover;
  background-position: center;
}

.about-content {
  padding: 80px 12%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.about-content h2 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.15;
  margin: 18px 0;
}

.about-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--beige);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 350px;
  }

  .about-content {
    padding: 65px 8%;
  }
}
