/* =========================================================
   Windsor Sportsmen's Club — NEW Homepage Styles
   styles/index.css
   All visual changes for the new homepage live HERE.
========================================================= */

/* ----- Color palette (from the mockup) ----- */
:root {
    --navy: #101c2e;
    --navy-light: #1b2a42;
    --red: #c0392b;
    --red-dark: #a93226;
    --cream: #f4f0e6;
    --white: #ffffff;
    --text-dark: #222222;
    --text-muted: #555555;
}

/* ----- Small red divider lines ----- */
.home .activities .line,
.home .events-heading .line,
.home .membership-text .line,
.home .facebook-card .line {
    display: inline-block;
    width: 45px;
    height: 2px;
    background: var(--red);
    border: none;
    margin: 8px auto;
}

/* =========================================================
   BUTTONS
========================================================= */
.home .btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--red);
    transition: all 0.2s ease;
}

.home .btn-solid {
    background: var(--red);
    color: var(--white);
}

.home .btn-solid:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.home .btn-outline {
    background: rgba(16, 28, 46, 0.55);
    color: var(--white);
}

.home .btn-outline:hover {
    background: var(--red);
    border-color: var(--red);
}

.home .btn-small {
    padding: 10px 20px;
    font-size: 0.85em;
    white-space: nowrap;
}

/* =========================================================
   HERO SECTION
========================================================= */
.home .hero {
    /* ⭐ Replace with your clubhouse photo's real file name */
    background-image:
        linear-gradient(rgba(10, 18, 30, 0.55), rgba(10, 18, 30, 0.75)),
        url("../images/hero-clubhouse.jpg");
    background-size: cover;
    background-position: center;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 8%;
}

.home .hero-title {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: clamp(2.8em, 8vw, 5.5em);
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 20px 0;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.6);
}

.home .hero-address {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.2em;
    color: var(--white);
    margin: 0 0 30px 0;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.6);
}

.home .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================================
   ACTIVITY CARDS
========================================================= */
.home .activities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 5%;
    background: var(--cream);
}

.home .activity-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    cursor: pointer;
}

.home .activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.home .activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.home .activity-body {
    padding: 20px 15px 25px;
}

.home .activity-card h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}

.home .activity-card p {
    color: var(--text-muted);
    font-size: 0.95em;
    margin: 10px 0 0;
}

/* =========================================================
   EVENTS SECTION
========================================================= */
.home .events-section {
    background: var(--cream);
    padding: 20px 5% 50px;
}

.home .events-heading {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: clamp(1.8em, 4vw, 2.6em);
    text-transform: uppercase;
    color: var(--navy);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 35px;
}

.home .events-heading .line {
    width: 90px;
    margin: 0;
    flex-shrink: 0;
}

.home .event-row {
    display: grid;
    grid-template-columns: 140px 90px 1fr auto;
    gap: 25px;
    align-items: center;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.home .event-row .clickable-vertical-img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    display: block;
}

.home .event-date {
    text-align: center;
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

.home .event-month {
    display: block;
    font-family: 'Oswald', Arial, sans-serif;
    color: var(--red);
    font-size: 1em;
    letter-spacing: 2px;
}

.home .event-day {
    display: block;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 2.6em;
    font-weight: bold;
    color: var(--navy);
    line-height: 1;
}

.home .event-weekday {
    display: block;
    font-size: 0.75em;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home .event-details h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.3em;
    color: var(--navy);
    margin: 0 0 6px;
}

.home .event-details p {
    margin: 3px 0;
    color: var(--text-muted);
    font-size: 0.95em;
}

.home .events-footer {
    text-align: center;
    margin-top: 30px;
}

.home .events-footer .btn-outline {
    background: transparent;
    color: var(--red);
}

.home .events-footer .btn-outline:hover {
    color: var(--white);
}

/* =========================================================
   MEMBERSHIP + FACEBOOK SECTION
========================================================= */
.home .membership-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.9fr;
    gap: 30px;
    padding: 40px 5%;
    background: var(--cream);
    align-items: stretch;
}

.home .membership-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home .membership-text {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 35px 30px;
}

.home .membership-text h2 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 2em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}

.home .membership-text .line {
    margin: 10px 0 18px;
}

.home .membership-text p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95em;
}

.home .facebook-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 35px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home .facebook-card h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.5em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}

