/* 
   European Nations Alliance - Elite Prestige Theme 
   Style: Cinematic, High-End, Official, "Vogue" Military
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    /* Palette: Luxury Dark */
    --bg-body: #050505;
    --bg-surface: #0f0f0f;
    --bg-card: #141414;
    
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    /* Gold Accent for Prestige */
    --accent: #d4af37; 
    --accent-hover: #f3cf55;
    --accent-dim: rgba(212, 175, 55, 0.1);
    
    --border: #222;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    
    --header-height: 90px;
    --container-width: 1400px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

img {
    width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--accent);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* UI Elements */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn:hover {
    background: var(--accent);
    color: #000;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    font-weight: 700;
}

.btn-primary:hover {
    background: #fff;
    border-color: #fff;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0));
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: #050505;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

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

.mobile-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0); /* Black and white cinematic feel */
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Feature Cards (Minimalist) */
.feature-card {
    padding: 40px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Page Headers */
.page-header {
    padding: 200px 0 100px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

/* Member List (Elegant) */
.member-row {
    display: flex;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.member-row:hover {
    background: var(--bg-surface);
}

.member-flag {
    width: 60px;
    height: 40px;
    margin-right: 30px;
    opacity: 0.8;
}

.member-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.member-info span {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-desc {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
    text-align: right;
}

/* Application Form (Clean) */
.apply-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 40px;
    position: relative;
}

.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.form-label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.form-control:focus ~ .form-label,
.form-control:valid ~ .form-label {
    top: -10px;
    font-size: 0.7rem;
    color: var(--accent);
}

select.form-control {
    color: var(--text-muted);
}
select.form-control option {
    background: var(--bg-body);
}

/* Footer */
footer {
    background: var(--bg-surface);
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    color: #fff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 40px; }
    .member-row { flex-direction: column; align-items: flex-start; gap: 20px; }
    .member-desc { text-align: left; margin-left: 0; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        padding: 100px 40px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }
    .nav-links.active { transform: translateX(0); }
    .mobile-toggle { display: block; z-index: 1001; }
    .container { padding: 0 20px; }
}
