/* ==========================================================================
   NestWell Developers - Responsive Overrides
   ========================================================================== */

/* 1. Ultra Wide Screens (2560px and up) */
@media (min-width: 2560px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 2000px;
  }
  .hero-content h1 {
    font-size: 5rem;
  }
  .section-title {
    font-size: 3.5rem;
  }
}

/* 2. Standard Desktop & Large Screens (1400px and down) */
@media (max-width: 1399.98px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
}

/* 3. Medium Desktop & Laptops (1200px and down) */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .section-padding {
    padding: 80px 0;
  }
}

/* 4. Tablets Landscape (992px and down) */
@media (max-width: 991.98px) {
  .navbar-custom {
    background: var(--primary-color) !important;
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  .navbar-custom .navbar-nav {
    padding: 20px 0;
  }
  .navbar-custom .nav-link {
    padding: 10px 0 !important;
  }
  .hero-section {
    min-height: 80vh;
    padding-top: 140px;
    padding-bottom: 80px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .hero-search-wrapper {
    margin-top: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .timeline-container::before {
    left: 20px;
  }
  .timeline-row {
    flex-direction: row !important;
  }
  .timeline-col {
    width: 100%;
    padding: 0 0 0 45px;
  }
  .timeline-node {
    left: 20px;
    top: 0;
    transform: translateX(-50%);
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 200px;
  }
  .gallery-item.wide {
    grid-column: span 1;
  }
}

/* 5. Tablets Portrait (768px and down) */
@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .btn-luxury-primary, .btn-luxury-secondary, .btn-luxury-gold {
    padding: 12px 24px;
    font-size: 0.8rem;
  }
  .contact-form-card {
    padding: 30px;
  }
  .map-container {
    height: 300px;
  }
  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }
  .footer-custom {
    padding: 60px 0 20px;
  }
}

/* 6. Smart Phones & Tiny Viewports (576px and down) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .stat-number {
    font-size: 2.8rem;
  }
  .testimonial-card {
    padding: 25px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item.tall {
    grid-row: span 1;
  }
  .floating-btn-group {
    bottom: 20px;
    right: 20px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

/* 7. Specific landscape support for small devices */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-section {
    min-height: 120vh;
  }
  .navbar-custom {
    padding: 5px 0 !important;
  }
}
