/* Responsive Styles */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
        margin-bottom: var(--spacing-xl);
    }
    
    .footer-content {
        gap: var(--spacing-lg);
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 80px 0;
        transition: 0.4s;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: var(--spacing-md) 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .menu-toggle.active i:before {
        content: '\f00d';
    }
    
    .hero-text-container {
        padding: var(--spacing-lg);
    }
    
    .casino-games, 
    .suites-container, 
    .amenities-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-image {
        height: 300px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
    
    .footer-social {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .casino-games, 
    .suites-container {
        grid-template-columns: 1fr;
    }
    
    .amenities-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-info h3 {
        font-size: 1.5rem;
    }
    
    .event-image {
        height: 250px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-content {
        padding: var(--spacing-md);
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .amenities-container {
        grid-template-columns: 1fr;
    }
    
    .event-info h3 {
        font-size: 1.3rem;
    }
    
    .event-image {
        height: 200px;
    }
    
    .event-info {
        padding: var(--spacing-md);
    }
    
    .carousel-controls {
        margin-top: var(--spacing-md);
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-links-column h4,
    .footer-social h4 {
        font-size: 1.1rem;
    }
    
    .modal-content {
        margin: 15% auto;
    }
    
    .modal-body {
        padding: var(--spacing-md);
    }
    
    .legal-content {
        padding: var(--spacing-md);
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
}

/* Handling very small screens */
@media (max-width: 359.98px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .btn {
        font-size: 0.8rem;
    }
    
    .amenity-icon {
        font-size: 2rem;
    }
    
    .amenity-card h3 {
        font-size: 1rem;
    }
    
    .event-info h3 {
        font-size: 1.1rem;
    }
    
    .event-date {
        font-size: 0.8rem;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
}

/* Fix for Safari and iOS */
@supports (-webkit-touch-callout: none) {
    .hero,
    .section-padding,
    .contact-section,
    .legal-container {
        background-attachment: scroll;
    }
}

/* Landscape mode adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 450px;
    }
    
    .nav-menu {
        padding: 60px 0;
    }
    
    .nav-menu li {
        margin: var(--spacing-sm) 0;
    }
}

/* High-resolution screens */
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) {
    /* Adjust images and background for higher resolution displays */
    .hero,
    .image-container img,
    .suite-image img,
    .event-image img,
    .contact-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .menu-toggle,
    .carousel-controls,
    .modal {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        color: black;
        background: none;
    }
    
    .hero-overlay,
    .hero-animation {
        display: none;
    }
    
    .hero-content {
        color: black;
    }
    
    .hero-text-container {
        background: none;
        border: none;
        padding: 0;
    }
    
    .hero-title,
    .section-title,
    .game-content h3,
    .suite-info h3,
    .event-info h3,
    .amenity-card h3 {
        color: black;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    .contact-container,
    .casino-games,
    .suites-container,
    .amenities-container {
        display: block;
    }
    
    .game-card,
    .suite-card,
    .event-card,
    .amenity-card,
    .info-item,
    .contact-form-container {
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 20px;
    }
}