/*
Theme Name: Virtual Swiss Aerobatics
Theme URI: https://virtualswissaerobatics.com
Author: Sidney - 3sans60
Author URI: https://3sans60.ch
Description: Award-winning WordPress theme for Virtual Swiss Aerobatics. Reproduit le design original au pixel près avec Elementor support. Professional theme avec Custom Post Type Teams, responsive design, et Bebas Neue + Montserrat typography.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vsa-theme
Tags: aviation, military, aerobatics, one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, flexible-header, full-width-template, theme-options, threaded-comments, translation-ready
*/

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
    --swiss-red: #FF0000;
    --swiss-white: #FFFFFF;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #e8e8e8;
    --text-muted: #888888;
    --accent-gold: #D4AF37;
}

/* ================================================
   GLOBAL STYLES
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ================================================
   CUSTOM SCROLLBAR
   ================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--swiss-red);
    border-radius: 4px;
}

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

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    color: var(--swiss-white);
}

/* ================================================
   NAVIGATION
   ================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.75rem 4rem;
    background: rgba(5, 5, 5, 0.98);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--swiss-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: white;
}

.logo-icon::before {
    content: '+';
    font-size: 2rem;
    font-weight: bold;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--swiss-white);
    letter-spacing: 3px;
}

.logo-text span {
    color: var(--swiss-red);
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--swiss-red);
    transition: width 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current-menu-item,
.main-navigation a.current_page_item {
    color: var(--swiss-white);
}

.main-navigation a:hover::after,
.main-navigation a.current-menu-item::after,
.main-navigation a.current_page_item::after {
    width: 100%;
}

/* ================================================
   MAIN CONTENT
   ================================================ */
.site-content {
    padding-top: 0;
    min-height: 100vh;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    padding: 3rem 4rem;
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--swiss-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.footer-logo-icon::before {
    content: '+';
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--swiss-red);
}

/* ================================================
   WORDPRESS SPECIFIC
   ================================================ */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Alignments */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
    .site-header {
        padding: 1rem 2rem;
    }
    
    .site-footer {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }
    
    .main-navigation ul {
        display: none; /* Mobile menu to be implemented */
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
