/* ============================================
   Balayage & Highlights - Modern Salon Design
   Black & Gold Luxury Theme
   ============================================ */

/* Self-hosted Google Fonts (Latin subset) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url('/assets/fonts/cormorant-garamond.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 600;
  font-display: optional;
  src: url('/assets/fonts/montserrat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  ascent-override: 85.1%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 112.2%;
}
@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia'), local('Times New Roman');
  ascent-override: 81.5%;
  descent-override: 21.6%;
  line-gap-override: 0%;
  size-adjust: 113.5%;
}

:root {
  /* Brand Colors - Green & Gold Theme */
  --brand-primary: #205b4f;
  --brand-primary-light: #2a7466;
  --brand-primary-dark: #164039;
  --brand-gold: #c9a961;
  --brand-gold-light: #d4b87a;
  --brand-gold-dark: #b8954d;
  --brand-accent: #d9e8e5;
  --brand-cream: #f7f5f0;

  /* Neutrals */
  --brand-dark: #1a1a1a;
  --brand-text: #333333;
  --brand-muted: #6c757d;
  --brand-light: #f8f9fa;
  --brand-white: #ffffff;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  --font-body: 'Montserrat', 'Montserrat Fallback', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 5rem;
}

/* Base Styles */
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--brand-text);
  background: var(--brand-white);
  line-height: 1.7;
  font-size: 0.95rem;
}

h1, h2, h3, .display-5, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h4, h5, h6, .h4, .h5, .h6 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.display-5 {
  font-weight: 500;
  font-size: 2.75rem;
}

@media (max-width: 767.98px) {
  .display-5 {
    font-size: 2rem;
  }
}

.lead {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--brand-text);
}

.text-white .lead {
  color: #fff;
}

a {
  color: var(--brand-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brand-gold-dark);
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1050;
}

.site-header .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-white) !important;
}

@media (max-width: 991.98px) {
  .brand-text {
    font-size: 1.25rem;
  }
}

/* Navigation */
.site-header .nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--brand-white);
}

.site-header .nav-link i {
  display: none;
}

@media (max-width: 991.98px) {
  .site-header .nav-link i {
    display: inline;
  }
}

/* Dropdown Menu - FIXED Z-INDEX */
.site-header .dropdown {
  position: relative;
}

.site-header .dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  margin-top: 0;
  z-index: 1060;
  position: absolute;
  background: var(--brand-white);
}

.site-header .dropdown-item {
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header .dropdown-item:hover {
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding-left: 2rem;
}

/* Hero Section (gradient only - the LCP element is the hero text, painting at FCP) */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #14201c 55%, var(--brand-primary-dark) 100%);
  color: var(--brand-white);
  padding: 4rem 0;
}

@media (min-width: 992px) {
  .hero {
    padding: 6rem 0;
  }
}

.hero h1,
.hero .display-5 {
  color: var(--brand-white);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

.hero .text-gold {
  color: var(--brand-gold) !important;
}

/* Page Header Section (gradient only, matches hero) */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #14201c 55%, var(--brand-primary-dark) 100%);
  color: var(--brand-white);
  padding: 3rem 0;
}

@media (min-width: 992px) {
  .page-header {
    padding: 4rem 0;
  }
}

.page-header h1,
.page-header .h1,
.page-header .h2 {
  color: var(--brand-white);
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.9);
}

.page-header .badge {
  background: var(--brand-gold) !important;
  color: var(--brand-dark) !important;
}

.page-header .text-gold,
.page-header .text-accent {
  color: var(--brand-gold) !important;
}

.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a:hover {
  color: var(--brand-gold);
}

.page-header .breadcrumb-item.active {
  color: var(--brand-gold);
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 0;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  border-width: 2px;
}

.btn-outline-primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.btn-accent,
.btn-gold {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-dark) !important;
}

