/* COMMON STYLES - Shared across all pages */
:root {
    --primary: #0c0c0c;
    --secondary: #111;
    --accent: #f2b200;
    --accent-light: rgba(242, 178, 0, 0.15);
    --text: #ffffff;
    --text-light: #d5d5d5;
    --border: #333;
    --success: #4CAF50;
    --warning: #ff9800;
    --danger: #f44336;
    --info: #2196F3;
}

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

body {
    font-family: "Inter", sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
}

/* NAVBAR - Common */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
}

.nav-left:hover {
    color: var(--accent);
}

.film-icon {
    width: 34px;
    height: 34px;
    background: url('../img/film-logo.png') center/cover no-repeat;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    font-size: 16px;
}

.nav-links {
    display: flex;
    gap: 40px;
    font-size: 16px;
}

.nav-links span {
    cursor: pointer;
    transition: color 0.3s;
}

.nav-links span:hover {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Buttons - Common */
.btn-yellow {
    background: var(--accent);
    padding: 12px 24px;
    border: none;
    color: #000;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-yellow:hover {
    background: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 178, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    padding: 12px 24px;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary:hover {
    background: #ffcc00;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

/* Form Elements - Common */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}

/* Messages - Common */
.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Footer - Common */
.footer {
    background: #000;
    padding: 60px 40px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
}

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

.footer-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 14px;
}

/* Hamburger Menu - Common */
.hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
    z-index: 1001;
}

.hamburger div { 
    width: 28px; 
    height: 3px; 
    background: #fff; 
    border-radius: 4px; 
    transition: all 0.3s;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #000;
    padding: 80px 20px 20px;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

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

.mobile-menu span {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: color 0.3s;
    font-size: 18px;
}

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

/* Section Headers - Common */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Badges - Common */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* NG Badge */
.ng-badge {
    --size: 32px;
    --bg: #fff;
    --color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: var(--size);
    height: var(--size);
    margin-left: 10px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--color);
    font-size: calc(var(--size) * 0.45);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ng-badge--sm { --size: 24px; }
.ng-badge--md { --size: 32px; }
.ng-badge--lg { --size: 40px; }

/* =============================================
   GLOBAL BADGE STYLES (Single definition)
   ============================================= */
.global-badge-link {
    text-decoration: none;
    display: inline-block;
}

.global-badge {
    background: rgba(242, 178, 0, 0.15);
    border: 1px solid var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.global-badge-link:hover .global-badge {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.global-badge-link:active .global-badge {
    transform: scale(0.98);
    box-shadow: none;
}

/* =============================================
   LANGUAGE SWITCHER - RESPONSIVE
   ============================================= */
.lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.lang-flag {
    font-size: 14px;
}

.lang-name {
    font-size: 12px;
}

/* =============================================
   SUBTLE BUTTON STYLES
   ============================================= */
.subtle-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 15px;
}

.subtle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =============================================
   SMALL NOTE STYLES
   ============================================= */
.small-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 15px;
    opacity: 0.7;
}

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

/* Tablet - Language switcher */
@media (max-width: 768px) {
    .lang-switcher {
        gap: 5px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .lang-flag {
        font-size: 12px;
    }
    
    .lang-name {
        font-size: 10px;
    }
}

/* Mobile - hide text, show only flags */
@media (max-width: 480px) {
    .lang-name {
        display: none;
    }
    
    .lang-btn {
        padding: 6px 8px;
    }
}

/* Navbar responsive */
@media (max-width: 850px) {
    .nav-links { 
        display: none; 
    }
    .nav-right { 
        display: none; 
    }
    .hamburger { 
        display: flex; 
    }
    .navbar { 
        padding: 20px; 
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-left {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* Navbar right for desktop */
@media (min-width: 851px) {
    .navbar {
        flex-direction: row;
    }
}

/* Small mobile navbar */
@media (max-width: 480px) {
    .section-title {
        font-size: 32px;
    }
    
    .nav-right {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .lang-switcher {
        justify-content: center;
    }
}

/* Desktop / Mobile visibility toggles */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Mobile dropdown styles */
.lang-select {
    background: var(--secondary);
    border: 1px solid var(--accent);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: "Inter", sans-serif;
}

.lang-select option {
    background: var(--secondary);
    color: var(--text);
}

/* Responsive visibility */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
