/* Mobil Responsive CSS - Tüm sayfalar için ortak */

/* Mobil Genel Düzenlemeler */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .header {
        width: 100%;
        max-width: 100%;
    }
    
    .header .container {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .header .container {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

/* Mobil Menü Stilleri */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    z-index: 10001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    padding-top: 80px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav ul li {
    margin-bottom: 30px;
}

.mobile-nav ul li a {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 30px;
    display: block;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    color: #9c27b0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.mobile-contact {
    text-align: center;
    margin-top: 50px;
    padding: 0 30px;
}

.mobile-phone {
    color: #9c27b0;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.mobile-phone:hover {
    background: #9c27b0;
    color: white;
}

/* Genel Mobil Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .main-nav ul {
        gap: 20px;
    }
    
    .main-nav a {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 70px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        height: 50px;
        flex-shrink: 0;
    }
    
    .header-spacer {
        height: 70px;
    }
    
    .main-nav {
        display: none;
    }
    
    .contact-info {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: auto;
    }
    
    /* Genel içerik responsive */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header .container {
        height: 60px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        height: 40px;
        flex-shrink: 0;
    }
    
    .header-spacer {
        height: 60px;
    }
    
    .contact-info {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: auto;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}
