/* Modern Custom Styles for Merttaş Mobilya */

:root {
    --primary-color: #8B4513;
    /* SaddleBrown - for a wood/furniture feel */
    --secondary-color: #D2691E;
    /* Chocolate */
    --accent-color: #f5f2ed;
    /* Light Beige */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --transition-speed: 0.4s;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important;
    /* Fix for top gap */
}

body.modern-menu-open {
    overflow: hidden !important;
}

.website-wrapper {
    background: transparent !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* Transparent-to-Solid Sticky Header */
.whb-header {
    transition: all var(--transition-speed) ease;
    background: transparent !important;
    z-index: 10005 !important;
    /* Ensure tools stay above overlay for toggle */
}

.whb-header.whb-main-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.whb-header.whb-scroll-stick {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.whb-header.whb-scroll-stick .wd-logo img {
    filter: brightness(1) !important;
}

/* Fullscreen Menu Button Styling - Modernizing the Menu Icon */
.wd-header-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.wd-header-mobile-nav .wd-tools-icon {
    position: relative;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wd-header-mobile-nav .wd-tools-icon::before,
.wd-header-mobile-nav .wd-tools-icon::after,
.wd-header-mobile-nav .wd-tools-icon span {
    content: '';
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
}

/* Fullscreen Overlay Menu */
.modern-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-dark);
    z-index: 9999;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-image: url('../images/menu-bg.png');
    background-size: cover;
    background-position: center;
}

.modern-menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 69%);
    /* Darkening overlay */
    z-index: 1;
}

.modern-menu-left,
.modern-menu-right {
    position: relative;
    z-index: 2;
}

.modern-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button in Menu */
.menu-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-close-btn:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

.menu-close-btn i {
    color: #fff;
    font-size: 20px;
}

/* Left Side: Navigation Links */
.modern-menu-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 10% 40px;
    background: transparent;
}

.modern-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-menu-nav li {
    margin-bottom: 20px;
    overflow: hidden;
}

.modern-menu-nav li a {
    font-family: var(--font-heading);
    font-size: 5vw;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    display: block;
    line-height: 1.1;
    transition: all 0.4s ease;
    transform: translateY(100%);
}

.modern-menu-overlay.active .modern-menu-nav li a {
    transform: translateY(0);
}

/* Entrance Animations */
.modern-menu-overlay.active .modern-menu-nav li:nth-child(1) a {
    transition-delay: 0.2s;
}

.modern-menu-overlay.active .modern-menu-nav li:nth-child(2) a {
    transition-delay: 0.3s;
}

.modern-menu-overlay.active .modern-menu-nav li:nth-child(3) a {
    transition-delay: 0.4s;
}

.modern-menu-overlay.active .modern-menu-nav li:nth-child(4) a {
    transition-delay: 0.5s;
}

.modern-menu-nav li a:hover {
    color: var(--secondary-color);
    padding-left: 20px;
}

/* Right Side: Company Info & Categories - Modern Redesign */
.modern-menu-right {
    flex: 1;
    background: linear-gradient(135deg, rgba(245, 242, 237, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.modern-menu-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(210, 105, 30, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.modern-menu-right > * {
    position: relative;
    z-index: 1;
}

/* Modern Info Section */
.modern-menu-info {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-menu-overlay.active .modern-menu-info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.info-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.2), rgba(210, 105, 30, 0.1));
    border: 1px solid rgba(210, 105, 30, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.info-icon-wrapper:hover {
    transform: rotate(5deg) scale(1.05);
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.3), rgba(210, 105, 30, 0.2));
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.2);
}

.info-icon-wrapper i {
    color: var(--secondary-color);
    font-size: 24px;
    opacity: 0.9;
}

.modern-menu-info .menu-white-logo {
    max-width: 180px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
    display: block;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s ease;
}

.modern-menu-overlay.active .modern-menu-info .menu-white-logo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.modern-menu-info p {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 0;
    letter-spacing: 0.3px;
    position: relative;
    padding-left: 20px;
}

.modern-menu-info p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
    border-radius: 2px;
}

.info-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-top: 30px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.6s ease 0.4s;
}

.modern-menu-overlay.active .info-divider {
    opacity: 1;
    transform: scaleX(1);
}

/* Modern Categories Section */
.modern-menu-categories {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-menu-overlay.active .modern-menu-categories {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.categories-header {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-badge {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    font-weight: 700;
    opacity: 0.8;
}

.modern-menu-categories h4 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.5px;
}

.modern-menu-cat-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
}

.modern-menu-cat-list li {
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-menu-overlay.active .modern-menu-cat-list li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for categories */
.modern-menu-cat-list li:nth-child(1) { transition-delay: 0.4s; }
.modern-menu-cat-list li:nth-child(2) { transition-delay: 0.5s; }
.modern-menu-cat-list li:nth-child(3) { transition-delay: 0.6s; }
.modern-menu-cat-list li:nth-child(4) { transition-delay: 0.7s; }
.modern-menu-cat-list li:nth-child(5) { transition-delay: 0.8s; }
.modern-menu-cat-list li:nth-child(6) { transition-delay: 0.9s; }
.modern-menu-cat-list li:nth-child(7) { transition-delay: 1.0s; }
.modern-menu-cat-list li:nth-child(8) { transition-delay: 1.1s; }

.modern-menu-cat-list a {
    font-family: var(--font-heading);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    padding: 12px 0;
    position: relative;
    line-height: 1.4;
}

.modern-menu-cat-list a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-menu-cat-list a:hover {
    color: var(--secondary-color);
    padding-left: 15px;
}

.modern-menu-cat-list a:hover::after {
    width: 60px;
}

/* Modern Contact & Social Section */
.modern-menu-contact {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: grid; /* Changed to grid */
    grid-template-columns: 1fr; /* Default to single column for smaller screens */
    gap: 30px; /* Gap between sections */
}

.modern-menu-overlay.active .modern-menu-contact {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.contact-section-header {
    margin-bottom: 0; /* Adjusted for grid layout */
}

.contact-badge {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    font-weight: 700;
    opacity: 0.8;
}

.menu-contact-items-wrapper {
    display: grid; /* Changed to grid */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
    gap: 16px;
    margin-bottom: 0; /* Adjusted for grid layout */
}

.menu-contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.menu-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(210, 105, 30, 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.2), rgba(210, 105, 30, 0.1));
    border: 1px solid rgba(210, 105, 30, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.contact-icon-wrapper.whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(18, 140, 126, 0.1));
    border-color: rgba(37, 211, 102, 0.3);
}

.menu-contact-item:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(210, 105, 30, 0.25);
}

