/* Nordburg LARP Theme - Based on Metrausch Festival Design */

/* CSS Variables */
:root {
    --bs-primary: #123123;
    --bs-primary-rgb: 18, 49, 35;
    --bs-dark-rgb: 33, 37, 41;
}

/* Button Styling */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(var(--bs-primary-rgb), 0.8);
    --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb), 0.8);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(0, 0, 0, 0);
    --bs-btn-active-border-color: #fff;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #666;
    --bs-btn-disabled-bg: #aaa;
    --bs-btn-disabled-border-color: #aaa;
}

/* Global Styles */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Roboto, "Helvetica Neue", sans-serif;
    background-color: #f8f9fa;
}

/* Typography */
.castoro-titling-regular {
    font-family: "Castoro Titling", serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Castoro Titling", serif;
}

h2 {
    margin: 1em 0;
    position: relative;
}

h2::after, h2::before {
    content: " ";
    width: 100%;
    height: 1px;
    border-bottom: 1px solid;
    display: block;
    margin-top: -8px;
}

h2::before {
    margin-top: 0;
}

/* Navigation Styles */
.navbar {
    z-index: 1000;
    background-color: rgba(var(--bs-dark-rgb), 0.85) !important;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-family: "Castoro Titling", serif !important;
    font-size: 1.5rem;
    font-weight: 400;
}

.navbar-toggler {
    z-index: 1000;
    border: none;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 0.8) !important;
}

@media screen and (min-width: 540px) {
    .navbar {
        background-color: rgba(var(--bs-dark-rgb), 0.65) !important;
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1a4a1a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.content-section:nth-child(even) {
    background-color: #f8f9fa;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: var(--bs-primary);
    color: white;
    border-bottom: none;
}

/* Footer Styles */
#footer {
    background-color: #212529 !important;
    color: #fff;
    margin-top: auto;
}

#footer .nav-link {
    color: #fff !important;
    transition: color 0.3s ease;
}

#footer .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Utility Classes */
.text-primary-custom {
    color: var(--bs-primary) !important;
}

.bg-primary-custom {
    background-color: var(--bs-primary) !important;
}

.border-primary-custom {
    border-color: var(--bs-primary) !important;
}

/* Footer Content Styling - Überschriften ausblenden */
.footer-content h1,
.footer-content h2,
.footer-content h3,
.footer-content h4,
.footer-content h5,
.footer-content h6 {
    display: none !important;
}

/* Footer Content direkt stylen */
.footer-content {
    color: #fff;
}

.footer-content p {
    margin-bottom: 0;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
    margin-right: 1rem;
}

.footer-content a:hover {
    color: #ccc;
}
