/* =========================================
   Sea Breeze Bowl
   Main Stylesheet
   ========================================= */

/* ---------- Base / Reset ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background-color: #f5f5f5;
    line-height: 1.6;
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
}

html {
    scroll-behavior: smooth;
}

/* =========================================
   HOME PAGE HERO
   ========================================= */

.hero {
    min-height: 720px;
    position: relative;

    display: flex;
    flex-direction: column;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, .32),
            rgba(0, 0, 0, .42)
        ),
        url("../images/general/sea-breeze-bowl-hero.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
}


/* TOP HEADER */

.hero-top {
    display: flex;
    align-items: center;

    position: relative;
    z-index: 10;

    padding: 18px 35px 0;
}


/* LOGO */

.site-logo {
    display: block;
    flex-shrink: 0;

    margin-right: 30px;
}

.site-logo img {
    display: block;

    width: 175px;
    height: auto;
}


/* RED NAVIGATION BAR */

.main-navigation {
    flex: 1;

    background: rgba(165, 20, 20, .94);

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .35);
}

.main-navigation > ul {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: stretch;
}

.main-navigation > ul > li {
    position: relative;
}

.main-navigation > ul > li > a {
    display: flex;
    align-items: center;

    height: 100%;

    padding: 18px 13px;

    color: #ffffff;

    text-decoration: none;

    font-size: .9rem;
    font-weight: 700;

    text-transform: uppercase;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.main-navigation > ul > li > a:hover {
    background: rgba(0, 0, 0, .18);

    text-decoration: none;
}


/* HERO MESSAGE */

.hero-content {
    position: relative;
    z-index: 2;

    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 80px 20px 70px;
}

.hero-content h1 {
    margin: 0;

    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;

    font-weight: 800;

    text-shadow:
        0 4px 12px rgba(0, 0, 0, .8);
}


/* RED DECORATIVE DIVIDER */

.hero-divider {
    width: min(540px, 80%);

    display: flex;
    align-items: center;

    gap: 14px;

    margin: 28px auto 20px;
}

.hero-divider span:not(.hero-divider-mark) {
    height: 2px;

    flex: 1;

    background: #c82020;
}

.hero-divider-mark {
    color: #c82020;

    font-size: 1rem;
}


/* TAGLINE */

.hero-tagline {
    margin: 0;

    font-size: clamp(1.25rem, 2.4vw, 2rem);
    font-style: italic;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .9);
}


/* CALL TO ACTION */

.hero-button {
    display: inline-block;

    margin-top: 32px;

    padding: 15px 30px;

    color: #ffffff;
    background: #b71919;

    border-radius: 5px;

    text-decoration: none;

    font-weight: 700;
    letter-spacing: .08em;

    text-transform: uppercase;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .35);

    transition:
        background-color .2s ease,
        transform .2s ease;
}

.hero-button:hover {
    background: #8f1111;

    transform: translateY(-2px);
}


/* =========================================
   HERO FEATURE BAR
   ========================================= */

.hero-feature-bar {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    padding: 28px 40px;

    background: rgba(10, 10, 10, .86);
}

.hero-feature {
    display: flex;
    align-items: center;

    gap: 15px;
}

.feature-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #c82020;
    border-radius: 50%;

    color: #c82020;

    font-size: 1.2rem;
    font-weight: 800;
}

.hero-feature strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 1rem;
}

.hero-feature span {
    display: block;

    color: #dddddd;

    font-size: .88rem;
    line-height: 1.35;
}

/* ---------- Main Content ---------- */

main {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}


/* ---------- Contact Dropdown ---------- */

.contact-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 1000;
}

.contact-dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-dropdown a {
    display: block;
    color: #222;
    background-color: #ffffff;
    padding: 12px 15px;
    white-space: nowrap;
    text-decoration: none;
    font-weight: normal;
}

.contact-dropdown a:hover {
    color: #ffffff;
    background-color: #990000;
}

.contact-menu:hover .contact-dropdown {
    display: block;
}


/* =========================================
   SITE FOOTER
   ========================================= */

.site-footer {
    margin-top: 40px;

    background: #111111;
    color: #ffffff;
}


/* Main footer area */

.footer-content {
    max-width: 1200px;

    margin: 0 auto;
    padding: 15px 30px;

    display: grid;

    grid-template-columns:
        1.4fr 1fr 1.2fr .8fr;

    gap: 40px;
}


