/* Custom Fonts */
/* Fonts are already linked in index.html for Oswald (Headings) and Roboto (Body) */

:root {
    /* Color Palette - Warm & Refined Dark Theme */
    --color-primary: #B8860B; /* DarkGoldenrod - a rich, muted gold */
    --color-primary-dark: #A57C0D; /* Slightly darker gold for hover */

    --color-text-light: #F8F8F8; /* Near White for general text */
    --color-text-muted: #C0C0C0; /* Silver - a soft light gray for secondary text/paragraphs */
    --color-heading: #FFFFFF; /* Pure white for headings */

    --color-background-body: #2F3C4C; /* Dark, Muted Blue-Gray for main body */
    --color-background-card: #3A4B5D; /* Slightly lighter Blue-Gray for cards/content blocks */
    --color-background-accent: #1F2937; /* Even darker, but still blue-gray for strong contrast sections (footer, featured) */

    --color-border: #5A6B7F; /* Medium Blue-Gray for borders */

    --color-overlay-dark: rgba(0, 0, 0, 0.7); /* Standard dark overlay for readability */
    --color-overlay-light: rgba(184, 134, 11, 0.3); /* Subtle gold overlay if needed */

    /* Spacing */
    --spacing-section-padding: 100px;
    --spacing-element-padding: 40px;
    --spacing-gap: 30px;

    /* Shadows (adjusted for dark backgrounds) */
    --shadow-light: 0 4px 10px rgba(0,0,0,0.2);
    --shadow-medium: 0 8px 20px rgba(0,0,0,0.35);
    --shadow-strong: 0 12px 30px rgba(0,0,0,0.5);

    /* Border Radius */
    --border-radius-base: 8px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text-light); /* Default body text is light */
    background-color: var(--color-background-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    color: var(--color-heading); /* Headings are white */
    font-weight: 700;
    margin-bottom: 0.8em;
}

h1 { font-size: 3.8rem; letter-spacing: -0.03em; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: var(--spacing-gap);
    line-height: 1.8;
    color: var(--color-text-muted); /* Paragraphs are muted light gray */
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--color-text-light); /* Links are light by default */
}

a:hover {
    color: var(--color-primary); /* Gold on hover */
}

/* --- Hero Slider Section --- */
.hero-slider-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    filter: grayscale(0%);
    transition: filter 1s ease-in-out;
}

.swiper-slide:not(.swiper-slide-active) .hero-slide-bg {
    filter: grayscale(100%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay-dark); /* Dark overlay for light text */
    z-index: 1;
}

/* Specific overlay adjustment for the male barber photo (Slide 2) */
.swiper-slide:nth-child(2) .hero-bg-overlay {
    background-color: rgba(0, 0, 0, 0.65); /* Slightly less opaque for better blend on slide 2 */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 var(--spacing-gap);
    text-align: center;
}

.hero-slider-section h1 {
    font-size: 4.8rem;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin-bottom: var(--spacing-gap);
    color: var(--color-heading);
}

.hero-slider-section p {
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: var(--spacing-gap);
    color: var(--color-text-light); /* Hero text is light */
}

/* --- Custom Buttons --- */
.custom-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-block;
    box-shadow: var(--shadow-light);
}

.custom-btn-red { /* Now uses the gold primary color */
    background-color: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.custom-btn-red:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.custom-btn-outline {
    background-color: transparent;
    color: var(--color-text-light); /* Outline button text is light */
    border: 2px solid var(--color-text-light);
}

.custom-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle light hover */
    color: var(--color-primary); /* Gold on hover */
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* --- Swiper Navigation & Pagination --- */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-text-light); /* Arrows are light */
    --swiper-navigation-size: 48px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--color-primary); /* Gold on hover */
    opacity: 1;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: var(--color-text-light); /* Dots are light */
    opacity: 0.6;
    width: 14px;
    height: 14px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary); /* Gold when active */
    opacity: 1;
    transform: scale(1.3);
}

/* --- Sidebar Navigation --- */
.sidebar {
    background-color: var(--color-background-card); /* Card background for sidebar */
    box-shadow: var(--shadow-medium);
    border-right: 1px solid var(--color-border);
}

.sidebar .navbar-brand {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar .logo-image {
    max-width: 160px;
    height: auto;
    /* Your logo should now be perfectly visible! */
}

.sidebar .nav-link {
    color: var(--color-text-light); /* Sidebar links are light */
    padding: 20px 30px;
    font-size: 1.15rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: var(--color-primary); /* Gold on hover/active */
    background-color: rgba(255,255,255,0.03); /* Very subtle light hover background */
    border-left-color: var(--color-primary);
}

/* --- General Section Styling --- */
.section-padding {
    padding: var(--spacing-section-padding) 0;
    background-color: var(--color-background-body); /* Body background for sections */
    border-bottom: 1px solid var(--color-border);
}

.section-bg {
    background-color: var(--color-background-card); /* Slightly darker for section headers/overlays */
    padding: var(--spacing-element-padding) 0;
}

/* --- About Section (Best Hairdressers) --- */
.about-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-gap);
}

