:root {
    --primary-color: #333333;
    --secondary-color: #f8f9fa;
    --text-color: #111111;
    --primary-text: #111111;
    --ivory: #f2ede4;
}

body {
    background-color: var(--ivory);
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: none !important;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: #000 !important;
    letter-spacing: 1px;
}
.nav-link {
    color: #111 !important;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.6rem 1.4rem !important;
    transition: 0.3s ease;
}
.nav-link:hover {
    color: #000 !important;
    opacity: 0.7;
}

/* HERO SLIDER */
.hero-slider {
    width: 100%;
    height: 85vh;
    min-height: 600px;
    position: relative;
    background-color: #eaeaea; /* Fallback for empty image */
}
.hero-slider .carousel-inner, .hero-slider .carousel-item {
    height: 100%;
    width: 100%;
}
.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}
.hero-slider .carousel-item::after { 
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.3); /* Dark overlay */
    z-index: 2;
}

.carousel-caption {
    z-index: 3;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    left: 10%; right: 10%;
    text-align: center;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.carousel-caption p {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero-btn {
    background: #ffffff;
    color: #000000;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: none;
    transition: 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.hero-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

/* Carousel Indicators & Controls */
.hero-slider .carousel-indicators {
    z-index: 4;
    bottom: 30px;
}
.hero-slider .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.5);
    border: none;
}
.hero-slider .carousel-indicators .active {
    background-color: #fff;
    width: 8px; /* Circular matching */
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    z-index: 4;
    width: auto;
    padding: 0 40px;
}

/* Category Cards Section */
.scrolling-wrapper-container {
    position: relative;
    padding: 0 50px;
}

.category-card {
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    position: relative;
    display: block;
    /* Removed drop shadow for a cleaner look */
}

.category-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    position: absolute;
    z-index: 1;
}

.category-card:hover .category-bg {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    z-index: 2;
}

.category-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
}

.category-content h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.category-content p {
    color: rgba(255,255,255,0.9);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
}

/* Scroll Arrows */
.scroll-btn-left, .scroll-btn-right {
    position: absolute;
    top: calc(50% - 20px); /* Alt kısımdaki margin ve padding kaynaklı kaymayı dengeler */
    transform: translateY(-50%);
    width: 44px; height: 44px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 10;
    transition: all 0.3s ease;
    color: #555;
    font-size: 14px;
}
.scroll-btn-left:hover, .scroll-btn-right:hover {
    background: #ffffff;
    color: #1a2a47;
    border-color: #ddd;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    transform: translateY(-50%) scale(1.08); /* Hover durumunda hafif büyüme */
}
.scroll-btn-left { left: -15px; }
.scroll-btn-right { right: -15px; }

@media (min-width: 992px) {
    .scroll-btn-left { left: -45px; }
    .scroll-btn-right { right: -45px; }
}

.scrolling-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
}
.scrolling-wrapper::-webkit-scrollbar {
    display: none;
}
.scrolling-wrapper .col-prod {
    flex: 0 0 auto;
    width: 300px; /* Exact square card width */
}

/* Yana Kaydırmalı Wrapper Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.slider-dot {
    width: 8px;
    height: 8px;
    background-color: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
}
.slider-dot:hover {
    background-color: #9ca3af;
}
.slider-dot.active {
    background-color: #1a2a47;
    width: 24px;
    border-radius: 4px;
}

/* Featured / Standard Product Cards */
.amo-card {
    border: none;
    border-radius: 12px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: 0.3s ease;
}
.amo-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.amo-img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #f9f9f9;
}

.hover-white:hover {
    color: #ffffff !important;
}

.btn-dark-blue {
    background-color: #1a2a47;
    color: #fff;
    transition: 0.3s ease;
}
.btn-dark-blue:hover {
    background-color: #0f192b;
    color: #fff;
}

/* Mobile & Tablet Responsive Optimizations */
@media (max-width: 991px) {
    .scrolling-wrapper-container {
        padding: 0 15px !important;
    }
    
    .scrolling-wrapper-container .scroll-btn-left,
    .scrolling-wrapper-container .scroll-btn-right {
        display: flex !important;
        width: 38px !important;
        height: 38px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(4px) !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.12) !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
        font-size: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .scrolling-wrapper-container .scroll-btn-left {
        left: 5px !important;
    }
    
    .scrolling-wrapper-container .scroll-btn-right {
        right: 5px !important;
    }
    
    .scrolling-wrapper {
        gap: 16px !important; /* Premium spacing on mobile/tablet */
    }
    
    .scrolling-wrapper .col-prod {
        width: calc(50% - 8px) !important; /* Show exactly 2 cards per view */
        min-width: unset !important;
        max-width: unset !important;
        scroll-snap-align: start !important;
    }
    
    .category-card {
        height: 180px !important;
        border-radius: 12px !important;
    }
    
    .category-content {
        bottom: 15px !important;
    }
    
    .category-content h4 {
        font-size: 1.15rem !important;
    }
    
    .category-content p {
        font-size: 8px !important;
        letter-spacing: 1px !important;
    }
    
    .amo-img {
        height: 140px !important;
    }
    
    .amo-card .card-body {
        padding: 12px 10px !important;
    }
    
    .amo-card .card-title {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 34px !important; /* Align heights */
    }
    
    .amo-card .fw-bold {
        font-size: 12px !important;
    }
    
    .amo-card .btn-dark-blue {
        font-size: 10px !important;
        padding: 5px 10px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 575px) {
    .scrolling-wrapper {
        gap: 12px !important;
    }
    
    .scrolling-wrapper .col-prod {
        width: calc(50% - 6px) !important;
    }
    
    .amo-card .card-body .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    
    .amo-card .btn-dark-blue {
        width: 100% !important;
        text-align: center !important;
    }
    
    .amo-card .card-body .d-flex.justify-content-between span.fw-bold {
        text-align: left !important;
        display: block;
    }
}

