:root {
    --primary-color: #1a6b61; /* WCAG AA kompatibilis */
    --primary-color-dark: #155549; /* Hover állapothoz */
    --secondary-color: #8f3f0b; /* Sötétebb narancs jobb kontrasztért */
    --secondary-color-dark: #7a3408; /* Hover állapothoz */
    --background-color: #404753;
    /* --background-color: #E0EFEE;  */
    --success-color: #146c43; /* Sötétebb zöld jobb kontrasztért */
    --info-color: #0f6674; /* Sötétebb cián jobb kontrasztért */
    --warning-color: #7a5a00; /* Sötétebb sárga/barna jobb kontrasztért */
    --danger-color: #c82333; /* Sötétebb piros */
    --light-color: #f8f9fa;
    --dark-color: #212529; /* Sötétebb jobb kontrasztért */
    --text-color: #212529; /* WCAG AA kompatibilis szövegszín */
    --text-muted: #495057; /* Világosabb szürke szöveghez */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #000000;
    --font-family-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Alap beállítások */
body {
    font-family: var(--font-family-sans-serif);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    line-height: 1.5;
    letter-spacing: 0;
    color: var(--text-color); /* WCAG AA kompatibilis szövegszín */
}

/* Tipográfia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-sans-serif);
    color: var(--gray-800);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* Heading hierarchia a specifikáció szerint */
h1, .h1 {
    font-size: 2rem; /* 32px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h2, .h2 {
    font-size: 1.75rem; /* 28px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h3, .h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h4, .h4 {
    font-size: 1.25rem; /* 20px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h5, .h5 {
    font-size: 1.125rem; /* 18px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h6, .h6 {
    font-size: 1rem; /* 16px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* Body text stílusok */
.body-large-bold, .lead-bold {
    font-size: 1.125rem; /* 18px */
    font-weight: 700; /* Bold */
    letter-spacing: 0;
    line-height: 1.5;
}

.body-large-regular, .lead {
    font-size: 1.125rem; /* 18px */
    font-weight: 500; /* Medium */
    letter-spacing: 0;
    line-height: 1.5;
}

.body-large-italic {
    font-size: 1.125rem; /* 18px */
    font-weight: 500; /* Medium */
    font-style: italic;
    letter-spacing: 0;
    line-height: 1.5;
}

/* Medium body text */
.body-medium-bold {
    font-size: 1rem; /* 16px */
    font-weight: 700; /* Bold */
    letter-spacing: 0;
    line-height: 1.5;
}

.body-medium-regular, body {
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    letter-spacing: 0;
    line-height: 1.5;
}

.body-medium-italic {
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    font-style: italic;
    letter-spacing: 0;
    line-height: 1.5;
}

/* Small body text */
.body-small-bold, .small-bold {
    font-size: 0.875rem; /* 14px */
    font-weight: 700; /* Bold */
    letter-spacing: 0;
    line-height: 1.5;
}

.body-small-regular, .small, small {
    font-size: 0.875rem; /* 14px */
    font-weight: 500; /* Medium */
    letter-spacing: 0;
    line-height: 1.5;
}

.body-small-italic, .small-italic {
    font-size: 0.875rem; /* 14px */
    font-weight: 500; /* Medium */
    font-style: italic;
    letter-spacing: 0;
    line-height: 1.5;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.display-1 {
    font-size: 4rem; /* 64px */
}

.display-2 {
    font-size: 3.5rem; /* 56px */
}

.display-3 {
    font-size: 3rem; /* 48px */
}

.display-4 {
    font-size: 2.5rem; /* 40px */
}

.display-5 {
    font-size: 2.25rem; /* 36px */
}

.display-6 {
    font-size: 2rem; /* 32px */
}

.lead {
    font-size: 1.125rem; /* 18px */
    font-weight: 500; /* Medium */
    letter-spacing: 0;
    line-height: 1.5;
}

/* Színek */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-info {
    background-color: var(--info-color) !important;
}

.bg-dark-custom {
    background-color: var(--background-color) !important;
}

/* Gombok */
.btn {
    font-family: var(--font-family-sans-serif);
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    letter-spacing: 0;
    line-height: 1.5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem; /* 18px */
    font-weight: 500; /* Medium */
    border-radius: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem; /* 14px */
    font-weight: 500; /* Medium */
    border-radius: 0.375rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #196157;
    border-color: #196157;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-info {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--info-color);
    --bs-btn-border-color: var(--info-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #0c5662;
    --bs-btn-hover-border-color: #0c5662;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #0a4953;
    --bs-btn-active-border-color: #0a4953;
    color: #ffffff;
    background-color: var(--info-color);
    border-color: var(--info-color);
}

.btn-warning {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--warning-color);
    --bs-btn-border-color: var(--warning-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #664b00;
    --bs-btn-hover-border-color: #664b00;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #594100;
    --bs-btn-active-border-color: #594100;
    color: #ffffff;
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

/* --- Home: service tiles + useful links (v2-inspired, Bootstrap-compatible) --- */
.service-tile {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-top: 6px solid var(--primary-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
}

.service-tile-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 107, 97, 0.10);
    color: var(--primary-color);
    flex: 0 0 auto;
    font-size: 1.5rem;
}

@keyframes tileFloatA {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes tileFloatB {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.tile-float-1 { animation: tileFloatA 5.5s ease-in-out infinite; }
.tile-float-2 { animation: tileFloatB 6.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .tile-float-1,
    .tile-float-2 {
        animation: none !important;
    }
    .service-tile,
    .service-tile:hover {
        transition: none !important;
        transform: none !important;
    }
}

.external-link-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.external-link-card:hover,
.external-link-card:focus {
    border-color: rgba(209, 95, 26, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.external-link-card-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.external-link-logo {
    width: 100%;
    height: 84px;
    object-fit: contain;
    margin: 0.5rem 0 0.75rem;
}

.external-link-card-text {
    font-weight: 600;
    color: var(--text-muted);
}

/* Navbar: language switch + tools */
.navbar-tools {
    flex: 0 0 auto;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

.lang-opt {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0.25rem 0.25rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.lang-opt.active {
    color: var(--primary-color);
    cursor: default;
}

.lang-opt:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 0.375rem;
}

.lang-sep {
    color: var(--gray-500);
    font-weight: 700;
}

/* Home banner carousel (SimplePay-inspired) */
.home-banner {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    background: var(--gray-200);
    height: 420px;
    min-height: 420px;
}

.home-banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.home-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    display: none;
    transition: opacity 0.5s ease;
}

.home-banner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    display: block;
}

.home-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-banner-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    background: #000000;
    opacity: 0.62;
    clip-path: none;
    z-index: 1;
}

.home-banner-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 4.25rem 3.25rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.52);
    border-radius: 1rem;
}

.home-banner-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 2rem 0;
    color: #ffffff;
}

.home-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-banner {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #ffffff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
}

.btn-banner:hover,
.btn-banner:focus {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-banner:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.home-banner-controls {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
}

.home-banner-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: var(--success-color);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.home-banner-arrow:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.home-banner-counter {
    position: relative;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-banner-progress {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.home-banner-progress-track {
    fill: none;
    stroke: var(--gray-300);
    stroke-width: 4;
}

.home-banner-progress-indicator {
    fill: none;
    stroke: var(--success-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 125.66;
    stroke-dashoffset: 125.66;
}

.home-banner-progress.is-animating .home-banner-progress-indicator {
    animation: bannerProgress var(--banner-duration, 9000ms) linear forwards;
}

@keyframes bannerProgress {
    from { stroke-dashoffset: 125.66; }
    to { stroke-dashoffset: 0; }
}

.home-banner-counter-pill {
    position: relative;
    z-index: 2;
    background: var(--light-color);
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-weight: 800;
    color: var(--gray-800);
    min-width: 52px;
    text-align: center;
}

.home-banner-counter-current,
.home-banner-counter-total {
    font-size: 1rem;
    line-height: 1;
}

@media (forced-colors: active) {
    .home-banner-overlay,
    .home-banner-content {
        background: Canvas !important;
        color: CanvasText !important;
    }

    .home-banner-title,
    .btn-banner,
    .home-banner-arrow,
    .home-banner-counter-pill {
        forced-color-adjust: auto;
        color: ButtonText !important;
        background: ButtonFace !important;
        border: 1px solid ButtonText !important;
    }
}

.home-banner-counter-pill.is-complete {
    background: var(--gray-200);
}

@media (max-width: 992px) {
    .home-banner {
        height: 360px;
        min-height: 360px;
        border-radius: 1.5rem;
    }
    .home-banner-overlay {
        width: 100%;
        clip-path: none;
        opacity: 0.92;
    }
    .home-banner-title {
        font-size: 2rem;
    }
    .home-banner-content {
        padding: 2.75rem 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-banner-slide {
        transition: none !important;
    }
    .home-banner-progress.is-animating .home-banner-progress-indicator {
        animation: none !important;
        stroke-dashoffset: 0;
    }
    .btn-banner:hover,
    .btn-banner:focus {
        transform: none !important;
    }
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: #e96b1a;
    border-color: #e96b1a;
    color: white;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-outline-secondary {
    --bs-btn-color: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--secondary-color);
    --bs-btn-hover-border-color: var(--secondary-color);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--secondary-color);
    --bs-btn-active-border-color: var(--secondary-color);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-outline-info {
    --bs-btn-color: var(--info-color);
    --bs-btn-border-color: var(--info-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--info-color);
    --bs-btn-hover-border-color: var(--info-color);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--info-color);
    --bs-btn-active-border-color: var(--info-color);
    color: var(--info-color);
    border-color: var(--info-color);
}

.btn-outline-warning {
    --bs-btn-color: var(--warning-color);
    --bs-btn-border-color: var(--warning-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--warning-color);
    --bs-btn-hover-border-color: var(--warning-color);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--warning-color);
    --bs-btn-active-border-color: var(--warning-color);
    color: var(--warning-color);
    border-color: var(--warning-color);
}

/* Button hover effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Navigáció */
.navbar {
    font-family: var(--font-family-sans-serif);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.25rem; /* 20px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    color: var(--gray-700);
    letter-spacing: 0;
    line-height: 1.5;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>') repeat;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-video {
    position: relative;
    z-index: 2;
    text-align: center;
}

.video-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 119, 109, 0.15);
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 119, 109, 0.25);
}

.video-container iframe {
    border-radius: 1rem;
}

.hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-illustration {
    position: relative;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    animation: bounce 2s infinite;
    color: var(--primary-color);
    opacity: 0.3;
}

.floating-icons i:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
    color: var(--primary-color);
}

.floating-icons i:nth-child(2) {
    bottom: 30%;
    left: 15%;
    animation-delay: 0.5s;
    color: var(--secondary-color);
}

.floating-icons i:nth-child(3) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
    color: var(--primary-color);
}

/* Feature cards */
.feature-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 25px rgba(30, 119, 109, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 119, 109, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 119, 109, 0.15);
}

.feature-icon {
    opacity: 0.8;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    opacity: 1;
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Animációk */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-in {
    animation: slideInRight 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Szakasz címek */
.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* Dropdown menü */
.dropdown-menu {
    border: 1px solid rgba(30, 119, 109, 0.15);
    box-shadow: 0 10px 30px rgba(30, 119, 109, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 0;
    font-family: var(--font-family-sans-serif);
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    color: var(--gray-700);
    letter-spacing: 0;
    line-height: 1.5;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(30, 119, 109, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Footer */
footer {
    font-family: var(--font-family-sans-serif);
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white !important;
    opacity: 1 !important;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(30, 119, 109, 0.08);
    border-radius: 1rem;
    font-family: var(--font-family-sans-serif);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 119, 109, 0.15);
}

.card-header {
    border-radius: 1rem 1rem 0 0 !important;
    font-weight: 600;
}

/* Forms */
.form-control, .form-select {
    font-family: var(--font-family-sans-serif);
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    border-radius: 0.5rem;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    letter-spacing: 0;
    line-height: 1.5;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 119, 109, 0.25);
}

.form-label {
    font-size: 0.875rem; /* 14px */
    font-weight: 500; /* Medium */
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
    line-height: 1.5;
}

/* Tables */
.table {
    font-family: var(--font-family-sans-serif);
    font-size: 1rem; /* 16px */
    line-height: 1.5;
}

.table th {
    font-size: 0.875rem; /* 14px */
    font-weight: 700; /* Bold */
    color: var(--gray-800);
    letter-spacing: 0;
    line-height: 1.5;
}

.table td {
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    letter-spacing: 0;
    line-height: 1.5;
}

/* Alerts */
.alert {
    border-radius: 0.75rem;
    font-family: var(--font-family-sans-serif);
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    letter-spacing: 0;
    line-height: 1.5;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(30, 119, 109, 0.08);
    border-radius: 1rem;
    font-family: var(--font-family-sans-serif);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 119, 109, 0.15);
}

.card-header {
    border-radius: 1rem 1rem 0 0 !important;
    font-size: 1.125rem; /* 18px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.support-contact-link {
    color: #155549;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.support-contact-link:hover,
.support-contact-link:focus {
    color: #0f3e36;
}

.card-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.card-text {
    font-size: 1rem; /* 16px */
    font-weight: 500; /* Medium */
    letter-spacing: 0;
    line-height: 1.5;
}

.alert-primary {
    background-color: rgba(30, 119, 109, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.alert-secondary {
    background-color: rgba(244, 123, 39, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Scroll animációk */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(30, 119, 109, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(30, 119, 109, 0.1) !important;
}

.utility-hidden {
    display: none !important;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.back-to-top-btn {
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 999px;
    display: none;
}

.contact-map-frame {
    border: 0;
}

.about-icon-circle {
    width: 200px;
    height: 200px;
}

.status-big-icon {
    font-size: 10rem;
    opacity: 0.7;
}

.login-help-text {
    color: #6c757d;
    font-size: 0.875rem;
}

.notification-toast {
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.error-page-404 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.error-page-500 {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.error-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-home {
    margin-top: 2rem;
}

.auth-page,
.admin-page {
    min-height: 100vh;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e776d 0%, #2c8577 100%);
}

.auth-login-container,
.admin-container {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-login-container {
    max-width: 400px;
    width: 100%;
}

.auth-login-header {
    background-color: #1a6b61;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
}

.auth-login-header p {
    color: #e0f2f0;
    opacity: 1;
}

.auth-login-body {
    padding: 2rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.auth-page .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.auth-page .form-control:focus {
    border-color: #1a6b61;
    box-shadow: 0 0 0 0.2rem rgba(26, 107, 97, 0.25);
}

.btn-login {
    background-color: #1a6b61;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #ffffff;
}

.btn-login:hover {
    background-color: #145750;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.admin-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-container {
    max-width: 600px;
    margin: 50px auto;
}

.admin-header {
    background: linear-gradient(135deg, #1a6b61, #20c997);
    color: #ffffff;
    text-align: center;
    padding: 2rem;
}

.protection-status {
    font-size: 1.2rem;
    font-weight: 700;
}

.status-active {
    color: #28a745;
}

.status-inactive {
    color: #dc3545;
}

/* WCAG AA-safe header color for weekly status card */
.operational-week-header {
    background-color: #8c3d0d !important;
    color: #ffffff !important;
}

.operational-week-header time,
.operational-week-header span {
    color: #ffffff !important;
}

/* Typography utility classes */
.fw-medium {
    font-weight: 500 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.lh-tight {
    line-height: 1.25 !important;
}

.lh-normal {
    line-height: 1.5 !important;
}

.ls-tight {
    letter-spacing: -0.02em !important;
}

.ls-normal {
    letter-spacing: 0 !important;
}

/* Underline utility classes */
.text-underline {
    text-decoration: underline;
}

.text-underline-hover:hover {
    text-decoration: underline;
}

/* Reszponzív design */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        text-align: center;
        margin-top: 2rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
        display: block;
        width: 100%;
    }
    
    .hero-video {
        margin-top: 3rem;
    }
    
    .video-container {
        max-width: 100%;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-video {
        margin-top: 2rem;
    }
    
    .video-container {
        margin: 0 auto;
    }
    
    .hero-illustration i {
        font-size: 6rem !important;
    }
    
    .floating-icons i {
        font-size: 1.5rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Print stílusok */
@media print {
    .navbar,
    .btn,
    .floating-icons,
    footer {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .card {
        background-color: #E0EFEE;
        color: var(--gray-800);
    }
    
    .feature-card {
        background-color: #E0EFEE;
        color: var(--gray-800);
        border-color: rgba(30, 119, 109, 0.15);
    }
}
