@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;700&display=swap');

:root {
    --ink-900: #1a1714;
    --ink-700: #3a332d;
    --ink-500: #675b50;
    --sand-100: #f7f2eb;
    --sand-200: #efe5d9;
    --gold-500: #b88a44;
    --gold-600: #9f7434;
    --teal-700: #2f5a63;
    --shadow-card: 0 14px 32px rgba(26, 23, 20, 0.12);
}

.container {
    max-width: 1140px;
}

.page-heading {
    margin: 0 auto 2.2rem;
    text-align: center;
    max-width: 760px;
}

.page-kicker {
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font: 700 0.8rem/1 Manrope, sans-serif;
    color: var(--teal-700);
}

.page-heading h1 {
    margin: 0;
    color: var(--ink-900);
    font: 700 clamp(2.1rem, 4vw, 3.2rem)/1.08 "Cormorant Garamond", serif;
}

.event-card {
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(26, 23, 20, 0.08);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.event-header {
    padding: 1rem 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #284d54, #3f737d 60%, #5e8a93);
}

.event-name {
    margin: 0;
    color: #fff;
    font: 700 1.8rem/1.12 "Cormorant Garamond", serif;
}

.main-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.event-body {
    display: grid;
    grid-template-columns: minmax(260px, 410px) 1fr;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(180deg, #fff, var(--sand-100));
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(26, 23, 20, 0.08);
}

.carousel-images {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-images img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 23, 20, 0.55);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: var(--teal-700);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid rgba(26, 23, 20, 0.08);
    border-left: 4px solid #1f3f46;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    color: var(--ink-700);
    font: 700 0.9rem/1.3 Manrope, sans-serif;
}

.info-item-link {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #2f5a63, #3f737d);
    border-color: rgba(26, 23, 20, 0.08);
    border-left-color: #1f3f46;
    box-shadow: 0 8px 18px rgba(47, 90, 99, 0.24);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.info-item-link:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(47, 90, 99, 0.3);
}

.info-item-link:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

.info-item-map {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
}

.map-main-line {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.map-helper {
    font: 600 0.72rem/1.2 Manrope, sans-serif;
    color: rgba(255, 255, 255, 0.88);
    padding-left: 1.3rem;
}

.info-item-calendar {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #b88a44, #9f7434);
    border-color: rgba(159, 116, 52, 0.45);
    border-left-color: #835d28;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
    box-shadow: 0 8px 18px rgba(159, 116, 52, 0.28);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.calendar-main-line {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.calendar-helper {
    font: 600 0.72rem/1.2 Manrope, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 1.3rem;
}

.info-item-calendar:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(159, 116, 52, 0.34);
}

.info-item-calendar:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

.event-description {
    color: var(--ink-700);
    font: 500 0.98rem/1.7 Manrope, sans-serif;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: #22c55e;
    font: 700 0.9rem/1 Manrope, sans-serif;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.whatsapp-btn:hover {
    color: #fff;
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.alert-info {
    background: #f2f8fa;
    border-color: #d4e7ec;
    color: #35535a;
    border-radius: 12px;
}

@media (max-width: 980px) {
    .event-body {
        grid-template-columns: 1fr;
    }

    .carousel-images img {
        height: 240px;
    }
}

@media (max-width: 640px) {
    .event-name {
        font-size: 1.45rem;
    }

    .main-image {
        aspect-ratio: 4/3;
    }

    .carousel-images img {
        height: 210px;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}
