/* ─── Responsive Breakpoints ──────────────────────────────────────────────── */

/* Large screens: slight adjustments for tablets */
@media (max-width: 1300px) and (min-width: 1025px) {
    nav {
        padding: 0 50px;
    }
}

/* Medium screens: tablet portrait and small laptops */
@media (max-width: 1230px) {

    /* Navigation */
    nav {
        padding: 0 30px;
    }

    .menu-toggle {
        display: flex;
        margin-left: 30px;
    }

    nav ul {
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #1f1f1f;
        gap: 16px;
        padding: 16px 0;
        align-items: center;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    nav ul.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    nav ul li a {
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
        padding: 8px 0;
    }

    /* Hero section adjustments */
    header.hero {
        flex-direction: column;
        padding: 30px;
        height: 500px;
    }

    .headline-container {
        gap: 50px;
    }

    /* Typography scaling */
    .text-container h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        width: 90vw;
    }

    .text-container h2 {
        font-size: clamp(.9rem, 3.5vw, 1rem);
        width: 90vw;
    }

    .process-title {
        font-size: clamp(1.5rem, 3.5vw, 1rem);
        width: 90vw;
    }

    .atraction-title {
        font-size: clamp(1.5rem, 3.5vw, 1rem);
        width: 90vw;
    }

    .cta-title {
        font-size: clamp(1.5rem, 3.5vw, 1rem);
        width: 90vw;
    }

    /* Button resizing */
    .cta-button {
        font-size: clamp(.875rem, 3vw, 1.25rem);
        padding: clamp(.5rem, 2vw, .75rem) clamp(1rem, 5vw, 1.5rem);
        max-width: 50vw;
    }

    /* About and benefits stacking */
    .benefits-list {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
        width: fit-content;
    }
}

/* Small screens: mobile portrait */
@media (max-width: 1360px) {

    /* Attraction sections stacking */
    .atraction-section {
        flex-direction: column;
        gap: 40px;
        padding: 20px 10px;
    }

    .atraction-list-container {
        align-items: center;
        text-align: center;
    }

    .atraction-image img {
        width: 100%;
        max-width: 512px;
        height: auto;
        flex-shrink: 0;
    }

    /* Process steps stacking and video responsiveness */
    .process-steps {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .cta-video {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        padding: 0px 20px;
    }
}

/* ─── Footer Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1120px) {
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer__brand,
    .footer__contacts,
    .footer>.cta-button {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    /* Ensure contacts visible on mobile */
    .footer__contacts {
        display: flex;
    }

    .contacts__link {
        display: inline-block;
    }

    .footer .cta-button {
        max-width: 200px;
    }
}