/*
 * Otomatik Kapı Satış - Ana CSS Dosyası
 * Animasyonlu ve modern bir tasarım için geliştirilmiştir
 */

/* ===== Temel Stil Resetlemesi ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #0056b3;
    transition: all 0.3s ease;
}

a:hover {
    color: #003d7a;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===== Renk Değişkenleri ===== */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003d7a;
    --accent-color: #ff6b00;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray-color: #e9ecef;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

/* ===== Üst Bilgi Çubuğu ===== */
.top-bar {
    background-color: var(--dark-color);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-contact {
    display: flex;
    flex-wrap: wrap;
}

.top-bar-contact li {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.top-bar-contact li i {
    margin-right: 5px;
    color: var(--accent-color);
}

.top-bar-social, .top-bar-menu {
    display: flex;
    justify-content: flex-end;
}

.top-bar-social li, .top-bar-menu li {
    margin-left: 15px;
}

.top-bar-social a {
    color: #fff;
    font-size: 14px;
}

.top-bar-social a:hover {
    color: var(--accent-color);
}

.top-bar-menu a {
    color: #fff;
}

.top-bar-menu a:hover {
    color: var(--accent-color);
}

/* ===== Site Başlığı ===== */
.site-header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-logo {
    max-width: none;
}

.search-form .form-control {
    border-radius: 30px 0 0 30px;
    height: 45px;
    border: 2px solid var(--light-gray-color);
    border-right: none;
    padding-left: 20px;
}

.search-form .btn {
    border-radius: 0 30px 30px 0;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    height: 45px;
    width: 60px;
}

.search-form .btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.header-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-button {
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
    color: var(--dark-color);
    position: relative;
}

.header-button i {
    font-size: 24px;
    margin-right: 10px;
}

.header-button .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

.cart-total {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== Ana Menü ===== */
.main-menu {
    background-color: var(--primary-color);
    position: relative;
    z-index: 1 !important; /* Modal (1055) üzerine çıksın */
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-menu > li:hover > a,
.nav-menu > li.active > a {
    background-color: var(--secondary-color);
}

.nav-menu > li > a:after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

.nav-menu > li:hover > a:after,
.nav-menu > li.active > a:after {
    width: 100%;
}

.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    font-size: 14px;
    border-bottom: 1px solid var(--light-gray-color);
    transition: all 0.3s ease;
}

.nav-menu .submenu li:last-child a {
    border-bottom: none;
}

.nav-menu .submenu li a:hover {
    color: var(--primary-color);
    background-color: var(--light-color);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
}

/* ===== Mobil Menü ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 0;
}

.mobile-menu.active {
    right: 0;
}

/* Mobil menü backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobil menü header */
.mobile-menu-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-header h4 {
    margin: 0;
    font-size: 18px;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

/* Mobil arama formu */
.mobile-search {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray-color);
}

.mobile-search .input-group input {
    border-radius: 25px 0 0 25px;
    border: 1px solid var(--light-gray-color);
}

.mobile-search .input-group button {
    border-radius: 0 25px 25px 0;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Mobil navigasyon */
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.mobile-nav li a {
    display: block;
    padding: 15px 20px;
    color: var(--dark-color);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav li.active > a {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(0, 86, 179, 0.05);
}

.mobile-nav li a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 86, 179, 0.05);
    padding-left: 25px;
}

/* Dropdown toggle */
.dropdown-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active {
    transform: translateY(-50%) rotate(180deg);
}

/* Mobil submenu */
.mobile-submenu {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu li a {
    padding: 12px 20px 12px 40px;
    font-size: 14px;
    color: var(--gray-color);
}

/* ===== Flash Mesajlar ===== */
.flash-message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
}

/* ===== Ana Sayfa Slider ===== */
.hero-slider {
    position: relative;
    min-height: 500px;
    
    background-color: #f8f9fa;
}

.hero-slider .owl-carousel,
.main-slider {
    opacity: 1 !important;
    visibility: visible !important;
}

.main-slider .slider-item {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}

/* Boş slider durumunda fallback */
.hero-slider:empty::after {
    content: 'Slider yükleniyor...';
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 18px;
}

.slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slider-text {
    max-width: 500px;
}

.slider-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.slider-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.slider-button {
    /* Herhangi bir özel stil eklenebilir */
}

/* Owl Carousel Navigation */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    margin: 0;
    pointer-events: none;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7) !important;
    color: var(--dark-color) !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    font-size: 24px !important;
    transition: all 0.2s ease;
    opacity: 0;
    border: none !important;
    pointer-events: auto;
    z-index: 3;
}

.owl-carousel:hover .owl-nav button.owl-prev,
.owl-carousel:hover .owl-nav button.owl-next {
    opacity: 1;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 20px;
}

.owl-carousel .owl-nav button.owl-next {
    right: 20px;
}

.owl-carousel .owl-nav button:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Owl Carousel Dots */
.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.owl-carousel .owl-dots .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
    background-color: #fff;
    width: 15px;
    height: 15px;
}


