@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');


:root {

    --black: #111111;

    --cream: #f5f1e9;

    --gold: #b18a4a;

    --white: #ffffff;

    --gray: #77716a;

    --border: #ddd5c8;

}



/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


body {

    background: var(--cream);

    color: var(--black);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

}



/* =====================================================
   HEADER
===================================================== */

.site-header {

    position: relative;

    z-index: 1000;

    background: var(--black);

    color: white;

    padding: 17px 5%;

}


.header-inner {

    max-width: 1280px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 48px;

}


.logo {

    color: white;

    text-decoration: none;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 27px;

    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;

}


.logo span {

    color: var(--gold);

}



/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.main-nav {

    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;

}


.main-nav a {

    color: white;

    text-decoration: none;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.35px;
    white-space: nowrap;

}


.main-nav a:hover {

    color: var(--gold);

}



/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.menu-toggle {

    display: none;

    width: 42px;

    height: 42px;

    padding: 8px;

    background: transparent;

    border: 1px solid #444;

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 100%;

    height: 2px;

    background: white;

    margin: 5px 0;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}


/* MENU ICON BECOMES X */

.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}



/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 585px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("https://images.unsplash.com/photo-1539650116574-75c0c6d73f6e?auto=format&fit=crop&w=2000&q=85")
        center / cover;

    display: flex;

    align-items: flex-end;

    padding: 68px 5%;

    color: white;

}


.hero-inner {

    width: 100%;

    max-width: 1280px;

    margin: auto;

}


.hero-label {

    color: #d7b675;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3.2px;

    margin-bottom: 16px;

}


.hero h1 {

    max-width: 850px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            52px,
            7vw,
            88px
        );

    line-height: 0.98;

    letter-spacing: -2.2px;

    margin-bottom: 24px;

}


.hero p {

    max-width: 590px;

    color: #e5e1da;

    font-size: 15px;

    line-height: 1.65;

    margin-bottom: 28px;

}



/* =====================================================
   BUTTONS
===================================================== */

.btn {

    display: inline-block;

    background: var(--gold);

    color: white;

    padding: 13px 22px;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    border: none;

    cursor: pointer;

    transition:
        background 0.2s ease;

}


.btn:hover {

    background: #96723a;

}


.btn-dark {

    background: var(--black);

}


.btn-dark:hover {

    background: var(--gold);

}



/* =====================================================
   SECTIONS
===================================================== */

.container {

    width: 90%;

    max-width: 1280px;

    margin: auto;

}


.section {

    padding: 78px 0;

}


.section-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 34px;

}


.section-label {

    color: var(--gold);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 12px;

}


.section-title {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            36px,
            4.5vw,
            56px
        );

    line-height: 1;

    letter-spacing: -1.5px;

}



/* =====================================================
   EVENT GRID
===================================================== */

.events-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;

}



/* =====================================================
   EVENT CARD
===================================================== */

.event-card {

    position: relative;

    display: flex;

    flex-direction: column;

    background: var(--white);

    border:
        1px solid var(--border);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}


.event-card:hover {

    transform:
        translateY(-7px);

    border-color: #c9bda9;

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.09);

}



/* =====================================================
   EVENT IMAGE
===================================================== */

.event-image {

    width: 100%;

    height: 250px;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease;

}


.event-card:hover .event-image {

    transform:
        scale(1.025);

}



/* =====================================================
   EVENT CONTENT
===================================================== */

.event-content {

    display: flex;

    flex-direction: column;

    flex-grow: 1;

    padding:
        23px 23px 24px;

}



/* =====================================================
   EVENT CATEGORY
===================================================== */

.event-category {

    color: var(--gold);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2.2px;

    text-transform: uppercase;

    margin-bottom: 13px;

}



/* =====================================================
   EVENT TITLE
===================================================== */

.event-title {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 25px;

    font-weight: 600;

    line-height: 1.12;

    letter-spacing: -0.4px;

    margin-bottom: 16px;

}



/* =====================================================
   EVENT INFO
===================================================== */

