/* Main container styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #fafafa;
}

.reels-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px; /* Mobile padding */
}

.reels-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem; /* Responsive font */
}

/* Horizontal scrolling container */
.reels-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 15px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
.reels-container::-webkit-scrollbar {
    display: none;
}

.reels-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Individual reel styling */
.reel-wrapper {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Instagram embed responsive fix */
.instagram-media {
    min-width: 300px !important;
    max-width: 300px !important;
    width: 300px !important;
    border-radius: 8px !important;
}

/* ========== Responsive Adjustments ========== */
/* Tablet (768px and below) */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .reel-wrapper {
        width: 280px;
    }
    
    .instagram-media {
        min-width: 280px !important;
        max-width: 280px !important;
        width: 280px !important;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .reels-section h2 {
        font-size: 1.2rem; /* Smaller font for mobile */
        margin-bottom: 15px;
    }
    
    .reel-wrapper {
        width: 250px; /* Smaller cards for mobile */
    }
    
    .instagram-media {
        min-width: 250px !important;
        max-width: 250px !important;
        width: 250px !important;
    }
    
    /* Footer adjustments for mobile */
    .footer-container .footer-links {
        flex-direction: column; /* Stack links vertically */
        gap: 10px;
        padding: 15px;
    }
}
/* === Global Image Fix === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Responsive Typography === */
h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
}

/* === Accordion / Info Box Mobile Fix === */
@media (max-width: 768px) {
  .featured .left-image {
    text-align: center;
    margin-bottom: 30px;
  }

  .featured .left-image img {
    padding-left: 0;
    width: 80%;
  }

  .featured .left-image a {
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px;
  }

  .featured .info-table ul li {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .featured .info-table ul li img {
    margin: 0 0 10px 0;
    float: none;
  }
}

/* === Form Full Width === */
@media (max-width: 768px) {
  form input,
  form textarea {
    width: 100%;
  }
}

/* === Navbar Toggle Fix === */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #fff;
    padding: 15px;
  }
}

/* === Footer / Gallery Cards === */
@media (max-width: 768px) {
  .properties .item,
  .video-content .col-md-6 {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .main-button a {
    width: 100%;
    display: block;
    text-align: center;
  }

  .accordion-button {
    font-size: 14px;
  }

  .count-title {
    font-size: 28px;
  }
}
