/* Comprehensive Responsive Design Strategy */
:root {
    /* Define responsive typography base sizes */
    --base-font-size-mobile: 14px;
    --base-font-size-tablet: 15px;
    --base-font-size-desktop: 16px;
}

/* Global Responsive Adjustments */
@media screen and (max-width: 1200px) {
    :root {
        font-size: var(--base-font-size-tablet);
    }
}

@media screen and (max-width: 768px) {
    :root {
        font-size: var(--base-font-size-mobile);
    }

    /* Universal Mobile Layouts */
    .grid-container,
    .flex-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    /* Typography Adjustments */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    /* Section Padding Reduction */
    section {
        padding: 40px 4%;
    }

    /* Navigation Transformation */
    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    nav ul.active {
        transform: translateX(0);
    }

    nav ul li {
        margin: 20px 0;
    }

    /* Header and Navigation */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1100;
    }

    /* Buttons and Interactive Elements */
    .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 10px 0;
    }

    /* Form Responsiveness */
    .contact-section,
    #booking form {
        grid-template-columns: 1fr;
    }

    /* Images and Media */
    img {
        max-width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    /* Ultra Mobile Specific Adjustments */
    :root {
        font-size: 13px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }

    /* Tighter Spacing */
    section {
        padding: 30px 3%;
    }
}

/* Touch Target Enhancements */
@media (pointer: coarse) {
    /* Increase touch target sizes */
    .btn, 
    nav a, 
    .clickable {
        min-height: 48px;
        min-width: 48px;
        padding: 12px 15px;
    }
}

/* Reduce Motion Preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
    body {
        color: CanvasText;
        background-color: Canvas;
    }
}