/**
 * Mut İncisi E-Ticaret - Ana Stil Dosyası
 * Modern, Organik Tema
 */

/* ==================== AOS OVERRIDE - Elementleri her zaman görünür yap ==================== */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ==================== MODERN HEADER ==================== */
.modern-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Top Info Bar */
.header-top-bar {
    background: linear-gradient(135deg, var(--header-bg, #2C3E2D) 0%, var(--primary-dark, #4A7C59) 100%);
    color: var(--header-text, #fff);
    padding: 8px 0;
    font-size: 13px;
}

.header-top-bar .top-contact span {
    opacity: 0.9;
    color: var(--header-text, #fff);
}

.header-top-bar .top-contact i {
    color: var(--accent, #C9A227);
}

.header-top-bar .top-links a {
    color: var(--header-text, #fff);
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.9;
    transition: opacity 0.3s;
    font-size: 12px;
}

.header-top-bar .top-links a:hover {
    opacity: 1;
    color: var(--header-text, #fff);
}

/* Main Header Section */
.header-main-section {
    padding: 0;
    background: #fff;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 100%;
    position: relative;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 1;
    min-width: 0;
}

.header-logo .logo-icon {
    line-height: 0;
    display: flex;
    flex-shrink: 1;
    min-width: 0;
}

.header-logo .logo-icon img {
    width: auto;
    height: 115px;
    max-width: 300px;
    object-fit: contain;
    display: block;
}

.header-logo .logo-text {
    display: none; /* Logo içinde metin var, ayrı gösterme */
}

.header-logo .logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #2C3E2D;
    margin: 0;
    line-height: 1.1;
}

.header-logo .logo-text span {
    font-size: 14px;
    color: #4A7C59;
    font-weight: 500;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 500px;
    display: flex;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s;
}

.header-search:focus-within {
    border-color: #4A7C59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.header-search input {
    flex: 1;
    border: none;
    padding: 14px 25px;
    font-size: 15px;
    outline: none;
}

.header-search button {
    background: linear-gradient(135deg, var(--btn-primary-bg, #4A7C59) 0%, var(--primary-dark, #3d6a4a) 100%);
    color: var(--btn-primary-text, #fff);
    border: none;
    padding: 14px 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.header-search button:hover {
    background: linear-gradient(135deg, var(--primary-dark, #3d6a4a) 0%, var(--header-bg, #2C3E2D) 100%);
}

/* Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.header-actions .action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 18px;
    text-decoration: none;
    color: #2C3E2D;
    border-radius: 12px;
    transition: all 0.3s;
    position: relative;
}

.header-actions .action-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.header-actions .action-btn span {
    font-size: 12px;
    font-weight: 500;
}

.header-actions .action-btn:hover {
    background: #f8f9fa;
    color: var(--btn-primary-bg, #4A7C59);
}

.header-actions .cart-action {
    background: var(--btn-primary-bg, linear-gradient(135deg, #4A7C59 0%, #3d6a4a 100%));
    color: var(--btn-primary-text, #fff) !important;
}

.header-actions .cart-action:hover {
    background: var(--btn-primary-bg, linear-gradient(135deg, #3d6a4a 0%, #2C3E2D 100%));
    filter: brightness(0.9);
    color: var(--btn-primary-text, #fff) !important;
}

.header-actions .cart-count {
    position: absolute;
    top: 2px;
    right: 8px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

/* Kayıt Ol Butonu */
.header-actions .btn-register {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.header-actions .btn-register i {
    font-size: 16px;
}

@media (max-width: 991px) {
    .header-actions {
        gap: 2px;
    }
    
    .header-actions .action-btn {
        padding: 8px;
    }
    
    .header-actions .btn-register span {
        display: none;
    }
    
    .header-actions .btn-register {
        padding: 8px 10px;
        margin-right: 0;
    }
    
    .header-actions .btn-register i {
        margin: 0 !important;
    }
}

/* Navigation Bar */
.header-nav {
    background: linear-gradient(135deg, #4A7C59 0%, #3d6a4a 100%);
    padding: 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border-radius: 0;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255,255,255,0.15);
}

.nav-menu > li > a i {
    font-size: 18px;
}

/* Dropdown Submenu */
.nav-menu .has-dropdown {
    position: relative;
}

.nav-menu .dropdown-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.nav-menu .has-dropdown:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown-submenu li a {
    display: block;
    padding: 12px 18px;
    color: #333333 !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    background: transparent;
}

.nav-menu .dropdown-submenu li a:hover {
    background: var(--btn-primary-bg, #4A7C59);
    color: var(--btn-primary-text, #fff) !important;
    transform: translateX(5px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: #4A7C59;
    color: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
    margin-left: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .header-content {
        gap: 10px;
        padding: 0 5px;
    }
    
    .header-actions {
        gap: 2px;
    }
    
    .header-actions .action-btn {
        padding: 8px;
    }
    
    .header-actions .btn-register {
        padding: 8px 10px;
    }
    
    .header-actions .btn-register span {
        display: none;
    }
    
    .header-actions .btn-register i {
        margin: 0 !important;
    }
    
    .header-search {
        display: none;
    }
    
    .header-actions .action-btn span {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        flex-shrink: 0;
    }
    
    .header-nav .container {
        padding: 0;
    }
    
    /* Mobil menü scroll */
    #mainNav,
    .navbar-collapse {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu > li > a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu .dropdown-submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255,255,255,0.95);
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu .has-dropdown.active .dropdown-submenu {
        opacity: 1;
        visibility: visible;
        max-height: 50vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu .has-dropdown > a .bi-chevron-down {
        transition: transform 0.3s ease;
    }
    
    .nav-menu .has-dropdown.active > a .bi-chevron-down {
        transform: rotate(180deg);
    }
    
    .nav-menu .dropdown-submenu li a {
        color: #333333 !important;
        padding-left: 40px;
    }
    
    .nav-menu .dropdown-submenu li a:hover {
        background: var(--btn-primary-bg, #4A7C59);
        color: var(--btn-primary-text, #fff) !important;
    }
}

@media (max-width: 767px) {
    .header-content {
        gap: 5px !important;
        padding: 5px !important;
    }
    
    .header-logo .logo-text h1 {
        font-size: 24px;
    }
    
    .header-logo .logo-icon img {
        width: auto;
        height: 50px !important;
        max-width: 150px;
    }
    
    .header-logo {
        min-width: auto;
        flex-shrink: 1;
    }
    
    .header-actions {
        gap: 1px !important;
    }
    
    .header-actions .action-btn {
        padding: 6px !important;
    }
    
    .header-actions .action-btn i {
        font-size: 20px;
    }
    
    .header-actions .btn-register {
        padding: 6px 8px !important;
    }
    
    .mobile-toggle {
        padding: 6px 8px !important;
        font-size: 20px !important;
    }
    
    .header-top-bar {
        display: none;
    }
}

/* ==================== RENK PALETİ ==================== */
:root {
    --primary: #4A7C59;
    --primary-dark: #3d6a4a;
    --primary-light: #5d9970;
    --secondary: #C9A227;
    --secondary-dark: #b08f1f;
    --accent: #8B7355;
    --cream: #F5F1E8;
    --dark: #2C3E2D;
    --light: #f8f9fa;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

/* ==================== GENEL STILLER ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== BOOTSTRAP OVERRIDE ==================== */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.form-control {
    border-radius: var(--radius);
    border-color: var(--gray-300);
    padding: 0.625rem 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.15);
}

.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* ==================== TOP BAR ==================== */
.top-bar {
    font-size: 13px;
}

.top-bar a {
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
}

/* ==================== HEADER ==================== */
.header-main {
    background: #fff;
    z-index: 1030;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background-color: rgba(74, 124, 89, 0.08);
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    background: #ffffff;
}

.dropdown-menu a,
.dropdown-menu .dropdown-item {
    color: #333333;
    background: transparent;
}

.dropdown-menu-animate {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu-animate {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    font-size: 14px;
    color: #333333;
}

.dropdown-item:hover {
    background-color: rgba(var(--btn-primary-rgb, 74, 124, 89), 0.1);
    color: var(--btn-primary-bg, var(--primary));
}

.search-form .form-control {
    width: 180px;
    transition: var(--transition);
}

.search-form .form-control:focus {
    width: 220px;
}

.cart-btn {
    position: relative;
}

.cart-badge {
    font-size: 10px;
    padding: 0.25em 0.5em;
}

/* ==================== HERO / SLIDER ==================== */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, #e8e4d9 100%);
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.carousel-item {
    min-height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
    left: 10%;
    right: 40%;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray-600);
    margin-top: 1rem;
}

/* ==================== ÜRÜN KARTI ==================== */
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.badge-new {
    background: var(--info);
    color: #fff;
}

.badge-sale {
    background: var(--danger);
    color: #fff;
}

.badge-bestseller {
    background: var(--secondary);
    color: #fff;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-actions .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 5px;
    background: #fff;
    color: var(--dark);
    box-shadow: var(--shadow);
}

.product-actions .btn:hover {
    background: var(--primary);
    color: #fff;
}

.product-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-name a {
    color: var(--dark);
}

.product-name a:hover {
    color: var(--primary);
}

.product-rating {
    margin-bottom: 0.75rem;
}

.product-rating i {
    color: var(--secondary);
    font-size: 14px;
}

.product-rating span {
    font-size: 13px;
    color: var(--gray-600);
    margin-left: 5px;
}

.product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price .current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price .old-price {
    font-size: 0.95rem;
    color: var(--gray-600);
    text-decoration: line-through;
}

.product-card .btn-add-cart {
    width: 100%;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .btn-add-cart {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== KATEGORİ KARTLARI ==================== */
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 200px;
    background: var(--primary);
    transition: var(--transition);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
    opacity: 0.5;
}

.category-card .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.category-card .category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.category-card h5 {
    color: #fff;
    margin: 0;
    font-size: 1.25rem;
}

/* ==================== ÖZELLİK KUTULARI ==================== */
.feature-box {
    text-align: center;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 124, 89, 0.1);
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: var(--primary);
    color: #fff;
}

.feature-box h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

/* ==================== KAMPANYA BANNER ==================== */
.campaign-banner-card {
    min-height: 200px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.campaign-banner-bg {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    opacity: 0.3;
}

.campaign-banner-content {
    position: relative;
    z-index: 1;
}

.countdown-mini {
    font-size: 0.85rem;
}

.countdown-mini .countdown-item {
    min-width: 50px;
    text-align: center;
}

/* ==================== FLASH SALE ==================== */
.flash-sale-section {
    background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%);
}

.flash-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flash-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.flash-main-countdown {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ==================== BUNDLE/PAKET ==================== */
.bundle-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bundle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* ==================== FOOTER ==================== */
.footer {
    color: rgba(255,255,255,0.9);
}

.footer-title {
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #4A7C59;
    padding-left: 5px;
}

.footer-links i {
    font-size: 10px;
    margin-right: 5px;
}

.footer-contact a,
.footer-contact span {
    color: rgba(255,255,255,0.85) !important;
}

.footer-contact a:hover {
    color: #4A7C59 !important;
}

.footer p.text-muted,
.footer .text-muted {
    color: rgba(255,255,255,0.75) !important;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.trust-badge span {
    color: rgba(255,255,255,0.85) !important;
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappBounce 2s ease-in-out infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #25D366;
    z-index: -1;
    animation: whatsappGlow 1.5s ease-in-out infinite;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    z-index: -2;
    animation: whatsappRing 2s ease-out infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.7);
    animation: none;
}

@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-5px); }
}

@keyframes whatsappGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(37, 211, 102, 0.8), 0 0 60px rgba(37, 211, 102, 0.4);
        transform: scale(1.05);
    }
}

@keyframes whatsappRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes whatsappRipple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1000;
    opacity: 0;
    transition: var(--transition);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb-section {
    background: var(--gray-100);
    padding: 1rem 0;
}

.breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--gray-600);
}

.breadcrumb-item.active {
    color: var(--primary);
}

/* ==================== PAGINATION ==================== */
.pagination .page-link {
    color: var(--primary);
    border-radius: var(--radius);
    margin: 0 3px;
    border: none;
    background: var(--gray-100);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* ==================== ALERTS ==================== */
.alert {
    border: none;
    border-radius: var(--radius);
}

/* ==================== FORM STYLES ==================== */
.form-floating label {
    color: var(--gray-600);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ==================== SEPET ==================== */
.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
    padding: 0 1rem;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--primary, #4A7C59);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.quantity-input .btn,
.quantity-input .quantity-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 0;
    background: var(--primary, #4A7C59);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-input .btn:hover,
.quantity-input .quantity-btn:hover {
    background: var(--primary-dark, #3d6549);
    color: #fff;
}

.quantity-input input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-radius: 0;
    font-size: 18px;
    font-weight: 600;
    -moz-appearance: textfield;
    background: #fff;
    color: #333;
}

.quantity-input input::-webkit-outer-spin-button,
.quantity-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input input:focus {
    outline: none;
    box-shadow: none;
}

/* ==================== ÜRÜN DETAY ==================== */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-thumbs {
    display: flex;
    gap: 10px;
}

.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--primary);
}

.product-detail-info h1 {
    font-size: 1.75rem;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* ==================== TABS ==================== */
.nav-tabs .nav-link {
    color: var(--gray-600);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: none;
}

/* ==================== YORUMLAR ==================== */
.review-item {
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.review-rating i {
    color: var(--secondary);
}

/* ==================== HESABIM SIDEBAR ==================== */
.account-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.account-sidebar .list-group-item {
    border: none;
    padding: 0.875rem 1.25rem;
    color: var(--dark);
    transition: var(--transition);
}

.account-sidebar .list-group-item:hover,
.account-sidebar .list-group-item.active {
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary);
}

.account-sidebar .list-group-item i {
    width: 20px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .carousel-caption {
        right: 10%;
        bottom: 30%;
        transform: translateY(30%);
    }
    
    .carousel-caption h2 {
        font-size: 1.75rem;
    }
    
    .search-form {
        margin: 1rem 0;
    }
    
    .search-form .form-control {
        width: 100%;
    }
    
    .search-form .form-control:focus {
        width: 100%;
    }
    
    .header-actions {
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    /* =====  GENELtable BOŞLUK AZALTMA ===== */
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-4 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .mt-5, .my-5 {
        margin-top: 1.5rem !important;
    }
    
    .mb-5, .my-5 {
        margin-bottom: 1.5rem !important;
    }
    
    section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 20px 0;
        min-height: auto;
    }
    
    .hero-slider {
        margin-top: 0 !important;
    }
    
    .carousel-item {
        min-height: 200px;
        max-height: 250px;
    }
    
    .carousel-item img {
        object-fit: cover;
        object-position: center;
    }
    
    /* Section Title */
    .section-title {
        margin-bottom: 1rem !important;
    }
    
    .section-title h2 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .section-title p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    .product-card .btn-add-cart {
        opacity: 1;
        transform: translateY(0);
    }
    
    .product-actions {
        opacity: 1;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-float i {
        font-size: 22px;
    }
    
    /* Ürün Kartları */
    .product-card {
        margin-bottom: 0.75rem;
    }
    
    .row.g-4 {
        --bs-gutter-y: 0.75rem;
        --bs-gutter-x: 0.5rem;
    }
    
    .product-card .card-body {
        padding: 0.75rem;
    }
    
    .product-card .product-title {
        font-size: 0.9rem;
    }
    
    /* Header Actions */
    .header-actions .action-btn span {
        display: none;
    }
    
    /* Footer */
    .footer {
        margin-top: 1rem !important;
    }
    
    .footer-main {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-newsletter {
        padding: 1rem 0;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    /* Carousel */
    .hero-slider .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .hero-slider .carousel-caption p {
        font-size: 0.9rem;
    }
    
    /* Category Cards */
    .category-card {
        margin-bottom: 1rem;
    }
    
    /* Blog Cards */
    .blog-card {
        margin-bottom: 1rem;
    }
    
    /* Modal */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    /* Product Detail */
    .product-detail-title {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
    
    /* Cart Table */
    .cart-table td {
        padding: 0.5rem;
    }
    
    .cart-table .product-thumb {
        width: 60px;
    }
    
    /* Quantity Input */
    .quantity-input {
        max-width: 100px;
    }
}

/* ==================== EXTRA SMALL MOBILE (<=480px) ==================== */
@media (max-width: 480px) {
    .header-logo .logo-text h1 {
        font-size: 20px;
    }
    
    .header-logo .logo-icon img {
        width: auto;
        height: 55px !important;
        max-width: 160px;
    }
    
    .section-title h2 {
        font-size: 1.25rem;
    }
    
    /* Sticky bottom bar için padding */
    .main-content,
    main {
        padding-bottom: 70px;
    }
    
    /* Product cards 2 columns */
    .product-card .card-body {
        padding: 0.5rem;
    }
    
    .product-card .product-title {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .product-card .product-price {
        font-size: 1rem;
    }
    
    /* Hide less important elements */
    .product-card .old-price {
        display: none;
    }
    
    .product-card .rating {
        font-size: 0.7rem;
    }
    
    /* Full width buttons */
    .btn-add-cart {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

/* ==================== TOUCH OPTIMIZATIONS ==================== */
@media (hover: none) and (pointer: coarse) {
    /* Daha büyük tıklama alanları */
    .nav-menu > li > a {
        padding: 16px 20px;
        min-height: 48px;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 16px; /* iOS zoom engelleme */
    }
    
    /* Ürün actions her zaman görünür */
    .product-card .product-actions {
        opacity: 1;
    }
    
    .product-card .btn-add-cart {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Dropdown hover yerine click - mobil dokunmatik için */
    .nav-menu .dropdown-submenu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
    }
    
    .nav-menu .has-dropdown.active .dropdown-submenu {
        opacity: 1;
        visibility: visible;
        max-height: 50vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Footer links */
    .footer-links a {
        padding: 0.5rem 0;
        display: inline-block;
    }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider .carousel-item {
        min-height: 300px;
    }
    
    .hero-slider .carousel-caption {
        bottom: 20%;
    }
}

/* ==================== LOADING ANIMATION ==================== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .header-main,
    .footer,
    .whatsapp-float,
    .back-to-top {
        display: none !important;
    }
}

/* ==================== DROPDOWN Z-INDEX FIX ==================== */
/* Header ve dropdown'ların sayfa içeriğinin üstünde görünmesi için */

.modern-header {
    z-index: 99000 !important;
}

.header-main-section {
    position: relative;
    z-index: 99800 !important;
    overflow: visible !important;
}

.header-actions {
    position: relative;
    z-index: 99900 !important;
    overflow: visible !important;
}

.header-actions .dropdown {
    position: relative;
    z-index: 99950 !important;
}

.header-actions .dropdown-menu {
    z-index: 999999 !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 200px;
    margin-top: 5px !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.header-actions .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.header-nav {
    position: relative;
    z-index: 99500 !important;
}

.nav-menu .has-dropdown {
    z-index: 99700 !important;
}

.nav-menu .dropdown-submenu {
    z-index: 99999 !important;
}

.dropdown-menu {
    z-index: 99999 !important;
}

/* Sayfa içerikleri dropdown'ların altında */
section,
main,
.hero-slider,
.hero-section,
.features-section {
    position: relative;
    z-index: 1 !important;
}
