/**
 * PDFox Shared Styles
 * Common header, footer, and base styles for all pages
 */

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #141414;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-corner {
    background: #141414;
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #333 #141414;
}

a {
    text-decoration: none;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 100%);
    backdrop-filter: blur(10px);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(229, 9, 20, 0.2);
}

.logo {
    font-size: 40px;
    font-weight: 900;
    color: #E50914;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(229, 9, 20, 0.5);
    text-decoration: none;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #E50914;
}

.nav-link.active {
    color: #E50914;
}

.cta-button {
    background: #E50914;
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.cta-button:hover {
    background: #f40612;
    transform: translateY(-1px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #000000;
    padding: 60px 50px 40px;
    border-top: 1px solid #333333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section a {
    display: block;
    color: #808080;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #333333;
    color: #808080;
    font-size: 14px;
    text-align: center;
}

/* ==========================================================================
   Page Content Container
   ========================================================================== */
.page-content {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
}

/* ==========================================================================
   Mobile Responsive - Navigation
   ========================================================================== */
@media (max-width: 768px) {
    .nav {
        padding: 12px 16px;
    }

    .logo {
        font-size: 28px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link {
        font-size: 13px;
        padding: 8px 4px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .page-content {
        padding-top: 56px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 10px 12px;
    }

    .logo {
        font-size: 24px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-link {
        font-size: 12px;
        padding: 6px 2px;
    }

    .cta-button {
        padding: 8px 12px;
        font-size: 12px;
    }

    .page-content {
        padding-top: 52px;
    }
}

/* ==========================================================================
   Mobile Responsive - Footer
   ========================================================================== */
@media (max-width: 768px) {
    .footer {
        padding: 40px 16px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        text-align: center;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section h4 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .footer-section a {
        padding: 6px 0;
        margin-bottom: 0;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 11px;
        padding-top: 20px;
        margin-top: 24px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 32px 12px 24px;
    }

    .footer-content {
        gap: 24px 16px;
    }

    .footer-section a {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 10px;
    }
}
