/**
 * Camping & Sportbootclub Itterdamm
 * Premium Maritim-Natur Design - Mobile-First Responsive
 * Farbpalette: Rhein-Blau #2C5F78, Ufer-Beige #F2E8D5, Natur-Grün #6B8E23
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    /* Rhein-Blau Palette (Primär) - Tiefes, seriöses Blau */
    --navy-900: #1a3a4a;
    --navy-800: #234d5f;
    --navy-700: #2C5F78;
    --navy-600: #3a7291;
    --navy-500: #4a85a5;
    --navy-400: #5e99b8;
    --navy-300: #7fb1ca;
    --navy-200: #a8cce0;
    --navy-100: #d4e6f0;
    
    /* Natur-Grün Palette (Akzent/CTA) - Symbolisiert Stellplätze im Grünen */
    --green-600: #556b1c;
    --green-500: #6B8E23;
    --green-400: #7da32e;
    --green-300: #96b84a;
    --green-200: #b5cf7a;
    --green-100: #e3edc7;
    
    /* Ufer-Beige Palette (Sekundär) - Sandiger, warmer Ton */
    --beige-100: #F2E8D5;
    --beige-200: #ebe3d4;
    --beige-300: #ddd5c5;
    --beige-400: #c5bba8;
    --beige-500: #a89b85;
    
    /* Legacy-Kompatibilität */
    --gold-600: var(--green-600);
    --gold-500: var(--green-500);
    --gold-400: var(--green-400);
    --gold-300: var(--green-300);
    --gold-200: var(--green-200);
    --gold-100: var(--green-100);
    
    --ocean-500: #2C5F78;
    --ocean-400: #3a7291;
    --ocean-300: #5e99b8;
    
    --primary: var(--navy-700);
    --primary-dark: var(--navy-900);
    --accent: var(--green-500);
    --accent-light: var(--green-300);
    
    --color-primary: #2C5F78;
    --color-secondary: #3a7291;
    --color-accent: #6B8E23;
    --color-white: #ffffff;
    
    --success: #6B8E23;
    --warning: #d97706;
    --danger: #dc2626;
    --info: var(--ocean-400);
    
    --white: #ffffff;
    --gray-50: #F2E8D5;
    --gray-100: #ebe3d4;
    --gray-200: #ddd5c5;
    --gray-300: #c5bba8;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #333333;
    --gray-800: #292929;
    --gray-900: #1a1a1a;
    
    /* Textfarben - Anthrazit für bessere Lesbarkeit */
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-muted: #666666;
    
    /* Hintergründe */
    --bg-light: #F2E8D5;
    --bg-card: #ffffff;
    --bg-page: #F2E8D5;
    --bg-overlay: rgba(255, 255, 255, 0.80);
    
    /* Typografie - Montserrat & Open Sans */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-sans: var(--font-body);
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Textgrößen */
    --text-h1: 48px;
    --text-h2: 32px;
    --text-h3: 24px;
    --text-h4: 20px;
    --text-body: 18px;
    --text-small: 16px;
    --text-button: 16px;
    
    /* Schatten */
    --shadow-sm: 0 1px 2px rgba(44,95,120,0.05);
    --shadow: 0 2px 4px rgba(44,95,120,0.08);
    --shadow-md: 0 4px 12px rgba(44,95,120,0.12);
    --shadow-lg: 0 8px 24px rgba(44,95,120,0.16);
    --shadow-accent: 0 4px 20px rgba(107,142,35,0.25);
    --shadow-gold: var(--shadow-accent);
    
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    
    /* Abgerundete Ecken - 8px für freundliche, organische Atmosphäre */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-light);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ========================================
   Typography - Montserrat für Überschriften, Open Sans für Text
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-800);
    margin-bottom: 0.5em;
}

/* Mobile First - kleinere Größen */
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

/* Tablet */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
}

/* Desktop - Volle Größen nach Vorgabe */
@media (min-width: 1024px) {
    h1 { font-size: 3rem; letter-spacing: -0.02em; } /* 48px */
    h2 { font-size: 2rem; } /* 32px */
    h3 { font-size: 1.5rem; } /* 24px */
    h4 { font-size: 1.25rem; } /* 20px */
}

p { 
    margin-bottom: 1rem; 
    font-size: var(--text-body);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

img { max-width: 100%; height: auto; display: block; }

/* ========================================
   Layout - Mobile First
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

.container-sm { max-width: 960px; }
.container-lg { max-width: 1400px; }

.grid {
    display: grid;
    gap: 1rem;
}

.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .grid { gap: 1.25rem; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .grid { gap: 1.5rem; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ========================================
   Header - Mobile First
   ======================================== */
.site-header {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: none;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .header-top { display: block; }
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-400);
}

.header-top a {
    color: var(--design-color-nav-link, #e5e7eb);
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.header-top a:hover { color: var(--design-color-nav-hover, var(--accent)); }

.header-main {
    padding: 0.75rem 0;
}

@media (min-width: 768px) {
    .header-main { padding: 1rem 0; }
}

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

/* Brand/Logo */
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold-300) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--navy-900);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .brand-logo {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: var(--radius-lg);
    }
}

