/* Extra responsive enhancements */

/* Base responsive adjustments */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Smooth typography scaling */
html {
  font-size: 16px;
}

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* General responsive typography */
h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

/* Improve spacing on mobile */
.row {
  margin-left: -10px;
  margin-right: -10px;
}

.row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

/* Header Responsive Enhancements */
@media (max-width: 768px) {
  .header-hero-section {
    background-attachment: scroll;
    background-position: center top;
  }
  
  .header-hero-home {
    min-height: 450px;
  }
  
  .header-hero-page {
    min-height: 280px;
  }
  
  .header-overlay {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(54, 54, 54, 0.5) 100%
    );
  }
  
  .stuck_container {
    padding: 8px 0;
  }
  
  .stuck_container .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 576px) {
  .header-hero-home {
    min-height: 350px;
  }
  
  .header-hero-page {
    min-height: 220px;
  }
  
  .header-content {
    padding: 15px 0;
  }
  
  .brand-wrapper {
    margin-bottom: 20px;
  }
  
  .header-tagline h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .header-tagline p {
    font-size: 0.9rem;
  }
}

/* Navigation responsive improvements */
@media (max-width: 1200px) {
  .sf-menu > li + li {
    margin-left: 15px;
  }
  
  .sf-menu > li > a {
    padding: 14px 20px;
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .sf-menu > li + li {
    margin-left: 10px;
  }
  
  .sf-menu > li > a {
    padding: 12px 15px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Hero section responsive */
  .hero-section {
    padding: 50px 0;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  /* Intro section responsive */
  .intro-section .col-md-6 img {
    margin-bottom: 30px;
  }

  /* Cottage cards responsive */
  .cottage-card {
    margin-bottom: 30px;
  }

  /* Amenities responsive */
  .amenity-box {
    margin-bottom: 20px;
  }

  /* Testimonials responsive */
  .testimonial {
    margin-bottom: 30px;
  }

  /* Map responsive */
  .map-container {
    height: 300px;
  }
}

/* Larger screens */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .hero-section {
    padding: 100px 0;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .header-hero-home {
    min-height: 700px;
  }
  
  .header-hero-page {
    min-height: 400px;
  }
}

/* Button responsiveness */
@media (max-width: 576px) {
  .btn, .btn2, .btn3 {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile row spacing */
@media (max-width: 768px) {
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Hero section enhancements */
.hero-section {
  display: flex;
  align-items: center;
}

.hero-section .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.hero-buttons .btn,
.hero-buttons .btn2 {
  min-width: 160px;
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn,
  .hero-buttons .btn2 {
    width: 100%;
    max-width: 200px;
  }
}

/* Cottage cards responsive enhancements */
.cottages-section .row {
  justify-content: center;
}

@media (max-width: 576px) {
  .cottage-card {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Amenities section */
.amenity-box {
  text-align: center;
}

.amenity-box i {
  display: block;
  margin: 0 auto 15px;
}

/* Testimonials section */
@media (max-width: 768px) {
  .testimonials-section .row {
    justify-content: center;
  }
}

/* Map responsiveness */
.map-container iframe {
  display: block;
  border: 0;
  width: 100%;
}

/* CTA section responsive improvements */
@media (max-width: 576px) {
  .cta-section {
    text-align: center;
  }
  
  .cta-section .btn {
    margin-left: auto;
    margin-right: auto;
    max-width: 200px;
  }
}

/* List styles */
.list1 {
  padding-left: 20px;
}

@media (max-width: 576px) {
  .list1 {
    padding-left: 15px;
  }
}

/* Background Image Optimization for Mobile */
@media (max-width: 768px) {
  .header-hero-section {
    background-size: cover;
    background-position: center center;
  }
} 