:root {
    --primary-color: #0c1c3c;
    /* Deep Blue */
    --accent-color: #c9a44c;
    /* Gold/Ocher accent */
    --text-color: #1a1a1a;
    --light-text: #666;
    --bg-color: #ffffff;
    --section-alt: #f8f9fa;
    --section-dark: #f1f3f5;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo Header */
.logo-header {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1001;
}

.logo-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-hu {
    height: 130px !important;
}

/* Navbar */
#navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.lang-switcher {
    margin-left: 1rem !important;
    display: flex;
    gap: 0.5rem;
}

.lang-switcher a {
    font-size: 1.2rem;
    padding: 0;
}

.flag {
    transition: var(--transition);
}

.lang-switcher a:hover .flag {
    transform: scale(1.2);
}

.funding {
    font-size: 0.8rem;
    max-width: 600px;
    margin: 1rem auto;
    opacity: 0.8;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none !important;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    padding: 8rem 0 6rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a5f 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 1;
    color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 400;
    color: #ffffff;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #deb85e;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--section-alt);
}

.section-dark {
    background: var(--section-dark);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.topics-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.content-block h3,
.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.content-block h3,
.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.dates-list {
    list-style: none;
    margin: 2rem 0;
}

.dates-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.cta-block {
    margin-top: 2rem;
    background: var(--section-alt);
    padding: 1.5rem;
    border-radius: 12px;
}

.email-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
    word-break: break-all;
}

.topics {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem;
    border-radius: 30px;
}

.topics h3 {
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.topics p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.topics-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
}

.topics-list li {
    position: relative;
    padding-left: 1.5rem;
}

.topics-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Speakers Grid */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.speaker-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.speaker-img-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #adb5bd;
    font-size: 1.5rem;
    position: relative;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.speaker-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.speaker-card p {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Program TBC */
.tbc-container {
    padding: 4rem 2rem;
    background: var(--section-alt);
    border-radius: 30px;
    border: 2px dashed #dee2e6;
}

.tbc-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.large-text {
    font-size: 1.4rem;
    color: var(--light-text);
}

.text-center {
    text-align: center;
}

/* Committee */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.member-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.member-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.member-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.member-card p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Venue Layout */
.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.venue-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rounded {
    border-radius: 20px;
}

.venue-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.venue-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.venue-card h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.schedule-item {
    margin-bottom: 1.5rem;
}

.day-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Footer & Contact */
.contact-email {
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    margin: 2rem 0;
    display: inline-block;
    word-break: break-all;
}

.footer-links {
    margin-top: 4rem;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: var(--light-text);
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 1rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.hero h1 {
    animation-delay: 0.2s;
}

.hero h2 {
    animation-delay: 0.4s;
}

.hero-subtitle {
    animation-delay: 0.6s;
}

.hero-btns {
    animation-delay: 0.8s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .venue-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

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

    .section {
        padding: 4rem 0;
    }

    .contact-email {
        font-size: 1.5rem;
    }
}

/* Utilities */
.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.custom-list {
    list-style-type: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.custom-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.download-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.download-link:hover {
    color: var(--accent-color);
}