/* Brew City Catholic Header and Footer Styles */
/* Essential styles for header and footer components */

/* CSS Variables */
:root {
    --bcc-primary: #1b75bc;
    --bcc-secondary: #f7931e;
    --bcc-dark: #2a2a2a;
    --bcc-light: #f5f5f5;
    --bcc-white: #ffffff;
    --bcc-spacing-xs: 0.25rem;
    --bcc-spacing-sm: 0.5rem;
    --bcc-spacing-md: 1rem;
    --bcc-spacing-lg: 1.5rem;
    --bcc-spacing-xl: 2.5rem;
    --bcc-spacing-xxl: 4rem;
    --bcc-breakpoint-sm: 576px;
    --bcc-breakpoint-md: 768px;
    --bcc-breakpoint-lg: 992px;
    --bcc-breakpoint-xl: 1200px;
}

/* Header Styles */
.birdseye-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.birdseye-header .nav-wrap {
    position: relative;
}

.birdseye-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .birdseye-header .nav.desktop-nav {
        display: none;
    }
}

.bcc-header.scrolled {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bcc-header.hidden {
    transform: translateY(-100%);
}

.bcc-header-inner {
    display: flex;
    flex: 1 0 100%;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--bcc-spacing-md) var(--bcc-spacing-lg);
    width: 100%;
}

/* Logo */
.bcc-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.bcc-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.bcc-logo img {
    height: 50px;
    width: auto;
}

@media (min-width: 768px) {
    .bcc-logo img {
        height: 60px;
    }
}

.bcc-logo .site-name {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bcc-primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Navigation Container */
.bcc-nav-container {
    display: flex;
    align-items: center;
}

/* Desktop Menu */
.bcc-menu {
    display: none;
}

@media (min-width: 768px) {
    .bcc-menu {
        display: block;
    }
}

.bcc-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bcc-nav-item {
    position: relative;
    margin: 0 var(--bcc-spacing-sm);
}

.bcc-nav-item a {
    display: block;
    padding: var(--bcc-spacing-sm) var(--bcc-spacing-md);
    color: var(--bcc-dark);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.bcc-header.scrolled .bcc-nav-item a {
    color: var(--bcc-dark);
}

.bcc-nav-item a:hover {
    color: var(--bcc-primary);
}

.bcc-nav-item.has-dropdown:hover .bcc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Menu */
.bcc-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--bcc-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: var(--bcc-spacing-sm) 0;
}

@media (min-width: 768px) {
    .bcc-nav-item:last-child .bcc-dropdown,
    .bcc-nav-item:nth-last-child(2) .bcc-dropdown {
        left: auto;
        right: 0;
    }
}

.bcc-dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bcc-dropdown li a {
    display: block;
    padding: var(--bcc-spacing-xs) var(--bcc-spacing-md);
    color: var(--bcc-dark);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: none;
    font-weight: 400;
}

.bcc-dropdown li a:hover {
    background-color: var(--bcc-light);
    color: var(--bcc-primary);
}

/* Mobile Menu Toggle - Weebly Style */
.hamburger {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--bcc-dark);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    top: 50%;
    margin-top: -2px;
}

.hamburger span::before,
.hamburger span::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--bcc-dark);
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span::before {
    top: -8px;
}

.hamburger span::after {
    top: 8px;
}

.hamburger.active span {
    background: transparent;
}

.hamburger.active span::before {
    top: 0;
    transform: rotate(135deg);
}

.hamburger.active span::after {
    top: 0;
    transform: rotate(-135deg);
}

/* Mobile Menu */
.bcc-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 90vw;
    height: 100vh;
    background-color: var(--bcc-white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.bcc-mobile-menu.active {
    right: 0;
}

.bcc-mobile-menu-inner {
    padding: var(--bcc-spacing-lg) var(--bcc-spacing-md);
}

.bcc-mobile-menu-close {
    font-size: 2rem;
    text-align: right;
    cursor: pointer;
    line-height: 1;
    margin-bottom: var(--bcc-spacing-md);
}

.bcc-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bcc-mobile-nav-item {
    border-bottom: 1px solid var(--bcc-light);
}

.bcc-mobile-nav-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--bcc-spacing-md);
    color: var(--bcc-dark);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.bcc-mobile-nav-item a .toggle-submenu {
    font-size: 1.2rem;
    line-height: 1;
}

