/* ============================================================
   Edmond Elks Lodge #2578
   Custom Bootstrap Styling
============================================================ */

:root {
    --elks-blue: #2105a3;
    --elks-blue-dark: #160270;
    --elks-blue-light: #edeaff;

    --body-color: #333333;
    --muted-color: #6c757d;

    --section-background: #f7f7f9;
}


/* ============================================================
   General
============================================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--body-color);
    background: #ffffff;
    line-height: 1.7;
}

a {
    color: var(--elks-blue);
    text-decoration: none;
}

a:hover {
    color: var(--elks-blue-dark);
    text-decoration: underline;
}

.content-section {
    padding: 90px 0;
}

.section-light {
    background: var(--section-background);
}


/* ============================================================
   Header Banner
============================================================ */

.header-banner {
    position: relative;

    width: 100%;
    height: 148px;

    /*
     * Sky extension outside the original image.
     */
    background: linear-gradient(
        90deg,
        #92b1c7 0%,
        #88abc5 20%,
        #75a0bf 45%,
        #6092b8 70%,
        #4c84b1 85%,
        #3e79ac 100%
    );

    overflow: hidden;
}


/* ============================================================
   Original Header Image
============================================================ */

.header-banner-image {
    position: absolute;

    top: 0;
    left: 50%;

    width: 1140px;
    height: 148px;

    transform: translateX(-50%);

    background-image: url("../images/lodgeheader2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1140px 148px;
}

/* ============================================================
   Lodge Brand
============================================================ */

.header-brand {
    position: absolute;
    z-index: 2;

    top: 50%;

    /*
     * Position the text in the area immediately
     * to the left of the centered 1140px image.
     */
    right: calc(50% + 570px);

    width: 300px;

    padding-right: 25px;

    transform: translateY(-50%);

    text-align: right;

    color: #2105a3;

    line-height: 1.1;
}

.header-brand span {
    display: block;

    font-size: 1.65rem;
    font-weight: 700;

    letter-spacing: 0.01em;
}

.header-brand small {
    display: block;

    margin-top: 7px;

    font-size: 1.05rem;
    font-weight: 600;

    letter-spacing: 0.05em;
}


/* ============================================================
   Header
============================================================ */

.site-header {
    background: var(--elks-blue);
}

.navbar {
    min-height: 86px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-text {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 0.95rem;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}


/* ============================================================
   Hero
============================================================ */

.hero-section {
    position: relative;

    min-height: 250px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(20, 5, 90, 0.6),
            rgba(20, 5, 90, 0.75)
        );

    background-size: cover;
    background-position: center;

    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.25)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-logo {
    width: 180px;
    max-width: 45vw;
    height: auto;
}

.hero-section h1 {
    text-shadow:
        0 2px 6px
        rgba(0, 0, 0, 0.45);
}

.hero-section p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;

    font-size: 1.15rem;
}

.motto {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 600;
}


/* ============================================================
   Headings
============================================================ */

.section-label {
    display: block;

    margin-bottom: 8px;

    color: var(--elks-blue);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.section-title {
    margin-bottom: 15px;

    color: #222;

    font-weight: 700;
}

.section-divider {
    width: 80px;
    height: 4px;

    margin: 18px auto 30px;

    border-radius: 4px;

    background: var(--elks-blue);
}

.section-divider-left {
    margin-left: 0;
}


/* ============================================================
   Images
============================================================ */

.image-frame {
    overflow: hidden;

    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.12);
}

