/* Custom Modern Landing Enhancements for Old Barber Chair */
:root {
    --obc-gold: #c5a059;
    --obc-gold-hover: #d8b26e;
    --obc-dark: #121316;
    --obc-dark-card: #1c1e22;
    --obc-green: #538167;
}

/* General smoothness & typography */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f1012;
    color: #e5e5e5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

/* Header & Nav */
.header_main.header_home {
    background: rgba(18, 19, 22, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wrapper_top {
    background: #0b0c0e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wrapper_nav {
    background: transparent !important;
}
.ds_logo_left h1 {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif !important;
    font-size: 22px !important;
    color: #fff !important;
    display: inline-block;
}
.ds_logo_left h1 span {
    color: var(--obc-gold);
}
.ds_navigation_menu ul.menu > li > a {
    color: #ccc !important;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.ds_navigation_menu ul.menu > li > a:hover,
.ds_navigation_menu ul.menu > li.current_page_item > a {
    color: var(--obc-gold) !important;
}
.appointment_btn a {
    background: linear-gradient(135deg, var(--obc-gold) 0%, #a67c33 100%) !important;
    color: #121316 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px !important;
    padding: 12px 24px !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
    transition: all 0.3s ease !important;
}
.appointment_btn a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
    color: #000 !important;
}

/* Headings */
h2.block_title {
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
h2.block_title:before {
    display: none !important;
}
h2.block_title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--obc-gold), transparent);
    border-radius: 2px;
}

/* Middle wrapper (Prices & Gallery) */
.wrapper_middle {
    background: #14161a !important;
    padding: 70px 0 90px 0 !important;
}

/* Modern Gallery Grid */
.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 15px;
}
@media (min-width: 768px) {
    .modern-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}
.gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1e22;
    aspect-ratio: 1 / 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.gallery-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    border-color: rgba(197, 160, 89, 0.5);
    z-index: 2;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-card:hover img {
    transform: scale(1.08);
}
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}
.gallery-card-overlay i {
    color: var(--obc-gold);
    font-size: 22px;
    background: rgba(0,0,0,0.6);
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid var(--obc-gold);
}

/* Modern Prices List */
.modern-price-list {
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
    background: #1a1c20;
    border-radius: 12px;
    padding: 15px 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.modern-price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    transition: padding 0.2s ease;
}
.modern-price-item:last-child {
    border-bottom: none;
}
.modern-price-item:hover {
    padding-left: 8px;
    padding-right: 8px;
}
.modern-price-item .item-title {
    color: #f0f0f0;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
}
.modern-price-item .item-dots {
    flex-grow: 1;
    margin: 0 14px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
}
.modern-price-item .item-price {
    color: var(--obc-gold);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
}

