/* ==========================================
   Dynasty 8 - Layout (Header / Footer / Grid)
   ========================================== */

/* Header */
.header {
    background: var(--primary-green);
    opacity: 0.95;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-hero {
    flex: 1;
    text-align: center;
}

.header-hero h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    color: var(--text-white);
    line-height: 1.2;
}

.header-hero .hero-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
    color: var(--text-white);
    margin: 0;
}

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

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.3rem;
    color: var(--text-white);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.logo-text .subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0;
}

.header nav a {
    color: var(--text-white);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--text-white);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.header nav a:hover {
    background: var(--text-white);
    color: var(--primary-green);
}

/* Dev Banner */
.dev-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 0.75rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #e85d2a;
}

.dev-banner p {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.warning-icon {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 550px minmax(700px, 1000px);
    gap: 2rem;
    align-items: start;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    max-width: 1800px;
}

/* Zone Map Sidebar */
.zone-map-sidebar {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    align-self: start;
}

.zone-map-sidebar h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.zone-map-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.zone-map-image:hover {
    transform: scale(1.02);
}

.zone-map {
    display: none;
}

/* Footer */
.footer {
    background: var(--primary-green);
    opacity: 0.95;
    border-top: none;
    padding: 1rem 0;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer .container {
    padding: 0 2rem;
}

.footer p {
    color: var(--text-white);
    margin: 0.2rem 0;
    opacity: 0.9;
    font-size: 0.9rem;
}