/* Hero slider direkt yüklenir */

/* ===== Kategori Kutuları ===== */
.category-boxes {
    padding: 50px 0;
}

.category-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, opacity;
}

.category-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.category-products {
    font-size: 14px;
    color: var(--gray-color);
}

/* ===== Bölüm Başlıkları ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-description {
    font-size: 16px;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ===== Ürün Kartları ===== */
.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    /* İlk yüklendiğinde gizli olsun, JS ile gösterilecek */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
    will-change: transform, opacity, box-shadow;
}

/* JS ile eklenen sınıf */
.product-card.animated, 
.product-card.show {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.badge {
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.badge-new {
    background-color: var(--info-color);
    color: #fff;
}

.badge-discount {
    background-color: var(--danger-color);
    color: #fff;
}

.badge-soldout {
    background-color: #dc3545;
    color: white;
}

.badge-limited {
    background-color: #ffc107;
    color: #343a40;
}

.product-stock {
    margin-top: 8px;
    font-size: 0.8rem;
}

.stock-status {
    padding: 3px 6px;
    border-radius: 3px;
}

.stock-status.in-stock {
    background-color: #28a745;
    color: white;
}

.stock-status.out-of-stock {
    background-color: #dc3545;
    color: white;
}

.add-to-cart-btn.disabled {
    background-color: #6c757d;
    pointer-events: none;
    opacity: 0.65;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px; /* Sabit yükseklik veriyoruz */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Ürün resmi lazy loading animasyonu */
.product-image img:not(.loaded) {
    filter: blur(10px);
    transition: filter 0.4s ease;
}

.product-image img.loaded {
    filter: blur(0);
}

/* Ürün kartı loading durumu - iskelet yapı */
.product-card.loading .product-image {
    background-color: #f0f0f0;
    animation: pulse 1.5s infinite;
}

.product-card.loading .product-content {
    position: relative;
}

.product-card.loading .product-title, 
.product-card.loading .product-price,
.product-card.loading .product-category {
    background-color: #f0f0f0;
    height: 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}

.product-card.loading .product-title {
    width: 80%;
}

.product-card.loading .product-price {
    width: 50%;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.product-card:hover .product-actions {
    bottom: 0;
    opacity: 1;
}

.product-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: var(--dark-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.product-actions a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotate(360deg);
}

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.product-category a {
    color: var(--gray-color);
}

.product-category a:hover {
    color: var(--primary-color);
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title a {
    color: var(--dark-color);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
}

.old-price {
    font-size: 14px;
    color: var(--gray-color);
    text-decoration: line-through;
    margin-right: 10px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== Ürün Tabları ===== */
.product-tabs {
    margin-bottom: 40px;
}

.nav-tabs {
    border-bottom: 2px solid var(--light-gray-color);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.nav-tabs .nav-item {
    margin: 0 5px;
}

.nav-tabs .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 0;
    position: relative;
    top: 2px;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* ===== Özel Banner ===== */
.special-banner {
    background-color: var(--primary-color);
    padding: 50px 0;
    margin: 50px 0;
    color: #fff;
}

.banner-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.banner-text {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.banner-image img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== Marka Bandı ===== */
.brand-bar {
    padding: 30px 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 50px 0;
}

.brand-item {
    text-align: center;
    padding: 15px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.brand-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.brand-item img {
    max-height: 80px;
    margin: 0 auto;
}

/* ===== Duyuru Bandı ===== */
.announcement-bar {
    background-color: var(--dark-color);
    color: #fff;
    padding: 15px 0;
}

.announcement-item {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.announcement-item i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* ===== Özellikler Bölümü ===== */
.features-section {
    padding: 50px 0;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, opacity;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 14px;
    color: var(--gray-color);
}

/* ===== Blog Bölümü ===== */
.blog-section {
    padding: 50px 0;
}

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--dark-color);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--dark-color);
    color: #fff;
}

.footer-top {
    padding: 50px 0;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 150px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 14px;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--accent-color);
    margin-top: 5px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.newsletter-form {
    margin-bottom: 20px;
}

.newsletter-form .form-control {
    height: 45px;
    border-radius: 0;
    border: none;
}

.newsletter-form .btn {
    height: 45px;
    border-radius: 0;
    background-color: var(--accent-color);
    border: none;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods h5 {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
}

.footer-social li {
    margin-left: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* ===== WhatsApp Destek ===== */
.whatsapp-support {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
    animation: pulse 1.5s infinite;
}

/* ===== Yukarı Çık ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* ===== Animasyonlar ===== */
.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .nav-menu > li > a {
        padding: 15px 15px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .main-menu {
        position: relative;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        text-align: right;
        color: #fff;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 15px;
    }
    
    .top-bar-contact {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .top-bar-social, .top-bar-menu {
        justify-content: center;
    }
    
    .site-header {
        padding: 15px 0;
    }
    
    .site-logo {
        margin: 0 auto;
        text-align: center;
        margin-bottom: 15px;
        max-width: none;
    }
    
    .search-form {
        margin-bottom: 15px;
    }
    
    .header-buttons {
        justify-content: center;
    }
    
    .main-slider .slider-item {
        height: 400px;
    }
    
    .slider-title {
        font-size: 28px;
    }
    
    .slider-description {
        font-size: 16px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-image {
        margin-top: 30px;
    }
    
    .copyright {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .top-bar {
        padding: 5px 0;
    }
    
    .top-bar-contact li {
        margin-bottom: 5px;
    }
    
    .main-slider .slider-item {
        height: 350px;
    }
    
    .slider-title {
        font-size: 24px;
    }
    
    .slider-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .feature-box:hover {
        transform: none;
    }
    
    .blog-card:hover {
        transform: none;
    }
    
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
    }
}

@media (max-width: 575px) {
    .main-slider .slider-item {
        height: 300px;
    }
    
    .slider-title {
        font-size: 20px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .product-tabs .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .product-tabs .nav-item {
        flex: 0 0 auto;
    }
    
    .product-tabs .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* ===== Bootstrap 5 Uyumluluk Düzeltmeleri ===== */
.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.fade.show {
    opacity: 1;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* ===== Animasyon Sınıfları ===== */
.pulse {
    animation: pulse 1.5s infinite;
}

.bounce {
    animation: bounce 1s;
}

.fade-in {
    animation: fadeIn 1s;
}

.slide-up {
    animation: slideUp 1s;
}

@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== Ek Animasyonlar ===== */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Tab geçişlerinde animasyon */
.fade {
    transition: opacity 0.15s linear;
}

/* ===== Yeni Buton Stilleri ===== */
.btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

.btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #e05f00;
    border-color: #e05f00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* ===== Animasyon hazırlıkları için yükleme durumunda iskelet ekranlar */
.skeleton-loading {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.skeleton-loading::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    100% {
        transform: translateX(100%);
    }
}

/* Ürün iskelet yükleyici */
.product-skeleton {
    height: 320px;
}

.product-skeleton-image {
    height: 180px;
    margin-bottom: 15px;
}

.product-skeleton-title {
    height: 20px;
    margin-bottom: 10px;
    width: 80%;
}

.product-skeleton-price {
    height: 15px;
    width: 50%;
    margin-bottom: 10px;
}

/* Slider direkt yüklenir - blur yok */
.slider-item {
    background-position: center;
    background-size: cover;
} 