/* Ana Stil Dosyası - Profesyonel Kurumsal Tasarım */

:root {
    --primary-color: #28a745;
    --secondary-color: #ffffff;
    --button-color: #28a745;
    --button-hover-color: #218838;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
    line-height: 1.6;
    background: #f8f9fa;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(0,0,0,0.025) 1px, transparent 0);
    background-size: 24px 24px;
}

main {
    flex: 1;
    background: transparent;
}

/* Duyuru Slider Bandı */
.announcement-carousel {
    position: sticky;
    top: 0;
    z-index: 1050;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .announcement-carousel {
        font-size: 0.75rem;
    }
    
    .announcement-item .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .announcement-item .py-2 {
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }
}

.announcement-item {
    transition: opacity 0.6s ease-in-out;
}

.announcement-text {
    flex: 1;
}

.btn-close-announcement {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    opacity: 0.8;
    transition: var(--transition);
    z-index: 10;
}

.btn-close-announcement:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Duyuru Slider Göstergeleri */
.announcement-indicators {
    margin-bottom: 0;
    bottom: 5px;
}

.announcement-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    opacity: 0.5;
    margin: 0 3px;
}

.announcement-indicators button.active {
    background-color: rgba(255, 255, 255, 1);
    opacity: 1;
}

/* Duyuru Slider Kontrolleri */
.announcement-control-prev,
.announcement-control-next {
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.7;
    transition: var(--transition);
}

.announcement-control-prev {
    left: 10px;
}

.announcement-control-next {
    right: 10px;
}

.announcement-control-prev:hover,
.announcement-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.announcement-control-prev .carousel-control-prev-icon,
.announcement-control-next .carousel-control-next-icon {
    width: 12px;
    height: 12px;
}

@media (max-width: 575.98px) {
    .announcement-indicators {
        display: none; /* Mobilde dots gizle */
    }
    
    .announcement-control-prev,
    .announcement-control-next {
        width: 25px;
        height: 25px;
    }
}

/* Header */
.main-header {
    /* Arka plan rengi ve opacity admin panelden ayarlanır - CSS'te varsayılan değer kaldırıldı */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: static !important;
    z-index: 1040;
    background: #2c3e50 !important;
}

/* ============================================
   MINIMAL MODERN HEADER
   ============================================ */

/* Header sticky değil - sayfa ile kaymalı - Admin panelden arka plan rengi */
.main-header-modern,
header.main-header-modern,
.main-header-modern.navbar,
.minimal-header-navbar,
.minimal-header-navbar.navbar,
.navbar.minimal-header-navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    z-index: 1040;
    border-bottom: 1px solid #e9ecef;
}

.main-header-modern {
    padding: 0;
}

.minimal-header-navbar {
    padding: 1rem 0;
}

@media (max-width: 991.98px) {
    .minimal-header-navbar {
        padding: 0.4rem 0 !important;
    }
}

@media (max-width: 575.98px) {
    .minimal-header-navbar {
        padding: 0.35rem 0 !important;
    }
}

.minimal-header-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    gap: 1rem;
}

/* Desktop'ta 3 bölüm: sol (logo), orta (menü), sağ (ikonlar) */
@media (min-width: 992px) {
    .minimal-header-navbar .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 2rem;
    }
}

@media (min-width: 992px) {
    .minimal-header-navbar {
        padding: 1.25rem 0;
    }
}

/* Minimal Logo */
.minimal-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
}

.minimal-logo:hover {
    color: var(--text-dark);
    opacity: 0.8;
}

.minimal-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    max-width: 40px;
    max-height: 40px;
    display: block;
    flex-shrink: 0;
}

/* Logo görselinin aşırı büyümesini önle - Tüm ekran boyutları için */
.minimal-logo img.minimal-logo-img {
    display: block !important;
    flex-shrink: 0 !important;
}

/* Mobilde logo görselini kesinlikle küçük tut */
@media (max-width: 991.98px) {
    .minimal-logo img.minimal-logo-img {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        object-fit: contain !important;
    }
}

@media (max-width: 575.98px) {
    .minimal-logo img.minimal-logo-img {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        object-fit: contain !important;
    }
}

.minimal-logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover-color));
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.5rem;
}

