/* ============================
   MOBİL MENÜ STİLLERİ
   ============================ */

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

    .menu-toggle i {
        font-size: 24px;
        color: #fff;
        transition: all 0.3s ease;
    }

    .menu-toggle:hover i {
        color: #d4af37;
    }

/* Mobil Görünüm */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: #1a1a1a;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding-top: 80px;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

        .navbar.active {
            right: 0;
        }

    .nav-menu {
        flex-direction: column;
        padding: 20px;
    }

        .nav-menu li {
            margin: 0;
            width: 100%;
        }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

        .nav-link:hover,
        .nav-link.active {
            background-color: rgba(212, 175, 55, 0.1);
            padding-left: 25px;
            border-color: #d4af37;
        }

    /* Header Logo düzenlemesi */
    .logo {
        flex: 1;
    }

    .logo-text {
        display: none;
    }

    .logo-img {
        max-height: 50px;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .navbar {
        width: 280px;
    }

    .logo-img {
        max-height: 45px;
    }
}

/* Tablet Görünümü */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar {
        width: 320px;
    }
}

/* Desktop Görünümünde Menü */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .navbar {
        display: flex !important;
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        padding: 0;
        overflow: visible;
    }

    .nav-menu {
        flex-direction: row;
        padding: 0;
    }

    .nav-link {
        padding: 10px 15px;
        border: none;
    }

        .nav-link:hover,
        .nav-link.active {
            padding-left: 15px;
            background: transparent;
        }
}

/* ============================
   DİĞER MOBİL DÜZENLEMELER
   ============================ */

@media (max-width: 991px) {
    /* Header düzenlemesi */
    .header {
        position: relative;
        background-color: #1a1a1a;
    }

    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .social-links {
        justify-content: center;
    }

    /* WhatsApp ve back-to-top butonları */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .back-to-top {
        bottom: 80px; /* WhatsApp butonundan yukarıda */
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    /* Genel padding ayarları */
    section {
        padding: 40px 0;
    }

    /* Başlık boyutları */
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    /* Buton boyutları */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Ürün grid düzenlemesi */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Hizmetler grid düzenlemesi */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlar */
    body {
        font-size: 14px;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo-title {
        font-size: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Hizmetler tek sütun */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* İletişim formu düzenlemesi */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Slider düzenlemeleri */
    .slider-title {
        font-size: 32px;
    }

    .slider-text {
        font-size: 16px;
    }

    /* WhatsApp ve back-to-top butonları küçük ekranlar */
    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .back-to-top {
        bottom: 70px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Mobil için landscape mod */
@media (max-width: 768px) and (orientation: landscape) {
    .navbar {
        width: 280px;
        padding-top: 60px;
    }

    .nav-link {
        padding: 12px 20px;
    }
}