.event-info {

    color: var(--gray);

    font-size: 12px;

    line-height: 1.9;

    margin-bottom: 5px;

}


.event-info strong {

    color: var(--black);

    font-weight: 600;

}



/* =====================================================
   EVENT CARD BUTTON
===================================================== */

.event-card .btn {

    align-self: flex-start;

    margin-top: auto;

    padding-top: 14px;

    padding-bottom: 14px;

}



/* =====================================================
   EVENT DATE BADGE
===================================================== */

.event-date-badge {

    position: absolute;

    top: 18px;

    left: 18px;

    z-index: 2;

    min-width: 58px;

    padding: 10px 9px;

    background: var(--cream);

    color: var(--black);

    text-align: center;

    border:
        1px solid
        rgba(17, 17, 17, 0.12);

    box-shadow:
        0 5px 15px
        rgba(0, 0, 0, 0.08);

}


.event-date-day {

    display: block;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 25px;

    font-weight: 600;

    line-height: 1;

}


.event-date-month {

    display: block;

    color: var(--gold);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-top: 5px;

    text-transform: uppercase;

}



/* =====================================================
   FEATURED SECTION
===================================================== */

.featured {

    background: var(--black);

    color: white;

}


.featured .section-title {

    color: white;

}


.featured-card {

    display: grid;

    grid-template-columns:
        1.2fr 1fr;

    background: #1b1b1b;

}


.featured-card img {

    width: 100%;

    height: 470px;

    object-fit: cover;

}


.featured-content {

    padding: 48px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.featured-content h2 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 46px;

    line-height: 1.05;

    margin-bottom: 25px;

}


.featured-content p {

    color: #aaa;

    line-height: 1.8;

    margin-bottom: 30px;

}



/* =====================================================
   EVENT DETAIL PAGE
===================================================== */

.event-detail {

    padding: 58px 0;

}



/* =====================================================
   EVENT DETAIL IMAGE
===================================================== */

.event-detail-image {

    width: 100%;

    height: 360px;

    object-fit: cover;

    display: block;

    margin-bottom: 40px;

}



/* =====================================================
   EVENT DETAIL CATEGORY
===================================================== */

.event-detail-category {

    color: var(--gold);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 15px;

}



/* =====================================================
   EVENT DETAIL TITLE
===================================================== */

.event-detail h1 {

    max-width: 900px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            38px,
            4.5vw,
            52px
        );

    line-height: 1.08;

    letter-spacing: -1px;

    margin-bottom: 30px;

}



/* =====================================================
   EVENT DETAILS
===================================================== */

.event-details-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    margin-bottom: 35px;

}


.detail-item {

    padding: 20px;

    border-right:
        1px solid var(--border);

}


.detail-item:last-child {

    border-right: none;

}


.detail-label {

    color: var(--gold);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 8px;

}


.detail-value {

    font-size: 13px;

    line-height: 1.5;

}



/* =====================================================
   DESCRIPTION
===================================================== */

.event-description {

    max-width: 800px;

    color: #555;

    font-size: 16px;

    line-height: 1.9;

    margin-bottom: 30px;

}



/* =====================================================
   FORMS
===================================================== */

.form-box {

    max-width: 850px;

    background: white;

    padding: 38px;

    border:
        1px solid var(--border);

}


.form-group {

    margin-bottom: 25px;

}


.form-group label {

    display: block;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.8px;

    margin-bottom: 9px;

}


.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    padding: 14px 15px;

    border:
        1px solid #cec7bb;

    background: white;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 13px;

    outline: none;

}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color: var(--gold);

}


.form-group textarea {

    min-height: 150px;

    resize: vertical;

}



/* =====================================================
   ADMIN
===================================================== */

.admin-event {

    background: white;

    border:
        1px solid var(--border);

    padding: 22px 25px;

    margin-bottom: 12px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

}


.admin-event h3 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 23px;

    margin-bottom: 6px;

}


.admin-event p {

    color: var(--gray);

    font-size: 11px;

}