.minimal-brand-name {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Mobil Responsive İyileştirmeler */
@media (max-width: 991.98px) {
    .minimal-header-navbar {
        padding: 0.4rem 0 !important;
    }
    
    .minimal-header-navbar .container {
        display: flex !important; /* Grid yerine flex kullan */
        grid-template-columns: none;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .minimal-logo {
        font-size: 0.8rem;
        gap: 0.4rem;
        margin-right: auto;
        max-width: calc(100vw - 120px); /* Menü butonu ve sağ ikonlar için alan bırak */
        overflow: hidden;
        align-items: center;
    }
    
    .minimal-logo-img {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
        max-width: 28px !important;
        max-height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        object-fit: contain !important;
        display: block !important;
    }
    
    .minimal-logo-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        max-width: 28px;
        max-height: 28px;
        min-width: 28px;
        min-height: 28px;
        font-size: 0.8rem;
    }
    
    .minimal-brand-name {
        display: none !important; /* Mobilde brand name'i tamamen gizle */
    }
    
    .minimal-navbar-toggler {
        margin-right: 0.5rem;
        z-index: 1050;
        position: relative;
        flex-shrink: 0;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 32px;
        height: 32px;
        padding: 0.3rem;
    }
    
    /* Offcanvas mobil menü */
    .offcanvas {
        max-width: 280px;
        z-index: 1045;
    }
    
    .offcanvas-start {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .offcanvas-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem 1.25rem;
    }
    
    .offcanvas-title {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--text-dark);
    }
    
    .offcanvas-body {
        padding: 0;
        overflow-y: auto;
    }
    
    .offcanvas-body .hover-bg-light:hover {
        background-color: #f8f9fa !important;
    }
    
    /* Offcanvas backdrop */
    .offcanvas-backdrop {
        z-index: 1040;
    }
    
    /* Navbar container düzeni */
    .minimal-header-navbar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .minimal-header-navbar {
        padding: 0.35rem 0 !important;
    }
    
    .minimal-logo {
        font-size: 0.7rem;
        gap: 0.25rem;
        margin-right: 0.4rem;
        max-width: calc(100vw - 90px); /* Daha küçük ekranlar için daha az alan */
        overflow: hidden;
    }
    
    .minimal-logo-img {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        object-fit: contain;
        flex-shrink: 0;
    }
    
    .minimal-logo-icon {
        width: 20px;
        height: 20px;
        max-width: 20px;
        max-height: 20px;
        min-width: 20px;
        min-height: 20px;
        font-size: 0.7rem;
        flex-shrink: 0;
    }
    
    .minimal-icon-btn {
        padding: 0.35rem 0.4rem;
        font-size: 0.8rem;
        width: 32px;
        height: 32px;
    }
    
    .minimal-header-navbar .container {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
        gap: 0.25rem;
    }
    
    .minimal-navbar-toggler {
        width: 32px;
        height: 32px;
        padding: 0.3rem;
        margin-right: 0.4rem;
    }
    
    .minimal-navbar-toggler span {
        width: 18px;
        height: 2px;
    }
    
    /* Sağ taraftaki ikonları daha kompakt yap */
    .minimal-header-navbar .d-flex.align-items-center:last-child {
        gap: 0.25rem;
    }
}

/* Minimal Nav Menu */
.minimal-nav-menu {
    gap: 0;
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.minimal-nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    border-radius: 6px;
    white-space: nowrap;
}

.minimal-nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(40, 167, 69, 0.05);
}

.minimal-nav-link-mobile {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    border-bottom: 1px solid #f0f0f0;
}

.minimal-nav-link-mobile:hover {
    color: var(--primary-color) !important;
    background: rgba(40, 167, 69, 0.05);
}

.minimal-nav-menu-mobile {
    margin-top: 1rem;
    padding: 0.5rem 0;
}