/* Sea Breeze branding */

.footer-brand {
    text-align: left;
}

.footer-logo {
    display: block;

    width: 190px;
    max-width: 100%;
    height: auto;

    margin-bottom: 15px;
}

.footer-brand p {
    margin: 0;

    color: #cccccc;

    font-size: .95rem;
    font-style: italic;
}


/* Footer headings */

.site-footer h3 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 1.05rem;
}


/* Quick links */

.footer-links ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}


/* Footer links */

.site-footer a {
    color: #dddddd;

    text-decoration: none;

    transition: color .2s ease;
}

.site-footer a:hover {
    color: #c82020;
}


/* Contact information */

.footer-contact p {
    margin: 0 0 10px;

    color: #cccccc;

    line-height: 1.55;
}


/* Social links */

.social-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;

    gap: 9px;

    width: fit-content;

    font-weight: 700;
}

.social-icon {
    width: 22px;
    height: 22px;

    flex-shrink: 0;
}


/* Bottom copyright bar */

.footer-bottom {
    padding: 18px 20px;

    text-align: center;

    border-top: 1px solid #333333;

    background: #0a0a0a;
}

.footer-bottom p {
    margin: 0;

    color: #999999;

    font-size: .85rem;
}

/* =========================================
   HOURS + OPEN BOWLING
   ========================================= */

.hours-section {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px;

    margin-bottom: 60px;
}

.hours,
.open-bowling {
    position: relative;

    padding: 35px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .08);
}

/* Red accent across the top of each card */

.hours::before,
.open-bowling::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #b71919;

    border-radius: 10px 10px 0 0;
}

.hours h2,
.open-bowling h2 {
    margin: 0 0 20px;

    font-size: 2rem;
}

.hours p,
.open-bowling p {
    margin: 0 0 14px;

    line-height: 1.65;
}

.availability-notice {
    margin: 20px 0 25px;
    padding: 14px 18px;

    background: #e8e8e8;

    border-left: 4px solid #b71919;
    border-radius: 4px;

    font-size: 1.05rem;
}

.availability-notice strong {
    color: #b71919;
}

.open-bowling h3 {
    margin: 28px 0 12px;

    font-size: 1.25rem;
    font-weight: 700;

    color: #222222;
}


/* ---------- Content Sections ---------- */

/* =========================================
   WELCOME SECTION
   ========================================= */

.welcome-section {
    position: relative;

    margin: 0 auto 60px;
    padding: 55px 60px;

    background: #1d1d1d;
    color: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, .15);

    overflow: hidden;
}

.welcome-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 7px;
    height: 100%;

    background: #b71919;
}

.welcome-section h2 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 4vw, 3rem);

    color: #ffffff;
}

.welcome-section p {
    max-width: 850px;

    margin: 0 0 14px;

    font-size: 1.1rem;
    line-height: 1.75;

    color: #e3e3e3;
}

.welcome-section p:last-child {
    margin-bottom: 0;
}

/* =========================================
   LEAGUE OPENINGS
   ========================================= */

.league-openings {
    margin-bottom: 60px;
}


.league-openings-header {
    text-align: center;
    margin-bottom: 30px;
}

.league-openings-header h2 {
    margin: 0 0 12px;
    font-size: 2.4rem;
}

.league-openings-header p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #555555;
}


/* League cards */

.league-openings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


.league-opening-card {
    position: relative;

    padding: 25px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .08);

    overflow: hidden;
}


/* Red accent across top of card */

.league-opening-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #b71919;
}


/* Day label */

.league-opening-day {
    display: block;

    margin-bottom: 8px;

    color: #b71919;

    font-size: .85rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .08em;
}


/* League name */

.league-opening-card h3 {
    margin: 0 0 15px;

    font-size: 1.25rem;
}


/* Opening status */

.league-opening-status {
    display: inline-block;

    margin: 0;

    padding: 7px 12px;

    background: #292929;
    color: #ffffff;

    border-radius: 5px;

    font-size: .9rem;
    font-weight: 700;
}


/* Contact area */

.league-openings-contact {
    margin-top: 25px;

    padding: 20px 25px;

    text-align: center;

    background: #1d1d1d;
    color: #ffffff;

    border-radius: 8px;
}


