/* FİZYOTERAPİ TEMASı - MOBİL OPTİMİZASYONLARI */

/* Tablet - 1024px ve altı */
@media (max-width: 1024px) {
    /* Hero ve Layout Düzenlemeleri */
    .hero-container,
    .about-content,
    .story-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Grid Düzenlemeleri */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .newsletter-form {
        min-width: auto;
        width: 100%;
        max-width: 500px;
    }

    /* Container Padding Ayarı */
    .container {
        padding: 0 15px;
    }
}

/* Mobile - 768px ve altı */
@media (max-width: 768px) {
    /* Navigation - Mobile Menu */
    .nav-menu {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        box-shadow: var(--shadow);
        padding: 1rem 0;
        z-index: 999;
        max-width: 100vw;
        overflow-x: hidden;
        list-style: none;
        margin: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
        list-style: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        color: var(--text-dark);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        border: none;
        background: none;
        transition: none;
    }

    .nav-menu a:hover,
    .nav-menu a:focus {
        background-color: var(--light-gray);
        color: var(--primary-color);
        text-decoration: none;
        border: none;
        outline: none;
    }

    .nav-menu a::after,
    .nav-menu a::before,
    .nav-link::after,
    .nav-link::before {
        display: none !important;
        content: none !important;
    }

    .nav-menu .nav-link {
        position: static;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 70vh;
        padding: 60px 0 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Page Headers Mobile */
    .page-header,
    .about-hero,
    .blog-header {
        padding: 60px 0 40px;
    }

    .about-hero-content h1,
    .blog-header-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Grid Layout Mobile */
    .services-grid,
    .blog-grid,
    .team-grid,
    .values-grid,
    .choose-grid,
    .reasons-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Team Cards Mobile */
    .team-card,
    .value-card,
    .reason-item {
        padding: 1.5rem;
    }

    .team-image .image-placeholder {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Stats Layout Mobile */
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Story Section Mobile */
    .story-image .image-placeholder {
        height: 250px;
        font-size: 4rem;
    }

    /* Form Layout Mobile */
    .mission-vision-grid,
    .contact-form-container,
    .appointment-form-container,
    .featured-content,
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Blog Content Mobile */
    .blog-content {
        padding: 1.5rem;
    }

    .blog-content h2 a {
        font-size: 1.2rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Newsletter Mobile */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form .btn {
        padding: 18px 25px;
    }

    /* CTA Buttons Mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Emergency Section Mobile */
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    /* Modal Mobile */
    .modal-buttons {
        flex-direction: column;
    }

    /* Image Placeholders Mobile */
    .image-placeholder {
        width: 300px;
        height: 300px;
        font-size: 6rem;
    }

    /* Contact Info Mobile */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    /* SEO Content Mobile */
    .seo-title {
        font-size: 1.8rem;
    }

    .seo-text {
        font-size: 1rem;
        text-align: center;
    }

    .keyword-tags {
        justify-content: center;
        gap: 0.5rem;
    }

    .keyword-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Appointment Page Mobile */
    .page-header h1 {
        font-size: 2rem;
    }

    .appointment-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row,
    .form-row.triple {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .appointment-form {
        padding: 1.5rem;
    }

    .sidebar-info {
        position: relative;
        top: auto;
        order: -1;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .form-section h3 {
        font-size: 1.2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .phone-link,
    .whatsapp-link {
        display: block;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* Small Mobile - 480px ve altı */
@media (max-width: 480px) {
    /* Container Extra Small */
    .container {
        padding: 0 10px;
    }

    /* Hero Extra Small */
    .hero {
        padding: 90px 0 50px;
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-text {
        font-size: 1rem;
    }

    /* Page Headers Extra Small */
    .page-header,
    .about-hero,
    .blog-header {
        padding: 90px 0 40px;
    }

    .about-hero-content h1,
    .blog-header-content h1 {
        font-size: 1.8rem;
    }

    .page-header-content h1 {
        font-size: 1.8rem;
    }

    /* Typography Extra Small */
    .section-title {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Section Padding Extra Small */
    .services,
    .about,
    .contact,
    .blog-posts,
    .about-content,
    .company-story,
    .contact-info-section {
        padding: 60px 0;
    }

    .mission-vision,
    .values-section,
    .team-section,
    .why-choose,
    .cta-section,
    .contact-form-section,
    .newsletter-section {
        padding: 50px 0;
    }

    /* Stats Extra Small */
    .stats-row,
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    /* Cards Extra Small */
    .service-card,
    .value-card,
    .value-item,
    .choose-item,
    .reason-item,
    .contact-card {
        padding: 1.5rem;
    }

    .team-info {
        padding: 1.5rem;
    }

    .contact-form,
    .contact-form-large {
        padding: 1.5rem;
    }

    .sidebar-info,
    .service-areas {
        padding: 1.5rem;
    }

    /* Blog Cards Extra Small */
    .blog-image .image-placeholder {
        height: 150px;
        font-size: 2.5rem;
    }

    .blog-content {
        padding: 1.2rem;
    }

    /* Image Placeholders Extra Small */
    .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 5rem;
    }

    /* CTA Section Extra Small */
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    /* Newsletter Extra Small */
    .newsletter-text h2 {
        font-size: 1.5rem;
    }

    /* Form Elements Extra Small */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }

    /* Modal Extra Small */
    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
        width: 95%;
    }

    /* Footer Extra Small */
    .footer-content {
        gap: 1.5rem;
    }

    .footer {
        padding: 40px 0 15px;
    }
}

/* Portrait Tablet - Height bazlı medya sorguları */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .page-header,
    .about-hero,
    .blog-header {
        padding: 100px 0 50px;
    }
}

/* Print Media */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .modal,
    .btn,
    .social-links {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .hero,
    .page-header,
    .about-hero,
    .blog-header {
        padding: 20px 0;
        background: #fff !important;
        color: #000 !important;
    }

    .section-title,
    .hero-content h1,
    .about-hero-content h1 {
        color: #000 !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .image-placeholder {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .nav-toggle.active .bar {
        transition: none;
    }
}

/* Dark Mode Support */
/* Dark Mode Support - DISABLED TO FIX BLACK BACKGROUNDS *//*@media (prefers-color-scheme: dark) {    :root {        --white: #1a1a1a;        --text-dark: #e0e0e0;        --text-light: #b0b0b0;        --light-gray: #2a2a2a;    }    .header {        background: var(--white);        border-bottom: 1px solid #333;    }    .nav-menu {        background: var(--white);    }    .modal-content {        background: var(--white);        border: 1px solid #333;    }    .service-card,    .value-card,    .team-card,    .blog-card,    .contact-card,    .contact-form,    .sidebar-info {        background: var(--white);        border: 1px solid #333;    }}*/

/* Focus States - Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .nav-link:focus,
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }

    .nav-toggle:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 3px;
    }
}