.delete-btn {

    background: #7d3030;

    color: white;

    border: none;

    padding: 10px 16px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

}


.delete-btn:hover {

    background: #a23c3c;

}



/* =====================================================
   FOOTER
===================================================== */

footer {

    background: var(--black);

    color: white;

    padding: 42px 5%;

}


.footer-inner {

    max-width: 1280px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.footer-logo {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 25px;

}


.footer-logo span {

    color: var(--gold);

}


.footer-text {

    color: #777;

    font-size: 11px;

}



/* =====================================================
   TODAY EVENT LINK
===================================================== */

.today-event-link {

    display: inline-block;

    margin-top: 10px;

    color: var(--black);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-decoration: none;

    text-transform: uppercase;

}


.today-event-link:hover {

    color: var(--gold);

}




@media (max-width: 1100px) {

    .site-header {
        padding-left: 4%;
        padding-right: 4%;
    }

    .header-inner {
        gap: 30px;
    }

    .logo {
        font-size: 24px;
    }

    .main-nav {
        gap: 24px;
    }

    .main-nav a {
        font-size: 9px;
        letter-spacing: 1.1px;
    }

    .hero {
        min-height: 540px;
        padding-left: 5%;
        padding-right: 5%;
    }

    .event-image {
        height: 225px;
    }
}

/* =====================================================
   TABLET + MOBILE NAVIGATION
===================================================== */

@media (
    max-width: 900px
) {


    /* HEADER */

    .header-inner {

        position: relative;

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        gap: 20px;

    }


    .menu-toggle {

        display: block;

    }


    .main-nav {

        position: absolute;

        top: calc(100% + 17px);

        left: -7%;

        width: 114%;

        z-index: 1000;

        display: none;

        flex-direction: column;

        gap: 0;

        background: var(--black);

        border-top:
            1px solid #333;

        border-bottom:
            1px solid #333;

        padding:
            10px 6% 20px;

    }


    .main-nav.open {

        display: flex;

    }


    .main-nav a {

        width: 100%;

        padding: 16px 0;

        border-bottom:
            1px solid #292929;

    }


    .main-nav a:last-child {

        border-bottom: none;

    }



    /* EVENT GRID */

    .events-grid {

        grid-template-columns:
            1fr 1fr;

    }



    /* FEATURED */

    .featured-card {

        grid-template-columns:
            1fr;

    }


    .featured-card img {

        height: 350px;

    }



    /* EVENT DETAILS */

    .event-details-grid {

        grid-template-columns:
            1fr 1fr;

    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (
    max-width: 600px
) {


    /* HEADER */

    .site-header {

        padding:
            14px 5%;

    }


    .logo {

        font-size:
            23px;

    }


    .main-nav {

        top:
            calc(100% + 14px);

    }



    /* HERO */

    .hero {

        min-height: 500px;

    }


    .hero h1 {

        font-size: 45px;

    }



    /* EVENT GRID */

    .events-grid {

        grid-template-columns:
            1fr;

    }


    .event-image {

        height: 220px;

    }


    .event-content {

        padding: 23px;

    }


    .event-title {

        font-size: 26px;

    }


    .event-date-badge {

        top: 14px;

        left: 14px;

    }



    /* SECTIONS */

    .section {

        padding: 54px 0;

    }


    .section-header {

        display: block;

    }


    .section-header .btn {

        margin-top: 20px;

    }



    /* FEATURED */

    .featured-content {

        padding: 28px;

    }


    .featured-content h2 {

        font-size: 36px;

    }



    /* EVENT DETAIL */

    .event-detail-image {

        height: 260px;

    }


    .event-detail h1 {

        font-size: 42px;

    }


    .event-details-grid {

        grid-template-columns:
            1fr;

    }


    .detail-item {

        border-right: none;

        border-bottom:
            1px solid var(--border);

    }



    /* FORM */

    .form-box {

        padding: 25px;

    }



    /* ADMIN */

    .admin-event {

        align-items: flex-start;

        flex-direction: column;

    }



    /* FOOTER */

    .footer-inner {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }

}