/* Responsive Design */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

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

/* Medium devices (tablets, 768px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

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

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        justify-content: center;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    }

    nav ul.show {
        display: flex;
    }

    nav li {
        width: 100%;
        text-align: center;
    }

    nav a {
        display: block;
        padding: 0.75rem;
    }

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

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

    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-image {
        max-width: 300px;
    }
    
    .hero-image img {
        max-height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
/* Container responsive adjustments */
@media (max-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large desktop adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: clamp(2.5rem, 4.5vw, 3rem);
    }

    .featured-images {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .logo h1 {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

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

@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }

    .logo img {
        height: 40px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

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

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

    .section-title {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    nav ul.gap-2rem {
        gap: 0.5rem;
    }

    nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Ultra small devices */
@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }

    .logo img {
        height: 40px;
    }

    .footer-content {
        gap: 1.5rem;
    }
}

/* Print styles */
@media print {
    header {
        position: static;
        box-shadow: none;
    }

    nav,
    .menu-toggle,
    footer {
        display: none;
    }

    .hero-section {
        background: none;
        padding: 1rem 0;
    }

    .content-section {
        break-inside: avoid;
    }
}