.menu-contact-item:hover .contact-icon-wrapper.whatsapp {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.contact-icon-wrapper i {
    color: var(--secondary-color);
    font-size: 20px;
}

.contact-icon-wrapper.whatsapp i {
    color: #25D366;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.menu-contact-item a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu-contact-item:hover a {
    color: var(--secondary-color);
}

.menu-social-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.social-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: 5px;
}

.social-icons-wrapper {
    display: grid; /* Changed to grid */
    grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); /* Responsive columns */
    gap: 12px;
}

.social-link-item {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link-item:hover::before {
    width: 100%;
    height: 100%;
}

.social-link-item i {
    position: relative;
    z-index: 1;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    border-color: rgba(210, 105, 30, 0.5);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.3);
}

.social-link-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .modern-menu-overlay {
        flex-direction: column;
    }

    .modern-menu-left {
        padding: 100px 40px 40px;
        flex: none;
    }

    .modern-menu-nav li a {
        font-size: 36px;
    }

    .modern-menu-right {
        background: var(--accent-color);
        padding: 40px;
        flex: 1;
    }

    .modern-menu-info p {
        font-size: 15px;
        padding-left: 15px;
    }

    .info-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

    .info-icon-wrapper i {
        font-size: 20px;
    }

    .modern-menu-categories h4 {
        font-size: 24px;
    }

    .modern-menu-cat-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modern-menu-cat-list a {
        font-size: 18px;
        padding: 10px 0;
    }

    .menu-contact-item {
        padding: 15px 18px;
    }

    .contact-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .contact-icon-wrapper i {
        font-size: 18px;
    }

    .menu-contact-item a {
        font-size: 15px;
    }

    .social-link-item {
        width: 44px;
        height: 44px;
    }

    .social-link-item i {
        font-size: 16px;
    }
}

/* Modern Search Overlay */
.modern-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.modern-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #fff;
    color: #000;
}

.search-container {
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    text-align: center;
}

