/**
 * ONE NIGHTCLUB DUBAI - Responsive Styles
 * Version: 1.0.0
 * Last Updated: 2025-09-26
 */

/* Additional responsive utilities and overrides */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Navigation adjustments */
    .nav-list {
        width: 100%;
        padding: 20px;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    /* Event cards stack on mobile */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-card {
        margin-bottom: 20px;
    }
    
    /* Gallery items responsive */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Footer adjustments */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
        flex-direction: column;
        gap: 20px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 32px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .events-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 52px;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .back-to-top,
    .cookie-consent,
    .live-chat-widget {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    section {
        page-break-inside: avoid;
        margin-bottom: 20pt;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .btn {
        border: 1pt solid #000;
        color: #000;
        text-decoration: none;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for high DPI displays */
    .logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slide {
        transition: none;
    }
    
    .slider-nav button,
    .testimonial-nav button {
        animation: none;
    }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #ffffff;
        --bg-color: #121212;
        --card-bg: #1e1e1e;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #ffffff;
        --text-color: #000000;
        --bg-color: #ffffff;
    }
    
    .btn {
        border: 2px solid;
    }
    
    .nav-list a:hover {
        background-color: #000000;
        color: #ffffff;
    }
}

/* Accessibility - Focus styles for keyboard navigation */
@media (min-width: 768px) {
    .keyboard-navigation .nav-list a:focus,
    .keyboard-navigation .btn:focus,
    .keyboard-navigation button:focus,
    .keyboard-navigation input:focus,
    .keyboard-navigation textarea:focus {
        outline: 3px solid #007bff;
        outline-offset: 2px;
    }
}
