/* Hero */
.hero-section {
    position: relative;
    max-height: 60vh;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(70%);
}

.hero-section div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.hero-section h1 {
    font-family: "Dancing Script", cursive;
    font-size: xx-large;
    font-weight: bold;
    color: rgb(255, 255, 255);
    margin: 0 auto;
    max-width: 1280px;
    padding: 20px;
}

.hero-section h4 {
    font-family: "Dancing Script", cursive;
    font-size: larger;
    font-weight: 400;
    color: rgb(255, 255, 255);
    margin: 0 auto;
    max-width: 1280px;
    padding: 20px;
}

/* Introduction */
.introduction-section {
    margin: 0 auto;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px;
    font-size: large;
    gap: 30px;
}

.introduction-section p {
    font-weight: 200;
    line-height: 1.6;
}

.introduction-section h1 {
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Why Us */
.why-us-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: large;
    padding: 50px;
    background-color: rgb(187, 152, 112);
    color: white;
}

.why-us-flex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    text-align: center;
    font-size: large;
    gap: 30px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 1280px;
}

@media screen and (max-width: 768px) {
    .why-us-flex {
        flex-wrap: wrap;
    }
}

.why-us-flex p {
    font-weight: 200;
}

/* --- Events Carousel Section --- */
.events-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.events-section h2 {
    font-family: "Dancing Script";
    font-weight: 800;
    font-size: xx-large;
    color: rgb(187, 152, 112);
    margin-bottom: 40px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* The scrollable area */
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    width: 100%;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-card:first-child {
    margin-left: auto;
}

.carousel-card:last-child {
    margin-right: auto;
}

.carousel-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    margin: 0;
    font-weight: 400;
    color: #333;
    font-size: 1.2rem;
}

.carousel-btn {
    background-color: rgb(187, 152, 112);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: rgb(150, 120, 85);
}

.prev-btn {
    margin-right: 15px;
}

.next-btn {
    margin-left: 15px;
}

/* Mobile Adjustment */
@media screen and (max-width: 768px) {
    .carousel-btn {
        display: none;
    }

    .carousel-card {
        width: 80%;
    }
}

.vinos-event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: crimson;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}