/* ====================================
   RESPONSIVE TASARIM
   ==================================== */

/* Tablet (992px ve altı) */
@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    /* Header */
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--medium-gray);
        justify-content: space-between;
    }

    .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }

    .nav-item.active .mega-menu {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-phone {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .hero-stats {
        position: static;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-card {
        height: 300px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* CTA */
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Product Detail */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }
}

/* Mobil (768px ve altı) */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        padding: 20px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        height: 280px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        text-align: center;
    }

    /* CTA Form */
    .cta-form {
        padding: 24px;
    }

    /* Page Header */
    .page-header {
        padding: 80px 0 40px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
}

/* Küçük Mobil (480px ve altı) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .product-card {
        height: 250px;
    }

    .product-card-title {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* Buton Animasyonları */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 95, 42, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(26, 95, 42, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 95, 42, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Scroll Animasyonları */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Sayfa Yükleme Animasyonu */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Print Styles */
@media print {

    .header,
    .footer,
    .hero,
    .mobile-menu-btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section {
        page-break-inside: avoid;
    }
}