
/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 56px;
    }
    
    .product-tabs {
        padding: 20px;
    }
    
    .product-tab {
        padding: 20px 10px;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .info-percent {
        font-size: 42px;
    }
    
    .kullanim-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .comparison-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 991px) {
    .header {
        background: rgba(27, 46, 27, 0.95);
        padding: 10px 0;
    }
    
    .navbar-collapse {
        background: rgba(27, 46, 27, 0.98);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 15px;
    }
    
    .header-right {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-content {
        padding-bottom: 350px;
    }
    
    .product-slider-wrapper {
        position: relative;
    }
    
    .product-tabs {
        flex-wrap: wrap;
    }
    
    .product-tab {
        flex: 1 1 calc(33.333% - 14px);
        min-width: 100px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .floating-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-content {
        padding-bottom: 50px;
    }
    
    .product-tabs {
        flex-direction: column;
    }
    
    .product-tab {
        flex: 1 1 100%;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        padding: 15px;
    }
    
    .tab-icon {
        margin: 0;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .info-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .kullanim-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px;
        font-size: 13px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 32px;
    }
    
    .btn-demo {
        padding: 15px 35px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .btn-subscribe {
        border-radius: 30px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* Hover Effects */
.btn-demo:hover,
.btn-cta-primary:hover,
.btn-teklif:hover {
    animation: pulse 0.5s ease;
}

/* Smooth transitions for all interactive elements */
a, button, .feature-card, .product-card, .blog-card, .testimonial-card, .kullanim-item {
    transition: var(--transition);
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .scroll-top,
    .cta-section,
    .footer {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}



/* Galeri Grid ve Kart Optimizasyonu */
@media (max-width: 991px) {
    .gallery-image {
        height: 200px; /* Tabletlerde biraz daha küçük yükseklik */
    }
}

@media (max-width: 767px) {
    /* Filtreleme Butonlarını Mobilde Kaydırılabilir Yap */
    .btn-filter-wrapper {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
        gap: 10px;
    }
    
    .btn-filter {
        padding: 8px 18px;
        font-size: 14px;
        flex: 0 0 auto; /* Butonların daralmasını engeller */
    }

    /* Mobilde Kart Yüksekliği ve Kenar Boşlukları */
    .gallery-image {
        height: 220px; /* Mobilde daha iyi bir en-boy oranı */
    }
    
    .gallery-info {
        padding: 15px;
    }
    
    .gallery-info h6 {
        font-size: 1rem;
    }
    
    /* Grid boşluklarını mobilde daralt */
    #gallery-wrapper {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

/* Küçük telefonlar için (iPhone SE vb.) */
@media (max-width: 480px) {
    .gallery-image {
        height: 180px;
    }
}

/* AJAX Yüklenirken Görünen Spinner */
#gallery-loader {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (hover: none) {
  a:hover, button:hover, .hover-scale:hover, .hover-lift:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 575px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
}

@media (max-width: 575px) {
  .product-selector, .hero-buttons, .comparison-section .row {
    flex-direction: column;
    align-items: stretch;
  }
}
