:root {
    --primary-dark: #1a365d;
    --primary-medium: #2d4a7c;
    --primary-light: #4a6fa5;
    --accent-gold: #d4af37;
    --accent-gold-light: #e8c547;
    --accent-gold-dark: #b8962f;
    --neutral-white: #ffffff;
    --neutral-light: #f8f9fa;
    --neutral-gray: #e9ecef;
    --neutral-medium: #6c757d;
    --neutral-dark: #343a40;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.15);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--neutral-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-medium);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-gold);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 0.75rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-white);
    font-weight: 600;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--neutral-white);
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.brand-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand-accent {
    color: var(--accent-gold);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-line {
    width: 25px;
    height: 2px;
    background-color: var(--neutral-white);
    transition: var(--transition-fast);
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-nav {
    gap: 0.25rem;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    background: rgba(255,255,255,0.1);
}

main {
    margin-top: 75px;
    min-height: calc(100vh - 75px);
}

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/Vienna_Skyline_at_Sunset.jpg/1280px-Vienna_Skyline_at_Sunset.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-title {
    color: var(--neutral-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-title .accent {
    color: var(--accent-gold);
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 2rem;
}

.hero-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-dark);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: var(--neutral-white);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--neutral-white);
    color: var(--neutral-white);
}

.page-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/0/07/Vienna_-_Ringstra%C3%9Fe.jpg/1280px-Vienna_-_Ringstra%C3%9Fe.jpg') center/cover;
    opacity: 0.15;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--neutral-white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--neutral-white);
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: var(--neutral-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--neutral-white);
}

.section-dark p {
    color: rgba(255,255,255,0.85);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-header .accent-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.feature-card {
    background: var(--neutral-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 0;
}

.content-card {
    background: var(--neutral-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition-normal);
}

.content-card:hover {
    box-shadow: var(--shadow-xl);
}

.content-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.content-card:hover .content-card-image img {
    transform: scale(1.05);
}

.content-card-body {
    padding: 1.75rem;
}

.content-card-body h4 {
    margin-bottom: 0.75rem;
}

.content-card-body p {
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.read-more:hover {
    color: var(--accent-gold);
    gap: 0.75rem;
}

.info-block {
    background: linear-gradient(135deg, rgba(26,54,93,0.03) 0%, rgba(45,74,124,0.05) 100%);
    border-left: 4px solid var(--accent-gold);
    padding: 2rem;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    margin: 2rem 0;
}

.info-block h5 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 500;
}

.contact-section {
    padding: 5rem 0;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-card {
    background: var(--neutral-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 0 auto 1.5rem;
}

.contact-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-card a.email-link {
    color: var(--primary-medium);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--accent-gold);
    text-underline-offset: 3px;
}

.contact-card a.email-link:hover {
    color: var(--accent-gold);
}

.faq-section {
    padding: 4rem 0;
    background: var(--neutral-white);
}

.faq-item {
    margin-bottom: 1.5rem;
    background: var(--neutral-light);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--accent-gold);
}

.faq-item h5 {
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.faq-item p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.article-content {
    background: var(--neutral-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin: -4rem auto 4rem;
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--neutral-gray);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-gray);
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--neutral-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.styled-table thead {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: var(--neutral-white);
}

.styled-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.styled-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--neutral-gray);
    color: var(--text-secondary);
}

.styled-table tbody tr:hover {
    background: var(--neutral-light);
}

.styled-table tbody tr:last-child td {
    border-bottom: none;
}

.site-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f1f35 100%);
    color: var(--neutral-white);
}

.footer-top {
    padding: 4rem 0 3rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-white);
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-logo:hover {
    color: var(--neutral-white);
}

.footer-logo .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-logo .brand-text {
    font-size: 1.2rem;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright,
.update-info {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 1.25rem;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text h6 {
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.related-articles {
    padding: 4rem 0;
    background: var(--neutral-light);
}

.breadcrumb-nav {
    padding: 1rem 0;
    background: var(--neutral-white);
    border-bottom: 1px solid var(--neutral-gray);
}

.breadcrumb {
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--text-secondary);
}

.breadcrumb-item.active {
    color: var(--primary-dark);
}

.policy-content {
    padding: 4rem 0;
}

.policy-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-gray);
}

.policy-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.about-section {
    padding: 5rem 0;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-values {
    padding: 4rem 0;
    background: var(--neutral-white);
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-gold);
    margin: 0 auto 1.5rem;
}

.value-item h4 {
    margin-bottom: 0.75rem;
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.external-link::after {
    content: '\F1C5';
    font-family: 'bootstrap-icons';
    font-size: 0.8rem;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--primary-dark);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: var(--border-radius-md);
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .hero-section {
        min-height: 60vh;
    }

    .article-content {
        padding: 2rem;
        margin: -3rem 1rem 3rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3rem 0;
    }

    .page-hero {
        padding: 4rem 0 3rem;
    }

    .contact-card,
    .feature-card {
        padding: 2rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .footer-top {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 50vh;
    }

    .article-content {
        padding: 1.5rem;
        margin: -2rem 0.5rem 2rem;
        border-radius: var(--border-radius-md);
    }

    .feature-card,
    .contact-card {
        padding: 1.5rem;
    }

    .styled-table th,
    .styled-table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}