.btn-accent:hover,
.btn-gold:hover {
  background: var(--brand-gold-dark);
  border-color: var(--brand-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.btn-outline-light {
  border-width: 2px;
}

.btn-outline-light:hover {
  background: var(--brand-white);
  color: var(--brand-dark) !important;
}

.btn-outline-dark {
  border-width: 2px;
}

/* Section Titles */
.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--brand-gold);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title-light::after {
  background: var(--brand-gold);
}

/* Cards */
.card {
  border: none;
  border-radius: 0;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-accent {
  border-top: 3px solid var(--brand-gold) !important;
}

.service-card {
  background: var(--brand-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

.service-card .service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent);
  margin-bottom: 1.5rem;
}

/* Badges */
.badge-accent {
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Background Colors */
.bg-primary {
  background: var(--brand-primary) !important;
}

.bg-accent {
  background: var(--brand-accent) !important;
}

.bg-cream {
  background: var(--brand-cream) !important;
}

.bg-light {
  background: var(--brand-light) !important;
}

.bg-dark {
  background: var(--brand-dark) !important;
}

/* Text Colors */
.text-primary {
  color: var(--brand-primary) !important;
}

.text-gold {
  color: var(--brand-gold) !important;
}

/* Review Stars */
.review-stars {
  color: var(--brand-gold);
  font-size: 0.875rem;
  letter-spacing: 2px;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: var(--brand-white);
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--brand-white);
}

.site-footer address {
  font-style: normal;
}

.site-footer .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile CTA Bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: var(--brand-white);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
  z-index: 1030;
  padding: 0.5rem;
  gap: 0.5rem;
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-cta-btn i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.mobile-cta-btn:hover {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

.mobile-cta-primary {
  background: var(--brand-gold);
  color: var(--brand-dark) !important;
}

.mobile-cta-primary:hover {
  background: var(--brand-gold-dark);
  color: var(--brand-dark) !important;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 75px;
  }
}

/* Accordion */
.accordion-button {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
}

.accordion-button:not(.collapsed) {
  background: var(--brand-accent);
  color: var(--brand-primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.25);
  border-color: var(--brand-gold);
}

.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Tables */
.table th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--brand-primary);
  color: var(--brand-white);
  border: none;
}

.table td {
  border-color: rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

/* Forms */
.form-control,
.form-select {
  border-radius: 0;
  border-color: rgba(0, 0, 0, 0.15);
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}

.form-label {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Alerts */
.alert {
  border-radius: 0;
  border: none;
  border-left: 4px solid;
}

.alert-success {
  background: #e8f5e9;
  border-left-color: #4caf50;
  color: #2e7d32;
}

.alert-danger {
  background: #ffebee;
  border-left-color: #f44336;
  color: #c62828;
}

.alert-info {
  background: var(--brand-accent);
  border-left-color: var(--brand-gold);
  color: var(--brand-primary);
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 1rem 1.5rem;
  background: var(--brand-white);
  color: var(--brand-dark);
  z-index: 10000;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

/* Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

/* Image Styling */
img {
  max-width: 100%;
  height: auto;
}

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

/* Before/After Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Testimonial Cards */
.testimonial-card {
  position: relative;
  padding: 2rem;
  background: var(--brand-white);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--brand-gold);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.3;
}

/* Stats */
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--brand-gold);
  line-height: 1;
}

/* Service Icons */
.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent);
}

/* Dividers */
.divider {
  width: 50px;
  height: 2px;
  background: var(--brand-gold);
  margin: 1.5rem 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Image Placeholders */
.img-placeholder {
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 3rem;
}

/* Border Radius Override */
.rounded-0 {
  border-radius: 0 !important;
}

.rounded-4 {
  border-radius: 0 !important;
}

.rounded-3 {
  border-radius: 0 !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* Sticky Sidebar */
@media (min-width: 992px) {
  .sticky-lg-top {
    position: sticky;
    top: 20px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--brand-light);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-gold);
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .mobile-cta-bar,
  .btn {
    display: none !important;
  }

  body {
    padding-bottom: 0;
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Hero profile image */
.hero-profile-img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: 20px 20px 0 var(--brand-gold);
}

/* About section image */
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Gold accent underline */
.text-gold-underline {
  position: relative;
  display: inline-block;
}

.text-gold-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-gold);
}
