/* 
 * responsive.css - Responsive styles for Just English İngilizce Yaz Kampı
 * Website: ingilizceyazkampi.net
 */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-right: auto;
    }
    
    .cta-button {
        margin-left: auto;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: var(--spacing-sm);
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin-left: 0;
        margin-bottom: var(--spacing-xs);
    }
    
    .mobile-menu-toggle {
        display: block;
        margin-left: var(--spacing-md);
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-image {
        margin-top: var(--spacing-md);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .about-image {
        margin-top: var(--spacing-md);
        order: -1;
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .program-features, 
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        padding: var(--spacing-sm);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-logo, .footer-links, .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item img {
        height: 150px;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }
    
    .container {
        width: 100%;
        padding: 0 var(--spacing-sm);
    }
    
    .site-header {
        padding: var(--spacing-xs) 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .cta-button .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
    
    .programs-section,
    .why-choose-section,
    .testimonials-section,
    .about-section,
    .faq-section,
    .contact-section,
    .program-details {
        padding: var(--spacing-lg) 0;
    }
    
    .cta-section {
        padding: var(--spacing-md) 0;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    .popup-form {
        width: 95%;
    }
    
    .whatsapp-button a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 250px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .cta-section,
    .whatsapp-button,
    .footer-links,
    .footer-contact,
    .social-links,
    .popup-overlay {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: underline;
        color: #000 !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .hero-section,
    .programs-section,
    .why-choose-section,
    .testimonials-section,
    .about-section,
    .program-details {
        padding: 1cm 0;
        page-break-inside: avoid;
    }
    
    .hero-section .container,
    .about-content {
        flex-direction: row;
    }
    
       .footer-logo {
        text-align: center;
        width: 100%;
    }
    
    .footer-bottom {
        margin-top: 1cm;
        border-top: 1pt solid #ccc;
        padding-top: 0.5cm;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
    
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
}