.brand-text h1 {
    font-size: 0.85rem;
    color: var(--white);
    margin: 0;
    font-family: var(--font-serif);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 400px) {
    .brand-text h1 { font-size: 0.95rem; }
}

@media (min-width: 640px) {
    .brand-text h1 { font-size: 1.1rem; }
}

@media (min-width: 768px) {
    .brand-text h1 { font-size: 1.375rem; white-space: nowrap; }
}

.brand-text p {
    display: block;
    font-size: 0.6rem;
    color: var(--gold-400);
    margin: 0;
    letter-spacing: 0.05em;
}

@media (min-width: 640px) {
    .brand-text p { font-size: 0.7rem; letter-spacing: 0.1em; }
}

/* Navigation */
.nav-main {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .nav-main {
        display: flex;
        gap: 0.5rem;
    }
}

.nav-main a {
    color: var(--design-color-nav-link, #e5e7eb);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    position: relative;
    transition: all var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-main a:hover {
    color: var(--design-color-nav-hover, #6B8E23);
    background: rgba(255,255,255,0.1);
}

.nav-main a.active {
    color: var(--design-color-nav-active, var(--design-color-nav-hover, #6B8E23));
    background: rgba(255,255,255,0.1);
}

.nav-main a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--design-color-nav-hover, var(--accent));
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-actions .btn {
    display: none;
}

@media (min-width: 640px) {
    .header-actions .btn { display: inline-flex; }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.625rem;
    border-radius: var(--radius);
    min-width: 44px;
    min-height: 44px;
    transition: background var(--transition-fast);
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

@media (min-width: 1024px) {
    .menu-toggle { display: none; }
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-900);
    z-index: 9999;
    flex-direction: column;
    padding: 1rem;
    overflow-y: auto;
}

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

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-200);
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.mobile-nav-links a i {
    width: 24px;
    text-align: center;
    color: var(--accent);
}

.mobile-nav-actions {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-actions .btn {
    justify-content: center;
    padding: 1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--ocean-500) 100%);
    overflow: hidden;
    padding: 2rem 0;
}

/* Hero Tagline - Playfair Display */
.hero-tagline {
    font-family: var(--font-hero-tagline, 'Playfair Display'), serif;
    font-size: var(--size-hero-tagline, clamp(1.5rem, 3.5vw, 2.5rem));
    color: var(--gold-300, #6B8E23);
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Logo Container - FESTER Bereich, unabhängig von anderem Layout */
.hero-logo-section {
    width: 100%;
    text-align: center;
    margin: 2rem 0; /* Gleicher Abstand oben und unten */
    /* Feste Höhe damit Layout stabil bleibt */
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    /* width wird per Inline-Style gesetzt */
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .hero-logo-section { min-height: 220px; margin: 2.5rem 0; }
    .hero-logo-img { max-width: 260px; }
}

@media (min-width: 1024px) {
    .hero-logo-section { min-height: 280px; margin: 3rem 0; }
    .hero-logo-img { max-width: 320px; }
}

/* Hero Titel - Playfair Display */
.hero-title, .hero h1 {
    font-family: var(--font-hero-title, 'Playfair Display'), serif;
    font-size: var(--size-hero-title, clamp(1.5rem, 3.5vw, 2.5rem));
    color: var(--white, #ffffff);
    margin: 0 0 2rem 0;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .hero { min-height: 70vh; padding: 3rem 0; }
}

@media (min-width: 1024px) {
    .hero { min-height: 85vh; padding: 4rem 0; }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201,162,39,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,180,216,0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .hero-content { max-width: 800px; }
}

@media (min-width: 1024px) {
    .hero-content { max-width: 900px; }
}

.hero-badge {
    display: none; /* Nicht mehr verwendet */
}

/* Hero Text - Beschreibung unter Logo/Titel */
.hero-text {
    font-family: var(--font-hero-text, 'Inter'), sans-serif;
    font-size: var(--size-hero-text, clamp(1rem, 2vw, 1.25rem));
    color: var(--gray-300);
    margin: 0 auto 2rem;
    line-height: 1.7;
    max-width: 700px;
}

/* Hero Buttons zentriert */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero h1 {
    font-family: var(--font-hero-title, 'Playfair Display'), serif;
    font-size: var(--size-hero-title, clamp(2rem, 5vw, 3.5rem));
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 { margin-bottom: 1.5rem; }
}

@media (min-width: 1024px) {
    .hero h1 { margin-bottom: 1.75rem; line-height: 1.15; }
}

.hero h1 span { color: var(--accent); }

.hero p {
    font-size: 1rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero p { font-size: 1.125rem; margin-bottom: 2rem; }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .hero-actions { flex-direction: row; gap: 1rem; }
}

.hero-actions .btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 480px) {
    .hero-actions .btn { width: auto; }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-button);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    min-height: 44px;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 36px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-height: 52px;
}

/* Primär-Button: Natur-Grün für CTA */
.btn-primary {
    background: linear-gradient(135deg, var(--green-500) 0%, var(--green-400) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 100%);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy-800);
    border: 2px solid var(--beige-300);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.btn-success { background: var(--success); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-warning { background: var(--warning); color: var(--white); }

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.card-body {
    padding: 1rem;
}

.card-footer {
    padding: 1rem;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

@media (min-width: 768px) {
    .card-header, .card-body, .card-footer { padding: 1.5rem; }
}

/* Feature Cards - Design wie Über-uns Kacheln */
.feature-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: none;
    transition: all var(--transition);
    text-align: center;
    min-width: 220px;
    max-width: 320px;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0369a1;
    margin: 0 auto 1rem;
}

.feature-card h3 {
    color: #2C5F78;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Grid-Features: Zentriert, responsive */
.grid-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.grid-features > .feature-card {
    flex: 0 1 100%;
    max-width: 320px;
}

@media (min-width: 640px) {
    .grid-features > .feature-card {
        flex: 0 1 calc(50% - 0.75rem);
        max-width: 320px;
    }
}

@media (min-width: 1024px) {
    .grid-features > .feature-card {
        flex: 0 1 calc(33.333% - 1rem);
        max-width: 320px;
    }
    .feature-icon { width: 80px; height: 80px; font-size: 2.5rem; }
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .section { padding: 4rem 0; }
}

@media (min-width: 1024px) {
    .section { padding: 5rem 0; }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .section-header { margin-bottom: 3rem; }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-100);
    color: var(--gold-600);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .form-group { margin-bottom: 1.25rem; }
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: all var(--transition-fast);
    font-family: inherit;
    min-height: 48px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

.form-control::placeholder { color: var(--gray-400); }

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row { flex-direction: row; }
    .form-row .form-group { flex: 1; margin-bottom: 0; }
}

/* ========================================
   Tables
   ======================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 600px;
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .table th, .table td { padding: 1rem; font-size: 1rem; }
}

.table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.table tr:hover { background: var(--gray-50); }
.table tr:last-child td { border-bottom: none; }

/* ========================================
   Alerts
   ======================================== */
.alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .alert { padding: 1rem 1.25rem; font-size: 1rem; }
}

.alert i { flex-shrink: 0; margin-top: 0.125rem; }

.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--success); }
.alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--danger); }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--warning); }
.alert-info { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--info); }

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--navy-900);
    color: var(--gray-300);
    padding-top: 2.5rem;
}

