/*
Theme Name: Schwere Panzer 503
Theme URI: http://localhost:10010
Author: Mikelov & AI
Author URI: http://localhost:10010
Description: Tema premium apolítico para el escuadrón Schwere Panzer-Abteilung 503.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
Text Domain: 503-abt
*/

:root {
    --bg-dark: #0f1112;
    --bg-field: #2d3630; /* Feldgrau inspired */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #d97706; /* Amber/Fire */
    --accent-hover: #f59e0b;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(15, 17, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 4rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05); /* Slight zoom for animation */
    animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 17, 18, 0.6) 0%, rgba(15, 17, 18, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    color: #fff;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.motto {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 3rem;
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.dark-section {
    background-color: var(--bg-dark);
}

.field-section {
    background-color: var(--bg-field);
    background-image: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
}

.text-card p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

.image-card img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: filter 0.3s ease;
}

.image-card img:hover {
    filter: brightness(1.2);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
}

.glass-light {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.content-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Roles */
.role-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.role-list li {
    font-size: 1.1rem;
    background: rgba(0,0,0,0.3);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--accent);
    transition: transform 0.2s;
}

.role-list li:hover {
    transform: translateX(5px);
}

.role {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
    margin-right: 0.5rem;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    text-align: center;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(217, 119, 6, 0.3);
}

.game-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #08090a;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

/* Responsive */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none; 
    }
    
    #navbar {
        justify-content: center;
    }
}

/* Page Content Styles */
.page-content h1, .page-content h2, .page-content h3 {
    font-family: var(--font-heading);
    color: var(--accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.page-content h1 {
    font-size: 2.5rem;
}
.page-content h2 {
    font-size: 2rem;
}
.page-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}
.page-content ul, .page-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}
.page-content li {
    margin-bottom: 0.5rem;
}
