/* Gallery Section */
.gallery {
    width: 100%;
    max-width: 1535px;
    margin: 0 auto;
    padding: 1rem 1rem;
}

.mycarousel-container {
    width: 100%;
    position: relative;
    margin-top: 4rem;
    padding: 0 60px;
}

.mycarousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.mycarousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding-right: 2rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.gallery-item {
    position: relative;
    width: 33%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: linear-gradient(135deg, var(--earth-light) 0%, var(--earth-lightest) 100%);
    border-radius: 4px;
    flex-shrink: 0;
}

    .gallery-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }

    .gallery-item:hover::before {
        opacity: 1;
    }

.gallery-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-item-content {
    transform: translateY(0);
}

.gallery-item h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.gallery-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
}


/* Optional: Individual gradient fallbacks */
.gallery-item[data-gradient="1"] {
    background: linear-gradient(135deg, var(--earth-dark) 0%, var(--earth-brand-active) 100%);
}

.gallery-item[data-gradient="2"] {
    background: linear-gradient(135deg, #8B7B6B 0%, var(--earth-dark) 100%);
}

.gallery-item[data-gradient="3"] {
    background: linear-gradient(135deg, var(--earth-medium) 0%, #8B7B6B 100%);
}

.gallery-item[data-gradient="4"] {
    background: linear-gradient(135deg, var(--earth-border) 0%, var(--earth-medium) 100%);
}

.gallery-item[data-gradient="5"] {
    background: linear-gradient(135deg, var(--earth-lightest) 0%, var(--earth-light) 100%);
}

.gallery-item[data-gradient="6"] {
    background: linear-gradient(135deg, var(--earth-dark) 0%, var(--earth-medium) 100%);
}

.gallery-item[data-gradient="7"] {
    background: linear-gradient(135deg, var(--earth-light) 0%, var(--earth-lightest) 100%);
}

.gallery-item[data-gradient="8"] {
    background: linear-gradient(135deg, var(--earth-brand-active) 0%, var(--earth-dark) 100%);
}

.gallery-item[data-gradient="9"] {
    background: linear-gradient(135deg, var(--earth-lightest) 0%, var(--earth-border) 100%);
}

.gallery-item[data-gradient="10"] {
    background: linear-gradient(135deg, var(--earth-medium) 0%, var(--earth-dark) 100%);
}

/* Carousel Navigation */
.mycarousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(122, 107, 94, 0.1);
    border: 1px solid rgba(122, 107, 94, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

    .mycarousel-nav:hover {
        background: rgba(122, 107, 94, 0.2);
        border-color: rgba(122, 107, 94, 0.5);
    }

    .mycarousel-nav.disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

        .mycarousel-nav.disabled:hover {
            background: rgba(122, 107, 94, 0.1);
            border-color: rgba(122, 107, 94, 0.3);
        }

.mycarousel-prev {
    left: 0;
}

.mycarousel-next {
    right: 0;
}

.mycarousel-nav svg {
    width: 24px;
    height: 24px;
    stroke: var(--earth-dark);
    stroke-width: 2;
    fill: none;
}

/* Carousel Indicators */
.mycarousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.mycarousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(122, 107, 94, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .mycarousel-indicator.active {
        background: rgba(122, 107, 94, 0.8);
        width: 24px;
        border-radius: 4px;
    }

/* Section Title */
.section-title {
    width: 100%;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 0;
}

/* About Section */
.about {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 8rem 4rem;
    text-align: center;
}

    .about p {
        font-size: 1.2rem;
        line-height: 2;
        font-weight: 300;
        opacity: 0.8;
        margin-top: 2rem;
    }

/* Contact Section */
.contact {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 8rem 4rem;
    text-align: center;
}

.contact-link {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.2rem 3rem;
    border: 1px solid rgba(122,107,94,0.3);
    color: var(--earth-dark);
    text-decoration: none;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .contact-link:hover {
        background: var(--earth-dark);
        color: var(--earth-lightest);
        border-color: var(--earth-dark);
    }

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .gallery {
        padding: 6rem 2rem;
    }

    .gallery-item {
        width: 50%;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .gallery {
        padding: 4rem 1rem;
    }

    .mycarousel-container {
        padding: 0;
        margin-top: 2rem;
    }

    .mycarousel-wrapper {
        padding: 0;
        overflow: hidden;
    }

    .mycarousel-track {
        display: flex;
        justify-content: flex-start;
        padding: 0;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about, .contact {
        padding: 4rem 1.5rem;
    }

        .about p {
            font-size: 1rem;
            line-height: 1.8;
        }

    .contact-link {
        padding: 1rem 2rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}
