/* Responsive Styles for Hotel Shree Harpal Palace */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1180px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-logo {
        width: 45px;
   
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .room-price .price {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        display: inline-block;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .btn-book-now {
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .about-section .row {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .room-card {
        margin-bottom: 2rem;
    }
    
    .facility-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        margin-bottom: 3rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767px) {
    .navbar-brand {
        flex-direction: row;
        font-size: 1rem;
    }
    
    .navbar-logo {
        width: 40px;
   
        margin-bottom: 0;
        margin-right: 8px;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-slide {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .booking-card {
        padding: 2rem 1.5rem;
    }
    
    .booking-form .row {
        margin: 0;
    }
    
    .booking-form .col-md-6,
    .booking-form .col-md-4 {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.8rem;
    }
    
    .footer-section {
        padding: 3rem 0 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.3rem 0.5rem;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    .navbar-logo {
        width: 155px;

        margin-right: 6px;
    }
    
    .brand-text {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .about-content,
    .room-content,
    .facility-card,
    .attraction-content {
        padding: 1.5rem;
    }
    
    .booking-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .footer-widget {
        /* text-align: center; */
        margin-bottom: 2.5rem;
    }
    
    .footer-links {
        /* text-align: center; */
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
    }
}

/* Special Responsive Adjustments */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title::after {
        width: 60px;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-book-now {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .room-price .price {
        font-size: 1.6rem;
    }
    
    .facility-icon {
        width: 60px;
        height: 60px;
    }
    
    .facility-icon i {
        font-size: 1.5rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .attraction-image {
        height: 150px;
    }
}

/* Tablet Landscape Orientation */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-slide {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Mobile Landscape Orientation */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-slide {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    .navbar-logo {
        width: 35px;
        height: 35px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-logo,
    .hero-image,
    .about-image img,
    .room-image,
    .gallery-image,
    .attraction-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .booking-section,
    .footer-section {
        display: none;
    }
    
    .section-title {
        font-size: 1.5rem;
        color: var(--black);
    }
    
    .about-section,
    .rooms-section,
    .facilities-section,
    .gallery-section,
    .attractions-section,
    .contact-section {
        background: var(--white);
        color: var(--black);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.btn:focus,
.form-control:focus,
.btn-primary:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #ffffff;
        --text-light: #cccccc;
        --light-color: #2a2a2a;
        --white: #1a1a1a;
        --shadow: rgba(255, 255, 255, 0.1);
        --shadow-dark: rgba(255, 255, 255, 0.2);
    }
    
    .navbar {
        background: #2a2a2a;
    }
    
    .navbar.scrolled {
        background: #2a2a2a;
    }
    
    .booking-card,
    .contact-form {
        background: #2a2a2a;
        color: var(--text-dark);
    }
    
    .form-control {
        background: #3a3a3a;
        border-color: #555;
        color: var(--text-dark);
    }
    
    .form-control:focus {
        background: #4a4a4a;
        border-color: var(--secondary-color);
        color: var(--text-dark);
    }
}