/* Shared Header and Footer Styles */

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    padding: 0px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding-top: 5px;
    padding-bottom: 5px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    gap: 45px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #ccc;
}

.explore-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.explore-link::after {
    content: '▼';
    font-size: 10px;
}

.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.icon-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 8px;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    stroke-width: 2;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 99999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 100px 20px;
    width: 100%;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Ovo', serif;
}

.mobile-nav a:hover {
    color: #ccc;
}

/* Footer Section */
.footer-section {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
    padding-top: 60px;
}

.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    letter-spacing: 15px;
    z-index: 1;
    pointer-events: none;
}

.footer-circle-left,
.footer-circle-right {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.footer-circle-left {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
}

.footer-circle-right {
    width: 250px;
    height: 250px;
    top: -50px;
    right: -50px;
}

.footer-inner-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 80px 40px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    position: relative;
}

.footer-logo-circle {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-logo-text {
    position: absolute;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #fff;
}

.footer-brand-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 280px;
}

.footer-social-links {
    display: flex;
    gap: 20px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-links-col h3,
.footer-address-col h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 14px;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links-col a:hover {
    color: #fff;
}

.footer-address-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-address-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-address-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-address-item a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom-row {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.footer-legal-links {
    display: flex;
    gap: 32px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .header-container {
        height: 70px;
        width: 100%;
    }

    header {
        padding: 0 15px;
        background: rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Hide only the desktop nav, NOT the mobile-nav overlay */
    .header-container > nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Mobile nav links must stay visible */
    .mobile-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important;
    }

    .mobile-nav a {
        color: #ffffff !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .footer-inner-content {
        padding: 60px 40px 32px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .footer-bg-text {
        font-size: 120px;
    }

    .footer-circle-right {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 50px !important;
    }

    .header-icons {
        gap: 15px;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .footer-inner-content {
        padding: 40px 24px 24px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-bg-text {
        font-size: 60px;
        letter-spacing: 2px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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

    .footer-circle-left,
    .footer-circle-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-brand-logo {
        width: 60px;
        height: 60px;
    }

    .footer-links-col h3,
    .footer-address-col h3 {
        font-size: 15px;
    }

    .footer-bg-text {
        font-size: 40px;
    }
}
