﻿/* =============================================
   SCORPION MC — Mobile Responsive Overrides
   Mevcut tasarımı değiştirmeden mobil uyumluluk
   ============================================= */

/* ---- Mobile Nav Menu (hamburger açılınca) ---- */
@media (max-width: 1024px) {
    .nav-links {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.3rem !important;
        letter-spacing: 4px !important;
    }

    /* Hamburger animasyon (X haline dönüşme) */
    .menu-toggle {
        z-index: 1001;
        position: relative;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ---- Genel Mobil Düzeltmeler ---- */
@media (max-width: 768px) {
    /* Container padding küçült */
    .container {
        padding: 0 1.2rem !important;
    }

    /* Section padding azalt */
    .section-padding {
        padding: 4rem 0 !important;
    }

    /* Footer */
    footer {
        padding: 3rem 0 2rem !important;
    }

    .footer-logo {
        font-size: 1.8rem !important;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem !important;
        align-items: center;
    }

    /* Glass card */
    .glass-card {
        padding: 2rem !important;
    }

    /* Button */
    .btn-primary {
        padding: 0.8rem 2rem !important;
        font-size: 1.1rem !important;
    }
}

/* ==========================
   INDEX.HTML — Hero Section
   ========================== */
@media (max-width: 768px) {
    /* Hero başlık */
    #hero .container h1 {
        font-size: 3rem !important;
    }

    #hero .container p {
        letter-spacing: 3px !important;
        font-size: 0.9rem !important;
    }

    #hero .container img {
        width: 150px !important;
        margin-bottom: 1rem !important;
    }

    /* Hakkımızda bölümü */
    .about-section h2 {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .about-section p {
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }
}

/* ==========================
   INDEX.HTML — Galeri Grid
   ========================== */
@media (max-width: 768px) {
    /* 2 kolonlu grid'i tekli kolona çevir */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ==========================
   TUZUK.HTML — Kitap
   ========================== */
@media (max-width: 768px) {
    .book-stage {
        padding: 1rem 0 3rem !important;
    }

    #book-container {
        max-width: 90vw !important;
        transform: scale(0.65);
        transform-origin: center center;
    }

    .nav-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }

    #prev {
        left: 2% !important;
    }

    #next {
        right: 2% !important;
    }
}

/* ==========================
   THEC.HTML — Model Viewer
   ========================== */
@media (max-width: 768px) {
    .viewer-layout {
        gap: 2rem !important;
    }

    .viewer-info h1 {
        font-size: 2.5rem !important;
    }

    .viewer-info p {
        font-size: 1rem !important;
    }

    model-viewer {
        height: 350px !important;
    }
}

/* ==========================
   EKIP.HTML — Team Grid
   ========================== */
@media (max-width: 480px) {
    .team-header {
        margin-bottom: 4rem !important;
        padding-top: 3rem !important;
    }

    .team-header h1 {
        font-size: 2.8rem !important;
        letter-spacing: 8px !important;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .member-card {
        padding: 2.5rem 1.5rem !important;
    }

    .member-info h3 {
        font-size: 2rem !important;
        letter-spacing: 3px !important;
    }

    .member-portrait {
        width: 160px !important;
        height: 160px !important;
    }
}

/* ==========================
   GALERI.HTML — Gallery
   ========================== */
@media (max-width: 480px) {
    .gallery-header {
        margin-bottom: 4rem !important;
        padding-top: 5rem !important;
    }

    .gallery-header h1 {
        font-size: 2.8rem !important;
    }

    #lightbox {
        padding: 15px !important;
    }

    .close-lightbox {
        top: 15px !important;
        right: 15px !important;
        font-size: 2rem !important;
    }
}

/* ==========================
   HIKAYE.HTML — Timeline
   ========================== */
@media (max-width: 480px) {
    .story-header h1 {
        font-size: 2.5rem !important;
        letter-spacing: 6px !important;
    }

    .node-title {
        font-size: 1.4rem !important;
    }

    .node-story {
        font-size: 0.95rem !important;
    }

    .present-title {
        font-size: 2rem !important;
        letter-spacing: 4px !important;
    }

    .present-story p {
        font-size: 1rem !important;
    }
}

/* ==========================
   ILETISIM.HTML — Contact
   ========================== */
@media (max-width: 480px) {
    .contact-header {
        margin-bottom: 4rem !important;
        padding-top: 5rem !important;
    }

    .contact-header h1 {
        font-size: 2.2rem !important;
        letter-spacing: 5px !important;
    }

    .contact-card {
        padding: 2.5rem 1.5rem !important;
    }

    .contact-card h3 {
        font-size: 1.8rem !important;
        letter-spacing: 3px !important;
    }

    .social-list li a {
        font-size: 1.4rem !important;
    }
}
