:root {
    --primary-color: #00b09b;
    --secondary-color: #96c93d;
    --primary-dark: #008a79;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .nav-link, .btn, .badge {
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-link {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 10%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.btn-primary, .badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 176, 155, 0.3);
}

.theme-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    font-size: 1.2rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.hero-section {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    background: linear-gradient(135deg, #111111 0%, #00362f 100%);
}

.hero-overlay {
    display: none;
}

.tracking-wide {
    letter-spacing: -1px;
}

.custom-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Képes kártyák helyett elegáns gradient kártyák */
.image-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #004d40 100%);
    position: relative;
    overflow: hidden;
    border: none !important;
    cursor: pointer;
}

.image-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.image-card:hover::before {
    opacity: 0.9;
}

.image-card-body {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Elegáns Modal Animációk */
.modal-blur-bg {
    background-color: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-image-scale {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal.show .modal-image-scale {
    transform: scale(1);
    opacity: 1;
}

#imageModal .modal-content {
    box-shadow: none;
}

/* --- SÖTÉT MÓD FELÜLÍRÁSOK (Native Bootstrap hook) --- */
[data-bs-theme="dark"] body,
[data-bs-theme="dark"] .bg-light.transition-bg,
[data-bs-theme="dark"] .bg-dark {
    background-color: #000000 !important;
}

[data-bs-theme="dark"] .navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .theme-btn {
    background-color: #1a1a1a;
    border-color: #333;
    color: #fff;
}

[data-bs-theme="dark"] .custom-card {
    background-color: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .image-card {
    background: linear-gradient(135deg, #00362f 0%, #001f1a 100%) !important;
}

[data-bs-theme="dark"] .custom-card:hover {
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.05) !important;
}