/* Responsive Styles for Noida Grandeur Landing Page */

/* Large Desktop (min-width: 1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Desktop (max-width: 1199px) */
@media (max-width: 1199px) {
  .hero-content {
    max-width: 600px;
    padding: 48px;
  }

  .section-title {
    font-size: 1.1rem;
  }

  h2.display-6 {
    font-size: 2.5rem;
  }
}

/* Tablet and below (max-width: 991px) */
@media (max-width: 991px) {
  :root {
    --nav-height: 96px;
  }

  .section-padding {
    padding: 80px 0;
  }

  /* Navbar */
  .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  .nav-link {
    padding: 10px 16px !important;
    font-size: 0.95rem;
  }

  .btn-gold {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Hero Section */
  .hero-swiper {
    min-height: 500px;
    overflow: hidden;
  }

  .hero-carousel {
    overflow: hidden;
    max-width: 100vw;
  }

  .hero-content {
    padding: 40px;
    max-width: 100%;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* Typography */
  .section-title {
    font-size: 1rem;
    letter-spacing: 0.15em;
  }

  h2.display-6 {
    font-size: 2.2rem;
  }

  h1.display-4 {
    font-size: 2.8rem;
  }

  .philosophy-copy {
    font-size: 1rem;
    line-height: 1.8;
  }

  /* Feature Cards */
  .feature-card {
    padding: 24px;
    font-size: 0.95rem;
  }

  .feature-card i {
    font-size: 1.1rem;
  }

  /* Location Accordion */
  .location-accordion .accordion-button {
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  .accordion-icon {
    font-size: 1.5rem;
  }

  .location-accordion .accordion-body {
    padding: 20px;
  }

  .location-list li {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .location-list .distance {
    font-size: 0.85rem;
    padding: 5px 10px;
    min-width: 55px;
  }

  /* Location Map */
  .location-map-panel {
    min-height: 400px;
    margin-top: 24px;
  }

  .location-map-image {
    min-height: 400px;
  }

  /* Highlights */
  .highlights-list {
    font-size: 0.95rem;
  }

  .highlights-list li {
    padding-left: 40px;
    margin-bottom: 12px;
  }

  .highlights-amenities {
    padding: 20px;
  }

  .amenities-title {
    font-size: 1rem;
  }

  .amenities-card {
    padding: 14px;
    gap: 12px;
  }

  .amenities-icon {
    width: 48px;
    height: 48px;
  }

  .amenities-icon i {
    font-size: 1.3rem;
  }

  /* Apartment Table */
  .apartment-table-wrapper {
    padding: 24px;
  }

  .apartment-table thead th {
    padding: 16px 20px;
    font-size: 0.85rem;
  }

  .apartment-table tbody td {
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  .price-link {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  /* Indoor Amenities */
  .indoor-tall,
  .indoor-mid,
  .indoor-right,
  .indoor-bottom {
    min-height: 240px;
  }

  .indoor-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  /* Forms */
  .cta-form {
    padding: 32px;
  }

  .form-control,
  .form-select {
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  /* Modals */
  .price-modal-content .modal-header {
    padding: 20px 24px;
  }

  .price-modal-content .modal-body {
    padding: 28px;
  }

  .price-modal-content .modal-title {
    font-size: 1.3rem;
  }

  /* Thank You Page */
  .thankyou-card {
    padding: 40px;
  }

  .thankyou-card h1 {
    font-size: 2.2rem;
  }

  .thankyou-icon-wrapper {
    width: 90px;
    height: 90px;
  }

  .thankyou-icon-wrapper i {
    font-size: 3rem;
  }

  .thankyou-features {
    margin-top: 36px;
    padding-top: 36px;
  }

  .feature-item {
    padding: 18px;
  }

  /* Zone Panel */
  .zone-panel {
    margin-top: 24px;
  }

  .zone-panel .zone-body {
    padding: 24px;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  :root {
    --nav-height: 70px;
  }

  .section-padding {
    padding: 60px 0;
  }

  /* Navbar */
  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: var(--nav-height);
  }

  .navbar.scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .navbar-brand {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
  }

  .navbar-toggler {
    padding: 4px 8px;
    font-size: 1rem;
  }

  .modern-hamburger {
    width: 36px;
    height: 36px;
  }

  .hamburger-line {
    width: 22px;
    height: 2px;
  }

  .modern-mobile-menu {
    width: 80%;
    max-width: 350px;
    padding: 70px 24px 24px;
  }

  .modern-mobile-menu .nav-link {
    padding: 14px 16px !important;
    font-size: 1rem;
  }

  .modern-mobile-menu .btn-gold {
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .nav-link {
    padding: 12px 16px !important;
    font-size: 0.9rem;
    margin: 0;
  }

  .navbar-nav {
    margin-top: 16px;
  }

  .btn-gold {
    padding: 10px 18px;
    font-size: 0.85rem;
    margin-top: 12px;
    width: 100%;
    text-align: center;
  }

  /* Hero Section */
  .hero-carousel {
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
  }

  .hero-swiper {
    height: auto;
    min-height: 500px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .hero-swiper .swiper-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .hero-swiper .swiper-slide {
    min-height: auto;
    padding: 60px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-swiper .swiper-slide .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-content {
    padding: 32px 24px;
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-content h1.display-4 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    display: flex !important;
    opacity: 0.8;
  }

  .hero-swiper .swiper-button-prev {
    left: 10px;
  }

  .hero-swiper .swiper-button-next {
    right: 10px;
  }

  .hero-swiper .swiper-button-prev::after,
  .hero-swiper .swiper-button-next::after {
    font-size: 16px;
    color: #fff;
  }

  .hero-swiper .swiper-pagination {
    bottom: 20px !important;
  }

  .hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px !important;
  }

  /* Typography */
  .section-title {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }

  h2.display-6 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  h1.display-4 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .philosophy-copy {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* Feature Cards */
  .feature-card {
    padding: 20px;
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .feature-card i {
    font-size: 1rem;
    margin-right: 12px;
  }

  /* Location Accordion */
  .location-accordion .accordion-button {
    padding: 14px 16px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 8px;
  }

  .accordion-icon {
    font-size: 1.3rem;
  }

  .location-accordion .accordion-body {
    padding: 16px;
  }

  .location-list li {
    font-size: 0.85rem;
    padding: 10px 0;
    flex-wrap: wrap;
  }

  .location-list .distance {
    font-size: 0.8rem;
    padding: 4px 8px;
    min-width: 50px;
    margin-top: 4px;
  }

  /* Location Map */
  .location-map-panel {
    min-height: 300px;
    margin-top: 24px;
    border-radius: 16px;
  }

  .location-map-image {
    min-height: 300px;
  }

  /* Highlights */
  .highlights-list {
    font-size: 0.9rem;
    padding-left: 0;
  }

  .highlights-list li {
    padding-left: 36px;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .highlights-list li::before {
    width: 24px;
    height: 24px;
    font-size: 1rem;
    left: 0;
  }

  .highlights-amenities {
    padding: 16px;
    border-radius: 16px;
  }

  .amenities-title {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .amenities-card {
    padding: 12px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .amenities-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .amenities-icon i {
    font-size: 1.1rem;
  }

  .amenities-content {
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
  }

  /* Apartment Table */
  .apartment-table-wrapper {
    padding: 16px;
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .apartment-table {
    min-width: 500px;
  }

  .apartment-table thead th {
    padding: 12px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .apartment-table tbody td {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .apartment-table tbody td:first-child {
    font-size: 0.95rem;
  }

  .price-link {
    padding: 6px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Modals */
  .modal-dialog {
    margin: 16px;
  }

  .price-modal-content {
    border-radius: 16px;
  }

  .price-modal-content .modal-header {
    padding: 16px 20px;
    border-radius: 16px 16px 0 0;
  }

  .price-modal-content .modal-title {
    font-size: 1.1rem;
  }

  .price-modal-content .modal-body {
    padding: 24px 20px;
  }

  .price-modal-content .btn-close-custom {
    width: 32px;
    height: 32px;
  }

  .price-modal-content .btn-close-custom i {
    font-size: 1rem;
  }

  .price-modal-content .form-label {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .price-modal-content .form-control,
  .price-modal-content .form-select {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  /* Forms */
  .cta-form {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .form-control,
  .form-select {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  .form-label {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  /* Buttons */
  .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 12px 24px;
  }

  /* Indoor Amenities Swiper */
  .indoor-swiper .swiper-button-prev {
    left: 10px;
    width: 36px;
    height: 36px;
  }

  .indoor-swiper .swiper-button-next {
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .indoor-swiper .swiper-button-prev::after,
  .indoor-swiper .swiper-button-next::after {
    font-size: 14px;
  }

  .indoor-card {
    min-height: 300px;
    padding: 20px;
  }

  .indoor-card h4 {
    font-size: 1.2rem;
  }

  .indoor-card p {
    font-size: 0.9rem;
  }

  /* Zone Panel */
  .zone-panel {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
  }

  .zone-panel img {
    height: auto;
    width: 100%;
    min-height: 250px;
    object-fit: cover;
  }

  .zone-panel .col-md-6 img {
    min-height: 250px;
  }

  .zone-panel .zone-body {
    padding: 20px;
  }

  /* Ensure image comes first, content second on mobile */
  .zone-panel .row.g-0 {
    flex-direction: column;
  }

  .zone-panel .order-1 {
    order: 1 !important;
  }

  .zone-panel .order-2 {
    order: 2 !important;
  }

  .zone-panel h3 {
    font-size: 1.3rem;
  }

  .zone-panel p {
    font-size: 0.9rem;
  }

  /* Floating Buttons */
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 90px;
    right: 20px;
    font-size: 18px;
  }

  .sidebar-form-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    right: -65px;
    top: 60%;
  }

  .sidebar-form-btn span {
    display: none;
  }

  .sidebar-form-btn i {
    font-size: 16px;
  }

  /* Thank You Page */
  .thankyou-hero {
    min-height: auto;
    padding: 80px 0;
    background-attachment: scroll;
  }

  .thankyou-card {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .thankyou-card h1 {
    font-size: 2rem;
  }

  .thankyou-card p {
    font-size: 0.95rem;
  }

  .thankyou-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .thankyou-icon-wrapper i {
    font-size: 2.5rem;
  }

  .thankyou-features {
    margin-top: 32px;
    padding-top: 32px;
  }

  .feature-item {
    padding: 16px;
    margin-bottom: 12px;
  }

  .feature-item i {
    font-size: 1.5rem;
  }

  .feature-item strong {
    font-size: 1rem;
  }

  .feature-item p {
    font-size: 0.9rem;
  }

  /* Container Padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Swiper Gallery (if exists) */
  .gallery-swiper .swiper-button-prev {
    left: 10px;
    width: 36px;
    height: 36px;
  }

  .gallery-swiper .swiper-button-next {
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .gallery-swiper .swiper-button-prev::after,
  .gallery-swiper .swiper-button-next::after {
    font-size: 14px;
  }

  /* Footer */
  .footer-note {
    font-size: 0.85rem;
    padding: 5px 16px;
  }

  /* Image Lightbox Modal */
  .image-lightbox-content .modal-header {
    padding: 12px 16px;
  }

  .image-lightbox-content .modal-title {
    font-size: 1rem;
  }

  .lightbox-image {
    max-height: 70vh;
  }

  .image-lightbox-content .btn-close-custom {
    width: 32px;
    height: 32px;
  }

  .image-lightbox-content .btn-close-custom i {
    font-size: 1rem;
  }
}

/* Extra Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-content {
    padding: 24px 20px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content h1.display-4 {
    font-size: 1.9rem;
  }

  h2.display-6 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 0.85rem;
  }

  .cta-form {
    padding: 20px 16px;
  }

  .apartment-table-wrapper {
    padding: 12px;
  }

  .apartment-table {
    min-width: 450px;
  }

  .apartment-table thead th {
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .apartment-table tbody td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .price-modal-content .modal-body {
    padding: 20px 16px;
  }

  .location-accordion .accordion-button {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .location-list li {
    font-size: 0.8rem;
  }

  .feature-card {
    padding: 16px;
  }

  .highlights-list li {
    font-size: 0.85rem;
    padding-left: 32px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
    font-size: 22px;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 80px;
    right: 16px;
    font-size: 16px;
  }

  .sidebar-form-btn {
    right: 0px;
    padding: 8px 16px;
  }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-swiper {
    min-height: 400px;
  }

  .hero-swiper .swiper-slide {
    padding: 40px 0;
  }

  .hero-content {
    padding: 24px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 40px 0;
  }
}
