/* ============================================
   Studio Bunq — Shared Styles
   Used across all Studio Bunq website pages
   ============================================ */

:root {
    --primary-dark: #0C0E12;
    --primary-light: #FFFFFF;
    --accent-main: #E8943A;
    --accent-light: rgba(232, 148, 58, 0.1);
    --accent-border: rgba(232, 148, 58, 0.15);
    --grey-dark: #1A1D24;
    --grey-medium: #717171;
    --grey-light: #B8B8B8;
    --text-primary: #E8E8E8;
    --text-secondary: #909090;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */

#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(12, 14, 18, 0.95) 0%, rgba(12, 14, 18, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 148, 58, 0);
    transition: all 0.3s ease;
}

#site-nav.scrolled {
    background: rgba(12, 14, 18, 0.98);
    border-bottom-color: rgba(232, 148, 58, 0.15);
}

#site-nav.subpage-nav {
    background: rgba(12, 14, 18, 0.98);
    border-bottom: 1px solid rgba(232, 148, 58, 0.15);
    position: fixed;
}

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

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

.nav-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-main);
}

.cta-nav {
    background: var(--accent-main);
    color: #000 !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.cta-nav:hover {
    background: #f0a84f;
    transform: translateY(-2px);
}

.cta-nav.active::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--accent-main);
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle:hover span {
    background: #f0a84f;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 14, 18, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(232, 148, 58, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--accent-main);
}

/* ============================================
   FOOTER
   ============================================ */

#site-footer {
    background: var(--grey-dark);
    border-top: 1px solid rgba(232, 148, 58, 0.15);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--grey-light);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-main);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--accent-main);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-bottom-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 148, 58, 0.1);
    text-align: center;
}

.footer-bottom-bar p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .cta-nav {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
        gap: 1rem;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-links {
        display: none;
    }

    .cta-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    #site-nav {
        background: rgba(12, 14, 18, 0.98);
        border-bottom: 1px solid rgba(232, 148, 58, 0.15);
    }

    #site-nav.scrolled {
        background: rgba(12, 14, 18, 0.98);
    }

    .mobile-menu {
        top: 60px;
        padding: 1.5rem;
    }

    .mobile-menu a {
        font-size: 1rem;
        padding: 0.6rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #site-footer {
        padding: 2rem 1rem 1rem;
    }

    body {
        padding-top: 60px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.6rem 0.8rem;
    }

    .nav-logo img {
        height: 28px;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .footer-col p,
    .footer-link {
        font-size: 0.85rem;
    }

    #site-footer {
        padding: 1.5rem 0.8rem 0.8rem;
        margin-top: 2rem;
    }
}

/* ============================================
   GLOBAL ELEMENTS
   ============================================ */

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-weight: 600;
}

strong, b {
    font-weight: 600;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-main);
    border-radius: 5px;
}

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

/* Selection */
::selection {
    background: var(--accent-main);
    color: #000;
}

::-moz-selection {
    background: var(--accent-main);
    color: #000;
}