@media (min-width: 768px) {
    .site-footer { padding-top: 4rem; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
}

.footer-brand p { margin: 1rem 0; line-height: 1.8; }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: all var(--transition);
}

.footer-social a:hover { background: var(--accent); color: var(--navy-900); }

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

@media (min-width: 768px) {
    .footer-col h4 { font-size: 1.125rem; margin-bottom: 1.5rem; }
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem; }

.footer-col a {
    color: var(--gray-400);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.footer-col a:hover { color: var(--accent); padding-left: 0.5rem; }

.footer-bottom {
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 0;
        text-align: left;
    }
}

.footer-bottom a { color: var(--gray-400); margin: 0 0.75rem; }

@media (min-width: 768px) {
    .footer-bottom a { margin: 0 0 0 1.5rem; }
}

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

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.625rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: var(--navy-900); }

/* ========================================
   Badges
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    .badge { padding: 0.25rem 0.75rem; font-size: 0.75rem; }
}

.badge-primary { background: var(--navy-100); color: var(--navy-700); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-gold { background: var(--gold-100); color: var(--gold-600); }

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--navy-700); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-500); }
.text-white { color: var(--white); }

.bg-primary { background: var(--navy-700); }
.bg-accent { background: var(--accent); }
.bg-light { background: var(--gray-50); }
.bg-white { background: var(--white); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.d-flex { display: flex; }
.d-none { display: none; }
.d-block { display: block; }

@media (min-width: 640px) {
    .d-sm-flex { display: flex; }
    .d-sm-none { display: none; }
    .d-sm-block { display: block; }
}

@media (min-width: 768px) {
    .d-md-flex { display: flex; }
    .d-md-none { display: none; }
    .d-md-block { display: block; }
}

@media (min-width: 1024px) {
    .d-lg-flex { display: flex; }
    .d-lg-none { display: none; }
    .d-lg-block { display: block; }
}

.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Hide/Show */
.hide-mobile { display: none; }
.show-mobile { display: block; }

@media (min-width: 768px) {
    .hide-mobile { display: block; }
    .show-mobile { display: none; }
}

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

.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ========================================
   Print
   ======================================== */
@media print {
    .site-header, .site-footer, .btn, .mobile-nav, .menu-toggle { display: none !important; }
    body { background: white; color: black; }
    .container { max-width: 100%; padding: 0; }
}

/* ========================================
   Slideshow
   ======================================== */
.slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .slideshow { height: 500px; }
}

.slideshow-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-item.active {
    opacity: 1;
}

.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 100%);
    color: white;
}

.slideshow-caption h3 {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
}

.slideshow-caption p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 768px) {
    .slideshow { height: 300px; }
    .slideshow-caption { padding: 1.5rem; }
    .slideshow-caption h3 { font-size: 1.25rem; }
    .slideshow-caption p { font-size: 0.85rem; }
}
