/* --------------------------- Global: Reset & Variables --------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Palette */
  --color-slate-grey: #b1c6c8;
  --color-rich-wood: #361c18;
  --color-deep-charcoal: #2e2e2e;
  --color-coastal-green: #799796;
  --color-warm-off-white: #f8f5f2;
  --color-sunny-yellow: #ffc107;
  --color-pale-blush: #f5e0e0;
  --color-sandy-beige: #ece2d8;
  --color-cognac-leather: #c0a080;

  /* Mapped Usage */
  --color-background-main: var(--color-warm-off-white);
  --color-text-main: var(--color-deep-charcoal);
  --color-text-muted: #6b5c54;

  --color-nav-bg: var(--color-coastal-green);
  --color-footer-bg: var(--color-rich-wood);
  --color-footer-text: #f7efe8;

  /* Body section backgrounds (page content) */
  --color-section-light: var(--color-warm-off-white); /* #f8f5f2 */
  --color-section-neutral: var(--color-sandy-beige);  /* #ece2d8 */

  --color-button-main: var(--color-cognac-leather);
  --color-button-main-hover: #b18a6f;

  --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.08);
  --max-width: 1100px;
  --nav-height-desktop: 80px;

  /* Typography */
  --font-base: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Poiret One", Arial, sans-serif;
}


/* --------------------------- Global: Base Elements --------------------------- */

body {
  font-family: var(--font-base);
  color: var(--color-text-main);
  background-color: var(--color-background-main);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-base);
  font-weight: 700; /* Arial Bold for H-tags */
}

.section-content h1,
.section-content h2,
.section-content h3 {
  text-align: center;
}


/* Accent font for phrases like “By Appointment Only – No Walk Ins” */
.accent-script {
  font-family: var(--font-accent);
  font-weight: 400; /* Poiret One is single-weight */
  letter-spacing: 0.12em;
  text-transform: uppercase;
}



p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* --------------------------- Global: Buttons --------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-button-main);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-button-main-hover);
}

.btn-secondary {
  background-color: #fff;
  color: var(--color-text-main);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.btn-secondary:hover {
  background-color: var(--color-sandy-beige);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-text-main);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-tertiary:hover {
  background-color: #fff;
}

.btn-full-width {
  width: 100%;
}

/* --------------------------- Nav Buttons (Unified) --------------------------- */

.btn-nav,
.btn-nav.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding-inline: 1.1rem;
  transition: background-color 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease;
}

/* Hover effect for BOTH buttons */
.btn-nav:hover,
.btn-nav.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}


/* --------------------------- Buttons: Hero Variant --------------------------- */

.btn-hero {
  display: inline-block;
  background-color: #C0A080; /* Cognac Leather */
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.25s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.10);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;

}

.btn-hero:hover {
  background-color: #D7B896; /* refined hover color */
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.25),
              0 4px 8px rgba(0,0,0,0.15);
}


.btn-hero:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.10);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


/* --------------------------- Top Nav: Base --------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


.top-nav {
  background-color: var(--color-coastal-green);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  height: var(--nav-height-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes left and right apart */
  gap: 16px;
}

.nav-logo img {
  height: 67px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));

}

@media (max-width: 768px) {
  .nav-logo img {
    height: 48px;
  }
}



/* --------------------------- Top Nav: Desktop --------------------------- */

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem; /* a bit more breathing room between About / Shop / Directions */
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 500;
}


.nav-links a {
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-cta-group {
  display: flex;
  gap: 0.6rem;
}

/* Group links + buttons on the right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* space between links and buttons */
}

/* Desktop: hide mobile pieces */
.nav-toggle {
  display: none;
}

.nav-mobile-panel {
  display: none;
}

/* --------------------------- Top Nav: Mobile --------------------------- */

