/* Interactive Map Styles */
#latin-america-map {
    background-color: #f8f9fa;
}

/* Remove Leaflet attribution for cleaner look */
.leaflet-control-attribution {
    display: none;
}

/* Country labels */
.country-label {
    font-weight: bold;
    font-size: 14px;
    text-anchor: middle;
    pointer-events: none;
    text-shadow:
            2px 2px 4px rgba(255,255,255,0.8),
            -2px -2px 4px rgba(255,255,255,0.8),
            2px -2px 4px rgba(255,255,255,0.8),
            -2px 2px 4px rgba(255,255,255,0.8);
    color: #333;
}

/* Country tooltips */
.country-tooltip {
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    padding: 5px 10px;
}

/* Custom number markers - matching your yellow pin style */
.custom-number-marker {
    cursor: pointer;
}

.marker-pin {
    position: relative;
    width: 40px;
    height: 55px;
}

.marker-circle {
    width: 40px;
    height: 40px;
    background-color: #FFD700;
    border: 3px solid #FFA500;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.marker-number {
    display: block;
    transform: rotate(45deg);
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* Hover effect for markers */
.custom-number-marker:hover .marker-circle {
    background-color: #FFA500;
    transform: rotate(-45deg) scale(1.1);
    transition: all 0.3s ease;
}

/* If using the actual quimbaya pin image */
.custom-marker-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.custom-marker-icon:hover {
    transform: scale(1.1);
}

/* Ensure map is responsive */
@media (max-width: 768px) {
    #latin-america-map {
        height: 400px !important;
    }

    .country-label {
        font-size: 12px;
    }

    .marker-circle {
        width: 30px;
        height: 30px;
    }

    .marker-number {
        font-size: 14px;
    }
}

/* Destinations Carousel Styles */
.destinations-carousel {
    padding: 40px 0;
}

.destinations-swiper {
    position: relative;
    padding: 0 50px; /* Space for navigation arrows */
}

.destination-slide {
    display: block;
    text-decoration: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 250px; /* Fixed height is crucial */
    position: relative;
}

.destination-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.destination-slide__image {
    width: 100%;
    height: 100%; /* Full height of parent */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.destination-slide__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
}

.destination-slide__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
}

.destination-slide__title h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Swiper Navigation */
.destinations-swiper .swiper-button-prev,
.destinations-swiper .swiper-button-next {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.destinations-swiper .swiper-button-prev::after,
.destinations-swiper .swiper-button-next::after {
    font-size: 18px;
    color: #333;
}

/* Swiper Pagination */
.destinations-swiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.destinations-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
}

.destinations-swiper .swiper-pagination-bullet-active {
    background: #6ec1e4;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .destinations-carousel {
        display: block !important;
    }

    .map-container {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .destinations-carousel {
        display: none !important;
    }

    .map-container {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .destinations-swiper {
        padding: 0 40px;
    }

    .destination-slide {
        height: 200px; /* Adjusted height for mobile */
    }

    .destination-slide__title h3 {
        font-size: 1.5rem;
    }

    .destinations-swiper .swiper-button-prev,
    .destinations-swiper .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .destinations-swiper .swiper-button-prev::after,
    .destinations-swiper .swiper-button-next::after {
        font-size: 16px;
    }
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 711px;
    overflow: hidden;
}

/* Slideshow Styles */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background-image: url('/images/home/d/quimbaya-header-image-1.webp');
}

.hero-slide:nth-child(2) {
    background-image: url('/images/home/d/quimbaya-header-image-2.webp');
}

/* Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Wave Effect */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

/* Filter Section - Updated to match search page */
.filter-section {
    margin-top: -130px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
    padding: 0 20px;
}

/* Filter Bar - Matching search page exactly */
.filter-bar {
    display: flex;
    min-height: 67px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    border-radius: 15px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, .37);
    margin: 0 auto;
    padding: 0;
    background: white;
}

.filter-select-wrapper {
    flex: 1;
    position: relative;
    border-right: 1px solid #e5e5e5;
}

.filter-select-wrapper:last-of-type {
    border-right: none;
}

.filter-select {
    width: 100%;
    padding: 20px 40px 20px 20px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

.filter-select:focus {
    outline: none;
}

.filter-select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #666;
}