.about-section p, .about-section h6 {
    color: var(--color-text-muted); /* Muted text for paragraphs */
}

.about-section .border-bottom {
    border-bottom: 1px solid var(--color-border) !important;
    padding-bottom: var(--spacing-gap);
    margin-bottom: calc(var(--spacing-gap) * 2) !important;
    text-align: center;
}

.about-section h6 {
    text-align: center;
    margin-bottom: var(--spacing-gap);
    color: var(--color-heading);
}

/* Team Info (Barbers) */
.custom-block-bg-overlay-wrap {
    background-color: var(--color-background-card);
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-base);
    margin-bottom: var(--spacing-gap);
    box-shadow: var(--shadow-light);
}

.custom-block-bg-overlay-image {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(0%);
    transition: all 0.4s ease-in-out;
}

.custom-block-bg-overlay-wrap:hover .custom-block-bg-overlay-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-overlay-dark);
    padding: 20px 25px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-info p {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0;
}

.social-icon {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.social-icon-item {
    margin-left: 12px;
}

.social-icon-link {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background-color: var(--color-primary); /* Gold on hover */
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-4px) rotate(5deg);
    box-shadow: var(--shadow-light);
}

/* --- Featured Section (Discount) --- */
.featured-section {
    background-color: var(--color-background-accent); /* Even darker background for contrast */
    color: #ffffff;
    text-align: center;
    padding: var(--spacing-section-padding) 0;
}

.featured-section h2 {
    color: var(--color-primary); /* Gold heading */
    font-size: 3.5rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.featured-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-text-muted); /* Muted gray for consistency */
}

.featured-section strong {
    color: #ffffff;
    font-size: 1.5rem;
    display: block;
    margin-top: 20px;
    background-color: rgba(255,255,255,0.1); /* Subtle background for promo code */
    padding: 10px 20px;
    border-radius: var(--border-radius-base);
    display: inline-block;
    letter-spacing: 0.05em;
}

/* --- Services Section --- */
.services-section h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-gap) * 2);
}

.services-thumb {
    border-radius: var(--border-radius-base);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-light);
    margin-bottom: var(--spacing-gap);
}

.services-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.services-thumb:hover .services-image {
    transform: scale(1.05);
}

.services-info {
    background-color: var(--color-overlay-dark);
    color: #fff;
    padding: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.services-info h4 {
    color: #fff;
    margin-bottom: 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.services-thumb-price {
    color: var(--color-primary); /* Gold for prices */
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Booking Form --- */
.custom-form.booking-form {
    background-color: var(--color-background-card); /* Card background for form */
    padding: calc(var(--spacing-element-padding) * 1.5);
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-medium);
}

.custom-form .text-center h2 {
    margin-bottom: 0.5em;
}

.custom-form .text-center p {
    color: var(--color-text-muted); /* Muted text for form description */
    margin-bottom: calc(var(--spacing-gap) * 2);
}

.custom-form .form-control {
    background-color: var(--color-background-body); /* Body background for inputs */
    border: 1px solid var(--color-border);
    color: var(--color-text-light); /* Light text in inputs */
    padding: 15px 20px;
    border-radius: var(--border-radius-base);
    margin-bottom: var(--spacing-gap);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.custom-form .form-control::placeholder {
    color: var(--color-text-muted); /* Muted placeholder text */
    opacity: 0.8;
}

.custom-form .form-control:focus {
    background-color: var(--color-background-body);
    border-color: var(--color-primary); /* Gold focus outline */
    box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25); /* Gold shadow on focus */
    color: var(--color-text-light);
}

.custom-form select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23F8F8F8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E"); /* Light arrow for dropdown */
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.custom-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
    margin-bottom: calc(var(--spacing-gap) * 1.5);
}

.custom-form button[type="submit"] {
    background-color: var(--color-primary); /* Gold submit button */
    color: #fff;
    border: none;
    font-size: 1.25rem;
    padding: 16px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: 100%;
    max-width: 320px;
    box-shadow: var(--shadow-medium);
}

.custom-form button[type="submit"]:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

/* --- Price List Section --- */
.price-list-section h2 {
    margin-bottom: 0.5em;
}

.price-list-section strong {
    color: var(--color-text-muted); /* Muted for subtitles */
    font-size: 1.1rem;
    display: block;
    margin-bottom: calc(var(--spacing-gap) * 1.5);
}

.price-list-thumb-wrap {
    background-color: var(--color-background-card);
    padding: var(--spacing-element-padding);
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light);
}