@media (max-width: 768px) {
  .nav-inner {
    height: 64px;
  }

  .nav-links,
  .nav-cta-group {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    cursor: pointer;
  }

  .nav-toggle-bar {
    height: 2px;
    width: 70%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-mobile-panel {
    display: none;
    background-color: var(--color-coastal-green);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 16px 16px;
  }

  .nav-mobile-panel.is-open {
    display: block;
  }

  .nav-mobile-links {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
  }

  .nav-mobile-links li + li {
    margin-top: 6px;
  }

  .nav-mobile-links a {
    display: block;
    padding: 6px 0;
    font-weight: 500;
  }

  .nav-mobile-cta-group .btn {
    margin-bottom: 8px;
  }
}

/* --------------------------- Hero: Base --------------------------- */

.hero {
  position: relative;
  width: 100%;
  min-height: 360px;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

/* Background image */
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("images/hero-salon-door.webp");
  background-size: cover;
  background-position: center;
  filter: brightness(0.9); /* a touch brighter, gradient will handle darkening */
  z-index: 0;
}

/* FULL-HEIGHT gradient on top of the image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0; /* covers entire hero */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.10) 35%,
    rgba(0, 0, 0, 0.30) 60%,
    rgba(0, 0, 0, 0.45) 78%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none; /* keep buttons clickable */
}

/* Overlay holds the content, sits above gradient */
.hero-overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* push content to the right */
  padding: 80px 0 72px;
  z-index: 2;
}

/* Hero content block on the right */
.hero-content {
  position: relative;
  color: #fff;
  max-width: 700px;
  text-align: left;
  margin-left: auto;   /* pushes it to the right side */
  margin-right: 4vw;   /* breathing room from edge */
}

.hero-content h1 {
  font-size: 2.6rem;
  margin-bottom: 0.35em;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75em;
}

.hero-tagline {
  font-size: 1rem;
  margin-bottom: 1.2em;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------------------------- Hero: Internal Pages --------------------------- */

/* Base internal hero size */
.hero.hero-internal {
  min-height: 260px;
}

/* Slightly smaller padding on internal pages */
.hero.hero-internal .hero-overlay {
  padding: 56px 0 52px;
}

/* Optional: slightly smaller heading so it feels "sub-page" */
.hero.hero-internal .hero-content h1 {
  font-size: 2.2rem;
}

/* Desktop tuning */
@media (min-width: 769px) {
  .hero.hero-internal {
    min-height: 280px;
  }

  .hero.hero-internal .hero-overlay {
    padding: 64px 0 56px;
  }

  .hero.hero-internal .hero-content h1 {
    font-size: 2.4rem;
  }
}



/* --------------------------- Hero: Desktop --------------------------- */

@media (min-width: 769px) {
  .hero {
    min-height: 420px;
  }

  .hero-overlay {
    padding: 96px 0 84px; /* slightly less bottom padding = tighter gap */
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }
}

/* --------------------------- Hero: Mobile --------------------------- */

@media (max-width: 768px) {
  .hero-overlay {
    padding: 80px 0 70px;
    justify-content: center; /* center text on small screens */
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    width: 100%;
  }
}
/* --------------------------- Forms: Base --------------------------- */

.salon-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: rgba(255, 255, 255, 0.6);
  padding: 32px 36px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
}

/* Form rows */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Labels */
.salon-form label {
  font-weight: bold;
  font-size: 0.95rem;
  color: #2e2e2e;
  letter-spacing: 0.02em;
}

/* Inputs, selects, textareas */
.salon-form input,
.salon-form select,
.salon-form textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  background-color: #f8f5f2;
  transition: 0.2s ease;
}

/* Focus states */
.salon-form input:focus,
.salon-form select:focus,
.salon-form textarea:focus {
  border-color: #799796;
  box-shadow: 0 0 0 2px rgba(121, 151, 150, 0.28);
  outline: none;
}

/* Dropdown styling */
.salon-form select {
  cursor: pointer;
}

/* Submit button — inherits your button color system */
.salon-form button[type="submit"] {
  background-color: #C0A080;
  color: #fff;
  padding: 14px 22px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
  margin-top: 14px;
}

/* Hover effect to match hero buttons */
.salon-form button[type="submit"]:hover {
  background-color: #b89a70;
}

/* --------------------------- Forms: Mobile --------------------------- */

@media (max-width: 600px) {
  .salon-form {
    padding: 26px 22px;
  }
}


/* --------------------------- Home Sections: Base --------------------------- */

.section-light,
.section-neutral {
  padding: 20px 0;
}

.section-intro {
  background-color: #f8ebe6; /* Barely Blush Linen */
}

.section-light {
  background-color: var(--color-light); /* all other light sections stay Warm Off-White */
}


.section-neutral {
  background-color: var(--color-section-neutral);
}

.section-content {
  max-width: 760px;
}

.section-content h2 {
  text-align: left;
  font-size: 1.6rem;
  margin-bottom: 0.75em;
}