.filter-button {
    color: #fff;
    background-color: #6ec1e4;
    border-style: none;
    border-radius: 0 15px 15px 0;
    padding: 20px 40px;
    margin: 0;
    align-self: stretch;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.filter-button:hover {
    background-color: var(--primary-hover);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-header .subtitle {
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: none;
    font-style: normal;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.section-header h2 {
    font-family: "Montserrat Thin", sans-serif;
    font-size: 35px;
    font-weight: 700;
    font-style: normal;
    color: #484848;
    line-height: 1;
}

/* Products Swiper - Enhanced scaling and differentiation */
.products-swiper {
    position: relative;
    overflow: hidden;
    position: relative;
    padding: 40px 60px 60px;
    min-height: 800px;
}

.products-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Default state for all slides - smaller */
.products-swiper .slide-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.8s ease;
    transform: scale(0.8);
    opacity: 0.6;
    filter: blur(0.5px);
    min-height: 420px;
    cursor: pointer;
}

/* Active (center) slide - full size and taller */
.products-swiper .slide-content.slide-active {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 2;
    min-height: 480px; /* Taller minimum height for center */
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2); /* More prominent shadow */
}

/* Previous and next slides - medium size */
.products-swiper .slide-content.slide-prev,
.products-swiper .slide-content.slide-next {
    transform: scale(0.8);
    opacity: 0.6;
    z-index: 1;
    min-height: 420px;
}

/* Image height adjustments */
.products-swiper .slide-content img {
    width: 100%;
    height: 280px; /* Default height */
    object-fit: cover;
    transition: height 0.8s ease;
}

.products-swiper .slide-content.slide-active img {
    height: 320px; /* Taller image for active slide */
}

/* Text scaling for better differentiation */
.products-swiper .slide-text {
    padding: 30px;
    text-align: center;
    transition: all 0.8s ease;
}

/* Smaller text for side slides */
.products-swiper .slide-content:not(.slide-active) .slide-text h3 {
    font-size: 1.5rem; /* Smaller than default */
}

.products-swiper .slide-content:not(.slide-active) .slide-text p {
    font-size: 0.95rem; /* Smaller than default */
    line-height: 1.5;
}

/* Normal text for active slide */
.products-swiper .slide-content.slide-active .slide-text h3 {
    font-size: 1.8rem; /* Full size */
    font-weight: 700;
}

.products-swiper .slide-content.slide-active .slide-text p {
    font-size: 1.1rem; /* Full size */
    line-height: 1.6;
}

/* Additional visual differentiation */
.products-swiper .slide-content:not(.slide-active) {
    /* Slight grayscale for non-active slides */
    filter: grayscale(20%) blur(0.3px);
}

/* Ensure smooth transitions */
.products-swiper.swiper-container-initialized .slide-content,
.products-swiper.swiper-container-initialized .slide-content img,
.products-swiper.swiper-container-initialized .slide-text {
    transition: all 0.8s ease;
}

/* Override any conflicting styles */
.products-swiper .swiper-slide-active .slide-content:not(.slide-active) {
    transform: scale(0.8) !important;
    min-height: 420px !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .products-swiper .slide-content {
        transform: scale(0.85);
        min-height: 380px;
    }

    .products-swiper .slide-content.slide-active {
        transform: scale(1);
        min-height: 420px;
    }

    .products-swiper .slide-content.slide-active img {
        height: 280px;
    }

    .products-swiper .slide-content:not(.slide-active) img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .products-swiper {
        padding: 0 20px 60px;
        min-height: 600px;
    }

    /* On mobile, all slides same size */
    .products-swiper .slide-content,
    .products-swiper .slide-content.slide-active {
        transform: scale(1);
        opacity: 1;
        filter: none;
        min-height: auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .products-swiper .slide-content img,
    .products-swiper .slide-content.slide-active img {
        height: 200px;
    }

    .products-swiper .slide-text h3,
    .products-swiper .slide-content.slide-active .slide-text h3 {
        font-size: 1.3rem;
    }

    .products-swiper .slide-text p,
    .products-swiper .slide-content.slide-active .slide-text p {
        font-size: 1rem;
    }
}







/* Destinations Map */
.destinations-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Destination Cards Carousel */
.destinations-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.destination-card {
    flex: 0 0 280px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: scale(1.05);
}

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.destination-card h2 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

/* Sustainability Section */
.sustainability-section {
    padding: 80px 0;
}

.sustainability-section > .container,
.py-5 > .container,
.blog-section > .container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sustainability-content {
    display: flex;
    flex-direction: row;
    border-radius: 15px;
    overflow: hidden;
}

.sustainability-background {
    background-image: url(https://quimbaya-tours.com/wp-content/uploads/2023/11/pexels-tom-fisk-2739664.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.missed-background {
    background-image: url(https://quimbaya-tours.com/wp-content/uploads/2023/11/sustainable-news.jpg    );
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sustainability-image {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.sustainability-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sustainability-text {
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(31.5px);
    -webkit-backdrop-filter: blur(31.5px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 427px;
    width: 100%;
    padding: 30px 20px;
}

.sustainability-text h2 {
    font-family: "Montserrat Thin", sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 42px;
    color: #fff;
}

.sustainability-text p {
    font-family: "Inter", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 34px;
    color: #fff;
}

.sustainability-section-btn {
    font-family: "Inter", Sans-serif;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    gap: 10px;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.blog-card__link {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
    padding: 20px;
    gap: 30px;
    align-items: stretch;
}

.blog-card--right .blog-card__link {
    flex-direction: row-reverse;
}

.blog-card__image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    min-height: 350px;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.blog-card__date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.blog-card__excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.blog-card__cta {
    color: black;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-card__cta {
    gap: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-card__link {
        flex-direction: column !important;
        padding: 15px;
    }

    .blog-card__image {
        flex: none;
        width: 100%;
        min-height: 250px;
    }

    .blog-card__content {
        padding: 15px;
    }

    .blog-card__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-list {
        gap: 40px;
    }

    .blog-card__link {
        gap: 20px;
    }

    .blog-card__image {
        min-height: 200px;
    }

    .blog-card__content {
        padding: 10px;
    }

    .blog-card__title {
        font-size: 1.3rem;
    }

    .blog-card__excerpt {
        font-size: 1rem;
    }
}

.visit-latin-america-section {
    background-color: var(--secondary-bg-color);
    min-height: 657px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    min-height: 422px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-image: url('/images/home/d/Lake-Atitlan-Guatemala.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(213, 112, 8, 0.5); /* #d57008 with 50% opacity */
    z-index: 1;
}

.newsletter-section .container {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.newsletter-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.newsletter-form {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

.newsletter-form input {
    flex: 1 1 150px;
    min-width: 0;
    padding: 20px 25px;
    border: none;
    font-size: 1rem;
    background: white;
    outline: none;
}

.newsletter-form input:not(:last-of-type) {
    border-right: 1px solid #e5e5e5;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    flex: 0 0 auto;
    background: #6ec1e4;
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary-hover);
}

@media (max-width: 991px) {
    .newsletter-form {
        flex-wrap: wrap;
    }

    .newsletter-form input {
        flex: 1 1 100%;
    }

    .newsletter-form input:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .newsletter-form button {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .newsletter-section h2 {
        font-size: 2rem;
    }

    .newsletter-section p {
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 10px;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form input:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .newsletter-form button {
        width: 100%;
        padding: 20px;
    }
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-row-container {
    margin: 70px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 20px;
    padding: 10px;
}

.gallery-row-container img {
    flex: 1 1 auto;
    max-width: 140px;
    max-height: 90px;
    height: auto;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-wave svg {
        height: 100px;
    }

    .filter-bar {
        flex-wrap: wrap;
        margin-top: -40px;
    }

    .filter-select-wrapper {
        flex: 1 0 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .filter-select-wrapper:last-of-type {
        border-bottom: none;
    }

    .filter-button {
        width: 100%;
        border-radius: 0 0 5px 5px;
    }

    .product-card {
        flex: 0 0 100%;
    }

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

    .sustainability-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 0;
    }

    .hero-section {
        min-height: 450px;
        align-items: normal;
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-wave svg {
        height: 100px;
    }

    .product-card {
        flex: 0 0 100%;
    }

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

    .sustainability-content {
        flex-direction: column;
    }

    .sustainability-text {
        text-align: center;
    }

    .sustainability-section-btn {
        align-self: center;
    }

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

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .gallery-row-container {
        position: relative;
        height: 200px; /* Fixed height for carousel */
        overflow: hidden;
        margin: 40px 0;
        padding: 0;
        display: block; /* Override flex */
        gap: 0; /* Reset gap */
    }

    .gallery-row-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: contain;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        transform: none;
    }

    .gallery-row-container img:hover {
        transform: none;
    }

    .gallery-row-container img[data-active] {
        opacity: 1;
    }
}