/* Minimal Icon Buttons */
.minimal-icon-btn {
    color: var(--text-dark) !important;
    font-size: 1.1rem;
    padding: 0.5rem;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.minimal-icon-btn:hover {
    color: var(--primary-color) !important;
    background: rgba(40, 167, 69, 0.1);
}

.minimal-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* Minimal Search Form */
.minimal-search-form {
    min-width: 200px;
}

.minimal-search-wrapper {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
}

.minimal-search-wrapper:focus-within {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.minimal-search-input {
    background: transparent;
    border: none;
    color: var(--text-dark);
    padding: 0.375rem 0.5rem;
    font-size: 0.9rem;
    width: 150px;
}

.minimal-search-input::placeholder {
    color: #adb5bd;
}

.minimal-search-input:focus {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.minimal-search-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimal-search-btn:hover {
    color: var(--primary-color);
}

.minimal-search-form-mobile {
    width: 100%;
}

.minimal-search-form-mobile .minimal-search-wrapper {
    width: 100%;
}

.minimal-search-form-mobile .minimal-search-input {
    width: 100%;
    flex: 1;
}

/* Minimal Header - Mobil Menü Sadece Mobilde */
@media (min-width: 992px) {
    .minimal-header-navbar .navbar-collapse {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .minimal-header-navbar .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }
}

/* Minimal Dropdown */
.minimal-dropdown {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.minimal-dropdown .dropdown-item {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.minimal-dropdown .dropdown-item:hover {
    background: rgba(40, 167, 69, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.minimal-dropdown .dropdown-divider {
    border-color: #e9ecef;
    margin: 0.5rem 0;
}

/* Minimal Navbar Toggler */
.minimal-navbar-toggler {
    border: none;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex !important; /* Desktop + mobilde görünsün */
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    cursor: pointer;
    z-index: 1050;
    position: relative;
    outline: none;
}

/* Her ekran boyutunda görünürlük garantisi + desktop'ta da menü ikonu (Bootstrap navbar-expand-lg toggler'ı gizliyor) */
.minimal-navbar-toggler,
.navbar-expand-lg .minimal-navbar-toggler {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}

.minimal-navbar-toggler:focus {
    box-shadow: none;
}

.minimal-navbar-toggler span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.minimal-navbar-toggler:hover span,
.minimal-navbar-toggler:focus span {
    background: var(--primary-color);
}

.minimal-navbar-toggler:hover span {
    background: var(--primary-color);
}

/* Mobil Collapse */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }
}

/* Duyuru bandı varsa header onun altında */
body:has(.announcement-bar) .main-header {
    top: 0;
}

.top-header-modern {
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(44, 62, 80, 0.95);
}

.header-contact-modern a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.header-contact-modern a:hover {
    color: var(--primary-color) !important;
}

.header-social-modern a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.header-social-modern a:hover {
    background: var(--primary-color);
    color: #fff !important;
    transform: translateY(-2px);
}

.top-header {
    font-size: 0.85rem;
    border-bottom: 1px solid #e9ecef;
}

.header-contact a {
    transition: var(--transition);
}

.header-contact a:hover {
    color: var(--primary-color) !important;
}

.header-social a {
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.header-social a:hover {
    background: var(--primary-color);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    /* Arka plan rengi admin panelden ayarlanır - CSS'te varsayılan değer kaldırıldı */
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
    }
}

.navbar-brand {
    padding: 0.25rem 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(40, 167, 69, 0.2);
    transition: var(--transition);
}

@media (min-width: 992px) {
    .logo-circle {
        width: 55px;
        height: 55px;
    }
}

.navbar-brand:hover .logo-circle {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(40, 167, 69, 0.1) 100%);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.logo-circle i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .logo-circle i {
        font-size: 2rem;
    }
}

.brand-text {
    line-height: 1.2;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

@media (min-width: 992px) {
    .brand-name {
        font-size: 1.5rem;
    }
}

.brand-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .brand-tagline {
        font-size: 0.75rem;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

@media (min-width: 992px) {
    .navbar-brand {
        font-size: 1.75rem;
    }
}

/* Nav Link Icons */
.nav-link-icon {
    color: var(--text-dark) !important;
    font-size: 1.25rem;
    padding: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link-icon:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Arama Formu */
.search-form-desktop .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.search-form-desktop .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
    font-size: 0.9rem;
}

.search-form-desktop .btn {
    border-radius: 0 25px 25px 0;
}

.search-form-mobile {
    margin-bottom: 1rem;
}

.search-form-mobile .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.search-form-mobile .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
}

.search-form-mobile .btn {
    border-radius: 0 25px 25px 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    color: var(--text-dark) !important;
    position: relative;
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

@media (min-width: 992px) {
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 80%;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link::after {
        display: none;
    }
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    margin-top: 0.5rem;
    border-radius: var(--border-radius);
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
    background: rgba(40, 167, 69, 0.1);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobil Menü Açıldığında */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }
    
    .navbar-collapse .navbar-nav {
        background: rgba(248, 249, 250, 0.5);
        border-radius: var(--border-radius);
        padding: 0.5rem 0;
    }
}

/* Header Arama Çubuğu */
.search-form {
    max-width: 300px;
    width: 100%;
}

.search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.search-form .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
}

.search-form .btn {
    border-radius: 0 25px 25px 0;
}

/* Hero Slider */
.hero-slide {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Mobilde slider görseli kırpılmasın, tam görünsün */
@media (max-width: 767px) {
    .hero-slide {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center top;
        background-attachment: scroll;
        background-color: #1a1a1a;
        min-height: 280px;
    }
}

@media (min-width: 768px) {
    .hero-slide {
        min-height: 500px;
    }
}

@media (min-width: 992px) {
    .hero-slide {
        min-height: 600px;
    }
}

/* Slider'ın header'ın arkasında kalmasını sağla */
#mainSlider,
.carousel {
    position: relative;
    z-index: 1;
}

.min-vh-50 {
    min-height: 400px;
}

@media (min-width: 768px) {
    .min-vh-50 {
        min-height: 500px;
    }
}

@media (min-width: 992px) {
    .min-vh-50 {
        min-height: 600px;
    }
}

.hero-content h1 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-content p {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    font-size: 1.25rem;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

/* Özellikler Bölümü */
.features-section {
    background: #ffffff;
    border-radius: var(--border-radius);
    margin: 1rem;
    max-width: calc(100% - 2rem);
    width: calc(100% - 2rem);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .features-section {
        margin: 1.5rem 2rem;
        max-width: calc(100% - 4rem);
        width: calc(100% - 4rem);
        padding: 0.5rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .features-section {
        margin: 1.5rem 3rem;
        max-width: calc(100% - 6rem);
        width: calc(100% - 6rem);
        padding: 0.3rem 1.5rem;
    }
}

.feature-box {
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding: 1.5rem !important;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    transition: var(--transition);
    font-size: 2rem !important;
}

.feature-box:hover .feature-icon {
    transform: scale(1.05);
}

.feature-box h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.8rem;
}

/* Banner Bölümü */
.banner-section {
    background: transparent;
    padding: 2rem 0;
}

.promo-banner {
    transition: var(--transition);
    overflow: hidden;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.promo-banner img {
    transition: var(--transition);
}

.promo-banner:hover img {
    transform: scale(1.1);
}

.promo-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: var(--transition);
}

.promo-banner:hover .promo-overlay {
    opacity: 1;
}

.promo-content {
    transform: translateY(20px);
    transition: var(--transition);
}

.promo-banner:hover .promo-content {
    transform: translateY(0);
}

/* İçerik Wrapper */
.content-wrapper {
    background: transparent;
}

.content-box {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid #f0f0f0;
}

@media (min-width: 768px) {
    .content-box {
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .content-box {
        padding: 2.5rem;
    }
}

/* Modern Ürün Kartları - Profesyonel Tasarım */
.product-card-modern {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.product-image-wrapper-modern {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-image-modern {
    transform: scale(1.12);
}

.product-badge {
    position: absolute;
    top: 12px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.discount-badge {
    left: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #ffffff;
}

.featured-badge {
    right: 12px;
    background: linear-gradient(135deg, #ffd93d 0%, #f6c23e 100%);
    color: #333;
}

.product-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-modern:hover .product-overlay-modern {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.btn-action-modern {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-action-modern:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.product-info-modern {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.product-category-modern {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-title-modern {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 3em;
}

.product-title-modern a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title-modern a:hover {
    color: var(--primary-color);
}

.product-description-modern {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-price-modern {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.product-footer-modern {
    margin-top: auto;
}

.btn-product-modern {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-hover-color) 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    cursor: pointer;
}

.btn-product-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: #ffffff;
}

.btn-product-modern.btn-out-of-stock {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-product-modern.btn-out-of-stock:hover {
    transform: none;
    box-shadow: none;
}

/* Minimal Ürün Kartları (Anasayfa için - Modern Tasarım) */
.product-card-minimal {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #34ce57);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.product-card-minimal:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.2);
}

.product-card-minimal:hover::before {
    transform: scaleX(1);
}

.product-image-wrapper-minimal {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.product-image-minimal {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(1) saturate(1);
}

.product-card-minimal:hover .product-image-minimal {
    transform: scale(1.12);
    filter: brightness(1.05) saturate(1.1);
}

.product-info-minimal {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
    transition: var(--transition);
}

.product-title-minimal {
    font-size: 1rem;
    line-height: 1.4;
    min-height: 2.8em;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-title-minimal a {
    transition: var(--transition);
    color: var(--text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title-minimal a:hover {
    color: var(--primary-color) !important;
}

.product-price-minimal {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.product-price-minimal .price-old {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 500;
}

.badge-discount-minimal {
    z-index: 2;
}

/* Modern Sidebar Tasarımı */
.sidebar-modern {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.sidebar-header-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-hover-color) 100%);
    color: #ffffff;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.sidebar-list-modern {
    padding: 8px;
}

.sidebar-item-modern {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar-item-modern:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    transform: translateX(4px);
    padding-left: 20px;
}

.sidebar-item-modern.active {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    color: var(--primary-color);
    font-weight: 700;
    border-left: 4px solid var(--primary-color);
    padding-left: 16px;
}

.sidebar-item-modern i {
    width: 20px;
    text-align: center;
}

/* Modern Arama Formu */
.search-form-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.input-group-modern {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon-modern {
    position: absolute;
    left: 18px;
    color: #6c757d;
    z-index: 5;
    pointer-events: none;
}

.form-control-modern {
    flex: 1;
    padding: 14px 18px 14px 48px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
}

.btn-search-modern {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-hover-color) 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-search-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Eski büyük kartlar için (geriye dönük uyumluluk) */
.product-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-image-wrapper {
    position: relative;
    height: 280px;
    background: #f8f9fa;
    overflow: hidden;
}

.product-image {
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-overlay {
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    border-top: 3px solid transparent;
    transition: var(--transition);
}

.product-card:hover .product-info {
    border-top-color: var(--primary-color);
}

.product-title {
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 3em;
}

.product-title a {
    transition: var(--transition);
}

.product-title a:hover {
    color: var(--primary-color) !important;
}

.product-price {
    font-size: 1.25rem;
}

.badge-discount {
    z-index: 2;
}

/* Section Başlıkları */
.section-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.section-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.section-badge {
    letter-spacing: 2px;
    color: var(--primary-color);
    font-size: 0.75rem;
}

.product-showcase {
    background: transparent;
}

/* Tab Tasarımı - Minimal */
.category-tabs,
.showcase-tabs {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-tabs .nav-link,
.showcase-tabs .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid transparent;
    transition: var(--transition);
    margin: 0 0.25rem;
    padding: 0.5rem 1rem;
}

.category-tabs .nav-link:hover,
.showcase-tabs .nav-link:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
    background: rgba(40, 167, 69, 0.08);
}

.category-tabs .nav-link.active,
.showcase-tabs .nav-link.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.category-tabs .nav-link.active:hover,
.showcase-tabs .nav-link.active:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* Öne Çıkan Ürün Bölümü */
.featured-product-section {
    margin-bottom: 2rem;
}

.featured-product-section .content-box {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Admin Panel - Görsel Önizleme */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

/* Kampanya Banner Bölümü */
.campaign-banner-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.campaign-banner-section .content-box {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Anasayfa Banner Bölümü */
.home-banner-section {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.home-banner-section .content-box {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Banner görseli üst/alttan kırpılmasın, tam görünsün */
.home-banner-section .home-banner-img {
    object-fit: contain;
    object-position: center;
    max-height: 320px;
    width: 100%;
    display: block;
    background: #f8f9fa;
}

@media (min-width: 768px) {
    .home-banner-section .home-banner-img {
        max-height: 380px;
    }
}

/* Ürün Kampanya Banner'ları Bölümü */
.promotion-banners-section {
    margin-bottom: 2rem;
}

.promotion-banner-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    min-height: 300px;
}

.promotion-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.promotion-badge {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.promotion-image-wrapper {
    position: relative;
    overflow: hidden;
}

.promotion-image {
    transition: var(--transition);
}

.promotion-banner-card:hover .promotion-image {
    transform: scale(1.05);
}

.promotion-btn {
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.promotion-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Ayın Favorileri Bölümü */
.monthly-favorites-section {
    margin-bottom: 2rem;
}

.monthly-favorite-image-wrapper {
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monthly-favorite-image-wrapper img {
    object-fit: cover;
    max-height: 600px;
}

/* Footer Üstü Banner - görsel kırpılmadan, üst/alt boşluk az */
.footer-banner-section {
    margin-top: 1rem;
    margin-bottom: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.footer-banner-image {
    max-height: 180px;
    width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .footer-banner-image {
        max-height: 140px;
    }
}

/* Butonlar - Profesyonel Tasarım */
.btn {
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--button-color) 0%, var(--button-hover-color) 100%);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--button-hover-color) 0%, var(--button-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Sepet */
.cart-item {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Footer - Profesyonel Tasarım */
footer {
    margin-top: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 2rem 0 1rem;
    font-size: 0.9rem;
}

footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

footer a {
    text-decoration: none;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer .footer-links li {
    margin-bottom: 0.5rem;
}

footer .footer-contact li {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

footer .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

footer .border-top {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

footer .newsletter-form .form-control {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

footer .newsletter-form .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

/* Form */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Badge */
.badge {
    padding: 0.5em 0.75em;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Kategori Carousel */
.category-carousel-section {
    background: #ffffff;
    border-radius: var(--border-radius);
    margin: 1.5rem 3rem;
    max-width: calc(100% - 6rem);
    width: calc(100% - 6rem);
    padding: 0.3rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.category-carousel-wrapper {
    padding: 0 40px;
    max-width: 100%;
}

.category-carousel-container {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.category-carousel {
    display: flex;
    gap: 0.25rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    cursor: grab;
    justify-content: flex-start;
    width: fit-content;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .category-carousel {
        gap: 0.5rem;
        padding: 0.5rem 0.25rem;
    }
}

/* Mobilde 4 kategori görünsün, diğerleri kaydırarak */
@media (max-width: 576px) {
    .category-carousel {
        gap: 0.25rem;
        padding: 0.4rem 0.2rem;
    }
}

.category-carousel:active {
    cursor: grabbing;
}

.category-carousel-item {
    flex: 0 0 auto;
    width: 120px;
    margin: 0;
    min-width: 0;
}

/* Tablet: 4 kategori sığacak şekilde */
@media (max-width: 768px) {
    .category-carousel-item {
        width: 100px;
    }
}

/* Mobil: 4 kategori görünsün (dış boşluklar azaltıldı, 76px ile 4 sığar) */
@media (max-width: 576px) {
    .category-carousel-item {
        width: 76px;
    }
}

.category-link {
    display: block;
    transition: var(--transition);
}

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

.category-link:hover .category-label span {
    color: var(--primary-color) !important;
}

.category-circle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-circle {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-link:hover .category-circle {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.2);
    transform: scale(1.05);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.category-placeholder {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.category-label {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

.category-label span {
    font-size: 0.85rem;
    transition: var(--transition);
    line-height: 1.2;
    word-break: break-word;
    text-align: center;
}

@media (max-width: 576px) {
    .category-label {
        min-height: 32px;
        margin-top: 0.4rem !important;
    }
    .category-label {
        min-height: 28px;
    }
    .category-label span {
        font-size: 0.65rem;
    }
}

.category-carousel-prev,
.category-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-carousel-prev {
    left: 0;
}

.category-carousel-next {
    right: 0;
}

.category-carousel-prev:hover,
.category-carousel-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.category-carousel-prev:active,
.category-carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Carousel Kontrolleri */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background: var(--primary-color);
    border-color: #fff;
    width: 30px;
    border-radius: 6px;
}

/* Container Ayarları */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Arama Çubuğu */
.search-form {
    max-width: 300px;
    width: 100%;
}

.search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.search-form .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
}

.search-form .btn {
    border-radius: 0 25px 25px 0;
}

@media (max-width: 991px) {
    .search-form {
        max-width: 100%;
        margin: 0.5rem 0 !important;
        width: 100%;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.8rem;
    }
    
    .announcement-text {
        font-size: 0.75rem;
    }
    
    .top-header {
        display: none;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .features-section {
        padding: 0.3rem 1rem;
        margin: 1rem 1rem;
        max-width: calc(100% - 2rem);
        width: calc(100% - 2rem);
    }
    
    .category-carousel-section {
        padding: 0.3rem 1rem;
        margin: 1rem 1rem;
        max-width: calc(100% - 2rem);
        width: calc(100% - 2rem);
    }
    /* Mobilde 4 kategori sığsın: dış boşlukları azalt */
    @media (max-width: 576px) {
        .category-carousel-section {
            margin: 0.5rem 0.25rem;
            padding: 0.35rem 0.25rem;
            max-width: none;
            width: 100%;
        }
        .category-carousel-section .container-fluid {
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            max-width: 100%;
        }
    }
    .hero-slide {
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .min-vh-50 {
        min-height: 400px;
    }
    
    .product-image-wrapper {
        height: 220px;
    }
    
    .product-image-wrapper-minimal {
        height: 150px;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .category-tabs .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    /* Kategori Carousel Mobile */
    .category-carousel-wrapper {
        padding: 0 50px;
    }
    
    .category-carousel-item {
        width: 110px;
    }
    
    .category-circle {
        width: 100px;
        height: 100px;
    }
    
    .category-carousel-prev,
    .category-carousel-next {
        width: 40px;
        height: 40px;
    }
    
    .category-label span {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .category-carousel-wrapper {
        padding: 0 10px;
    }
    
    /* Mobilde tam 4 kategori görünsün (viewport genişliğine göre eşit böl) */
    .category-carousel-item {
        width: calc((100% - 0.75rem) / 4);
        min-width: 68px;
    }
    
    .category-circle {
        width: 62px;
        height: 62px;
    }
    
    .category-placeholder {
        font-size: 1.5rem;
    }
    
    .category-carousel-prev,
    .category-carousel-next {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

/* Admin Panel - Kurumsal Tasarım */
body.admin-panel {
    background: #f5f7fa;
    padding-top: 0;
}

/* Admin Top Navigation */
.admin-top-nav {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0.75rem 0;
}

.admin-top-nav .navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Admin Menu Container - Kart Yapısı */
.admin-menu-container {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.admin-menu-card {
    display: block;
    padding: 0.875rem 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.admin-menu-card:hover {
    background: rgba(40, 167, 69, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
    text-decoration: none;
}

.admin-menu-card.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #218838 100%);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.admin-menu-card.active:hover {
    background: linear-gradient(135deg, #218838 0%, var(--primary-color) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 0;
    display: none; /* Sidebar gizlendi */
}

.admin-sidebar .position-sticky {
    padding: 1.5rem 0;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.85);
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-sidebar .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.admin-sidebar .nav-link.active {
    background: rgba(40, 167, 69, 0.2);
    color: #fff;
    border-left-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.admin-sidebar .nav-item.mt-3 {
    margin-top: 2rem !important;
}

/* ============================================
   GENEL MOBİL UYUMLULUK İYİLEŞTİRMELERİ
   ============================================ */

/* Container Responsive Padding */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Typography Responsive */
h1 {
    font-size: 1.75rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
}

h2 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 992px) {
    h2 {
        font-size: 2rem;
    }
}

h3 {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    h3 {
        font-size: 1.5rem;
    }
}

/* Button Responsive */
.btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1.125rem;
    }
}

/* Table Responsive */
@media (max-width: 767.98px) {
    .table-responsive {
        border: none;
    }
    
    .table {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.25rem;
    }
}

/* Card Responsive */
@media (max-width: 575.98px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* Form Responsive */
@media (max-width: 575.98px) {
    .form-control,
    .form-select {
        font-size: 16px; /* iOS zoom önleme */
    }
    
    .input-group {
        flex-wrap: wrap;
    }
}

/* Product Cards Responsive */
@media (max-width: 575.98px) {
    .product-card-minimal {
        margin-bottom: 1rem;
    }
    
    .product-image-minimal {
        height: 200px;
        object-fit: cover;
    }
}

/* Section Spacing Responsive */
@media (max-width: 767.98px) {
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Announcement Bar Responsive */
@media (max-width: 575.98px) {
    .announcement-bar {
        font-size: 0.8rem;
    }
    
    .announcement-bar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .announcement-text {
        font-size: 0.75rem;
    }
    
    .btn-close-announcement {
        padding: 0.25rem;
    }
}

/* ============================================
   POPUP MODAL TASARIMI
   ============================================ */

.popup-modal-dialog {
    max-width: 90%;
}

@media (min-width: 576px) {
    .popup-modal-dialog {
        max-width: 500px;
    }
}

.popup-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: popupFadeIn 0.4s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-hover-color) 100%);
    color: #ffffff;
    border-bottom: none;
    padding: 1.5rem;
}

.popup-modal-header .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
}

.popup-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.popup-modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.popup-modal-body {
    padding: 2rem;
    text-align: center;
}

.popup-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.popup-image {
    border-radius: 12px;
    max-height: 300px;
    object-fit: cover;
}

.popup-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.popup-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem;
    background: #f8f9fa;
}

.popup-modal-footer .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.popup-modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Responsive */
@media (max-width: 575.98px) {
    .popup-modal-content {
        margin: 1rem;
        border-radius: 16px;
    }
    
    .popup-modal-header {
        padding: 1.25rem;
    }
    
    .popup-modal-header .modal-title {
        font-size: 1.25rem;
    }
    
    .popup-modal-body {
        padding: 1.5rem;
    }
    
    .popup-content {
        font-size: 1rem;
    }
    
    .popup-modal-footer {
        padding: 1.25rem;
    }
}
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

/* Admin Panel Cards */
.admin-panel .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.admin-panel .card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.admin-panel .card-header {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
}

.admin-panel .card-body {
    padding: 1.5rem;
}

/* Admin Panel Tables */
.admin-panel .table {
    margin-bottom: 0;
}

.admin-panel .table thead th {
    background: #f8f9fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
    padding: 1rem;
}

.admin-panel .table tbody tr {
    transition: all 0.2s ease;
}

.admin-panel .table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.admin-panel .table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Modern Beğen ve Paylaş Butonları */
.like-btn-modern,
.share-btn-modern {
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: auto !important;
    width: auto !important;
}

/* Butonlar her zaman görünür olmalı */
.like-btn-modern,
.favorite-btn-modern {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Public beğeni sayacı her zaman görünür */
.product-like-btn #productLikeCount {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 20px;
    text-align: center;
}

/* Public beğeni butonu: beğeni olmasa bile kırmızı arka plan */
.product-like-btn {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

.product-like-btn:hover {
    background: #c82333 !important;
    border-color: #c82333 !important;
}

.product-like-btn i {
    color: #ffffff !important;
}

.product-like-btn.active {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

/* Favori butonu */
.favorite-btn-modern.active {
    background: rgba(220, 53, 69, 0.08);
    border-color: #dc3545;
}

.like-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.like-btn-modern.active {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-color: #dc3545;
    color: white;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

.share-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.share-dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: none;
    padding: 0.5rem;
    min-width: 180px;
}

.share-dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.share-dropdown-menu .dropdown-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.share-dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Ürün Varyant Butonları */
.variant-buttons {
    margin-bottom: 1rem;
}

.variant-btn {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.variant-btn:hover:not(.disabled) {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.variant-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}

.variant-btn.active .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.variant-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

.variant-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Admin Panel Buttons */
.admin-panel .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.admin-panel .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #218838 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.admin-panel .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.admin-panel .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.admin-panel .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.admin-panel .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Admin Panel Forms */
.admin-panel .form-control,
.admin-panel .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.625rem 1rem;
    transition: all 0.3s ease;
}

.admin-panel .form-control:focus,
.admin-panel .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.admin-panel .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Admin Panel Badges */
.admin-panel .badge {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Admin Panel Alerts */
.admin-panel .alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Bulk Actions */
.bulk-actions {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.bulk-actions .btn {
    margin: 0;
}

/* Tab */
.nav-tabs .nav-link {
    color: #495057;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Alert */
.alert {
    border-radius: 10px;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Image Upload Preview */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    margin-top: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 5px;
}