.price-list-thumb {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-list-thumb:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.price-list-thumb h6 {
    color: var(--color-text-light); /* Light text for service names */
    font-size: 1.4rem;
    margin-bottom: 0;
    font-weight: 500;
}

.price-list-thumb-divider {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(248, 248, 248, 0.2); /* Dotted line matching text */
    margin: 0 15px;
}

.price-list-thumb strong {
    color: var(--color-primary); /* Gold for prices */
    font-size: 1.5rem;
    font-weight: 700;
}

.price-list-section .custom-block-bg-overlay-wrap {
    box-shadow: var(--shadow-medium);
}

.price-list-section .custom-block-bg-overlay-image {
    height: 500px;
}

/* --- Contact Section --- */
.contact-section .section-bg {
    background-color: var(--color-background-body);
    text-align: center;
}

.contact-section .section-bg h2 {
    margin-bottom: 0;
}

.contact-section h5 {
    color: var(--color-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-gap);
}

.contact-section p {
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.contact-section .site-footer-link {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-section .site-footer-link:hover {
    color: var(--color-primary); /* Gold on hover */
}

.contact-section .social-icon-link {
    border-color: var(--color-text-muted); /* Muted border */
    color: var(--color-text-muted); /* Muted icon color */
}

.contact-section .social-icon-link:hover {
    border-color: var(--color-primary); /* Gold on hover */
    color: #fff;
    background-color: var(--color-primary);
}

.contact-block-wrap {
    background-color: var(--color-background-card);
    padding: var(--spacing-element-padding);
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light);
}

.contact-block h6 {
    color: var(--color-text-light);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.contact-block h6:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 15px;
}

.contact-block .custom-icon {
    color: var(--color-primary); /* Gold icon */
    font-size: 2rem;
    margin-right: 15px;
}

.google-map {
    border-radius: var(--border-radius-base);
    filter: grayscale(0%) invert(0%); /* Keeps map colors */
    box-shadow: var(--shadow-medium);
}

/* --- Footer Styling --- */
.site-footer {
    background-color: var(--color-background-accent); /* Near black footer */
    color: var(--color-text-muted);
    padding-top: calc(var(--spacing-section-padding) * 0.6);
    padding-bottom: 30px;
}

.site-footer-title {
    color: var(--color-heading);
    font-size: 2rem;
    margin-bottom: calc(var(--spacing-gap) * 1.5);
    text-align: center;
    letter-spacing: 0.05em;
}

.site-footer-thumb {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.site-footer-thumb strong {
    color: var(--color-heading);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 5px;
}

.site-footer p {
    color: var(--color-text-muted);
}

.site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
}

.copyright-text {
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.copyright-text a {
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.copyright-text a:hover {
    color: var(--color-primary); /* Gold on hover */
}

.back-top-icon {
    font-size: 3rem;
    color: var(--color-primary); /* Gold icon */
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}

.back-top-icon:hover {
    color: var(--color-primary-dark);
    transform: translateY(-5px) scale(1.1);
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 991.98px) {
    .hero-swiper, .hero-slider-section {
        min-height: 80vh;
        height: 80vh;
    }
    .hero-slider-section h1 {
        font-size: 3.2rem;
    }
    .hero-slider-section p {
        font-size: 1.3rem;
    }
    .custom-btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }

    .sidebar {
        position: fixed;
        left: -300px;
        transition: left 0.3s ease-in-out;
        z-index: 1050;
        width: 280px;
        height: 100vh;
        overflow-y: auto;
        top: 0;
        padding-top: 80px;
        background-color: var(--color-background-card);
    }

    .sidebar.show {
        left: 0;
    }

    .navbar-toggler {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1051;
        background-color: var(--color-primary); /* Gold toggler */
        border: none;
        color: #fff;
        padding: 12px 18px;
        border-radius: 5px;
        box-shadow: var(--shadow-light);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3csvg%3e");
        width: 1.5em;
        height: 1.5em;
    }

    .col-md-8.ms-sm-auto.col-lg-9.p-0 {
        width: 100%;
        margin-left: 0 !important;
    }

    .section-padding {
        padding: 70px 0;
    }

    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }
    h4 { font-size: 1.6rem; }
    h5 { font-size: 1.4rem; }
    h6 { font-size: 1.1rem; }

    .price-list-thumb-wrap {
        padding: 30px;
    }

    .price-list-thumb h6 {
        font-size: 1.2rem;
    }

    .price-list-thumb strong {
        font-size: 1.3rem;
    }

    .services-image {
        height: 280px;
    }

    .booking-form {
        padding: 40px;
    }

    .price-list-section .custom-block-bg-overlay-image {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-section h1 {
        font-size: 2.5rem;
        letter-spacing: 0.02em;
    }
    .hero-slider-section p {
        font-size: 1.1rem;
    }
    .custom-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .site-footer-title {
        font-size: 1.8rem;
    }

    .site-footer-thumb strong {
        font-size: 1.1rem;
    }

    .contact-block-wrap {
        margin-top: var(--spacing-gap);
        padding: 30px;
    }
    .contact-block h6 {
        flex-direction: column;
        align-items: flex-start;
        font-size: 1.3rem;
    }
    .contact-block h6 span {
        margin-left: 0;
        margin-top: 8px;
    }

    
}