.search-label {
    display: block;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.modern-search-overlay.active .search-label {
    opacity: 1;
    transform: translateY(0);
}

.modern-search-form {
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.modern-search-form input {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 4vw;
    font-family: var(--font-heading);
    padding: 20px 0;
    outline: none !important;
}

.modern-search-form button {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modern-search-form button:hover {
    color: var(--secondary-color);
}

.popular-searches {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.modern-search-overlay.active .popular-searches {
    opacity: 1;
    transform: translateY(0);
}

.popular-searches a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-searches a:hover {
    color: #000;
    background: #fff;
    transform: translateY(-3px);
}

/* Animation Delays for Nav Links */
.modern-menu-nav li:nth-child(1) a {
    transition-delay: 0.1s;
}

.modern-menu-nav li:nth-child(2) a {
    transition-delay: 0.2s;
}

.modern-menu-nav li:nth-child(3) a {
    transition-delay: 0.3s;
}

.modern-menu-nav li:nth-child(4) a {
    transition-delay: 0.4s;
}

.modern-menu-nav li:nth-child(5) a {
    transition-delay: 0.5s;
}

/* Global Section Refinements */
.vc_row {
    margin-bottom: 100px !important;
}

/* Glassmorphism for Overlays */
.glass-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Hero Section Enhancements */
#rev_slider_1_1 rs-layer {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Product Category Grid Modernization */
.info-box-wrapper {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wd-info-box {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

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

.info-box-icon img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.wd-info-box:hover .info-box-icon img {
    transform: scale(1.1);
}

.info-box-content {
    padding: 25px !important;
    text-align: center;
}

.product-head {
    font-family: var(--font-heading);
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: var(--text-dark);
}

.product-explore a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--secondary-color) !important;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.product-explore a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.product-explore a:hover::after {
    width: 100%;
}

/* Featured Section Refinements */
#dolcevita .baslik span:nth-child(2) {
    font-family: var(--font-heading);
    font-size: 48px !important;
    letter-spacing: -1px;
}

#dolcevita .sec-btn a {
    background-color: var(--primary-color) !important;
    border: none !important;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* Main Logo Behavior */
.site-logo img {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0) invert(1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    /* Default white for transparent/dark banner pages */
}

/* On standard pages without dark banner or on sticky scroll, show original */
/* BUT if menu is open, keep it white */
body:not(.home):not(.page-id-kategori):not(.page-hakkimizda):not(.page-iletisim):not(.menu-open) .site-logo img,
body:not(.menu-open) .whb-scroll-stick .site-logo img {
    filter: none;
}

body.menu-open .site-logo img {
    filter: brightness(0) invert(1) !important;
}

/* Header Tools Refinement */
.custom-header-tools {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: 20px;
}

.custom-search-trigger {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-search-trigger:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.custom-search-trigger span {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.custom-lang-selector a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-lang-selector a.active,
.custom-lang-selector a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.custom-menu-trigger a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-menu-trigger .trigger-icon img {
    width: 45px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.custom-menu-trigger a:hover .trigger-icon img {
    transform: scale(1.2);
}

/* Specific rule for sticky or light backgrounds */
.whb-scroll-stick .custom-search-trigger,
.whb-scroll-stick .custom-lang-selector a,
.whb-scroll-stick .custom-menu-trigger a {
    color: var(--text-dark);
    text-shadow: none;
}

.whb-scroll-stick .custom-menu-trigger .trigger-icon img {
    filter: none;
}

.trigger-text {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
}

/* Category Page Banner */
.category-banner-modern {
    height: 400px;
    background-image: url('../images/category-banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.category-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.category-banner-content h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    margin-bottom: 20px;
}

/* Midnight Noir Footer - Premium Redesign */
.footer-modern {
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 67%);
    /* Darkening overlay */
    z-index: 1;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    pointer-events: none;
    letter-spacing: 2vw;
    white-space: nowrap;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.footer-box h4.footer-title {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 35px;
}

.footer-logo {
    max-width: 160px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.brand-desc {
    color: #888;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 35px;
    font-weight: 300;
}

.footer-social-wrap {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin-bottom: 15px;
}

.footer-nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    color: var(--secondary-color);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 300;
}

.footer-bottom-bar {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: #555;
    font-size: 13px;
    font-weight: 300;
}

.mudi-logo img {
    max-width: 100px;
    filter: grayscale(1) brightness(2);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.mudi-logo:hover img {
    opacity: 0.8;
    filter: none;
}

@media (max-width: 1199px) {
    .footer-main-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .site-logo img {
        filter: brightness(0) invert(1) !important;
        /* Force white on mobile top if over dark */
        max-width: 140px !important;
    }

    .whb-scroll-stick .site-logo img {
        filter: none !important;
    }

    .custom-header-tools {
        gap: 20px;
        margin-right: 0;
    }

    .custom-search-trigger span,
    .custom-lang-selector a,
    .trigger-text {
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }

    .custom-menu-trigger .trigger-icon img {
        width: 30px;
    }

    .modern-menu-overlay {
        flex-direction: column;
    }

    .modern-menu-left,
    .modern-menu-right {
        flex: none;
        width: 100%;
        padding: 50px 40px;
    }

    .modern-menu-left {
        padding-top: 140px;
        /* Space for fixed header */
        background: #000;
    }

    .modern-menu-right {
        background: var(--accent-color);
        padding-bottom: 80px;
    }

    .modern-menu-nav li a {
        font-size: 36px;
    }

    .modern-menu-info .menu-white-logo {
        max-width: 140px;
        margin-bottom: 20px;
    }
}

/* Modern Search Overlay */
.modern-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.modern-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #fff;
    color: #000;
}

.search-container {
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    text-align: center;
}

.search-label {
    display: block;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.modern-search-overlay.active .search-label {
    opacity: 1;
    transform: translateY(0);
}

.modern-search-form {
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.modern-search-form input {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 4vw;
    font-family: var(--font-heading);
    padding: 20px 0;
    outline: none !important;
}

.modern-search-form button {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modern-search-form button:hover {
    color: var(--secondary-color);
}

.popular-searches {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.modern-search-overlay.active .popular-searches {
    opacity: 1;
    transform: translateY(0);
}

.popular-searches a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-searches a:hover {
    color: #000;
    background: #fff;
    transform: translateY(-3px);
}

/* Animation Delays for Nav Links */
.modern-menu-nav li:nth-child(1) a {
    transition-delay: 0.1s;
}

.modern-menu-nav li:nth-child(2) a {
    transition-delay: 0.2s;
}

.modern-menu-nav li:nth-child(3) a {
    transition-delay: 0.3s;
}

.modern-menu-nav li:nth-child(4) a {
    transition-delay: 0.4s;
}

.modern-menu-nav li:nth-child(5) a {
    transition-delay: 0.5s;
}

/* Global Section Refinements */
.vc_row {
    margin-bottom: 100px !important;
}

/* Glassmorphism for Overlays */
.glass-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Hero Section Enhancements */
#rev_slider_1_1 rs-layer {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Product Category Grid Modernization */
.info-box-wrapper {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wd-info-box {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

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

.info-box-icon img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.wd-info-box:hover .info-box-icon img {
    transform: scale(1.1);
}

.info-box-content {
    padding: 25px !important;
    text-align: center;
}

.product-head {
    font-family: var(--font-heading);
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: var(--text-dark);
}

.product-explore a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--secondary-color) !important;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.product-explore a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.product-explore a:hover::after {
    width: 100%;
}

/* Featured Section Refinements */
#dolcevita .baslik span:nth-child(2) {
    font-family: var(--font-heading);
    font-size: 48px !important;
    letter-spacing: -1px;
}

#dolcevita .sec-btn a {
    background-color: var(--primary-color) !important;
    border: none !important;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* Main Logo Behavior */
.site-logo img {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0) invert(1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    /* Default white for transparent/dark banner pages */
}

/* On standard pages without dark banner or on sticky scroll, show original */
/* BUT if menu is open, keep it white */
body:not(.home):not(.page-id-kategori):not(.page-hakkimizda):not(.page-iletisim):not(.menu-open) .site-logo img,
body:not(.menu-open) .whb-scroll-stick .site-logo img {
    filter: none;
}

body.menu-open .site-logo img {
    filter: brightness(0) invert(1) !important;
}

/* Header Tools Refinement */
.custom-header-tools {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: 20px;
}

.custom-search-trigger {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-search-trigger:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.custom-search-trigger span {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.custom-lang-selector a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-lang-selector a.active,
.custom-lang-selector a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.custom-menu-trigger a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-menu-trigger .trigger-icon img {
    width: 45px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.custom-menu-trigger a:hover .trigger-icon img {
    transform: scale(1.2);
}

/* Specific rule for sticky or light backgrounds */
.whb-scroll-stick .custom-search-trigger,
.whb-scroll-stick .custom-lang-selector a,
.whb-scroll-stick .custom-menu-trigger a {
    color: var(--text-dark);
    text-shadow: none;
}

.whb-scroll-stick .custom-menu-trigger .trigger-icon img {
    filter: none;
}

.trigger-text {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
}

/* Category Page Banner */
.category-banner-modern {
    height: 400px;
    background-image: url('../images/category-banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.category-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.category-banner-content h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    margin-bottom: 20px;
}

/* Midnight Noir Footer - Premium Redesign */
.footer-modern {
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 67%);
    /* Darkening overlay */
    z-index: 1;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    pointer-events: none;
    letter-spacing: 2vw;
    white-space: nowrap;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.footer-box h4.footer-title {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 35px;
}

.footer-logo {
    max-width: 160px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.brand-desc {
    color: #888;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 35px;
    font-weight: 300;
}

.footer-social-wrap {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin-bottom: 15px;
}

.footer-nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    color: var(--secondary-color);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 300;
}

.footer-bottom-bar {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: #555;
    font-size: 13px;
    font-weight: 300;
}

.mudi-logo img {
    max-width: 100px;
    filter: grayscale(1) brightness(2);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.mudi-logo:hover img {
    opacity: 0.8;
    filter: none;
}

@media (max-width: 1199px) {
    .footer-main-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .site-logo img {
        filter: brightness(0) invert(1) !important;
        /* Force white on mobile top if over dark */
        max-width: 140px !important;
    }

    .whb-scroll-stick .site-logo img {
        filter: none !important;
    }

    .custom-header-tools {
        gap: 20px;
        margin-right: 0;
    }

    .custom-search-trigger span,
    .custom-lang-selector a,
    .trigger-text {
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }

    .custom-menu-trigger .trigger-icon img {
        width: 30px;
    }

    .modern-menu-overlay {
        flex-direction: column;
    }

    .modern-menu-left,
    .modern-menu-right {
        flex: none;
        width: 100%;
        padding: 50px 40px;
    }

    .modern-menu-left {
        padding-top: 140px;
        /* Space for fixed header */
        background: #000;
    }

    .modern-menu-right {
        background: var(--accent-color);
        padding-bottom: 80px;
    }

    .modern-menu-nav li a {
        font-size: 36px;
    }

    .modern-menu-info .menu-white-logo {
        max-width: 140px;
        margin-bottom: 20px;
    }
}

/* Modern Search Overlay */
.modern-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.modern-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #fff;
    color: #000;
}

.search-container {
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    text-align: center;
}

.search-label {
    display: block;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.modern-search-overlay.active .search-label {
    opacity: 1;
    transform: translateY(0);
}

.modern-search-form {
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.modern-search-form input {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 4vw;
    font-family: var(--font-heading);
    padding: 20px 0;
    outline: none !important;
}

.modern-search-form button {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modern-search-form button:hover {
    color: var(--secondary-color);
}

.popular-searches {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.modern-search-overlay.active .popular-searches {
    opacity: 1;
    transform: translateY(0);
}

.popular-searches a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-searches a:hover {
    color: #000;
    background: #fff;
    transform: translateY(-3px);
}

/* Animation Delays for Nav Links */
.modern-menu-nav li:nth-child(1) a {
    transition-delay: 0.1s;
}

.modern-menu-nav li:nth-child(2) a {
    transition-delay: 0.2s;
}

.modern-menu-nav li:nth-child(3) a {
    transition-delay: 0.3s;
}

.modern-menu-nav li:nth-child(4) a {
    transition-delay: 0.4s;
}

.modern-menu-nav li:nth-child(5) a {
    transition-delay: 0.5s;
}

/* Global Section Refinements */
.vc_row {
    margin-bottom: 100px !important;
}

/* Glassmorphism for Overlays */
.glass-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Hero Section Enhancements */
#rev_slider_1_1 rs-layer {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Product Category Grid Modernization */
.info-box-wrapper {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wd-info-box {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

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

.info-box-icon img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.wd-info-box:hover .info-box-icon img {
    transform: scale(1.1);
}

.info-box-content {
    padding: 25px !important;
    text-align: center;
}

.product-head {
    font-family: var(--font-heading);
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: var(--text-dark);
}

.product-explore a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--secondary-color) !important;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.product-explore a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.product-explore a:hover::after {
    width: 100%;
}

/* Featured Section Refinements */
#dolcevita .baslik span:nth-child(2) {
    font-family: var(--font-heading);
    font-size: 48px !important;
    letter-spacing: -1px;
}

#dolcevita .sec-btn a {
    background-color: var(--primary-color) !important;
    border: none !important;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* Main Logo Behavior */
.site-logo img {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0) invert(1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    /* Default white for transparent/dark banner pages */
}

/* On standard pages without dark banner or on sticky scroll, show original */
/* BUT if menu is open, keep it white */
body:not(.home):not(.page-id-kategori):not(.page-hakkimizda):not(.page-iletisim):not(.menu-open) .site-logo img,
body:not(.menu-open) .whb-scroll-stick .site-logo img {
    filter: none;
}

body.menu-open .site-logo img {
    filter: brightness(0) invert(1) !important;
}

/* Header Tools Refinement */
.custom-header-tools {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: 20px;
}

.custom-search-trigger {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-search-trigger:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.custom-search-trigger span {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.custom-lang-selector a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-lang-selector a.active,
.custom-lang-selector a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.custom-menu-trigger a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-menu-trigger .trigger-icon img {
    width: 45px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.custom-menu-trigger a:hover .trigger-icon img {
    transform: scale(1.2);
}

/* Specific rule for sticky or light backgrounds */
.whb-scroll-stick .custom-search-trigger,
.whb-scroll-stick .custom-lang-selector a,
.whb-scroll-stick .custom-menu-trigger a {
    color: var(--text-dark);
    text-shadow: none;
}

.whb-scroll-stick .custom-menu-trigger .trigger-icon img {
    filter: none;
}

.trigger-text {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
}

/* Category Page Banner */
.category-banner-modern {
    height: 400px;
    background-image: url('../images/category-banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.category-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.category-banner-content h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    margin-bottom: 20px;
}

/* Midnight Noir Footer - Premium Redesign */
.footer-modern {
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 67%);
    /* Darkening overlay */
    z-index: 1;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    pointer-events: none;
    letter-spacing: 2vw;
    white-space: nowrap;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.footer-box h4.footer-title {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 35px;
}

.footer-logo {
    max-width: 160px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.brand-desc {
    color: #888;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 35px;
    font-weight: 300;
}

.footer-social-wrap {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin-bottom: 15px;
}

.footer-nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    color: var(--secondary-color);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 300;
}

.footer-bottom-bar {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: #555;
    font-size: 13px;
    font-weight: 300;
}

.mudi-logo img {
    max-width: 100px;
    filter: grayscale(1) brightness(2);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.mudi-logo:hover img {
    opacity: 0.8;
    filter: none;
}

@media (max-width: 1199px) {
    .footer-main-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .site-logo img {
        filter: brightness(0) invert(1) !important;
        /* Force white on mobile top if over dark */
        max-width: 140px !important;
    }

    .whb-scroll-stick .site-logo img {
        filter: none !important;
    }

    .custom-header-tools {
        gap: 20px;
        margin-right: 0;
    }

    .custom-search-trigger span,
    .custom-lang-selector a,
    .trigger-text {
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }

    .custom-menu-trigger .trigger-icon img {
        width: 30px;
    }

    .modern-menu-overlay {
        flex-direction: column;
    }

    .modern-menu-left,
    .modern-menu-right {
        flex: none;
        width: 100%;
        padding: 50px 40px;
    }

    .modern-menu-left {
        padding-top: 140px;
        /* Space for fixed header */
        background: #000;
    }

    .modern-menu-right {
        background: var(--accent-color);
        padding-bottom: 80px;
    }

    .modern-menu-nav li a {
        font-size: 36px;
    }

    .modern-menu-info .menu-white-logo {
        max-width: 140px;
        margin-bottom: 20px;
    }
}

/* Modern Search Overlay */
.modern-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.modern-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #fff;
    color: #000;
}

.search-container {
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    text-align: center;
}

.search-label {
    display: block;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.modern-search-overlay.active .search-label {
    opacity: 1;
    transform: translateY(0);
}

.modern-search-form {
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.modern-search-form input {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 4vw;
    font-family: var(--font-heading);
    padding: 20px 0;
    outline: none !important;
}

.modern-search-form button {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modern-search-form button:hover {
    color: var(--secondary-color);
}

.popular-searches {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.modern-search-overlay.active .popular-searches {
    opacity: 1;
    transform: translateY(0);
}

.popular-searches a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-searches a:hover {
    color: #000;
    background: #fff;
    transform: translateY(-3px);
}

/* Animation Delays for Nav Links */
.modern-menu-nav li:nth-child(1) a {
    transition-delay: 0.1s;
}

.modern-menu-nav li:nth-child(2) a {
    transition-delay: 0.2s;
}

.modern-menu-nav li:nth-child(3) a {
    transition-delay: 0.3s;
}

.modern-menu-nav li:nth-child(4) a {
    transition-delay: 0.4s;
}

.modern-menu-nav li:nth-child(5) a {
    transition-delay: 0.5s;
}

/* Global Section Refinements */
.vc_row {
    margin-bottom: 100px !important;
}

/* Glassmorphism for Overlays */
.glass-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Hero Section Enhancements */
#rev_slider_1_1 rs-layer {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Product Category Grid Modernization */
.info-box-wrapper {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wd-info-box {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

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

.info-box-icon img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.wd-info-box:hover .info-box-icon img {
    transform: scale(1.1);
}

.info-box-content {
    padding: 25px !important;
    text-align: center;
}

.product-head {
    font-family: var(--font-heading);
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: var(--text-dark);
}

.product-explore a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--secondary-color) !important;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.product-explore a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.product-explore a:hover::after {
    width: 100%;
}

/* Featured Section Refinements */
#dolcevita .baslik span:nth-child(2) {
    font-family: var(--font-heading);
    font-size: 48px !important;
    letter-spacing: -1px;
}

#dolcevita .sec-btn a {
    background-color: var(--primary-color) !important;
    border: none !important;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* Main Logo Behavior */
.site-logo img {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0) invert(1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    /* Default white for transparent/dark banner pages */
}

/* On standard pages without dark banner or on sticky scroll, show original */
/* BUT if menu is open, keep it white */
body:not(.home):not(.page-id-kategori):not(.page-hakkimizda):not(.page-iletisim):not(.menu-open) .site-logo img,
body:not(.menu-open) .whb-scroll-stick .site-logo img {
    filter: none;
}

body.menu-open .site-logo img {
    filter: brightness(0) invert(1) !important;
}

/* Header Tools Refinement */
.custom-header-tools {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: 20px;
}

.custom-search-trigger {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-search-trigger:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.custom-search-trigger span {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.custom-lang-selector a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-lang-selector a.active,
.custom-lang-selector a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.custom-menu-trigger a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-menu-trigger .trigger-icon img {
    width: 45px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.custom-menu-trigger a:hover .trigger-icon img {
    transform: scale(1.2);
}

/* Specific rule for sticky or light backgrounds */
.whb-scroll-stick .custom-search-trigger,
.whb-scroll-stick .custom-lang-selector a,
.whb-scroll-stick .custom-menu-trigger a {
    color: var(--text-dark);
    text-shadow: none;
}

.whb-scroll-stick .custom-menu-trigger .trigger-icon img {
    filter: none;
}

.trigger-text {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
}

/* Category Page Banner */
.category-banner-modern {
    height: 400px;
    background-image: url('../images/category-banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.category-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.category-banner-content h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    margin-bottom: 20px;
}

/* Midnight Noir Footer - Premium Redesign */
.footer-modern {
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 67%);
    /* Darkening overlay */
    z-index: 1;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    pointer-events: none;
    letter-spacing: 2vw;
    white-space: nowrap;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.footer-box h4.footer-title {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 35px;
}

.footer-logo {
    max-width: 160px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.brand-desc {
    color: #888;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 35px;
    font-weight: 300;
}

.footer-social-wrap {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin-bottom: 15px;
}

.footer-nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    color: var(--secondary-color);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 300;
}

.footer-bottom-bar {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: #555;
    font-size: 13px;
    font-weight: 300;
}

.mudi-logo img {
    max-width: 100px;
    filter: grayscale(1) brightness(2);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.mudi-logo:hover img {
    opacity: 0.8;
    filter: none;
}

@media (max-width: 1199px) {
    .footer-main-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .site-logo img {
        filter: brightness(0) invert(1) !important;
        /* Force white on mobile top if over dark */
        max-width: 140px !important;
    }

    .whb-scroll-stick .site-logo img {
        filter: none !important;
    }

    .custom-header-tools {
        gap: 20px;
        margin-right: 0;
    }

    .custom-search-trigger span,
    .custom-lang-selector a,
    .trigger-text {
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }

    .custom-menu-trigger .trigger-icon img {
        width: 30px;
    }

    .modern-menu-overlay {
        flex-direction: column;
    }

    .modern-menu-left,
    .modern-menu-right {
        flex: none;
        width: 100%;
        padding: 50px 40px;
    }

    .modern-menu-left {
        padding-top: 140px;
        /* Space for fixed header */
        background: #000;
    }

    .modern-menu-right {
        background: var(--accent-color);
        padding-bottom: 80px;
    }

    .modern-menu-nav li a {
        font-size: 36px;
    }

    .modern-menu-info .menu-white-logo {
        max-width: 140px;
        margin-bottom: 20px;
    }
}

/* Modern Search Overlay */
.modern-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.modern-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #fff;
    color: #000;
}

.search-container {
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    text-align: center;
}

.search-label {
    display: block;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.modern-search-overlay.active .search-label {
    opacity: 1;
    transform: translateY(0);
}

.modern-search-form {
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.modern-search-form input {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 4vw;
    font-family: var(--font-heading);
    padding: 20px 0;
    outline: none !important;
}

.modern-search-form button {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modern-search-form button:hover {
    color: var(--secondary-color);
}

.popular-searches {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.modern-search-overlay.active .popular-searches {
    opacity: 1;
    transform: translateY(0);
}

.popular-searches a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-searches a:hover {
    color: #000;
    background: #fff;
    transform: translateY(-3px);
}

/* Animation Delays for Nav Links */
.modern-menu-nav li:nth-child(1) a {
    transition-delay: 0.1s;
}

.modern-menu-nav li:nth-child(2) a {
    transition-delay: 0.2s;
}

.modern-menu-nav li:nth-child(3) a {
    transition-delay: 0.3s;
}

.modern-menu-nav li:nth-child(4) a {
    transition-delay: 0.4s;
}

.modern-menu-nav li:nth-child(5) a {
    transition-delay: 0.5s;
}

/* Global Section Refinements */
.vc_row {
    margin-bottom: 100px !important;
}

/* Glassmorphism for Overlays */
.glass-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Hero Section Enhancements */
#rev_slider_1_1 rs-layer {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Product Category Grid Modernization */
.info-box-wrapper {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wd-info-box {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

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

.info-box-icon img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.wd-info-box:hover .info-box-icon img {
    transform: scale(1.1);
}

.info-box-content {
    padding: 25px !important;
    text-align: center;
}

.product-head {
    font-family: var(--font-heading);
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: var(--text-dark);
}

.product-explore a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--secondary-color) !important;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.product-explore a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.product-explore a:hover::after {
    width: 100%;
}

/* Featured Section Refinements */
#dolcevita .baslik span:nth-child(2) {
    font-family: var(--font-heading);
    font-size: 48px !important;
    letter-spacing: -1px;
}

#dolcevita .sec-btn a {
    background-color: var(--primary-color) !important;
    border: none !important;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* Main Logo Behavior */
.site-logo img {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0) invert(1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    /* Default white for transparent/dark banner pages */
}

/* On standard pages without dark banner or on sticky scroll, show original */
/* BUT if menu is open, keep it white */
body:not(.home):not(.page-id-kategori):not(.page-hakkimizda):not(.page-iletisim):not(.menu-open) .site-logo img,
body:not(.menu-open) .whb-scroll-stick .site-logo img {
    filter: none;
}

body.menu-open .site-logo img {
    filter: brightness(0) invert(1) !important;
}

/* Header Tools Refinement */
.custom-header-tools {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: 20px;
}

.custom-search-trigger {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-search-trigger:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.custom-search-trigger span {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.custom-lang-selector a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-lang-selector a.active,
.custom-lang-selector a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.custom-menu-trigger a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-menu-trigger .trigger-icon img {
    width: 45px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.custom-menu-trigger a:hover .trigger-icon img {
    transform: scale(1.2);
}

/* Specific rule for sticky or light backgrounds */
.whb-scroll-stick .custom-search-trigger,
.whb-scroll-stick .custom-lang-selector a,
.whb-scroll-stick .custom-menu-trigger a {
    color: var(--text-dark);
    text-shadow: none;
}

.whb-scroll-stick .custom-menu-trigger .trigger-icon img {
    filter: none;
}

.trigger-text {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
}

/* Category Page Banner */
.category-banner-modern {
    height: 400px;
    background-image: url('../images/category-banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.category-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.category-banner-content h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    margin-bottom: 20px;
}

/* Midnight Noir Footer - Premium Redesign */
.footer-modern {
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 67%);
    /* Darkening overlay */
    z-index: 1;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    pointer-events: none;
    letter-spacing: 2vw;
    white-space: nowrap;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.footer-box h4.footer-title {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 35px;
}

.footer-logo {
    max-width: 160px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.brand-desc {
    color: #888;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 35px;
    font-weight: 300;
}

.footer-social-wrap {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin-bottom: 15px;
}

.footer-nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    color: var(--secondary-color);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 300;
}

.footer-bottom-bar {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: #555;
    font-size: 13px;
    font-weight: 300;
}

.mudi-logo img {
    max-width: 100px;
    filter: grayscale(1) brightness(2);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.mudi-logo:hover img {
    opacity: 0.8;
    filter: none;
}

@media (max-width: 1199px) {
    .footer-main-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .site-logo img {
        filter: brightness(0) invert(1) !important;
        /* Force white on mobile top if over dark */
        max-width: 140px !important;
    }

    .whb-scroll-stick .site-logo img {
        filter: none !important;
    }

    .custom-header-tools {
        gap: 20px;
        margin-right: 0;
    }

    .custom-search-trigger span,
    .custom-lang-selector a,
    .trigger-text {
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }

    .custom-menu-trigger .trigger-icon img {
        width: 30px;
    }

    .modern-menu-overlay {
        flex-direction: column;
    }

    .modern-menu-left,
    .modern-menu-right {
        flex: none;
        width: 100%;
        padding: 50px 40px;
    }

    .modern-menu-left {
        padding-top: 140px;
        /* Space for fixed header */
        background: #000;
    }

    .modern-menu-right {
        background: var(--accent-color);
        padding-bottom: 80px;
    }

    .modern-menu-nav li a {
        font-size: 36px;
    }

    .modern-menu-info .menu-white-logo {
        max-width: 140px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-social-wrap {
        justify-content: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav-links a:hover {
        transform: translateY(-3px);
    }

    .modern-menu-nav li a {
        font-size: 32px;
    }

    /* Mobile Search Polish */
    .modern-search-form input {
        font-size: 30px;
    }

    .search-close {
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 11px;
    }

    .popular-searches {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .modern-menu-nav li a {
        font-size: 28px;
    }

    .modern-menu-cat-list {
        grid-template-columns: 1fr;
    }

    .modern-menu-lang a span {
        display: none;
    }

    .modern-search-form input {
        font-size: 24px;
    }
}

/* About Mosaic Grid */
.about-mosaic-wrapper {
    position: relative;
    padding: 20px;
}

.about-mosaic-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 650px;
    gap: 15px;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.mosaic-item:hover img {
    transform: scale(1.1);
}

.main-item {
    grid-column: 1 / 10;
    grid-row: 1 / 11;
    z-index: 1;
}

.detail-item-1 {
    grid-column: 8 / 13;
    grid-row: 3 / 8;
    z-index: 2;
    border: 5px solid #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.detail-item-2 {
    grid-column: 7 / 12;
    grid-row: 8 / 13;
    z-index: 3;
    border: 5px solid #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Floating Badge */
.mosaic-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    z-index: 4;
    background: var(--primary-color);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.3);
    animation: mosaicFloat 4s ease-in-out infinite;
}

@keyframes mosaicFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.badge-year {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.8;
}

@media (max-width: 991px) {
    .about-mosaic-grid {
        height: 500px;
    }

    .mosaic-badge {
        left: 20px;
        padding: 20px;
    }

    .badge-year {
        font-size: 24px;
    }
}

/* Category Page Specifics */
.page-id-kategori .site-logo img,
.page-urun-detay .site-logo img,
.page-iletisim .site-logo img {
    filter: brightness(0) invert(1) !important;
}

/* Scrollable Nav (Sub-nav for active categories) */
.category-nav-scroll-wrapper {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 60px;
    /* Matched to whb-sticked height in xts-default_header.css */
    z-index: 90;
}

/* Hide GTranslate top bar and fix body top margin */
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Base style for the horizontal language selector */
.custom-horizontal-lang {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-horizontal-lang .lang-item {
    color: #fff;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-horizontal-lang .lang-item:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Sticky Header Adjustments */
.whb-scroll-stick .custom-horizontal-lang .lang-item {
    color: var(--text-dark);
    text-shadow: none;
}

.whb-scroll-stick .custom-horizontal-lang .lang-item:hover {
    color: var(--secondary-color);
}

/* Mobile Flagged Select Styling */
.custom-mobile-lang-select {
    margin-right: 15px;
}

.lang-select-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.whb-scroll-stick .lang-select-wrapper {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.active-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    margin-right: 6px;
    border-radius: 2px;
}

.lang-select-wrapper select {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    text-transform: uppercase;
    cursor: pointer;
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.whb-scroll-stick .lang-select-wrapper select {
    color: var(--text-dark) !important;
}

/* Internal Page Banners - Unified Style */
.category-banner-modern,
.page-title-modern {
    height: 450px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-banner-modern::before,
.page-title-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.category-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 80px 20px 0;
}

.category-banner-content h1 {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
    color: white !important
}

.category-banner-content span {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 20px;
}


.category-nav-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav-scroll::-webkit-scrollbar {
    display: none;
}

.cat-nav-item {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 50px;
    background: #f8f8f8;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cat-nav-item.active {
    background: #000;
    color: #fff;
}

/* Product Groups Grid (Main Category View) */
.product-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.product-group-card {
    position: relative;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none !important;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-group-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.product-group-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #fff;
    z-index: 2;
    transition: all 0.4s ease;
}

.product-group-card h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.product-group-card .count {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    opacity: 0;
    transition: all 0.4s ease;
}

.product-group-card:hover img {
    transform: scale(1.1);
}

.product-group-card:hover .product-group-overlay {
    padding-bottom: 50px;
}

.product-group-card:hover h3 {
    transform: translateY(0);
}

.product-group-card:hover .count {
    opacity: 1;
}

@media (max-width: 991px) {
    .product-group-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .product-group-grid {
        grid-template-columns: 1fr;
    }

    .product-group-card {
        height: 350px;
    }
}

/* ==========================================================================
   MODERN MOBILE UI COMPONENTS
   ========================================================================== */

/* Sticky Contact Bar */
.sticky-contact-bar {
    position: fixed;
    right: 25px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.sticky-contact-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}

.sticky-contact-item.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.sticky-contact-item.phone {
    background: linear-gradient(45deg, #333, #000);
}

.sticky-contact-item:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 100%;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 600;
    gap: 4px;
    transition: all 0.3s ease;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.mobile-nav-item.active {
    color: #000;
    transform: translateY(-2px);
}

.mobile-nav-item.active i {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    .sticky-contact-bar {
        bottom: 95px;
        right: 20px;
    }

    .sticky-contact-item {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    footer.footer-modern {
        padding-bottom: 90px;
    }
}

@media (max-width: 767px) {
    .about-mosaic-grid {
        height: 450px;
    }

    .mosaic-item {
        border-width: 3px !important;
    }
}

@media (max-width: 575px) {
    .about-mosaic-grid {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mosaic-item {
        width: 100%;
        height: 300px;
        position: static !important;
    }

    .detail-item-1,
    .detail-item-2 {
        display: none;
    }

    .mosaic-badge {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: -40px;
        max-width: 150px;
        padding: 15px;
    }

    .badge-year {
        font-size: 24px;
    }
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

/* ==========================================================================
   Slider Styling & Modern Enhancements
   ========================================================================== */

/* Slider full width logic */
#slider.vc_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

@media (min-width: 1025px) {
    #slider.vc_row {
        width: 100vw !important;
        max-width: 100vw !important;
        left: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
}

#slider .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

#slider .wpb_column,
#slider .vc_column-inner {
    padding: 0 !important;
}

/* Slider Base */
#slider {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    scroll-behavior: smooth;
}

#rev_slider_1_1_wrapper,
#rev_slider_1_1 {
    min-height: 100vh !important;
    height: 100vh !important;
}

#rev_slider_1_1_wrapper .rev-slidebg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Slider Overlays */
#slider rs-slide::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(0, 0, 0, 0.45) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    animation: overlayPulse 8s ease-in-out infinite alternate;
}

#slider rs-slide::before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            transparent 70%);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    animation: gradientShift 10s ease-in-out infinite alternate;
}

/* Vignette effect */
#slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
            transparent 0%,
            transparent 40%,
            rgba(0, 0, 0, 0.3) 100%);
    z-index: 3;
    pointer-events: none;
    animation: vignettePulse 12s ease-in-out infinite alternate;
}

/* Logo Filters in Slider */
#slider .wd-logo img,
#slider .wd-main-logo img,
#slider header .wd-logo img,
header.whb-header .wd-logo img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

/* Animations */
@keyframes overlayPulse {
    0% {
        opacity: 0.9;
    }

    100% {
        opacity: 1;
    }
}

@keyframes gradientShift {
    0% {
        opacity: 0.85;
        transform: translateY(0);
    }

    100% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

@keyframes vignettePulse {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.9;
    }
}

/* Slider Text Animations */
#slider rs-layer[id*="layer-1"] {
    animation: slideInDown 1.2s ease-out forwards, textGlow 3s ease-in-out 1.5s infinite alternate;
}

#slider rs-layer[id*="layer-2"] {
    animation: fadeInUp 1.5s ease-out 0.3s forwards, subtleFloat 4s ease-in-out 2s infinite alternate;
    opacity: 0;
}

#slider rs-layer[id*="layer-3"] {
    animation: fadeInUp 1.5s ease-out 0.6s forwards, buttonPulse 2.5s ease-in-out 2s infinite;
    opacity: 0;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    100% {
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.1);
    }
}

@keyframes subtleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

@keyframes buttonPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

/* Mouse Scroll Indicator */
.mouse-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: mouseScrollFade 2s ease-in-out infinite;
}

.mouse-scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.mouse-scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {

    0%,
    100% {
        opacity: 0;
        top: 8px;
    }

    50% {
        opacity: 1;
        top: 18px;
    }
}

@keyframes mouseScrollFade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}


@media (max-width: 1024px) {

    /* Slider Mobile Responsive Updates */
    #slider.vc_row,
    .vc_row[data-vc-full-width="true"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        left: 0 !important;
        transform: none !important;
        position: relative !important;
    }

    .website-wrapper,
    .main-page-wrapper,
    .site-content,
    body,
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    #slider,
    #rev_slider_1_1_wrapper,
    #rev_slider_1_1 {
        min-height: 60vh !important;
        height: auto !important;
        overflow: hidden !important;
    }

    #slider rs-module-wrap,
    rs-module,
    .rev_slider {
        width: 100% !important;
        left: 0 !important;
    }

    /* Fixed white space on the right */
    .whb-header,
    .whb-sticky-header,
    .whb-main-header,
    .whb-row {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .whb-column.whb-hidden-lg {
        display: flex !important;
    }

    .whb-column.whb-visible-lg {
        display: none !important;
    }

    .whb-mobile-right {
        gap: 8px !important;
        /* Reduced from 15px */
        justify-content: flex-end;
    }

    .whb-main-header .whb-flex-row {
        height: 60px !important;
        /* Compact header height */
    }

    .lang-select-wrapper {
        padding: 3px 6px !important;
        transform: scale(0.9);
        margin-right: -5px;
    }

    .lang-select-wrapper select {
        font-size: 11px !important;
    }

    .active-flag {
        width: 16px !important;
        height: 12px !important;
        margin-right: 4px !important;
    }

    .custom-menu-trigger .trigger-icon img {
        width: 18px !important;
        height: auto !important;
    }

    .custom-menu-trigger .trigger-text {
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }

    /* Mobile Banner Details */
    .category-banner-modern,
    .page-title-modern {
        height: 300px !important;
        background-attachment: scroll !important;
    }

    .category-banner-content h1 {
        font-size: 36px !important;
    }

    .category-banner-content {
        padding-top: 40px !important;
    }

    /* Edge-to-edge content on mobile */
    .site-content,
    .col-lg-12,
    .col-12,
    .col-md-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 800px) {
    #slider.vc_row {
        margin-left: 0px !important;
        margin-right: -0px !important;
    }
}
/* CUSTOM FIXES FOR SCROLL AND MOBILE LAYOUT */
.modern-menu-overlay {
    overflow-y: scroll;
}

body.modern-menu-open {
    overflow: hidden !important;
}

@media (max-width: 991px) {
    .modern-menu-overlay {
        gap: 0;
    }

    .modern-menu-left {
        flex: none;
    }

    .modern-menu-right {
        flex: none; /* Changed from flex: 1 to flex: none */
    }

    .modern-menu-info .menu-white-logo {
        max-width: 180px; /* Adjusted to original size for consistency */
        margin-bottom: 30px; /* Adjusted to original size for consistency */
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.8s ease;
    }
    .modern-menu-overlay.active .modern-menu-info .menu-white-logo {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.1s;
    }

    .modern-menu-right {
        background: #232222;
        padding-bottom: 80px;
    }
}

body.modern-menu-open .whb-header {
    z-index: -1; /* Header'ı menünün altına alarak gizler */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, z-index 0.3s ease;
}

.modern-menu-cat-list li a {
    display: block;
    padding: 12px 20px;
    background: rgb(139 69 19);
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 17px;
}

.modern-menu-contact {
    margin-top: 0px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}