/* Hours & Saloon Section */
.wrapper_saloon {
    position: relative;
    padding: 60px 0 !important;
}
.wrapper_saloon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 16, 18, 0.88);
}
.wrapper_saloon .container {
    position: relative;
    z-index: 1;
}
ul.slides_times {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}
.ds_wtime {
    background: rgba(28, 30, 34, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    border-radius: 10px;
    padding: 15px 20px !important;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
}
.ds_wtime .ds_day {
    color: var(--obc-gold) !important;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.ds_wtime .ds_whours {
    color: #e0e0e0 !important;
    font-size: 13px;
    font-weight: 500;
}
.ds_wtime.closed {
    opacity: 0.6;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.ds_wtime.closed .ds_whours {
    color: #ff5252 !important;
    font-weight: 600;
}

/* Counters section */
.contact_main {
    background: #111215 !important;
    padding: 60px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ds_counter {
    background: #181a1e;
    border-radius: 12px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}
.ds_counter:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
}
.counter_icon i {
    color: var(--obc-gold) !important;
    font-size: 36px !important;
}
.count_timer_number b {
    color: #fff !important;
    font-size: 38px !important;
    font-family: 'Oswald', sans-serif !important;
}
.pmc_counter_border {
    background: var(--obc-gold) !important;
    opacity: 0.5;
}
.counter_text {
    color: #aaa !important;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services section */
.section_accordian {
    background: #14161a !important;
    padding: 70px 0 !important;
}
.panel_default {
    background: #1c1e22 !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    overflow: hidden;
}
.panel-heading {
    background: transparent !important;
    padding: 16px 20px !important;
}
.panel-title a {
    color: #fff !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.panel-title a:hover {
    color: var(--obc-gold) !important;
}
.panel-title a i {
    color: var(--obc-gold);
}
.panel_body {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 20px;
    color: #b0b0b0;
}
.right_side_mdl {
    background: #1c1e22;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.right_side_mdl p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}
.about-images-wrapper {
    display: flex;
    gap: 15px;
}
.about-images-wrapper img {
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Contact & Map section */
.map_page {
    background: #111215 !important;
    padding: 70px 0 80px 0 !important;
}
.google_map_heading {
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.google_map_heading:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--obc-gold), transparent);
    border-radius: 2px;
}
.eco_map_border {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.right_side_data {
    background: #1c1e22;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ccc;
}
.right_side_data p {
    color: #bbb;
    margin-bottom: 18px;
}
.right_side_data span i {
    color: var(--obc-gold);
    margin-right: 8px;
}
.button_main.gray_button {
    background: linear-gradient(135deg, #2b2e35 0%, #1c1e22 100%) !important;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}
.button_main.gray_button:hover {
    border-color: var(--obc-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
}
.button_main.gray_button a {
    color: #fff !important;
}

/* Footer */
.copyright_footer {
    background: #08090a !important;
    padding: 30px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
#copyright {
    color: #777 !important;
}
#copyright a {
    color: var(--obc-gold) !important;
}
.bottom_tab {
    display: none;
}

/* ========================================================
   RESPONSIVE ENHANCEMENTS (Mobile, Tablet, Small Desktop)
   ======================================================== */

@media (max-width: 991px) {
    .header_home {
        position: relative !important;
    }
    .wrapper_slider {
        margin-top: 0 !important;
    }
    .ds_navigation_menu ul.menu > li > a {
        padding: 12px 15px !important;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .appointment_btn {
        margin: 15px 0;
        display: inline-block;
    }
    .right_side_mdl {
        margin-top: 30px;
    }
    .right_side_data {
        margin-top: 25px;
    }
}

@media (max-width: 767px) {
    /* Header mobile */
    .wrapper_top {
        padding: 8px 0;
    }
    .toogle_span {
        display: inline-block;
        padding: 5px 12px;
        font-size: 12px;
    }
    .br_notification_content {
        padding: 4px 0 !important;
        font-size: 13px;
        display: block;
        float: none;
    }
    .ds_social_notification {
        text-align: left;
        margin-top: 8px;
    }

    /* Navbar toggle & brand */
    .ds_logo_left h1 {
        font-size: 18px !important;
        padding: 12px 0 !important;
    }
    .navbar-header {
        margin-top: 5px;
    }
    .navbar_toggle {
        background: #1c1e22;
        border: 1px solid var(--obc-gold);
        color: var(--obc-gold);
        border-radius: 6px;
        padding: 8px 12px;
        margin: 8px 0;
    }

    /* Titles */
    h2.block_title,
    .google_map_heading {
        font-size: 24px !important;
        margin-bottom: 18px;
    }

    /* Gallery */
    .modern-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    /* Prices */
    .prices_section {
        margin-top: 30px;
    }
    .modern-price-list {
        padding: 12px 16px;
    }
    .modern-price-item .item-title {
        font-size: 14px;
    }
    .modern-price-item .item-price {
        font-size: 16px;
    }

    /* Hours */
    ul.slides_times {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .ds_wtime {
        min-width: auto;
        padding: 10px 8px !important;
    }
    .ds_wtime .ds_day {
        font-size: 13px;
        margin-bottom: 3px;
    }
    .ds_wtime .ds_whours {
        font-size: 11px;
    }

    /* Counters */
    .contact_main .row.content > div {
        margin-bottom: 15px;
    }
    .contact_main .row.content > div:last-child {
        margin-bottom: 0;
    }
    .ds_counter {
        padding: 20px 15px;
    }
    .count_timer_number b {
        font-size: 30px !important;
    }

    /* Services & About */
    .about-images-wrapper {
        flex-direction: column;
    }
    .about-images-wrapper img {
        width: 100% !important;
        height: 180px !important;
    }

    /* Map & Contact */
    .eco_mapdiv iframe {
        height: 300px !important;
    }
    .right_side_data {
        padding: 20px 15px;
    }

    /* Floating WhatsApp Button for Mobile */
    .mobile-float-cta {
        display: block !important;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        background: #25d366;
        color: #fff !important;
        width: 56px;
        height: 56px;
        line-height: 56px;
        border-radius: 50%;
        text-align: center;
        box-shadow: 0 4px 16px rgba(0,0,0,0.4);
        font-size: 28px;
        transition: transform 0.2s ease;
    }
    .mobile-float-cta:hover,
    .mobile-float-cta:focus {
        transform: scale(1.1);
        color: #fff !important;
    }
}

@media (min-width: 768px) {
    .mobile-float-cta {
        display: none !important;
    }
}