.league-openings-contact p {
    margin: 0;

    line-height: 1.7;
}


.league-openings-contact a {
    color: #ffffff;

    font-weight: 700;

    text-decoration-color: #b71919;
    text-underline-offset: 4px;
}


.league-openings-contact a:hover {
    color: #dddddd;
}

/* =========================================
   CONTACT + LOCATION
   ========================================= */

.contact-location-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px;

    margin-bottom: 20px;
}

.contact-section,
.location-section {
    position: relative;

    margin-bottom: 0;
    padding: 35px;

    background: #292929;
    color: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .12);
}

/* Red accent across the top */

.contact-section::before,
.location-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #b71919;

    border-radius: 10px 10px 0 0;
}

.contact-section h2,
.location-section h2 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 2rem;
}

.contact-section p,
.location-section p {
    margin: 0 0 14px;

    color: #e3e3e3;

    line-height: 1.65;
}

.contact-section a,
.location-section a {
    color: #ffffff;

    font-weight: 700;

    text-decoration-color: #b71919;
    text-underline-offset: 4px;
}

.contact-section a:hover,
.location-section a:hover {
    color: #dddddd;
}

.welcome-section h2,
.hours-section h2,
.contact-section h2,
.location-section h2 {
    margin-top: 0;
}

/* =========================================
   INTERNAL PAGE HEADER
   ========================================= */

.inner-header {
    background-color: #2f2f2f;
}


/* ---------- Internal Navigation ---------- */

.inner-navigation {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;

    padding: 15px 25px;
}


/* ---------- Internal Logo ---------- */

.inner-logo {
    display: block;
    flex-shrink: 0;

    margin-right: 35px;
}

.inner-logo img {
    display: block;

    width: 140px;
    height: auto;
}


/* ---------- Internal Navigation List ---------- */

.inner-navigation > ul {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    flex: 1;
}

.inner-navigation > ul > li {
    position: relative;
}

.inner-navigation > ul > li > a {
    display: block;

    padding: 18px 12px;

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;
}

.inner-navigation > ul > li > a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}


/* ---------- Internal Contact Dropdown ---------- */

.inner-contact-dropdown {
    display: none;

    position: absolute;
    top: 100%;
    right: 0;

    min-width: 220px;

    margin: 0;
    padding: 0;

    list-style: none;

    background-color: #ffffff;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);

    z-index: 1000;
}

.inner-contact-dropdown li {
    list-style: none;

    margin: 0;
    padding: 0;
}

.inner-contact-dropdown a {
    display: block;

    padding: 12px 15px;

    color: #222222;
    background-color: #ffffff;

    text-decoration: none;
    font-weight: normal;

    white-space: nowrap;
}

.inner-contact-dropdown a:hover {
    color: #ffffff;
    background-color: #333333;
}

.inner-contact-menu:hover .inner-contact-dropdown {
    display: block;
}

/* =========================================
   INTERNAL PAGE TITLE
   ========================================= */

.page-title {
    text-align: center;

    padding: 45px 20px 35px;
}

.page-title h1 {
    margin: 0;

    font-size: 2.5rem;
}

.page-title p {
    margin: 8px 0 0;

    font-size: 1.1rem;
}

/* =========================================
   LEAGUES PAGE
   ========================================= */

.league-intro {
    text-align: center;
    margin-bottom: 40px;
}

.league-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.league-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.league-card h2 {
    margin-top: 0;
}

.league-day {
    font-weight: 700;
    margin-bottom: 15px;
}

.league-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 16px;
    text-decoration: none;
    border: 2px solid currentColor;
    border-radius: 6px;
    font-weight: 600;
}

/* ========================================
   INDIVIDUAL LEAGUE PAGE
   ======================================== */

.league-season-intro {
    text-align: center;
    margin-bottom: 35px;
}

.league-season-intro h2 {
    margin-bottom: 10px;
}


/* CURRENT STANDINGS */

