/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #000;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    height: 100px;
    border-bottom: 1px solid #000;
}

.header-content {
    max-width: 100%;
    height: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Social Links */
.social-links {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-links li {
    display: inline-block;
}

.social-links .icon {
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.social-links .facebook .icon {
    background-image: url('../../resources/public/assets/icons/facebook.svg');
}

.social-links .facebook .icon:hover {
    background-image: url('../../resources/public/assets/icons/facebook-gold.svg');
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navigation */
#nav {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.nav-link {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 300;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-left {
    left: 25%;
    transform: translate(-50%, -50%);
}

.nav-right {
    left: 75%;
    transform: translate(-50%, -50%);
}

/* Logo */
.logo {
    position: absolute;
    z-index: 10;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
}

/* Header Right */
.header-right {
    flex: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #000;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Footer */
#footer {
    background: #1a1a1a;
    color: #d4d4d4;
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-legal {
    text-align: center;
    margin-bottom: 30px;
}

.footer-disclosure {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #b8b8b8;
    font-weight: 300;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: #c4a962;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-links a:hover {
    color: #d4b76a;
    text-decoration: underline;
}

.footer-links .separator {
    color: #666;
    font-weight: 300;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
}

.footer-nav a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-nav a:hover {
    color: #c4a962;
}

.footer-nav .separator {
    color: #555;
    font-weight: 300;
}

.footer-copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #2d2d2d;
    margin-top: 25px;
}

.footer-copyright p {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 1px;
    font-weight: 300;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 960px) {
    /* Footer mobile adjustments */
    #footer {
        padding: 40px 15px 25px;
    }

    .footer-disclosure {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links .separator {
        display: none;
    }

    .footer-nav {
        font-size: 0.75rem;
        gap: 8px;
    }

    /* Mobile header layout fixes */
    .header-content {
        display: grid;
        grid-template-columns: 60px 1fr 60px;
        align-items: center;
        padding: 0 20px;
        position: relative;
    }

    /* Position hamburger menu on left */
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        grid-column: 1;
        order: 1;
        position: static;
        margin-left: 0;
    }

    /* Center logo */
    .logo {
        grid-column: 2;
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        position: static;
        transform: none;
    }

    .logo img {
        max-width: 180px;
        height: auto;
        width: auto;
        display: block;
    }

    /* Position social links on right */
    .social-links {
        display: flex !important;
        grid-column: 3;
        order: 3;
        justify-content: flex-end;
        margin: 0;
        position: static;
    }

    /* Hide desktop header-right on mobile */
    .header-right {
        display: none;
    }

    #nav {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background: #fff;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
        border-top: 1px solid #e0e0e0;
    }

    #nav.active {
        left: 0;
    }

    .nav-link {
        font-size: 16px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
