/* 
 * Barbershop Website Styles
 * Custom CSS for the barbershop demo site
 * Theme: Masculine, vintage aesthetics
 */

/* -----------------------------
   Variables
   ----------------------------- */
:root {
    /* Color scheme - Modern heritage palette */
    --primary-color: #0c1117; /* Deep charcoal */
    --secondary-color: #d6a35f; /* Polished brass */
    --accent-color: #f26b3f; /* Warm copper */
    --light-color: #f7ecdb; /* Soft ivory */
    --dark-color: #05070c; /* Ink black */
    --text-color: rgba(240, 236, 228, 0.88);
    --muted-text: rgba(235, 231, 223, 0.72);
    --surface-color: rgba(16, 20, 30, 0.78);
    --surface-highlight: rgba(214, 163, 95, 0.22);
    
    /* Typography */
    --heading-font: 'Playfair Display', Georgia, serif;
    --body-font: 'Roboto', Arial, sans-serif;
    --alt-font: 'Oswald', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 6rem) 0;
    --container-padding: 0 clamp(1.5rem, 6vw, 3.5rem);
    --element-margin: clamp(1.5rem, 3vw, 2.5rem);
    --grid-gap: clamp(1.5rem, 3vw, 2.5rem);
    
    /* Borders & Effects */
    --border-radius: 20px;
    --box-shadow: 0 32px 60px rgba(5, 7, 12, 0.45);
    --transition: all 0.35s ease;
    
    /* Specific UI Elements */
    --nav-height: 86px;
}

/* -----------------------------
   Base Styles & Typography
   ----------------------------- */
body {
    font-family: var(--body-font);
    color: var(--text-color);
    background: radial-gradient(120% 150% at 0% 0%, #1c222d 0%, #10141e 45%, #05070c 100%);
    background-attachment: fixed;
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    color: var(--light-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(214, 163, 95, 0.85) 0%, rgba(214, 163, 95, 0) 100%);
    position: absolute;
    bottom: -10px;
    left: 0;
}

section:not(.hero-section) h2 {
    text-align: center;
}

section:not(.hero-section) h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    color: var(--light-color);
}

p {
    margin-bottom: 1.5rem;
    color: var(--muted-text);
}

