/**
 * Responsive CSS
 * Diş Hekimi Gülbin Bangi - Kurumsal Web Sitesi
 */

/* ==================== TABLET (max 1024px) ==================== */
@media (max-width: 1024px) {
    .konteyner {
        padding: 0 20px;
    }

    .section {
        padding: 80px 0;
    }

    /* Header */
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .btn-header-cta span {
        display: none;
    }

    .btn-header-cta {
        padding: 12px;
    }

    /* Hero */
    .hero-grid {
        gap: 40px;
    }

    .hero-gorsel-cerceve {
        width: 320px;
        height: 400px;
    }

    .hero-gorsel-dekor {
        width: 200px;
        height: 200px;
        top: -30px;
        right: -30px;
    }

    /* Özellik Grid */
    .ozellik-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hizmet Grid */
    .hizmet-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Doktor Bölüm */
    .doktor-bolum {
        gap: 40px;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Harita */
    .harita-bolum {
        grid-template-columns: 1fr;
    }

    .harita-iframe {
        height: 350px;
    }

    .harita-bilgi {
        padding: 40px;
    }
}

/* ==================== MOBİL BÜYÜK (max 768px) ==================== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-baslik {
        margin-bottom: 40px;
    }

    /* Üst Bant */
    .ust-bant-saat {
        display: none;
    }

    .ust-bant-ayirici {
        display: none;
    }

    /* Header */
    .ana-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--renk-beyaz);
        box-shadow: var(--golge-buyuk);
        padding: 80px 24px 24px;
        transition: var(--gecis-normal);
        z-index: 1000;
        overflow-y: auto;
    }

    .ana-nav.aktif {
        right: 0;
    }

    .nav-liste {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--renk-acik-border);
        border-radius: 0;
    }

    .nav-link:hover,
    .nav-link.aktif {
        background: transparent;
        color: var(--renk-soft-mavi);
    }

    .nav-dropdown {
        position: static;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        display: none;
    }

    .nav-dropdown.aktif .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 12px 0;
        border-bottom: 1px solid var(--renk-acik-border);
    }

    .dropdown-menu li a:hover {
        padding-left: 0;
        background: transparent;
    }

    .mobil-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 0;
        text-align: center;
    }

    .hero-gorsel {
        display: none !important;
    }

    .hero-icerik {
        text-align: center;
    }

    .hero-ust-baslik {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-butonlar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-butonlar .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-istatistikler {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 40px;
        padding-top: 30px;
    }

    .hero-istatistik {
        flex: 0 0 calc(33.33% - 12px);
    }

    .hero-istatistik-sayi {
        font-size: 1.8rem;
    }

    .hero-istatistik-yazi {
        font-size: 0.75rem;
    }

    /* Özellik Grid */
    .ozellik-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ozellik-kart {
        padding: 30px 24px;
    }

    /* Hizmet Grid */
    .hizmet-grid {
        grid-template-columns: 1fr;
    }

    /* Doktor Bölüm */
    .doktor-bolum {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .doktor-gorsel {
        order: -1;
    }

    .doktor-gorsel-dekor {
        display: none;
    }

    .doktor-deneyim-kutusu {
        left: 20px;
        bottom: -20px;
        padding: 16px 24px;
    }

    .doktor-ozellikler {
        grid-template-columns: 1fr;
    }

    /* Yorum */
    .yorum-kart {
        flex: 0 0 100%;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-butonlar {
        flex-direction: column;
        align-items: center;
    }

    .cta-butonlar .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer-ust {
        padding: 60px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-alt-icerik {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Form */
    .form-satir {
        grid-template-columns: 1fr;
    }

    /* WhatsApp & Yukarı Çık */
    .whatsapp-sabit {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .yukari-cik {
        right: 85px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ==================== MOBİL KÜÇÜK (max 480px) ==================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .konteyner {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }

    /* Üst Bant */
    .ust-bant {
        height: 36px;
    }

    .ust-bant-link {
        font-size: 0.8rem;
    }

    .ust-bant-link span {
        display: none;
    }

    .ust-bant-sag .whatsapp-link span {
        display: inline;
    }

    /* Header */
    .header-icerik {
        height: 70px;
    }

    .logo-ikon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .logo-baslik {
        font-size: 1.1rem;
    }

    .logo-alt {
        font-size: 0.7rem;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .hero-ust-baslik {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .hero-istatistikler {
        margin-top: 40px;
        padding-top: 24px;
    }

    .hero-istatistik-sayi {
        font-size: 2rem;
    }

    /* Butonlar */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-buyuk {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Kartlar */
    .ozellik-ikon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .hizmet-icerik {
        padding: 20px;
    }

    .hizmet-gorsel {
        height: 180px;
    }

    .blog-icerik {
        padding: 20px;
    }

    .blog-gorsel {
        height: 160px;
    }

    .yorum-kart {
        padding: 24px;
    }

    /* Banner */
    .sayfa-banner {
        padding: 100px 0 60px;
    }

    .breadcrumb {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Harita */
    .harita-iframe {
        height: 280px;
    }

    .harita-bilgi {
        padding: 32px 20px;
    }

    .harita-liste-ikon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* ==================== ANİMASYONLAR ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.gorunur {
    opacity: 1;
    transform: translateY(0);
}

/* Gecikmeli Animasyonlar */
.gecikme-1 {
    transition-delay: 0.1s;
}

.gecikme-2 {
    transition-delay: 0.2s;
}

.gecikme-3 {
    transition-delay: 0.3s;
}

.gecikme-4 {
    transition-delay: 0.4s;
}

.gecikme-5 {
    transition-delay: 0.5s;
}

.gecikme-6 {
    transition-delay: 0.6s;
}

/* ==================== PRINT STİLLERİ ==================== */
@media print {

    .ust-bant,
    .ana-header,
    .ana-footer,
    .whatsapp-sabit,
    .yukari-cik,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
    }

    img {
        max-width: 100% !important;
    }
}