/* ==========================================================================
   Sunrise Guest House - Responsive Stylesheet
   ========================================================================== */

/* Large screens (Laptops / Desktops) */
@media (max-width: 1200px) {
  :root {
    --container-width: 960px;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Medium screens (Tablets) */
@media (max-width: 992px) {
  :root {
    --container-width: 720px;
    --header-height: 70px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    margin-bottom: 40px;
    font-size: 0.95rem;
  }
  
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow-medium);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item a {
    color: var(--secondary-color) !important;
    font-size: 1.1rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .header-nav {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
  }
  
  .logo-text {
    color: var(--secondary-color);
  }
  
  .header-nav.scrolled {
    height: var(--header-height);
  }
  
  /* Hero */
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  
  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-img {
    height: 400px;
  }
  
  .about-img-badge {
    bottom: -15px;
    right: 15px;
    padding: 20px;
  }
  
  /* Rooms */
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  /* Amenities */
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Attractions */
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  /* Reviews */
  .review-card {
    min-width: calc(50% - 15px);
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-container {
    height: 350px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Small screens (Mobile devices / Portrait Tablets) */
@media (max-width: 768px) {
  :root {
    --container-width: 540px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Hero */
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }
  
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('/images/mobile.jpeg');
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  /* Rooms */
  .rooms-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  
  /* Amenities */
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Reviews */
  .review-card {
    min-width: 100%;
  }
  
  /* Booking Form */
  .booking-form {
    padding: 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .btn-submit {
    max-width: 100%;
  }
  
  /* Lightbox buttons responsive adjustment */
  .lightbox-prev {
    left: -45px;
  }
  .lightbox-next {
    right: -45px;
  }
  .lightbox-btn {
    width: 36px;
    height: 36px;
  }
}

/* Extra Small screens (Mobile devices) */
@media (max-width: 480px) {
  :root {
    --container-width: 100%;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 1.85rem;
  }
  
  .about-img {
    height: 300px;
  }
  
  .about-img-badge {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 15px;
    max-width: 100%;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
  }
  
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  /* Amenities */
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 240px;
  }
  
  /* Attractions */
  .attractions-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact list icons spacing */
  .contact-item {
    flex-direction: column;
    gap: 10px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}
