﻿@import url('../fontsAndColors.css');


.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-family: 'PrimaryFontBold', serif;
    margin-bottom: 3rem;
    color: var(--gg-olive);
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--gg-coral);
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

/* ----------------- */
/* Hero Section  */
/* ----------------- */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('../../images/pageImages/Grumpy-Goose-Cart.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
}


/*!* ----------------- *!*/
/*!* About Us Section  *!*/
/*!* ----------------- *!*/
.about-us-section {
    padding: 5rem 1rem;
}
.about-us-content-wrapper {
    gap: 2rem;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.about-us-img {
    border-radius: 50px; 
    max-width: 400px;
    height: auto;
}

@media (max-width: 435px) {
    #about-us h2 {
        margin-bottom: 2rem;
    }
    
    .about-us-img {
        max-width: 100%;
    }
}


#about-us article {
    max-width: 600px;
}


@media (max-width: 768px) {
    .about-us-content-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
    #about-us {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}


/*!* ------------------------ *!*/
/*!*   Our Schedule Section   *!*/
/*!* ------------------------ *!*/
@media (max-width: 450px) {
    #our-schedule-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}


/*!* ----------------- *!*/
/*!*   Event Section   *!*/
/*!* ----------------- *!*/

.event-listing-content-wrapper {
    display: flex;
    flex-direction: row;
    max-width: 95%;
}

.event-content-wrapper {
    display: flex;
    flex-direction: column;
}

.event-listing-container {
    padding: 2rem 2rem 0 2rem;
    border-radius: 1rem;
    max-width: 800px;
    margin: 0;
}


.event-contact-us-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}



@media (max-width: 500px) {
    .event-contact-us-wrapper{
        max-width: 100%; 
        flex-direction: column;
    }

    .event-listing-container {
        padding: 2rem .5rem 2rem .5rem;
    }
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*!* ----------------- *!*/
/*!*    Event Card     *!*/
/*!* ----------------- *!*/

.event-card {
    background: var(--gg-cream);
    border: 1px solid var(--gg-olive);
    border-left: 5px solid var(--gg-olive);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    min-width: 21rem;
}

@media (max-width: 500px) {
    .event-card {
        max-width: 100%;
    }
}

    .event-card:hover {
        transform: scale(1.01);
    }

.event-date {
    font-weight: bold;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.event-time {
    font-weight: normal;
    color: #555;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.event-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark-text);
}

.event-location {
    font-size: 0.95rem;
    color: #666;
}

/*!* ------------------- *!*/
/*!*  Contact Us Section *!*/
/*!* ------------------- *!*/

.contact-us-container {
    background: var(--gg-sage);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 2rem;
    text-align: center;
    color: #fff;
    align-self: start;
    height: auto;
    position: sticky;
    top: 6.5rem;
    z-index: 10;
    margin-left: 1rem
}

.contact-us-container h3 {
    font-family: 'PrimaryFontBold', serif;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-us-container p {
    margin-bottom: 1.5rem;
}

@media (max-width: 435px) {
    .contact-us-container {
        width: 100%;
        padding: 1rem;
    }
    .contact-us-container p {
        display: none;
    }
}

.contact-us-btn {
    background-color: var(--gg-coral);
    color: var(--dark-text);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.contact-us-btn:hover {
    background-color: var(--gg-sun);
    color: #000;
}


/*!* ----------------- *!*/
/*!*    Event Modal    *!*/
/*!* ----------------- *!*/

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

    .modal.hidden {
        display: none;
    }

.modal-content {
    background: var(--gg-cream);
    padding: 2rem;
    border-radius: 0.75rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#modal-desc {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

#event-modal .add-calendar-btn  {
    background-color: var(--gg-coral);
    color: var(--dark-text);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

#event-modal .add-calendar-btn:hover {
    background-color: var(--gg-sun);
    color: var(--dark-text);
}

#event-modal a {
    color: var(--gg-olive);
    transition: all 0.3s ease;
}

#event-modal a:hover {
    color: var(--gg-sage);
}

.event-contact-us-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media (max-width: 500px) {
    .event-contact-us-wrapper {
        max-width: 100%;
        flex-direction: column-reverse;        
    }
    
    .contact-us-container {
        margin-bottom: 1rem;
        margin-left: 0;
    }
}





