/* Bogø Hallen - Main Stylesheet */

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

:root {
    --primary-color: #3C85BA;
    --primary-dark: #2f6fa3;
    --primary-soft: rgba(60, 133, 186, 0.12);
    --success-color: #2B7B35;
    --navy-color: #002748;
    --text-color: #edf2f7;
    --text-light: #b9c5d1;
    --text-muted: #8ea0af;
    --border-color: rgba(170, 180, 190, 0.15);
    --bg-page: #0f1419;
    --bg-panel: #111922;
    --bg-card: #171f2a;
    --bg-soft: #111821;
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.24);
    --spacing: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-page);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #efd39d;
}

/* Header */
.site-header {
    background: #111821;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: var(--text-color);
    letter-spacing: -0.04em;
}

.logo img {
    display: block;
    max-width: 240px;
    max-height: 76px;
    object-fit: contain;
}

.nav-toggle {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid transparent;
    padding-bottom: 6px;
    transition: border-color 0.3s, color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

/* Main Content */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0;
    min-height: calc(100vh - 200px);
}

.section {
    margin-bottom: 60px;
}

.home-notice {
    margin: 0 0 40px;
    padding: 20px 24px;
    border: 1px solid rgba(60, 133, 186, 0.35);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    background: var(--bg-panel);
    box-shadow: var(--shadow-soft);
}

.home-notice h2 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: var(--text-color);
}

.home-notice .two-column-content {
    color: var(--text-light);
}

.home-notice .two-column-content p:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    margin-bottom: 18px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    margin: 10px 0 40px;
    background: linear-gradient(180deg, #122330 0%, #0d1821 100%);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: clamp(24px, 5vw, 42px);
    box-shadow: var(--shadow-soft);
    color: var(--text-color);
}

.hero-copy,
.hero-panel {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
    max-width: 600px;
    color: #f8fafc;
}

.hero-text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 620px;
    margin-bottom: 22px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 8px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--primary-color);
    color: #f7fbff;
}

.button.primary:hover {
    background: var(--primary-dark);
}

.button.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.button.secondary:hover {
    border-color: rgba(216, 162, 74, 0.4);
    background: rgba(255, 255, 255, 0.02);
}

.hero-panel {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-panel-card {
    width: 100%;
    background: rgba(0, 39, 72, 0.35);
    border: 1px solid rgba(60, 133, 186, 0.3);
    border-radius: 16px;
    padding: 20px 18px;
    color: var(--text-color);
}

.hero-panel-card h3 {
    margin-bottom: 14px;
    font-size: 1.1rem;
    color: #f9fbfc;
}

.hero-panel-card ul {
    list-style: none;
}

.hero-panel-card li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.hero-panel-card li:last-child {
    border-bottom: none;
}

.gallery-header {
    margin-bottom: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
    gap: 20px;
    margin-bottom: 60px;
    align-items: start;
}

.gallery-item {
    width: 100%;
    background: var(--bg-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 162, 74, 0.35);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.gallery-item-caption {
    padding: 15px 16px 18px;
    font-weight: 600;
    color: var(--text-color);
}

/* Two-Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.two-column-content {
    font-size: 15px;
    line-height: 1.8;
}

.two-column-content p {
    margin-bottom: 15px;
}

.opening-hours {
    background: #161f2a;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.opening-hours h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #f5f7fb;
}

.opening-hours ul {
    list-style: none;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.opening-hours li:last-child {
    border-bottom: none;
}

.day-name {
    font-weight: 600;
    color: var(--text-color);
}

.day-time {
    color: var(--text-light);
}

/* Sponsors */
.sponsors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    background: #141b23;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 18px;
    margin: 40px 0;
}

.sponsor-item {
    background: rgba(255, 255, 255, 0.01);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.sponsor-item:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 162, 74, 0.35);
}

.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sponsor-item img {
    max-width: 90%;
    max-height: 90px;
    object-fit: contain;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #101821;
    color: var(--text-color);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(216, 162, 74, 0.75);
    box-shadow: 0 0 0 3px rgba(216, 162, 74, 0.1);
}

textarea {
    min-height: 200px;
    resize: vertical;
}

button {
    background: var(--primary-color);
    color: #111821;
    padding: 12px 36px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Footer */
.site-footer {
    background: #07141d;
    color: var(--white);
    padding: 60px var(--spacing) 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #f5f7fb;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--primary-color);
}

.footer-section a:hover {
    color: #efd39d;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-map iframe {
    display: block;
    width: 100%;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 14px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        position: relative;
        flex-direction: row;
        gap: 12px;
    }

    .nav-toggle {
        display: flex;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 10px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: transparent;
        border: 1px solid var(--border-color);
        border-radius: 8px;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: var(--text-color);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 12px 20px 20px;
        background: #111821;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

    .site-header.menu-open .main-nav {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .main-nav a {
        display: block;
        padding: 8px 0;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .sponsors {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
        padding: 20px;
    }

    .site-main {
        padding: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .site-main button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo h1 {
        font-size: 20px;
    }

}

@media (max-width: 480px) {
    .main-nav a {
        font-size: 12px;
    }

    .hero {
        padding: 20px 18px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 20px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .opening-hours {
        font-size: 13px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    button,
    .contact-form {
        display: none;
    }

    body {
        font-size: 12px;
    }

    .site-main {
        padding: 0;
    }
}