.current-standings {
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.current-standings h2 {
    margin-top: 0;
}

.standings-status {
    margin-bottom: 0;
}


/* WEEKLY STANDINGS */

.weekly-standings {
    margin-bottom: 40px;
}

.weekly-standings h2 {
    text-align: center;
    margin-bottom: 25px;
}

.standings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.standings-link {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
}

.standings-link:hover {
    transform: translateY(-2px);
}


/* STANDINGS ARCHIVE */

.standings-archive {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.standings-archive h2 {
    margin-top: 0;
}

.archive-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    text-decoration: none;
    border: 2px solid currentColor;
    border-radius: 6px;
    font-weight: 600;
}

/* SEASON CHAMPIONS */

.season-champions {
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.season-champions h2 {
    margin-top: 0;
}

.champions-photo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}

.season-champions p {
    margin-bottom: 0;
}


/* ---------- Responsive Design ---------- */

@media (max-width: 1100px) {

.hero-top {
     flex-direction: column;
     align-items: center;
     padding: 18px 20px 0;
    }

.site-logo {
     margin: 0 0 15px;
    }

.site-logo img {
    width: 160px;
    }

.main-navigation {
     width: 100%;
    flex: none;
    }

.main-navigation > ul {
    flex-wrap: wrap;
    justify-content: center;
    }

.main-navigation > ul > li > a {
     padding: 14px 11px;
    font-size: .82rem;
    }


 /* Hero feature bar becomes two columns */

.hero-feature-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 25px 30px;
    }

.hero-feature {
    min-width: 0;
    }

.hero-feature > div:last-child {
    min-width: 0;
    }

.league-openings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 768px) {

.welcome-section {
    padding: 35px 25px;

    margin-bottom: 40px;
}

.welcome-section h2 {
    font-size: 2rem;
}

.welcome-section p {
    font-size: 1rem;
}

.main-navigation ul {
    flex-direction: column;
    align-items: stretch;
    }

.main-navigation ul > li > a {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

main {
    padding: 30px 15px;
    }

h2 {
    font-size: 1.6rem;
    }

.contact-dropdown {
    display: block;
    position: static;
    min-width: 0;
    box-shadow: none;
    }

.contact-dropdown a {
    text-align: center;
    }
    
.hours-section {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-bottom: 40px;
}

.hours,
.open-bowling {
    padding: 28px 24px;
}

.main-navigation {
    padding: 15px;
    }

.site-logo {
    margin: 0 0 10px;
    }

.site-logo img {
    width: 80px;
    }

.main-navigation > ul {
    width: 100%;

    flex-direction: column;

    align-items: stretch;
    }

.hero {
    min-height: 650px;

    }

.hero-content {
    min-height: 350px;

    padding: 50px 20px;
    }

.hero-content h1 {
    font-size: 2.4rem;
    }

.hero-tagline {
    font-size: 1.2rem;
    }

.league-grid {
    grid-template-columns: 1fr;
    }

.inner-navigation {
    flex-direction: column;

    padding: 15px;
    }

.inner-logo {
    margin: 0 0 10px;
    }

.inner-logo img {
    width: 120px;
    }

.inner-navigation > ul {
    width: 100%;

    flex-direction: column;
    align-items: stretch;
    }

.inner-navigation > ul > li > a {
    text-align: center;
    }

.inner-contact-dropdown {
    display: block;

    position: static;

    min-width: 0;

    box-shadow: none;
    }

.inner-contact-dropdown a {
    text-align: center;
    }

    .standings-grid {
    grid-template-columns: repeat(2, 1fr);
    }

    .league-card {
    text-align: center;
    }

.current-standings,
.standings-archive {
    padding: 20px;
    }


.season-champions {
    padding: 20px;
    }

.hero-feature-bar {
    grid-template-columns: 1fr;

    padding: 24px 20px;
    }

.hero-feature {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    }

.contact-location-grid {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-bottom: 0;
    }

.contact-section,
.location-section {
    padding: 28px 24px;
    }

.league-openings {
    margin-bottom: 40px;
    }

.league-openings-grid {
    grid-template-columns: 1fr;
    }

.league-opening-card {
    padding: 22px;
    }

.league-openings-contact {
    padding: 20px;
    }
    
/* =========================================
   MOBILE FOOTER
   ========================================= */

.footer-content {
    grid-template-columns: 1fr;

    gap: 25px;

    padding: 25px 24px;
}

.footer-brand,
.footer-links,
.footer-contact,
.footer-social {
    min-width: 0;
}

.footer-logo {
    width: 150px;
}

.footer-bottom {
    width: 100%;

    padding: 18px 20px;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    text-align: center;
}

.social-links {
    width: 100%;
}

.social-link {
    max-width: 100%;
}

}