.section-content p {
  color: var(--color-text-muted);
}
/* Slightly tighter spacing for the first intro section */
.section-intro {
  padding-top: 36px;
}

@media (min-width: 769px) {
  .section-intro {
    padding-top: 48px;
  }
}

/* --------------------------- Home Sections: Desktop --------------------------- */

@media (min-width: 769px) {
  .section-light,
  .section-neutral {
    padding: 60px 0;
  }

  .section-content h2 {
    font-size: 1.8rem;
  }
}

/* --------------------------- Home Sections: Mobile --------------------------- */

@media (max-width: 768px) {
  .section-content {
    max-width: 100%;
  }
}
/* ============================================
   Section CTA Buttons (Reusable)
   ============================================ */

.section-cta-group {
  text-align: center;
  margin: 40px 0 20px;
}

.section-cta-group .btn-section {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 1.05rem;
  font-weight: 600;
  background-color: #C0A080; /* Cognac Leather */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
}

.section-cta-group .btn-section:hover {
  background-color: #B4916C; /* slightly deeper Cognac hover */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* Stylist text and images sections */
.stylist-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stylist-text .section-cta-group {
  margin-top: 24px;
}

.stylist-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.stylist-row img {
  width: 240px;
  max-width: 240px;
  min-width: 200px;
  height: auto;
  border-radius: 6px;
  flex-shrink: 0; /* prevents the image from stretching or shrinking */
}

@media (max-width: 768px) {
  .stylist-row {
    flex-direction: column;
  }

  .stylist-row img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* --------------------------- Global Links --------------------------- */
/* ---------------------------------------------
   CONTENT-AREA LINKS (body text only)
   Applies to: section-content, section-light, section-neutral
   NOT nav, NOT buttons, NOT hero-CTAs
---------------------------------------------- */
.section-content a,
.section-light a,
.section-neutral a {
  color: #799796; /* Coastal Green */
  font-weight: 500;
  text-decoration: underline;
  transition: 0.2s ease;
}

.section-content a:hover,
.section-light a:hover,
.section-neutral a:hover {
  color: #C0A080; /* Cognac Leather */
  text-decoration: underline;
}

/* ---------------------------------------------
   FOOTER LINKS — light text on dark background
---------------------------------------------- */
.site-footer a {
  color: #f8f5f2; /* Warm Off-White */
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffc107; /* Sunny Yellow */
  text-decoration: underline;
}

/* ---------------------------------------------
   HERO TEXT LINKS — if ever used inside hero text
---------------------------------------------- */
.hero-content a {
  color: #ffffff;
  text-decoration: underline;
}

.hero-content a:hover {
  color: #ffc107;
}
/* Prevent hero buttons from turning yellow on hover */
.hero-content .btn-primary:hover,
.hero-content .btn-secondary:hover,
.hero-content .btn-hero:hover,
.hero-content .btn-section:hover {
  color: #fff !important; /* Keep text white */
}


/* --------------------------- Footer: Base --------------------------- */

.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 28px 0 30px;
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.footer-column {
  text-align: center;
}

.footer-column h3 {
  font-size: 1rem;
  margin-bottom: 0.75em;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li + li {
  margin-top: 4px;
}

.footer-column a {
  color: var(--color-footer-text);
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-logo {
  height: 60px;
  margin: 0 auto 10px auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.55));
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-instagram img {
  height: 30px;
  width: 30px;
  margin-top: 8px;
}
.site-footer a:hover {
  color: var(--color-sunny-yellow);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

/* --------------------------- Footer: Instagram Icon --------------------------- */

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.footer-instagram .icon-instagram {
  width: 28px;
  height: 28px;
  color: #ffffff; /* default icon color on dark footer */
  transition: color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

/* Hover: soft glow + Sunny Yellow accent */
.footer-instagram:hover .icon-instagram {
  color: var(--color-sunny-yellow); /* #ffc107 */
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  transform: translateY(-1px);
}


/* --------------------------- Footer: Desktop --------------------------- */

@media (min-width: 769px) {
  .footer-inner {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: flex-start;
  }

.footer-brand {
  text-align: center;
}


/* --------------------------- Footer: Mobile --------------------------- */

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tagline {
    margin-bottom: 10px;
  }

  .footer-instagram {
    display: inline-block;
  }
}

/* --------------------------- Accessibility Helpers --------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;}