
/* ==================================================
   STONEY CREEK BLUEGRASS BAND
   GLOBAL SITE STYLES
   ================================================== */

/* ---------- GLOBAL VARIABLES ---------- */

:root {
    --site-background: #ffffff;
    --site-text: #222222;
    --site-muted: #666666;
    --site-accent: #cc181e;
    --site-border: #e5e5e5;
    --site-width: 1200px;
}

/* ---------- BASIC RESET ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--site-background);
    color: var(--site-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--site-accent);
}

/* ==================================================
   HEADER AND NAVIGATION
   ================================================== */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--site-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* LOGO */

.site-logo {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.site-logo img {
    display: block;
    width: 230px;
    height: auto;
}

/* RIGHT SIDE OF HEADER */

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

/* MAIN NAVIGATION */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: block;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    padding: 8px 0;
}

.main-nav a:hover {
    color: var(--site-accent);
}

/* DESKTOP SOCIAL ICONS */

.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-left: 20px;
}

/* VERTICAL DIVIDER BETWEEN NAVIGATION AND SOCIAL ICONS */

.header-social::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 27px;
    background-color: #bdbdbd;
}

.header-social img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

/* SOCIAL ICON HOVER EFFECT */

.header-social a:hover img,
.mobile-social a:hover img {
    opacity: 0.6;
}

/* MOBILE MENU CONTROLS */

.menu-toggle,
.menu-label,
.mobile-social {
    display: none;
}

/* ==================================================
   PAGE CONTENT PLACEHOLDER
   ================================================== */

.page-content {
    width: 100%;
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 30px 24px 0;
}

/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
    width: 100%;
    background: #F9E6E6;
    margin-top: 15px;
    padding: 35px 24px 20px;
}

.footer-inner {
    max-width: var(--site-width);
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.footer-column h2 {
    font-size: 18px;
    margin: 0 0 15px;
}

.footer-column p {
    margin: 0 0 12px;
}

/* FOOTER MENU */

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    font-size: 14px;
    font-weight: 700;
}

/* FOOTER CONTACT */

.footer-contact {
    font-size: 14px;
}

/* FOOTER SOCIAL ICONS */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.footer-social img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.footer-social a:hover img {
    opacity: 0.6;
}

/* COPYRIGHT */

.footer-copyright {
    border-top: 1px solid var(--site-border);
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 12px;
    color: var(--site-muted);
}

/* ==================================================
   TABLET AND MOBILE
   ================================================== */

@media (max-width: 1000px) {

    .header-inner {
        flex-wrap: wrap;
    }

    .header-right {
        gap: 15px;
    }

    .main-nav ul {
        gap: 13px;
    }

    .main-nav a {
        font-size: 13px;
    }
}

@media (max-width: 760px) {

    .header-inner {
        position: relative;
        padding: 12px 18px;
        flex-wrap: wrap;
    }

    .site-logo img {
        width: 200px;
    }

    /* HAMBURGER BUTTON AND MENU LABEL */

    .menu-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        margin-left: auto;
        padding: 10px;
    }

    .menu-label-text {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        color: #222222;
    }

    .menu-icon,
    .menu-icon::before,
    .menu-icon::after {
        display: block;
        width: 25px;
        height: 2px;
        background: #222222;
        position: relative;
        transition: transform 0.2s ease, top 0.2s ease;
    }

    .menu-icon::before,
    .menu-icon::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .menu-icon::before {
        top: -7px;
    }

    .menu-icon::after {
        top: 7px;
    }

    /* TRANSFORM HAMBURGER INTO X */

    .menu-toggle:checked + .menu-label .menu-icon {
        background: transparent;
    }

    .menu-toggle:checked + .menu-label .menu-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle:checked + .menu-label .menu-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* EXPANDED MOBILE MENU */

    .menu-toggle {
        display: none;
    }

    .header-right {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px 0 5px;
    }

    .menu-toggle:checked ~ .header-right {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav li {
        border-top: 1px solid var(--site-border);
    }

    .main-nav a {
        font-size: 16px;
        padding: 12px 5px;
    }

    /* SOCIAL ICONS INSIDE MOBILE MENU */

    .header-social {
        display: none;
    }

    .mobile-social {
        display: flex;
        justify-content: flex-start;
        gap: 15px;
        padding: 12px 5px;
        border-top: 1px solid var(--site-border);
    }

    .mobile-social img {
        width: 27px;
        height: 27px;
        object-fit: contain;
        transition: opacity 0.2s ease;
    }

    /* FOOTER */

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .site-footer {
        padding: 30px 20px 15px;
    }

    .page-content {
        padding: 20px 16px;
    }
}