.bcc-mobile-nav-item.has-submenu .bcc-submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--bcc-light);
}

.bcc-mobile-nav-item.has-submenu .bcc-submenu.active {
    display: block;
}

.bcc-mobile-nav-item.has-submenu .bcc-submenu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bcc-mobile-nav-item.has-submenu .bcc-submenu li a {
    padding-left: var(--bcc-spacing-xl);
    font-weight: 400;
    font-size: 0.85rem;
}

.bcc-mobile-nav-item.has-submenu.active .toggle-submenu {
    transform: rotate(45deg);
}

.bcc-mobile-social {
    display: flex;
    justify-content: center;
    gap: var(--bcc-spacing-md);
    margin-top: var(--bcc-spacing-xl);
    padding-top: var(--bcc-spacing-xl);
    border-top: 1px solid var(--bcc-light);
}

.bcc-mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bcc-primary);
    color: var(--bcc-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bcc-mobile-social a:hover {
    background-color: var(--bcc-secondary);
    transform: translateY(-2px);
}

/* Footer Styles */
.bcc-footer {
    background-color: var(--bcc-light);
    padding: var(--bcc-spacing-xl) 0 var(--bcc-spacing-md);
}

.bcc-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--bcc-spacing-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--bcc-spacing-xl);
}

@media (min-width: 768px) {
    .bcc-footer-container {
        grid-template-columns: 2fr 3fr 1fr;
    }
}

.bcc-footer-primary {
    text-align: center;
}

@media (min-width: 768px) {
    .bcc-footer-primary {
        text-align: left;
    }
}

.bcc-footer-logo {
    margin-bottom: var(--bcc-spacing-md);
}

.bcc-footer-logo img {
    height: 60px;
    width: auto;
}

.bcc-footer-logo .site-name {
    font-family: "Montserrat", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bcc-primary);
    text-transform: uppercase;
}

.bcc-footer-mission {
    font-style: italic;
    margin-bottom: var(--bcc-spacing-md);
}

.bcc-footer-social {
    display: flex;
    justify-content: center;
    gap: var(--bcc-spacing-sm);
}

@media (min-width: 768px) {
    .bcc-footer-social {
        justify-content: flex-start;
    }
}

.bcc-footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bcc-primary);
    color: var(--bcc-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bcc-footer-social .social-icon:hover {
    background-color: var(--bcc-secondary);
    transform: translateY(-2px);
}

.bcc-footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--bcc-spacing-lg);
}

.bcc-footer-nav-column h4 {
    font-size: 1.1rem;
    margin-bottom: var(--bcc-spacing-md);
    text-transform: uppercase;
}

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

.bcc-footer-nav-column ul li {
    margin-bottom: var(--bcc-spacing-xs);
}

.bcc-footer-nav-column ul li a {
    color: var(--bcc-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.bcc-footer-nav-column ul li a:hover {
    color: var(--bcc-primary);
    text-decoration: underline;
}

.bcc-footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: var(--bcc-spacing-md);
    text-transform: uppercase;
}

.bcc-footer-contact p {
    margin-bottom: var(--bcc-spacing-sm);
    font-size: 0.9rem;
}

.bcc-footer-bottom {
    max-width: 1200px;
    margin: var(--bcc-spacing-xl) auto 0;
    padding: var(--bcc-spacing-md) var(--bcc-spacing-md) 0;
    border-top: 1px solid rgba(27, 117, 188, 0.1);
}

.bcc-footer-copyright {
    text-align: center;
    font-size: 0.8rem;
}

.bcc-footer-copyright a {
    color: var(--bcc-primary);
    text-decoration: none;
}

.bcc-footer-copyright a:hover {
    text-decoration: underline;
}