/* Genel Stiller */
body {
    padding-top: 56px;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-modern, .hero-fullscreen, .hero-split {
    min-height: 600px;
    display: flex;
    align-items: center;
}

.modern-slider-container, .fullscreen-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.modern-content, .fullscreen-content, .split-inner {
    padding: 3rem 0;
    color: white;
    position: relative;
    z-index: 2;
}

.small-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--bs-primary);
}

.hero-modern h1, .hero-fullscreen h1, .hero-split h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-modern .lead, .hero-fullscreen .lead, .hero-split .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.split-slider-container {
    display: flex;
    min-height: 600px;
}

.split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.split-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--bs-dark);
    color: white;
}

.split-inner {
    max-width: 500px;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Kartlar */
.card {
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Bölümler */
section {
    padding: 80px 0;
}

/* İletişim Form */
.form-control {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    margin-top: 2rem;
}

/* Kategoriler */
.category-list {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 100%;
}

.category-list .card-header {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
}

.category-list .list-group-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.category-list .list-group-item:hover {
    background-color: rgba(0,0,0,0.02);
    border-left: 3px solid var(--bs-primary);
}

.category-list .list-group-item a {
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 1rem;
}

/* Kategori kartı için özel stil */
#categoriesCard {
    margin-bottom: 30px; /* Diğer kartlar ile aynı marj */
    overflow-y: auto; /* İçerik fazla olursa scroll çıksın */
    width: 100%; /* Tam genişlik */
}

#categoriesCard .card-body {
    flex: 1;
    padding: 0;
}

/* Responsive Ayarlar */
@media (max-width: 991px) {
    .hero-modern h1, .hero-fullscreen h1, .hero-split h1 {
        font-size: 2.5rem;
    }
    
    .modern-content, .fullscreen-content, .split-inner {
        padding: 2rem 0;
    }
    
    /* Slider içeriğini dikey olarak ortala */
    .modern-slider-container, 
    .fullscreen-slider-container,
    .split-slider-container,
    .split-content {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modern-content, 
    .fullscreen-content,
    .split-inner {
        margin-top: 0 !important;
        top: auto !important;
        transform: none !important;
        position: relative !important;
    }
}

@media (max-width: 992px) {
    #categoriesCard {
        height: auto; /* Mobilde otomatik yükseklik */
        margin-bottom: 30px;
        width: 100%; /* Tam genişlik */
    }
    
    #categoriesCard .card-body {
        min-height: 200px; /* Mobilde minimum yükseklik */
    }
    
    /* Kategori ve ürün kolonlarının genişliğini güncelle */
    .col-lg-3, .col-lg-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

@media (max-width: 768px) {
    .split-slider-container {
        flex-direction: column;
    }
    
    .split-image, .split-content {
        flex: none;
        width: 100%;
        min-height: 300px;
    }
    
    .hero-modern h1, .hero-fullscreen h1, .hero-split h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* Slider Mobile Düzenlemeleri */
    .modern-slider-container, .fullscreen-slider-container {
        min-height: 450px;
        align-items: center;
        padding-top: 0;
    }
    
    .modern-content, .fullscreen-content {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        margin-top: 0 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }
    
    .hero-modern .lead, .hero-fullscreen .lead, .hero-split .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Kategori Mobile Düzenlemeleri */
    .category-list {
        margin-bottom: 2rem;
        height: auto !important;
        max-height: none !important;
        width: 100%; /* Tam genişlik */
    }
    
    /* Kategori ve ürün kolonu genişliklerini güncelle */
    .products-row .col-lg-3, 
    .products-row .col-lg-9 {
        width: 100%;
        max-width: 100%;
    }
    
    #categoriesCard {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-modern h1, .hero-fullscreen h1, .hero-split h1 {
        font-size: 1.75rem;
    }
    
    .modern-slider-container, .fullscreen-slider-container {
        min-height: 400px;
        padding-top: 0;
        align-items: center;
    }
    
    .modern-content, .fullscreen-content, .split-inner {
        padding: 1.5rem 1rem;
        width: 85%;
        border-radius: 10px;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        background-color: transparent !important;
        color: white !important;
        text-align: left !important;
    }
    
    .category-list .list-group-item {
        width: 100%;
    }
    
    .btn-sm-block {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .card-img-top {
        height: 150px;
    }
} 