html, body {
    margin: 0px;
}

.layout-slot {
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 61px; /* Account for fixed nav bar height */
}

/* Additional padding when auth bar is present */
body:has(.auth-bar-container) .layout-slot {
    padding-top: 101px; /* Account for fixed nav bar height + auth bar height */
}

.nav-bar-fixed-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.nav-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 999;
}

.nav-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 60px;
}

.nav-bar-brand {
    flex-shrink: 0;
}

.nav-bar-brand-link {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: black;
}

.nav-bar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.nav-bar-hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.nav-bar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-bar-item {
    margin: 0;
}

.nav-bar-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
    padding: 0.5rem 0;
}

  /* Mobile styles */
@media (max-width: 767px) {
    .nav-bar-toggle {
        display: flex;
    }

    .nav-bar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #e5e5e5;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-bar-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-bar-item {
        width: 100%;
    }

    .nav-bar-link {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-bar-item:last-child .nav-bar-link {
        border-bottom: none;
    }

    /* Hamburger animation when active */
    .nav-bar-toggle.active .nav-bar-hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-bar-toggle.active .nav-bar-hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-bar-toggle.active .nav-bar-hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Footer Styles */
.footer {
    /* background-color: #f8f9fa; */
    border-top: 1px solid #e5e5e5;
    margin-top: 2rem;
    padding: 2rem 0;
}

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

.footer-brand {
    flex-shrink: 0;
}

.footer-brand-link {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: black;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.footer-no-social {
    color: #6c757d;
    font-style: italic;
}

/* Mobile footer styles */
@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}
