/* Custom styles */
body {
    font-family: 'Lato', sans-serif;
    background-color: #faf8f0; /* Sand */
    color: #4e443a; /* Dark Brown */
    font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}
.elcarmen-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
#elcarmen-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    object-fit: cover; /* Fill container without letterboxing */
}
.btn-primary {
    background-color: #c0bc88; /* Khaki */
    color: #faf8f0;
    transition: background-color 0.3s ease;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}
.btn-primary:hover {
    background-color: #b0ae7c; /* Darker Khaki */
}
.btn-secondary {
    background-color: transparent;
    border: 2px solid #faf8f0;
    color: #faf8f0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}
.btn-secondary:hover {
    background-color: #faf8f0;
    color: #4e443a;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    font-size: 2.5rem;
}
.section-title p {
    font-size: 1.125rem;
    font-family: 'Lato', sans-serif;
    color: #857f72; /* Grayish Brown */
    max-width: 600px;
    margin: 0.5rem auto 0;
    font-weight: 400;
}
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Animation on scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Carousel styles */
.carousel-container {
    overflow: hidden;
    position: relative;
}
.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}
/* Interactive Flex Gallery */
.flex-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.flex-gallery-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}
.flex-gallery-item {
    flex: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: flex 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}
.flex-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.flex-gallery-item:hover {
    flex: 4; /* Expand hovered item */
}
.flex-gallery-item:hover img {
    transform: scale(1.1);
}
/* Custom text and bg colors for theme */
.text-theme-muted {
    color: #706b62;
}
.bg-theme-white {
    background-color: #ffffff;
}
.bg-theme-sand {
     background-color: #faf8f0;
}
.footer-bg {
    background-color: #4e443a;
}
.bg-theme-dot-active {
    background-color: #4e443a;
}
.bg-theme-dot-inactive {
    background-color: #c0bc88;
}
.text-theme-carousel-arrow {
    color: #4e443a;
}
/* Responsive height for elcarmen section on mobile */
@media (max-width: 768px) {
    .elcarmen-section {
        height: 80vh; /* Make hero taller on mobile */
    }
    #elcarmen-video {
        width: 100%;
        height: 100%;
    }
}


