:root {
    --color-primary: #f4f1bbff;
    --color-secondary: #9bc1bcff;
    --color-accent: #ed6a5aff;
    --color-light: #e6ebe0ff;
    --color-dark: #5d576bff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Lounge Vintage";
    src: url("./assets/Lounge\ Vintage.ttf") format("opentype");
}
@font-face {
    font-family: "Tommy";
    src: url("./assets/MADE\ Tommy\ Soft\ Regular\ PERSONAL\ USE.otf")
        format("opentype");
}

body {
    .title {
        font-family: "Lounge Vintage", sans-serif;
    }

    .feature-title,
    .page-title,
    .section-title,
    .subtitle,
    .feature-title {
        font-family: "Tommy", sans-serif;
    }
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    zoom: 1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--color-primary);
    padding: 0 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo {
    width: 150px;
    height: 150px;
    background-image: url("./assets/logo.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    font-size: 0;
    flex-shrink: 0;
}

.language-buttons {
    width: 1px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.language-button {
    background-color: var(--color-primary);
    border: none;
    border-radius: 5px;
    padding: 2px 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.language-button:hover {
    background-color: var(--color-secondary);
}

.title-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: inline;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 4rem;
    font-weight: 100;
    color: var(--color-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    margin-bottom: -0.5rem;
}

.subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-dark);
    text-align: center;
    line-height: 1;
}

.main-content {
    padding: 20px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.02, 1.02);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-content {
    padding-left: 20px;
    padding-right: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 5px;
    text-decoration: none;
    line-height: 1;
}

.feature-title:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .feature-title {
        font-size: 1.3rem;
    }
}

.feature-description {
    color: var(--color-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.feature-link:hover {
    text-decoration: underline;
}

.page-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    line-height: 1;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.3rem;
    }
}

.page-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-secondary);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.3rem;
    }
}

.event-list {
    list-style-type: none;
}

.event-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.event-item:last-child {
    border-bottom: none;
}

.current-event-date {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
    text-align: center;
}

.event-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent);
    display: flex;
    justify-content: space-between;
}

.event-description {
    color: var(--color-dark);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-image {
    width: 100%;
    /* height: auto; */
    border-radius: 8px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.event-image:hover {
    transform: scale(0.97);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 8px;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin: 20px 0;
}

.calendar-header {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: var(--color-accent);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-size: 0.9rem;
}

.calendar-day.empty {
    background-color: transparent;
}

.calendar-day.today {
    background-color: var(--color-primary);
    font-weight: 600;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.past-events-grid .event-image-grid {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.past-events-grid .event-image-grid:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.custom-divider {
    border-top: 2px solid var(--color-dark); /* Can be solid, dotted, or dashed */
    width: 100%; /* Adjust width */
    margin: 20px auto; /* Center the divider */
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tab {
    flex: 1;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: none;
    background: var(--color-primary);
    border-radius: 4px;
    transition: background 0.3s ease;
    color: var(--color-dark);
}

.tab:hover {
    background: var(--color-secondary);
}

.tab.active {
    background: var(--color-accent);
    color: var(--color-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

footer {
    background-color: var(--color-secondary);
    padding: 10px 0;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
}

.social-links {
    display: flex;
    gap: 15px;
    row-gap: 0px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-link {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: white;
    transition: fill 0.3s ease;
}

.social-link:hover .social-icon {
    fill: var(--color-accent);
}

.disclaimer {
    text-align: center;
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .subtitle {
        font-size: 1.5rem;
    }
    .title {
        font-size: 2rem;
        margin-top: -7px;
    }

    .logo {
        width: 150px;
        height: 150px;
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .features {
        grid-template-columns: 1fr;
    }
    .past-events-grid {
        grid-template-columns: 1fr;
    }
}