.home .facebook-card p {
    color: var(--text-muted);
    font-size: 0.95em;
    margin: 10px 0 25px;
}

.home .facebook-card img {
    max-width: 200px;
    width: 100%;
}

/* =========================================================
   RESPONSIVE (tablets & phones)
========================================================= */
@media (max-width: 1000px) {
    .home .activities {
        grid-template-columns: repeat(2, 1fr);
    }

    .home .membership-section {
        grid-template-columns: 1fr;
    }

    .home .membership-image {
        height: 250px;
    }
}

@media (max-width: 700px) {
    .home .activities {
        grid-template-columns: 1fr;
    }

    .home .event-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .home .event-row .clickable-vertical-img {
        width: 100%;
        height: 180px;
    }

    .home .event-date {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 0 0 10px;
    }

    .home .hero {
        align-items: center;
        text-align: center;
        padding: 60px 6%;
    }

    .home .hero-buttons {
        justify-content: center;
    }
}

/* =========================================
   FACEBOOK CARD — REFERENCE IMAGE DESIGN
========================================= */

.facebook-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 300px;
    padding: 20px 18px 15px;

    background: #f3eee6;
    border: 1.5px solid #d8cfc0;
    border-radius: 10px;

    color: #17233d;
    text-align: left;
    box-shadow: none;
}

/* Logo and heading */
.facebook-card-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

/* Blue Facebook circle */
.facebook-logo {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;

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

    background: #2360a2;
    color: #ffffff;

    border: 2px solid #ffffff;
    outline: 1px solid #d8cfc0;
    border-radius: 50%;

    font-family: Arial, sans-serif;
    font-size: 54px;
    font-weight: bold;
    line-height: 1;
    padding-top: 8px;
    box-sizing: border-box;
}

/* Heading text */
.facebook-card .facebook-card-heading h3 {
    margin: 0;
    padding: 0;

    color: #17233d;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.3px;
    text-align: left;
}

.facebook-card-heading h3 span {
    display: block;
    white-space: nowrap;
}

/* Description */
.facebook-card p {
    margin: 14px 0 15px;
    padding: 0;

    color: #252525;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

/* Join our group button */
.facebook-card .facebook-join-btn {
    box-sizing: border-box;
    width: 100%;
    min-height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 10px 8px;

    background: transparent;
    border: 2px solid #566078;
    border-radius: 4px;

    color: #17233d;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

/* External-link symbol */
.facebook-external-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 15px;
    height: 15px;

    border: 1.5px solid currentColor;
    border-radius: 2px;

    font-size: 13px;
    line-height: 1;
}

/* Hover effect */
.facebook-card .facebook-join-btn:hover {
    background: #17233d;
    color: #ffffff;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .facebook-card {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Remove the white gap above the footer */
.home main {
    margin-bottom: 0;
    padding-bottom: 0;
}

.home .site-footer {
    margin-top: 0;
}

.footer {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #001428 0%,
        #00264f 40%,
        #003768 60%,
        #001428 100%
    );

    color: white;
    margin-top: 0;
}

/* Maple leaf overlay */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;

    background: url("images/maple-leaf.png") center center no-repeat;
    background-size: 280px;

    opacity: 0.06;

    pointer-events: none;
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;

    max-width: 1400px;
    margin: 0 auto;

    padding: 65px 50px;

    display: grid;
    grid-template-columns: 1.6fr 1.15fr 1fr 1.15fr;
    gap: 50px;
}

.footer-column:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.15);
    padding-right: 50px;
}

.footer-column h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    color: #ffffff;

    margin-bottom: 25px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column p,
.footer-column li,
.footer-column a,
.footer-item span {
    color: rgba(255,255,255,0.92);
    font-size: 1.15rem;
    line-height: 1.6;
}

.footer-column a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #d5a021;
    padding-left: 4px;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}

.footer-item i {
    font-size: 22px;
    color: #ffffff;
    margin-top: 4px;
    min-width: 24px;
}

.footer-bottom {
    position: relative;
    z-index: 2;

    background: rgba(0,0,0,0.35);

    border-top: 1px solid rgba(255,255,255,0.08);

    text-align: center;

    padding: 16px 0;

    margin: 0;

    font-size: 1rem;

    color: rgba(255,255,255,0.9);
}
