/* Responsive Styles */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }

    .hero-content {
        gap: 40px;
    }

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

    /* Inline grid-template-columns'u ezmek için !important */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    /* Header */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 80px 30px 30px;
        overflow-y: auto;
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--gray-100);
        margin-top: 10px;
        margin-left: 20px;
    }
    
    .phone-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero */
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .why-us-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-us-content {
        order: 2;
    }
    
    .why-us-image {
        order: 1;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-image {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    /* Sections */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-desc {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px auto;
    }
    
    .consultation-form {
        padding: 20px;
    }
    
    /* Footer */
    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
    }
    
    /* WhatsApp Button */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

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

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

    .btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* ==========================================================================
   Mobil Ek Düzeltmeler — Robotik Rehabilitasyon Landing
   ========================================================================== */

/* Tablet & Mobil */
@media (max-width: 1024px) {
    /* Logoyu küçült */
    .logo img {
        width: 60% !important;
        margin-top: 10px !important;
    }
    .logo-sub { font-size: 0.7rem; letter-spacing: 1.5px; }
}

@media (max-width: 768px) {
    /* Header — mobilde CTA butonunu da kompakt yap */
    .nav-actions { gap: 0.5rem; }

    .cta-btn {
        padding: 0.55rem 1rem;
        font-size: 13px;
    }

    /* Logo */
    .logo img {
        width: 130px !important;
        margin-top: 8px !important;
    }

    /* Hero düzenlemeleri */
    .hero {
        padding: 40px 0 50px;
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 25px;
    }
    .stat-number { font-size: 1.75rem; }
    .stat-label { font-size: 0.75rem; }

    .scroll-indicator { display: none; }

    /* Section padding daralt */
    section { padding: 50px 0; }

    /* Service kartları mobilde */
    .service-card {
        padding: 30px 25px;
    }
    .service-card.featured {
        transform: none;
    }
    .service-card.featured:hover {
        transform: translateY(-5px);
    }

    /* CTA section */
    .cta-section .btn {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    /* Modal — Mobilde tam ekran */
    .modal {
        padding: 0;
        align-items: flex-start;
    }
    .modal-content {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 100vh;
        border-radius: 0 !important;
        overflow-y: auto;
    }
    .modal-header h3 { font-size: 1.2rem; }
    .consultation-form input,
    .consultation-form select,
    .consultation-form textarea {
        font-size: 16px !important; /* iOS zoom önle */
        padding: 14px 16px !important;
    }
    .consultation-form .btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    .checkbox-label {
        align-items: flex-start;
        gap: 10px;
    }
    .checkbox-label input[type="checkbox"] {
        margin-top: 4px;
        flex-shrink: 0;
    }
    .checkbox-label span {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Cookie banner mobil */
    .cookie-banner {
        padding: 15px;
    }
    .cookie-banner-content {
        flex-direction: column;
        gap: 12px;
    }
    .cookie-text strong { font-size: 0.95rem; }
    .cookie-text p { font-size: 0.8rem; line-height: 1.4; }
    .cookie-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    .cookie-btn {
        width: 100%;
        padding: 14px;
        font-size: 0.9rem;
    }

    /* WhatsApp butonu cookie banner ile çakışmasın */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
    }

    /* FAQ */
    .faq-question {
        padding: 18px 20px;
        font-size: 0.95rem;
        gap: 15px;
    }
    .faq-answer { padding: 0 20px 18px; }
    .faq-answer p { font-size: 0.9rem; line-height: 1.7; }

    /* Footer */
    .footer-top { gap: 30px; }
    .footer-col h3 { font-size: 1.1rem; }
    .medical-disclaimer { padding: 15px; }
    .medical-disclaimer p { font-size: 0.8rem; }

    /* Hero badge float (JCI rozeti) — mobilde sıkıntı yapmasın */
    .hero-badge-float {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 12px;
    }
    .hero-badge-float i { font-size: 1rem; }

    /* CTA-box bölümü */
    .cta-box {
        padding: 25px 20px;
    }
    .cta-box .btn {
        width: 100%;
        justify-content: center;
    }

    /* Page hero (alt sayfalarda) */
    .page-hero {
        padding: 40px 0 50px !important;
    }
    .page-hero h1 {
        font-size: 1.75rem !important;
    }

    /* Süreç (process) timeline */
    .process-timeline {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .process-item {
        padding: 25px 20px;
    }

    /* Page-content (alt sayfa içerikleri) */
    .page-content { padding: 50px 0 !important; }
    .page-content h2 { font-size: 1.4rem !important; }
    .page-content p, .page-content li { font-size: 0.95rem !important; }

    /* Iletisim sayfası kartlar */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Küçük mobil */
@media (max-width: 480px) {
    .nav-actions .phone-btn { display: none; }

    .hero-title { font-size: 1.65rem; }
    .hero-desc { font-size: 0.9rem; }

    .stat-item {
        flex: 0 0 calc(50% - 12px);
        text-align: center;
    }
    .stat-number { font-size: 1.5rem; }

    .hero-badge-float {
        position: static;
        margin-top: 15px;
        display: inline-flex;
    }

    /* WhatsApp butonu daha küçük */
    .whatsapp-btn {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    .section-title { font-size: 1.5rem; }
    .section-badge { font-size: 12px; padding: 6px 14px; }

    .service-card h3 { font-size: 1.2rem; }
    .service-features li { font-size: 0.9rem; }

    /* CTA bölümü başlık */
    .cta-content h2 { font-size: 1.5rem; }

    /* Footer kolonları */
    .footer-col p, .footer-links li, .contact-info li { font-size: 0.9rem; }
}

/* iOS Safari'de pozisyon sabit elementlerin tap-friendly olması */
@media (max-width: 768px) {
    .whatsapp-btn,
    .cookie-banner button,
    .nav-actions button,
    .btn {
        min-height: 44px; /* Apple HIG + Google Material tap target */
    }
}
