/* ---------- COLORS ---------- */

:root {
  --primary: #b56d95;
  --primary-dark: #8d4b72;
  --accent: #f2d7e4;

  --white: #ffffff;
  --cream: #fffafc;
  --light-pink: #fff2f8;

  --text: #56464f;
  --text-light: #7a6a73;

  --shadow: 0 15px 40px rgba(181, 109, 149, 0.15);

  --radius: 25px;

  --transition: 0.35s ease;
}

/* ---------- RESET ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;

  background: var(--cream);

  color: var(--text);
}

/* ---------- TYPOGRAPHY ---------- */

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;

  font-weight: 800;
}

a {
  text-decoration: none;
}

/* ==============================
       NAVIGATION
    ================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 50px;

  background: rgba(125, 73, 73, 0.18);

  backdrop-filter: blur(15px);

  z-index: 1000;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

nav ul {
  display: flex;

  gap: 40px;

  list-style: none;
}

nav a {
  color: rgb(244, 244, 244);

  font-size: 15px;

  font-weight: 500;

  letter-spacing: 0.5px;

  position: relative;

  transition: var(--transition);
}

nav a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 0%;

  height: 2px;

  background: rgb(255, 255, 255);

  transition: var(--transition);
}
.logo {
  font-size: 1.5rem;

  font-family: "Cormorant Garamond", serif;

  color: white;
}

nav a:hover::after {
  width: 100%;
}
/* services pages */
.service-section {
  padding: 50px 8%;

  background: linear-gradient(to bottom, #fffafc, #fff2f8);
}
.section-header {
  max-width: 800px;
  text-align: center;

  padding: 40px 8%;
  margin-bottom: 20px;
}
.section-header h1 {
  font-size: clamp(
    2.5rem,
    5vw,
    4.5rem
  ); /* This makes it dynamically grow on huge screens */
  margin-bottom: 25px;
}

.section-header {
  max-width: 800px;
  text-align: center;
  padding: 40px 8%;

  /* Add this line below to snap it to the center */
  margin: 0 auto 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}
.price-section {
  max-width: 900px;

  margin: 120px auto;

  padding: 0 30px;
}

.price-section h1 {
  text-align: center;

  font-size: clamp(2.5rem, 5vw, 4.5rem);

  color: #8d4b72;

  margin-bottom: 15px;
}

.price-section p {
  text-align: center;

  color: #7a6a73;

  margin-bottom: 50px;
}

.price-table {
  width: 100%;
  max-width: 900px; /* Prevents the table from stretching endlessly on big monitors */
  margin: 0 auto; /* Centers the table on the screen */

  border-collapse: collapse;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.price-table tr {
  transition: 0.3s;
}

.price-table td {
  padding: 22px 30px;

  font-size: 18px;

  border-bottom: 1px solid #f2e3eb;
}

.price-table td:last-child {
  text-align: right;

  font-weight: 600;

  color: #b56d95;
}
/*FAQ*/
.faq {
  padding: 100px 8%;
  background: var(--cream);
}
.faq h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.faq-item {
  background: #e4bcd3;
  margin: 20px auto;
  max-width: 900px;
  padding: 25px;
  box-shadow: var(--shadow);
}
.faq-item h2 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.faq-item h1 {
  text-align: center;
}

/*book now */
.cta {
  padding: 100px 8%;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.cta p {
  margin: 20px 0 35px;
}
.cta a {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
}
.cta h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
/* =========================
        FOOTER
========================= */

footer {
  background: linear-gradient(135deg, #fff8fb, #ad6091);
  border-top: 1px solid #d6bbcc;

  padding: 10px 9% 30px;
  text-align: center;
}

footer h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #8c355e;

  margin-bottom: 15px;
}

footer p {
  font-size: 1rem;

  color: #4f434b;

  margin: 10px 0;
}

footer a {
  color: #60344c;
  font-weight: 500;

  transition: all 0.3s ease;
}

footer a:hover {
  color: #2c0918;
}
.instagram-link {
  display: inline-block;
  padding: 0.1rem 1.1rem;
  color: #e6d4e2;
  font-size: small;
  background-color: #813f74;
  border: 2px solid rgb(98, 41, 76);
  border-radius: 4rem;

  transition: 0.3s ease;
}

.footer-divider {
  width: 250px;
  height: 3px;

  background: #9e6784;

  margin: 25px auto;
}
.footer-contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}
/* Container for each individual service row (e.g., Henna, Makeup, Hair) */
.contact-row {
  display: flex;
  flex-direction: column; /* Stacks label/number above the button beautifully on mobile */
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 16px; /* Even spacing between blocks */
  text-align: center;
}
/* The phone text sizing */
.contact-row p {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-family: inherit;
}
/* The Instagram buttons */
.instagram-btn {
  display: inline-block;
  padding: 6px 20px;
  background-color: #6a3258; /* Adjust to match your exact dark plum background */
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  width: fit-content;
}

/* Responsive adjustment for extra small mobile screens */
@media (max-width: 400px) {
  .contact-row {
    flex-direction: column;
    gap: 6px;
  }
}
/* ==========================================
   COMBINED MOBILE RESPONSIVE TWEAKS (768px and down)
========================================== */
@media (max-width: 768px) {
  /* --- Navigation --- */
  nav {
    width: 100%;
    padding: 15px 25px;
  }

  .nav-toggle {
    display: block; /* Shows your menu icon */
  }
  /* --- Locate this block inside @media (max-width: 768px) --- */
  .navbar__links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(206, 166, 189, 0.98);
    backdrop-filter: blur(10px);
    padding: 80px 30px 40px;
    text-align: left;
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.15);
    transition: left 0.4s ease;
    z-index: 2000;
  }

  .navbar__links.is-open {
    left: 0;
  }

  /* --- Typography & Layout Resizing --- */
  .service-section {
    padding-top: 130px !important; /* Forces the text down safely clear of the navbar transparent bar */
  }

  .section-header {
    padding: 20px 4%;
    margin-bottom: 10px;
  }

  .service-section#hair {
    padding-top: 100px; /* Pushes the section down safely past the blurred navbar */
  }

  .section-header h1,
  .faq h1,
  .cta h1 {
    font-size: 2.2rem !important; /* Forces the text to dynamically shrink down to mobile size */
  }

  /* Shrinks down your table rows text size slightly so it doesn't clip on small phones */
  .price-table td {
    padding: 15px 18px;
    font-size: 15px;
  }
}
