/* ==========================================================================
   Full Responsive Stylesheet for Simon's Heritage Home Theme
   ========================================================================== */

/* 1. Large Laptops & Desktops (max-width: 1199px) */
@media (max-width: 1199px) {
  .hero-brand-title {
    font-size: 52px;
  }
  .section-title {
    font-size: 36px;
  }
  .about-grid {
    gap: 50px;
  }
  .services-carousel-layout {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
  }
  .site-logo-text {
    font-size: 20px;
    letter-spacing: 0.18em;
  }
}

/* 2. Tablets & Medium Screens (max-width: 991px) */
@media (max-width: 991px) {
  .container,
  .common-container {
    padding: 0 24px;
  }

  /* Main Header & Logo */
  .main-header__inner {
    padding: 14px 20px;
    gap: 12px;
  }
  .site-logo-text {
    font-size: 17px;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }
  .offcanvas-menu__content {
    flex-direction: column;
    padding: 30px 24px;
  }
  .offcanvas-menu__left,
  .offcanvas-menu__right {
    width: 100%;
  }
  .offcanvas-menu__right {
    margin-top: 35px;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-color, #e2dcd5);
    padding-top: 25px;
  }

  /* Hero Video Section */
  .hero-video-section {
    padding: 0 20px;
  }
  .hero-video-wrap {
    height: 70vh;
    min-height: 480px;
  }
  .hero-brand-title {
    font-size: 42px;
  }
  .hero-brand-tagline {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  /* About Section */
  .about-section {
    padding: 80px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .about-villa-img {
    height: 420px;
  }

  /* Services Carousel Section */
  .services-section {
    padding: 80px 0;
  }
  .services-carousel-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .services-info-panel {
    padding-right: 0;
  }
  .service-slide-card {
    flex: 0 0 300px;
  }

  /* Villa Gallery Section */
  .villa-gallery-section {
    padding: 80px 0;
  }
  .gallery-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
  }
  .gallery-filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 12px;
    margin-bottom: 35px;
    -webkit-overflow-scrolling: touch;
  }
  .villa-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  /* Footer */
  .footer-newsletter-wrap {
    padding: 60px 0;
  }
  .footer-newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .newsletter-form-wrap {
    width: 100%;
    max-width: 100%;
  }
  .footer-main-wrap {
    padding: 70px 0 50px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* 3. Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
  /* Mobile Layout: Left Logo, Right Menu Button */
  .main-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
  }
  .header-center {
    order: 1;
    margin: 0;
    justify-content: flex-start;
    text-align: left;
  }
  .header-left {
    order: 2;
    gap: 10px;
  }
  .search-btn,
  .header-right {
    display: none !important;
  }
  .hamburger-label {
    display: inline-block;
    font-size: 11px;
  }
  .site-logo-text {
    font-size: 15px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .section-title {
    font-size: 32px;
  }
  .section-lead {
    font-size: 14px;
  }
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-villa-img {
    height: 340px;
  }
  .newsletter-title {
    font-size: 26px;
  }
  .gallery-lightbox__img {
    max-height: 65vh;
  }
  .gallery-lightbox__caption {
    font-size: 15px;
  }
}

/* 4. Small Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
  .container,
  .common-container {
    padding: 0 16px;
  }

  /* Mobile Layout: Left Logo, Right Menu Button */
  .main-header__inner {
    padding: 12px 14px;
  }
  .site-logo-text {
    font-size: 14px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  /* Hero Video */
  .hero-video-section {
    padding: 0 12px;
  }
  .hero-video-wrap {
    height: 65vh;
    min-height: 420px;
  }
  .hero-brand-title {
    font-size: 32px;
  }

  /* About & Highlights */
  .about-section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 28px;
  }
  .about-villa-img {
    height: 280px;
  }
  .about-image-badge {
    padding: 12px 18px;
    bottom: 16px;
    left: 16px;
  }
  .badge-num {
    font-size: 20px;
  }

  /* Services Carousel */
  .services-section {
    padding: 60px 0;
  }
  .service-slide-card {
    flex: 0 0 260px;
  }
  .service-slide-card__title {
    font-size: 20px;
  }

  /* Villa Gallery */
  .villa-gallery-section {
    padding: 60px 0;
  }
  .villa-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer-newsletter-wrap {
    padding: 50px 0;
  }
  .newsletter-title {
    font-size: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-social-links {
    gap: 14px;
  }
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contact-hero-title {
    font-size: 38px;
  }
}

@media (max-width: 576px) {
  .contact-hero-section {
    padding: 60px 0 40px 0;
  }
  .contact-hero-title {
    font-size: 30px;
  }
  .contact-main-section {
    padding: 60px 0;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 25px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-title {
    font-size: 26px;
  }
}
