/* ======================================================
   EVENTS SECTION – FULL RESET CLEAN VERSION
====================================================== */

.events {
    color: var(--text-color);
    padding: 100px 20px;
    background: var(--primary-color);
    text-align: center;
}

.event-wrapper {
    position: relative;
    padding: 10px;
    background: url(../media/Midnight-03-Background.jpeg);
    border-radius: 250px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}


.section-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

/* =========================
   DIVIDER
========================= */

.rustic-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.rustic-divider span {
    width: 60px;
    height: 1px;
    background: var(--secondary-color);
    opacity: 0.5;
}

.rustic-divider i {
    color: var(--secondary-color);
    font-size: 16px;
}

.rustic-divider.small span {
    width: 40px;
}

/* =========================
   EVENTS CARD WRAPPER
========================= */

.events-card {
    max-width: 650px;
    margin: auto;
}

/* =========================
   EVENT ITEM
========================= */

.event-item {
    position: relative;
    padding: 50px 30px;
    border-radius: inherit;
    border: solid 5px var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.event-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: var(--primary-opacity);
    border-radius: inherit;

    z-index: 0;
}

.event-item * {
    z-index: 999;
}

.event-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================
   ICON FIX TOTAL
========================= */

.event-icon {
    width: 80px;
    height: auto;
    display: grid;
    place-items: center;
    color: var(--text-color);
}

.event-icon i {
    font-size: 48px;
    line-height: 1;
}

/* =========================
   TITLE
========================= */
.events .section-title {
    color: var(--text-color);
}

.event-name {
    font-family: var(--heading-font);
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-color);
}

/* =========================
   DATE BLOCK
========================= */

.event-date-block {
    margin-bottom: 25px;
}

.date-day {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1;
}

.date-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.date-divider span {
    width: 40px;
    height: 1px;
    background: var(--secondary-color);
    opacity: 0.6;
}

.date-month {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--text-color);
}

.date-year {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
}

/* =========================
   TIME
========================= */

.event-time {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-color);
}

.event-time i {
    margin-right: 6px;
    color: var(--secondary-color);
}

/* =========================
   LOCATION
========================= */

.event-location-info {
    margin-top: 20px;
}

.event-location {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 5px;
}

.event-location i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.event-address {
    font-size: 14px;
    color: var(--text-color);
}

/* =========================
   BUTTON
========================= */

.rustic-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rustic-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* =========================
   DRESS CODE & NOTES
========================= */

.event-dresscode {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-color);
}

.event-notes {
    margin-top: 15px;
    font-style: italic;
    font-size: 14px;
    opacity: 0.7;
}

/* =========================
   EMPTY STATE
========================= */

.event-item.empty {
    background: transparent;
    box-shadow: none;
}

.no-event {
    font-style: italic;
    opacity: 0.6;
}

/* =========================
   GOOGLE CALENDAR
========================= */

.gcalendar-wrapper a {
    margin: 20px;
    border: solid var(--secondary-color) 2px;
    border-radius: 10px;
}

/* ===============================
   COUNTDOWN
================================= */

.countdown {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 1;
    margin: 20px auto;
}

.time-box {
    width: 120px;
    height: 90px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--secondary-color);
}

.time-box:hover {
    transform: translateY(-5px);
}

.time-box span {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
}

.time-box small {
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.9;
}