/* Define color variables (Consistent) */
:root {
    --bg-color: #FDF8F5;
    --text-color: #4A4A4A;
    --heading-color: #8B735B;
    --accent-color: #B58D7B;
    --subtle-accent: #C8A2A3; /* Use for subtle highlights */
    --white-color: #ffffff;
    --border-color: #EAE0DC;
}

/* Basic Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* === MOBILE FIRST STYLES === */
body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 960px; /* Suitable max-width */
    margin: 0 auto;
    padding: 0 15px;
}

/* Page Heading */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: var(--heading-color);
    text-align: center;
    margin: 40px 0 30px 0;
    font-weight: 700;
}

/* Section Heading */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2em; /* Mobile size */
    color: var(--accent-color);
    text-align: center;
    margin: 50px 0 30px 0;
    font-weight: 400;
}

/* Schedule Section */
#schedule {
    margin-bottom: 50px;
}

.schedule-list {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden; /* Contain borders */
    background-color: var(--white-color); /* White background for the list */
    box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

.schedule-item {
    display: flex;
    padding: 18px 15px; /* Mobile padding */
    border-bottom: 1px solid var(--border-color);
    gap: 15px; /* Space between time and details */
}

.schedule-item:last-child {
    border-bottom: none; /* Remove border from last item */
}

.schedule-item .time {
    font-weight: 700;
    color: var(--heading-color);
    flex-basis: 80px; /* Fixed width for time */
    flex-shrink: 0; /* Prevent time from shrinking */
    font-size: 0.95em;
    padding-top: 2px; /* Align better vertically */
}

.schedule-item .details h4 {
    font-family: 'Lato', sans-serif; /* Use Lato for event title */
    font-weight: 700;
    font-size: 1.1em;
    color: var(--text-color);
    margin-bottom: 5px;
}

.schedule-item .details p {
    font-size: 0.9em;
    color: var(--text-color);
    line-height: 1.5;
}
.schedule-item .details p.location {
    color: var(--subtle-accent); /* Highlight location */
    font-style: italic;
}


/* Venue Section */
#venue {
    margin-bottom: 50px;
}

.venue-content {
    /* Layout handled by media query */
}

.venue-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em; /* Mobile size */
    color: var(--heading-color);
    margin-bottom: 10px;
}

.venue-details p {
    margin-bottom: 1em;
    font-size: 1em; /* Mobile size */
}
.venue-details strong { /* Style labels */
    color: var(--accent-color);
    font-weight: 700;
}
.venue-details address { /* Style address block */
    font-style: normal;
    margin-bottom: 1em;
}

/* Responsive Map Container */
.map-container {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-top: 30px; /* Space above map on mobile */
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* === TABLET & DESKTOP STYLES (min-width: 768px) === */
@media (min-width: 480px) {
    .container { width: 85%; }
    .page-title { font-size: 3.5em; margin: 60px 0 50px 0; }
    .section-title { font-size: 2.2em; margin: 60px 0 40px 0; }

    .schedule-item {
        padding: 25px 30px; /* More padding */
        gap: 30px;
    }
    .schedule-item .time {
        font-size: 1em;
        flex-basis: 100px; /* More space for time */
    }
    .schedule-item .details h4 { font-size: 1.2em; }
    .schedule-item .details p { font-size: 0.95em; }


    /* Two Column Layout for Venue */
    .venue-content {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 40px;
        align-items: flex-start; /* Align items to top */
    }

    .map-container {
        margin-top: 0; /* Remove top margin when in columns */
        padding-bottom: 65%; /* Adjust aspect ratio if needed */
    }

    .venue-details h3 { font-size: 1.7em; }
    .venue-details p { font-size: 1.05em; }
}

/* === LARGER DESKTOP STYLES (min-width: 1024px) === */
@media (min-width: 1024px) {
    .container { width: 80%; max-width: 1024px; } /* Further constrain width */
    .page-title { font-size: 3.8em; }
    .section-title { font-size: 2.5em; }

    .venue-content {
        gap: 60px; /* More gap */
    }

    .schedule-item { padding: 30px 40px; }
    .schedule-item .time { flex-basis: 120px; font-size: 1.1em; }
    .schedule-item .details h4 { font-size: 1.25em; }
    .schedule-item .details p { font-size: 1em; }
}