a {
    color: #f6d79d;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #ffe8ba;
    text-decoration: none;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Override shared styles */
.primary-btn {
    background: linear-gradient(135deg, #f7d7a1, #d48a3a);
    color: #120f09;
    font-family: var(--alt-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 24px 40px rgba(212, 138, 58, 0.35);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 50px rgba(212, 138, 58, 0.4);
}

.secondary-btn {
    color: #f6d79d;
    border: 1px solid rgba(246, 215, 157, 0.4);
    font-family: var(--alt-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    background: rgba(13, 17, 23, 0.45);
}

.secondary-btn:hover {
    background: rgba(21, 26, 36, 0.75);
    color: #f8e4c1;
    transform: translateY(-2px);
}

.section-heading {
    margin-bottom: var(--element-margin);
    position: relative;
    text-align: center;
    display: inline-block;
}

/* -----------------------------
   Layout Helpers
   ----------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.divider {
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
    margin: var(--element-margin) 0;
    opacity: 0.3;
}

.price-tag {
    color: var(--accent-color);
    font-family: var(--alt-font);
    font-weight: 700;
    font-size: 1.25rem;
}

.badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

/* -----------------------------
   Header Styles
   ----------------------------- */
.site-header {
    background: rgba(7, 9, 15, 0.85);
    backdrop-filter: blur(18px);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(214, 163, 95, 0.18);
    box-shadow: 0 18px 45px rgba(5, 7, 12, 0.45);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    gap: 2.5rem;
    padding: 0 clamp(1.5rem, 6vw, 3.5rem);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 58px;
    margin-right: 0.75rem;
}

.logo h1 {
    color: #f6d79d;
    font-size: 1.4rem;
    margin: 0;
    font-family: var(--alt-font);
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.main-navigation a {
    color: rgba(246, 218, 170, 0.82);
    padding: 0.5rem 0;
    text-decoration: none;
    font-family: var(--alt-font);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(214, 163, 95, 0.95) 0%, rgba(214, 163, 95, 0.2) 100%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-navigation a:hover {
    color: #f8e4c1;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    transform: scaleX(1);
}

.main-navigation a.active {
    color: #f6d79d;
}

.mobile-menu-toggle {
    display: none;
    color: #f6d79d;
    font-size: 1.4rem;
    background: rgba(214, 163, 95, 0.12);
    border: 1px solid rgba(214, 163, 95, 0.4);
    border-radius: 12px;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.45rem 0.65rem;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background: rgba(214, 163, 95, 0.25);
    outline: none;
}

/* -----------------------------
   Hero Section
   ----------------------------- */
.hero-section {
    background: transparent;
    color: var(--light-color);
    padding: clamp(6rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
    text-align: left;
    position: relative;
}

.hero-section h2 {
    color: var(--light-color);
    font-size: clamp(2.75rem, 4.5vw, 3.8rem);
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.hero-section p {
    font-size: clamp(1.05rem, 2.1vw, 1.25rem);
    margin: 0;
    max-width: 40rem;
}

.hero-section:after {
    display: none;
}

.hero-section .container {
    display: grid;
    gap: clamp(2.5rem, 6vw, 3.5rem);
    padding: 0 clamp(1.5rem, 6vw, 3.5rem);
}

.hero-slider.barber-slider {
    border-radius: 32px;
    border: 1px solid rgba(214, 163, 95, 0.25);
    box-shadow: 0 45px 80px rgba(5, 7, 12, 0.55);
    background: linear-gradient(140deg, rgba(15, 20, 31, 0.85) 0%, rgba(15, 20, 31, 0.65) 100%);
}

.hero-slider.barber-slider .hero-slide::before {
    background: linear-gradient(120deg, rgba(8, 12, 25, 0.85) 0%, rgba(214, 163, 95, 0.2) 55%, rgba(8, 12, 25, 0.75) 100%);
}

.hero-slider.barber-slider .slider-controls button {
    background: rgba(7, 9, 15, 0.6);
    border: 1px solid rgba(214, 163, 95, 0.35);
    color: #f6d79d;
}

.hero-slider.barber-slider .slider-controls button:hover {
    background: rgba(214, 163, 95, 0.25);
    color: #0c0e15;
}

.hero-slider.barber-slider .slider-dot {
    background: rgba(246, 215, 157, 0.35);
}

.hero-slider.barber-slider .slider-dot.is-active {
    background: #f6d79d;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.hero-cta .primary-btn {
    min-width: 180px;
}

.hero-cta .secondary-btn {
    backdrop-filter: blur(6px);
}

.tertiary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--alt-font);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: #f6d79d;
    position: relative;
    padding-right: 1.5rem;
}

.tertiary-link::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: 0.85rem;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.tertiary-link:hover::after {
    transform: translateX(4px);
}

.slide-footnote {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-family: var(--body-font);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
}

.slide-footnote span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.slide-footnote i {
    color: #f6d79d;
    font-size: 1rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    position: relative;
    padding: 1.75rem;
    border-radius: 24px;
    background: rgba(12, 16, 24, 0.82);
    border: 1px solid rgba(214, 163, 95, 0.2);
    box-shadow: 0 30px 50px rgba(5, 7, 12, 0.45);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.metric-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(214, 163, 95, 0.32), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-card:hover:after {
    opacity: 1;
}

.metric-label {
    text-transform: uppercase;
    font-family: var(--alt-font);
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    color: rgba(246, 215, 157, 0.7);
}

.metric-value {
    display: block;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-family: var(--heading-font);
    margin: 0.75rem 0;
    color: #f6d79d;
}

.metric-detail {
    font-size: 0.95rem;
    color: var(--muted-text);
}

/* -----------------------------
   Featured Services Section
   ----------------------------- */
.featured-services {
    padding: var(--section-padding);
    background: linear-gradient(180deg, rgba(12, 16, 24, 0.92) 0%, rgba(12, 16, 24, 0.75) 100%);
    border-radius: 32px;
    margin: clamp(2rem, 4vw, 3rem) var(--container-padding) 0;
    box-shadow: 0 40px 80px rgba(5, 7, 12, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1.75rem, 4vw, 2.5rem);
    margin: 3rem 0;
}

.service-item {
    text-align: left;
    padding: 2.25rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(214, 163, 95, 0.25);
    background: linear-gradient(135deg, rgba(19, 23, 32, 0.9), rgba(12, 16, 26, 0.75));
    box-shadow: 0 28px 60px rgba(5, 7, 12, 0.45);
}

.service-item:hover {
    transform: translateY(-6px);
}

.service-item:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(214, 163, 95, 0.28), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover:before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(214, 163, 95, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    background: rgba(214, 163, 95, 0.28);
}

.service-item svg {
    width: 30px;
    height: 30px;
    fill: #f6d79d;
    transition: var(--transition);
}

.service-item h3 {
    color: #f8e4c1;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
    font-family: var(--alt-font);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.service-item p {
    color: rgba(235, 231, 223, 0.75);
}

.service-price {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(214, 163, 95, 0.18);
    color: #f6d79d;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-family: var(--alt-font);
    letter-spacing: 0.12em;
    margin-top: 1.25rem;
}

/* -----------------------------
   About Preview Section
   ----------------------------- */
.about-preview {
    background: linear-gradient(180deg, rgba(10, 15, 24, 0.92) 0%, rgba(10, 15, 24, 0.68) 100%);
    color: var(--light-color);
    padding: var(--section-padding);
    position: relative;
    border-radius: 32px;
    margin: clamp(2rem, 4vw, 3rem) var(--container-padding);
    box-shadow: 0 40px 80px rgba(5, 7, 12, 0.45);
}

.about-preview h2 {
    color: var(--light-color);
}

.about-preview h2:after {
    background: linear-gradient(90deg, rgba(214, 163, 95, 0.85), rgba(214, 163, 95, 0.2));
}

.about-preview p {
    max-width: none;
    margin: 0;
    text-align: left;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: center;
    gap: clamp(2rem, 5vw, 3.5rem);
    margin: 3rem 0 0;
}

.about-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(5, 7, 12, 0.45);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    display: grid;
    gap: 1.5rem;
    color: var(--muted-text);
    font-size: 1.05rem;
}

/* -----------------------------
   Testimonials Section
   ----------------------------- */
.testimonials {
    background: linear-gradient(180deg, rgba(9, 13, 21, 0.95) 0%, rgba(9, 13, 21, 0.65) 100%);
    padding: var(--section-padding);
    border-radius: 32px;
    margin: clamp(2rem, 4vw, 3rem) var(--container-padding);
    box-shadow: 0 35px 80px rgba(5, 7, 12, 0.45);
}

.testimonial-slider {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    background: rgba(14, 18, 28, 0.85);
    padding: 2.5rem;
    border-radius: 26px;
    border: 1px solid rgba(214, 163, 95, 0.25);
    box-shadow: 0 32px 60px rgba(5, 7, 12, 0.45);
    margin: 1rem;
    position: relative;
    color: var(--muted-text);
}

.testimonial:before {
    content: "“";
    font-family: Georgia, serif;
    font-size: 4rem;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    color: rgba(214, 163, 95, 0.5);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.75rem;
    color: rgba(240, 236, 228, 0.75);
}

.testimonial cite {
    font-style: normal;
    font-weight: bold;
    color: #f6d79d;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial cite img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.35rem;
}

.testimonials .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.75rem;
}

.testimonials .slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(246, 215, 157, 0.35);
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonials .slider-dots .dot.active {
    background: #f6d79d;
    transform: scaleX(2.2);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: var(--secondary-color);
}

/* -----------------------------
   Gallery Preview Section
   ----------------------------- */
.gallery-preview {
    padding: var(--section-padding);
    background: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 28px 60px rgba(5, 7, 12, 0.45);
    transform: translateZ(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(5, 7, 12, 0.55);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 9, 15, 0) 0%, rgba(6, 9, 15, 0.78) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.75rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    font-family: var(--alt-font);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    color: #f6d79d;
}

/* -----------------------------
   Contact Preview Section
   ----------------------------- */
.contact-preview {
    color: var(--light-color);
    padding: var(--section-padding);
    text-align: left;
    position: relative;
    border-radius: 32px;
    margin: clamp(2rem, 4vw, 3rem) var(--container-padding);
    background: linear-gradient(160deg, rgba(7, 9, 15, 0.92) 0%, rgba(7, 9, 15, 0.75) 60%), url('../images/contact-bg.jpg') center/cover;
    box-shadow: 0 45px 80px rgba(5, 7, 12, 0.55);
    overflow: hidden;
}

.contact-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(214, 163, 95, 0.25), rgba(7, 9, 15, 0.6) 55%, rgba(7, 9, 15, 0.85) 100%);
    pointer-events: none;
}

.contact-preview h2 {
    color: var(--light-color);
    position: relative;
    z-index: 1;
}

.contact-preview h2:after {
    background: linear-gradient(90deg, rgba(214, 163, 95, 0.85), rgba(214, 163, 95, 0.2));
}

.contact-preview p {
    max-width: 36rem;
    margin: 0 0 2rem;
    position: relative;
    z-index: 1;
}

.booking-form {
    position: relative;
    z-index: 1;
    max-width: 820px;
    background: rgba(12, 16, 24, 0.75);
    border: 1px solid rgba(214, 163, 95, 0.25);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 28px 60px rgba(5, 7, 12, 0.55);
    backdrop-filter: blur(12px);
}

/* -----------------------------
   Team Section
   ----------------------------- */
.team-section {
    padding: var(--section-padding);
    background: transparent;
    margin: 0 var(--container-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.75rem, 4vw, 2.5rem);
    margin: 3rem 0;
}

.team-member {
    text-align: left;
    background: rgba(12, 16, 24, 0.82);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(5, 7, 12, 0.45);
    transition: var(--transition);
    border: 1px solid rgba(214, 163, 95, 0.25);
    position: relative;
}

.team-member:hover {
    transform: translateY(-6px);
}

.team-member-image {
    height: 280px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.06);
}

.team-member-info {
    padding: 2rem;
}

.team-member-info h3 {
    margin-bottom: 0.75rem;
    font-family: var(--alt-font);
    color: #f6d79d;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.team-member-title {
    color: rgba(246, 215, 157, 0.75);
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}

.team-member-info p {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.team-social {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.team-social a {
    color: #f6d79d;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(214, 163, 95, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214, 163, 95, 0.35);
    transition: var(--transition);
}

.team-social a:hover {
    background: rgba(214, 163, 95, 0.25);
    color: #0d1119;
}

/* -----------------------------
   Booking Form
   ----------------------------- */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(214, 163, 95, 0.25);
    border-radius: 18px;
    transition: var(--transition);
    background: rgba(8, 11, 18, 0.85);
    color: var(--light-color);
    font-size: 1rem;
}

.form-control::placeholder {
    color: rgba(235, 231, 223, 0.45);
}

.form-control:focus {
    outline: none;
    border-color: rgba(246, 215, 157, 0.65);
    box-shadow: 0 0 0 4px rgba(214, 163, 95, 0.18);
}

.form-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
}

select.form-control {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-message {
    padding: 0.85rem 1rem;
    margin-top: 1rem;
    border-radius: 16px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    border: 1px solid transparent;
}

.form-message.success {
    background: rgba(56, 178, 172, 0.18);
    color: #6be3d6;
    border-color: rgba(56, 178, 172, 0.35);
}

.form-message.error {
    background: rgba(249, 110, 114, 0.18);
    color: #ffb7bb;
    border-color: rgba(249, 110, 114, 0.35);
}

/* -----------------------------
   Footer Styles
   ----------------------------- */
.site-footer {
    background: radial-gradient(120% 160% at 0% 0%, rgba(9, 12, 20, 0.95) 0%, rgba(5, 7, 12, 0.9) 45%, rgba(5, 7, 12, 1) 100%);
    color: var(--light-color);
    padding: 4.5rem 0 2.5rem;
    border-top: 1px solid rgba(214, 163, 95, 0.25);
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #f6d79d;
    font-family: var(--alt-font);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3:after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(214, 163, 95, 0.85), rgba(214, 163, 95, 0));
    position: absolute;
    bottom: -10px;
    left: 0;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.footer-hours p {
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: #f6d79d;
    width: 42px;
    height: 42px;
    background-color: rgba(214, 163, 95, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214, 163, 95, 0.25);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: rgba(214, 163, 95, 0.25);
    color: #0d1119;
}

.copyright {
    border-top: 1px solid rgba(246, 215, 157, 0.18);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    opacity: 0.7;
    text-align: center;
}

/* -----------------------------
   Media Queries
   ----------------------------- */
@media (max-width: 992px) {
    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .hero-slider.barber-slider {
        border-radius: 28px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }

    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 10rem 0 6rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation ul {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        visibility: hidden;
        opacity: 0;
        z-index: 1000;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active ul {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    .main-navigation li {
        margin: 0.5rem 0;
    }
    
    .service-item {
        margin-bottom: 1.5rem;
    }
    
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 0;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-section h2 {
        font-size: 1.75rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
}