.image-frame img {
    min-height: 360px;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.image-frame:hover img {
    transform: scale(1.025);
}


/* ============================================================
   Buttons
============================================================ */

.btn-elks {
    padding: 11px 24px;

    border: 2px solid var(--elks-blue);

    background: var(--elks-blue);
    color: #ffffff;

    font-weight: 600;
}

.btn-elks:hover,
.btn-elks:focus {
    border-color: var(--elks-blue-dark);

    background: var(--elks-blue-dark);

    color: #ffffff;

    text-decoration: none;
}


/* ============================================================
   RV Pricing
============================================================ */

.rate-box {
    padding: 25px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 5px 18px
        rgba(0, 0, 0, 0.05);
}

.rate-price {
    color: var(--elks-blue);

    font-size: 2rem;
    font-weight: 700;
}

.rate-description {
    color: var(--muted-color);

    font-size: 0.85rem;
    text-transform: uppercase;

    letter-spacing: 0.04em;
}


/* ============================================================
   Rental List
============================================================ */

.rental-list {
    margin-top: 20px;
    padding-left: 0;

    list-style: none;
}

.rental-list li {
    position: relative;

    margin-bottom: 10px;
    padding-left: 28px;
}

.rental-list li::before {
    position: absolute;

    left: 0;
    top: 1px;

    content: "✓";

    color: var(--elks-blue);

    font-weight: 700;
}


/* ============================================================
   Call to Action
============================================================ */

.cta-section {
    padding: 85px 0;

    background:
        linear-gradient(
            135deg,
            var(--elks-blue),
            var(--elks-blue-dark)
        );

    color: #ffffff;
}

.cta-section h2 {
    margin-bottom: 20px;

    font-size: 2.3rem;
    font-weight: 700;
}

.cta-section p {
    max-width: 800px;

    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   Contact
============================================================ */

.contact-card {
    height: 100%;

    padding: 30px 20px;

    border: 1px solid #e1e1e1;
    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 5px 18px
        rgba(0, 0, 0, 0.04);
}

.contact-card h3 {
    margin-bottom: 15px;

    color: var(--elks-blue);

    font-size: 1.1rem;
    font-weight: 700;
}

.contact-card p {
    margin-bottom: 0;
}

.external-links {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    font-weight: 600;
}


/* ============================================================
   Footer
============================================================ */

.site-footer {
    padding: 35px 0;

    background: #181818;

    color: #bbbbbb;
}

.site-footer strong {
    color: #ffffff;
}

.site-footer .small {
    color: #a9a9a9;
}


/* ============================================================
   Responsive
============================================================ */

@media (max-width: 991.98px) {

    .navbar-collapse {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .navbar-nav .nav-link {
        padding-left: 0 !important;
    }

    .hero-section {
        min-height: 550px;
    }

    .content-section {
        padding: 70px 0;
    }
}


@media (max-width: 767.98px) {

    .navbar-logo {
        width: 50px;
        height: 50px;
    }

    .brand-text {
        font-size: 1.15rem;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-logo {
        width: 140px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-divider-left {
        margin-left: auto;
    }

    #rv-park .col-lg-6,
    #rentals .col-lg-6 {
        text-align: center;
    }

    .rental-list {
        display: inline-block;

        text-align: left;
    }

    .image-frame img {
        min-height: 280px;
    }

    .cta-section h2 {
        font-size: 1.9rem;
    }

    .external-links {
        gap: 8px 12px;
    }
}


@media (max-width: 575.98px) {

    .content-section {
        padding: 55px 0;
    }

    .hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 1.9rem;
    }

    .rate-price {
        font-size: 1.6rem;
    }

}

/* ============================================================
   Navigation - Compact
============================================================ */

.site-header .navbar {
    min-height: 37px;

    padding-top: 0;
    padding-bottom: 0;

    background: linear-gradient(
        90deg,
        var(--elks-blue),
        var(--elks-blue-dark)
    );
}

.navbar-nav {
    gap: 12px;
}

.navbar-nav .nav-link {
    position: relative;

    /* Reduced from 12px vertical padding */
    padding: 6px 14px !important;

    color: rgba(255, 255, 255, 0.88);

    font-size: 0.9rem;
    font-weight: 500;

    line-height: 1.2;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff;
    text-decoration: none;
}

.navbar-nav .nav-link.active::after {
    position: absolute;

    right: 12px;
    bottom: 1px;
    left: 12px;

    height: 2px;

    content: "";

    border-radius: 2px;

    background: #ffffff;
}

/* ============================================================
   Header Responsive
============================================================ */

@media (max-width: 991.98px) {

    .header-banner-image {
        height: 120px;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    .navbar-nav .nav-link.active::after {
        right: auto;
        bottom: 3px;
        left: 0;

        width: 50px;
    }

}


@media (max-width: 767.98px) {

    .header-banner-image {
        height: 100px;

        /*
         Keeps more of the Elks logo visible
         on narrow screens.
        */
        background-position: center center;
    }

    .navbar-logo {
        width: 45px;
        height: 45px;
    }

    .brand-text {
        font-size: 1.05rem;
    }

}


@media (max-width: 575.98px) {

    .header-banner-image {
        height: 85px;

        /*
         "cover" will crop the wide image considerably
         on phones, so contain displays the complete banner.
        */
        background-size: contain;

        background-color: #78a8c6;
    }

}


/* ============================================================
   Events Calendar
============================================================ */

.events-section {
    background: #f7f7f9;
}


/*
 * Outer calendar frame
 */
.calendar-container {
    width: 100%;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/*
 * Embedded Outlook Calendar
 */
.events-calendar {
    display: block;
    width: 100%;
    height: 750px;
    border: 0;
    background: #ffffff;
}


/* ============================================================
   Calendar Responsive
============================================================ */

@media (max-width: 991.98px) {

    .events-calendar {
        height: 700px;
    }
}


@media (max-width: 767.98px) {

    .events-calendar {
        height: 650px;
    }

    .calendar-container {
        border-radius: 4px;
    }
}


@media (max-width: 575.98px) {

    .events-calendar {
        height: 600px;
    }
}