/* Responsive Styles - Mobile First Approach */

/* ==================================
   TABLET STYLES (768px - 1023px)
   ================================== */
@media (max-width: 1023px) {
  .container {
    max-width: 90%;
    padding: 0 20px;
  }

  .section {
    padding: 4rem 0;
  }

  .section h2 {
    font-size: 2.2rem;
  }

  .hero {
    padding: 120px 40px 80px;
    justify-content: center;
    align-items: center;
  }

  .hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero p {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero .cta {
    margin-left: 0;
    margin: 1.5rem auto 0;
  }

  .col-2, .col-3, .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .service-img {
    height: 180px;
  }

  .gallery-img {
    height: 350px;
  }

  /* Weather Card */
  .weather-card {
    position: static;
    width: 100%;
    max-width: 350px;
    margin: 2rem auto 0;
    padding: 1.3rem;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }

  .weather-temp {
    font-size: 2.2rem;
  }

  .weather-forecast {
    gap: 0.4rem;
  }
}

/* ==================================
   MOBILE STYLES (up to 767px)
   ================================== */
@media (max-width: 767px) {
  /* Base Adjustments */
  body {
    font-size: 16px;
  }

  .container {
    width: 100%;
    padding: 0 15px;
  }

  .section {
    padding: 3rem 0;
  }

  .section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  /* Header and Navigation */
  .header .container {
    padding: 0.8rem 15px;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .logo img {
    height: 35px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 80px;
    transition: all 0.4s ease;
    z-index: 1001;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav a {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
  }

  .hamburger {
    display: block;
    z-index: 1002;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 20px 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
    text-align: center;
  }

  .hero p {
    font-size: 1rem;
    text-align: center;
  }

  .hero-content {
    padding: 0 15px;
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
  }

  .hero .cta {
    margin-left: 0;
    margin: 1rem auto 0;
  }

  /* Weather Card */
  .weather-card {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto 0;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    padding: 1.2rem;
  }

  .weather-header {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .weather-temp {
    font-size: 2rem;
  }

  .weather-desc {
    font-size: 0.9rem;
  }

  .weather-details {
    padding: 0.8rem 0;
  }

  .weather-detail-item i {
    font-size: 1rem;
  }

  .weather-detail-item span {
    font-size: 0.85rem;
  }

  .weather-forecast {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.3rem;
  }

  .forecast-item {
    min-width: 60px;
    padding: 0.4rem;
  }

  .forecast-day {
    font-size: 0.75rem;
  }

  .forecast-icon {
    font-size: 1.3rem;
  }

  .forecast-temp {
    font-size: 0.8rem;
  }

  /* Booking Section */
  .booking .row {
    flex-direction: column;
  }

  .col, .col-2, .col-3, .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    margin-bottom: 2rem;
  }

  /* About Section */
  .about .row {
    flex-direction: column;
  }

  .about-main-image {
    min-height: 300px;
    margin-bottom: 2rem;
  }

  .about-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-card {
    padding: 1rem;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card-modern {
    padding: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 1.7rem;
  }

  .service-card-modern h3 {
    font-size: 1.2rem;
  }

  .services-header-content {
    flex-direction: column;
    text-align: center;
  }

  .services-header-content h2 {
    font-size: 1.7rem;
  }

  /* Features Section */
  .features .row {
    flex-direction: column;
  }

  .features-image-container {
    height: 300px;
    margin-bottom: 2rem;
  }

  .features-accordion-item {
    margin-bottom: 0.8rem;
  }

  .features-accordion-title {
    font-size: 1rem;
    padding: 1rem 1.2rem;
  }

  /* Capacity Section */
  .capacity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .capacity-card {
    padding: 1.5rem 1rem;
  }

  .capacity-number {
    font-size: 2.2rem;
  }

  .capacity-label {
    font-size: 0.9rem;
  }

  .capacity-card p {
    font-size: 0.85rem;
  }

  /* Gallery Section - Vertical Accordion on Mobile */
  .service-card-accordion {
    min-height: auto !important;
    max-height: 600px;
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y proximity;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--secondary-color);
  }

  .accordion-item {
    flex: 0 0 auto;
    min-height: 120px;
    max-height: 400px;
    width: 100%;
    scroll-snap-align: start;
    flex-direction: column !important;
    transition: all 0.4s ease;
  }

  .accordion-item:hover,
  .accordion-item.active {
    flex: 1 1 auto;
    min-height: 280px;
  }

  .accordion-image {
    width: 100% !important;
    height: 140px !important;
    flex-shrink: 0;
  }

  .accordion-item:hover .accordion-image,
  .accordion-item.active .accordion-image {
    height: 180px !important;
  }

  .accordion-text {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .accordion-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .accordion-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .accordion-item:hover .accordion-text p,
  .accordion-item.active .accordion-text p {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 1rem;
  }

  .accordion-text .btn-expand {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
    margin-top: auto;
  }

  .accordion-item:hover .accordion-text .btn-expand,
  .accordion-item.active .accordion-text .btn-expand {
    opacity: 1;
    transform: translateY(0);
  }

  /* FAQ Section */  .faq-question {
    padding: 1.2rem 1.5rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1.2rem 1.5rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }

  /* Marquee Section */
  .marquee_header {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .marquee__logo {
    height: 50px;
    padding: 10px 15px;
  }

  /* Testimonials */
  .testimonial-card {
    margin-bottom: 2rem;
  }

  /* Contact Section */
  .contact .row {
    flex-direction: column;
  }

  .contact-info {
    margin-bottom: 2rem;
  }

  .map-container {
    height: 250px;
    margin-bottom: 2rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 3rem 0;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .cta,
  .cta-buttons .btn-expand {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 0;
  }

  .footer .row {
    flex-direction: column;
  }

  .footer .col-3 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .footer-logo img {
    height: 50px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
  }

  /* Forms */
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Buttons */
  .btn, .btn-expand {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* CTA Button Mobile */
  .cta {
    width: auto;
    max-width: 100%;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    gap: 0.6rem;
  }

  .cta svg {
    width: 13px;
    height: 9px;
  }

  .hero .cta,
  .cta-buttons .cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Cards */
  .card-container {
    height: auto !important;
  }

  .card {
    flex-direction: column;
  }

  .img-content {
    height: 200px;
  }

  /* Utility Classes Mobile Override */
  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .mt-4 {
    margin-top: 2rem !important;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Very Small Mobile */
@media (max-width: 374px) {
  .section h2 {
    font-size: 1.6rem;
  }

  .hero {
    padding: 80px 15px 50px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .cta {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    gap: 0.6rem;
  }

  .cta svg {
    width: 12px;
    height: 8px;
  }

  .capacity-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-header-content h2 {
    font-size: 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .cta-section p {
    font-size: 1rem;
  }
}


/* Mobile Testimonial Carousel - Enhanced */
@media (max-width: 767px) {
  .testimonials .container {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .testimonials .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 1rem;
    margin: 0 !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .testimonials .row::-webkit-scrollbar {
    display: none;
  }

  .testimonials .col-3 {
    flex: 0 0 90% !important;
    max-width: 90% !important;
    min-width: 90% !important;
    scroll-snap-align: center;
  }

  .testimonial-card {
    height: 100%;
    min-height: 280px;
  }
}
