/* Log Cabin Rentals - Responsive Stylesheet */

/* Mobile First - Base styles for mobile devices */
@media (max-width: 767.98px) {
  /* Hero Section Mobile */
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-shape {
    display: none;
  }
  
  /* Typography Mobile */
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-brand: 1.1rem;
  }
  
  /* Navigation Mobile */
  .navbar-collapse {
    background: rgba(156, 97, 34, 0.95);
    margin-top: 1.11rem;
    border-radius: 10px;
    padding: 1rem;
  }
  
  /* Service Cards Mobile */
  .service-card {
    margin-bottom: 1.66rem;
    padding: 1.5rem;
  }
  
  .service-price {
    font-size: 1.33rem;
  }
  
  /* Team Mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Price Cards Mobile */
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2.15rem;
  }
  
  .price-value {
    font-size: 2.09rem;
  }
  
  /* Footer Mobile */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2.15rem;
  }
  
  /* Gallery Mobile */
  .gallery-image {
    height: 200px;
  }
  
  /* Blog Mobile */
  .blog-image {
    height: 180px;
  }
  
  /* FAQ Mobile */
  .faq-question {
    padding: 0.75rem 1rem;
    font-size: 1.10rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
  
  /* Disable autoplay and effects on mobile for Swiper */
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-container .swiper-slide {
    transition: none !important;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .price-value {
    font-size: 2.27rem;
  }
}

/* Tablet Landscape and Small Desktops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
  padding-top: 50px;
    min-height: 90vh;
  }
  
  .hero-shape {
    width: 250px;
    height: 250px;
  }
  
  .service-card {
    padding: 1.85rem;
  }
  
  .team-photo {
    width: 145px;
    height: 145px;
  }
}

/* Large Desktops */
@media (min-width: 1200px) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
  }
  
  .hero-shape {
    width: 350px;
    height: 350px;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .service-card {
    padding: 2.25rem;
  }
  
  .contact-form {
    padding: 3.5rem;
  }
  
  .price-card {
    padding: 3rem 2.5rem;
  }
}

/* Extra Large Desktops */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-shape {
    width: 400px;
    height: 400px;
  }
  
  .section-spacing {
    padding: 6rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section {
  padding-top: 50px;
    background-image: linear-gradient(rgba(160, 99, 14, 0.40), rgba(51, 67, 74, 0.40)), 
                      url('../ROZ_images/hero-cabin-2x.webp');
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .navbar, .footer, .btn, .hero-shape {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .service-card, .team-member, .price-card {
    page-break-inside: avoid;
    border: 1px solid #b8afb0;
    margin-bottom: 1.14rem;
  }
}


/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Specific iPhone and Android optimizations */
@media (max-width: 414px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
  padding-top: 50px;
    padding: 1rem;
  }
  
  .service-card, .price-card, .team-member {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.65rem 0.85rem;
  }
  
  .btn-primary {
    padding: 0.65rem 1.5rem;
  }
}
