/* =====================================================
   PRASHANT HOME STAY — RESPONSIVE STYLES
   Breakpoints: Desktop / Laptop / Tablet / Mobile
   ===================================================== */

/* ---------- Large Desktop (1400px+) ---------- */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .about-collage {
    height: 600px;
  }
}

/* ---------- Laptop (992px – 1199px) ---------- */
@media (max-width: 1199.98px) {
  .section-padding {
    padding: 90px 0;
  }

  .about-collage {
    height: 500px;
  }

  .pinterest-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 160px;
  }

  .masonry-gallery {
    columns: 3;
  }
}

/* ---------- Tablet (768px – 991px) ---------- */
@media (max-width: 991.98px) {
  :root {
    --header-height: 70px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Navigation */
  .main-header .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-lg);
  }

  .main-header .navbar-nav .nav-link {
    color: var(--dark-soft) !important;
    padding: 12px 16px !important;
  }

  .main-header .navbar-nav .nav-link:hover,
  .main-header .navbar-nav .nav-link.active {
    color: var(--primary) !important;
  }

  .nav-book {
    margin: 12px 0 0 !important;
    text-align: center;
    display: block;
  }

  .toggler-icon {
    background: var(--white);
  }

  .main-header.sticky .toggler-icon,
  .main-header .navbar-toggler[aria-expanded="true"] .toggler-icon {
    background: var(--dark);
  }

  /* When menu open on transparent header, make toggler visible */
  .main-header:not(.sticky) .navbar-toggler[aria-expanded="true"] ~ .navbar-collapse,
  .main-header .collapse.show {
    background: var(--white);
  }

  /* Hero */
  .hero-section {
    min-height: 600px;
  }

  .hero-pagination {
    bottom: 80px !important;
  }

  /* About */
  .about-collage {
    height: 420px;
    max-width: 100%;
    margin: 0 auto 40px;
  }

  .about-section .section-header.text-start {
    text-align: center !important;
  }

  .about-features {
    display: inline-block;
    text-align: left;
  }

  .about-section .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  /* Gallery */
  .masonry-gallery {
    columns: 2;
  }

  .pinterest-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  /* Stats */
  .stats-section {
    background-attachment: scroll;
  }

  .booking-parallax {
    background-attachment: scroll;
  }

  /* Contact */
  .glass-card {
    padding: 28px;
  }

  /* Top bar hide email on tighter tablet */
  .top-bar-link span {
    font-size: 0.75rem;
  }
}

/* ---------- Mobile Landscape / Large Phone (576px – 767px) ---------- */
@media (max-width: 767.98px) {
  :root {
    --topbar-height: 36px;
  }

.footer-bottom {
    padding: 34px 0;
    text-align: center;
    background-color: #0f172a;
    padding-bottom: 54px;
}


    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

  .section-padding {
    padding: 60px 0;
  }

  .top-bar {
    font-size: 0.75rem;
  }

  .top-bar-contact {
    gap: 14px;
  }

  .top-bar-link span {
    display: none;
  }

  .top-bar-link i {
    font-size: 0.9rem;
  }

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-logo {
    width: 70px;
    height: 40px;
  }

  /* Hero */
  .hero-section {
    height: 100svh;
    min-height: 520px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 200px;
  }

  .hero-pagination {
    bottom: 70px !important;
  }

  .mouse-scroll {
    display: none;
  }

  /* About collage */
  .about-collage {
    height: 380px;
  }

  .collage-img-1 {
    width: 65%;
    height: 65%;
  }

  .collage-img-2 {
    width: 50%;
    height: 50%;
    bottom: 30px;
  }

  .collage-img-3 {
    width: 40%;
    height: 35%;
  }

  /* Why / Activities */
  .why-card {
    padding: 32px 24px;
  }

  .activity-img {
    height: 180px;
  }

  /* Facilities */
  .facility-box {
    padding: 28px 14px;
  }

  .facility-icon {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .facility-box h3 {
    font-size: 0.85rem;
  }

  /* Stats */
  .stats-section {
    padding: 60px 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Galleries */
  .masonry-gallery {
    columns: 2;
    column-gap: 10px;
  }

  .masonry-item {
    margin-bottom: 10px;
  }

  .pinterest-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 10px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 28px 20px;
    margin: 8px 4px 36px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  /* Booking */
  .booking-cta {
    padding: 80px 0;
  }

  .booking-title {
    font-size: 1.85rem;
  }

  /* Contact */
  .contact-form .btn {
    font-size: 1rem;
  }

  /* Footer */
  .main-footer {
    padding-top: 60px;
  }

  .footer-heading {
    margin-top: 8px;
  }

  /* Floating buttons */
  .back-to-top {
    bottom: 150px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .floating-whatsapp {
    bottom: 150px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ---------- Small Mobile (max 575px) ---------- */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.925rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
  }

  .about-collage {
    height: 320px;
  }

  .collage-accent {
    display: none;
  }

  .activity-checklist .col-auto {
    width: 100%;
  }

  .check-pill {
    width: 100%;
    justify-content: center;
  }

  .masonry-gallery {
    columns: 1;
  }

  .pinterest-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
  }

  .gallery-item.tall,
  .gallery-item.medium {
    grid-row: span 1;
  }

  .glass-card {
    padding: 22px 18px;
  }

  .stat-item {
    padding: 12px 8px;
  }

  .preloader-text {
    font-size: 1.2rem;
  }

  .btn {
    padding: 11px 24px;
    font-size: 0.9rem;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ken-burns {
    animation: none !important;
  }

  .floating-img {
    animation: none !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .top-bar,
  .main-header,
  .preloader,
  .scroll-progress,
  .back-to-top,
  .floating-whatsapp,
  .hero-pagination,
  .mouse-scroll {
    display: none !important;
  }

  .hero-section {
    height: auto;
    min-height: 0;
    page-break-after: always;
  }

  body {
    color: #000;
    background: #fff;
  }
}
