/* Responsive Styles for Boamah Star Hotel */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .header-cta {
        gap: 0.75rem;
    }
    
    .header-cta .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .header-content {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 250px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .room-card {
        min-width: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .room-card {
        min-width: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .mobile-menu-content {
        width: 280px;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta .btn {
        width: 200px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .room-image {
        height: 200px;
    }
    
    .room-content {
        padding: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 150px;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .lightbox-close {
        top: -30px;
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 1.5rem 0 0.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.2rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-bottom-content {
        font-size: 0.9rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .mobile-menu-content {
        width: 250px;
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-cta .btn {
        width: 180px;
        padding: 8px 16px;
    }
    
    .feature-card {
        padding: 1.25rem 0.75rem;
    }
    
    .room-content {
        padding: 0.75rem;
    }
    
    .amenity-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-overlay,
    .footer,
    .btn,
    .hero-cta,
    .gallery-filters {
        display: none !important;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        page-break-after: always;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .room-card,
    .feature-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slide {
        transition: none;
    }
    
    .btn::before {
        display: none;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: auto;
        padding: 8px 16px;
    }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .nav-link:focus,
    .form-control:focus,
    .filter-btn:focus,
    .social-link:focus {
        outline: 2px solid var(--gold-accent);
        outline-offset: 2px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #fff;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
    
    .nav-link::after {
        background: #000;
    }
    
    .feature-card,
    .room-card {
        border: 2px solid #000;
    }
}
