/* Responsive Design */

/* Tablets and Below */
@media (max-width: 1024px) {
    :root {
        --space-4xl: 3rem;
        --space-3xl: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-image {
        order: -1;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
        z-index: var(--z-dropdown);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: var(--font-size-4xl);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-4xl: 2rem;
        --space-3xl: 1.5rem;
        --space-2xl: 1.5rem;
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
    }

    .nav-container {
        padding: var(--space-md) var(--space-md);
    }

    .logo {
        font-size: var(--font-size-xl);
    }

    .hero {
        min-height: auto;
        padding: var(--space-3xl) var(--space-md);
    }

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

    .hero-description {
        font-size: var(--font-size-base);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: flex-start;
    }

    .featured-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .attractions-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .experience-content h2 {
        font-size: var(--font-size-3xl);
    }

    .experience-list li {
        font-size: var(--font-size-sm);
        padding: var(--space-sm) 0;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .cta-container h2 {
        font-size: var(--font-size-3xl);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer {
        padding: var(--space-3xl) var(--space-md) var(--space-lg);
    }

    .section-header h2 {
        font-size: var(--font-size-3xl);
    }

    .section-header p {
        font-size: var(--font-size-base);
    }

    .hero-stats {
        border-top: none;
        padding-top: 0;
    }

    .hero-stats .stat {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --space-4xl: 1.5rem;
        --space-3xl: 1rem;
        --space-2xl: 1rem;
        --space-xl: 1rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.25rem;
        --font-size-2xl: 1.125rem;
    }

    .nav-container {
        padding: var(--space-md);
    }

    .logo {
        font-size: var(--font-size-lg);
    }

    .nav-links {
        top: 60px;
    }

    .hero {
        padding: var(--space-2xl) var(--space-md);
        min-height: auto;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: var(--font-size-sm);
    }

    .cta-buttons {
        flex-direction: column;
        gap: var(--space-sm);
        margin-bottom: var(--space-2xl);
    }

    .btn {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--font-size-sm);
    }

    .btn-lg {
        padding: var(--space-md) var(--space-lg);
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-lg);
        margin-top: var(--space-lg);
    }

    .stat {
        flex: 1;
        min-width: 100px;
    }

    .stat-value {
        font-size: var(--font-size-2xl);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    .featured-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .section-container {
        padding: 0 var(--space-md);
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .section-header h2 {
        font-size: var(--font-size-2xl);
    }

    .section-header p {
        font-size: var(--font-size-sm);
    }

    .attractions-grid {
        gap: var(--space-md);
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
    }

    .feature-card h3 {
        font-size: var(--font-size-lg);
    }

    .feature-card p {
        font-size: var(--font-size-sm);
    }

    .experience-content h2 {
        font-size: var(--font-size-2xl);
    }

    .experience-list li {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) 0;
    }

    .check-icon {
        width: 20px;
        height: 20px;
        font-size: var(--font-size-xs);
    }

    .cta-container h2 {
        font-size: var(--font-size-2xl);
    }

    .cta-container p {
        font-size: var(--font-size-sm);
    }

    .testimonial-card {
        padding: var(--space-lg);
    }

    .testimonial-text {
        font-size: var(--font-size-sm);
    }

    .modal-content {
        padding: var(--space-lg);
        width: 95%;
    }

    .modal-title {
        font-size: var(--font-size-lg);
    }

    .footer-grid {
        gap: var(--space-lg);
    }

    .footer-section h4 {
        font-size: var(--font-size-lg);
    }

    .card {
        padding: var(--space-lg);
    }

    .card-image {
        height: 200px;
    }

    .breadcrumb {
        font-size: var(--font-size-xs);
        gap: var(--space-sm);
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: var(--space-md);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .flex-row,
    .flex-col {
        flex-direction: column;
    }

    .blob-1 {
        width: 200px;
        height: 200px;
        top: -50px;
        right: -50px;
    }

    .blob-2 {
        width: 150px;
        height: 150px;
    }

    .blob-3 {
        width: 120px;
        height: 120px;
        display: none;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .section-container {
        max-width: 1320px;
    }

    .hero-container {
        max-width: 1320px;
    }

    .nav-container {
        max-width: 1320px;
    }

    .footer-container {
        max-width: 1320px;
    }
}

/* Extra Large Desktop */
@media (min-width: 1920px) {
    :root {
        --space-4xl: 8rem;
        --space-3xl: 5rem;
        --font-size-5xl: 4rem;
    }

    .hero {
        min-height: 100vh;
    }

    .featured-section {
        padding: 8rem 2rem;
    }

    .experience-section {
        padding: 8rem 2rem;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .card:hover {
        transform: none;
    }

    .feature-card:hover {
        transform: none;
    }

    button {
        min-height: 44px;
        min-width: 44px;
    }

    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--space-2xl) var(--space-md);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .cta-buttons {
        gap: var(--space-sm);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: subpixel-antialiased;
    }

    .shadow-sm {
        box-shadow: var(--shadow-sm);
    }

    .shadow-md {
        box-shadow: var(--shadow-md);
    }

    .shadow-lg {
        box-shadow: var(--shadow-lg);
    }
}

/* Print Media */
@media print {
    .navbar,
    .footer,
    .cta-section {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .btn {
        border: 1px solid black;
        background: none !important;
    }

    a {
        color: black;
    }

    .section-badge {
        display: none;
    }
}

/* Light Mode Only */
@media (prefers-color-scheme: light) {
    body {
        background: var(--light-bg);
    }
}

/* Dark Mode Only */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--dark-bg);
        color: var(--text-white);
    }

    .card {
        background: var(--dark-secondary);
    }

    .feature-card {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(102, 126, 234, 0.1));
        border-color: var(--dark-tertiary);
    }

    .nav-links {
        background: var(--dark-secondary);
        border-color: var(--dark-tertiary);
    }

    .modal-content {
        background: var(--dark-secondary);
        color: var(--text-white);
    }

    .testimonial-card {
        background: var(--dark-secondary);
    }
}
