/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --text-color: #1e3a8a;
    --text-light: #3b82f6;
    --text-dark: #1e40af;
    --bg-light: #EFF6FF;
    --bg-white: #F9FAFB;
    --border-color: #bfdbfe;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(59, 130, 246, 0.15);
    --transition: all 0.3s ease;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scroll with offset for fixed header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset pentru header fix */
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px; /* Offset mai mic pe mobile */
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
    /* Initial state - hidden above viewport */
    transform: translateY(-100%);
    opacity: 0;
    /* Animation on load */
    animation: slideDownHeader 0.8s ease-out forwards;
}

/* Ensure header is above mobile menu overlay but below mobile menu */
@media (max-width: 768px) {
    .header {
        z-index: 1001; /* Header peste overlay, sub meniu */
    }
}

@keyframes slideDownHeader {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-700);
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--blue-600);
}

.nav-link.active {
    color: var(--blue-600);
}

.nav-link.active::after {
    width: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-600);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-toggle-input {
    display: none;
}

.lang-toggle-label {
    display: flex;
    align-items: center;
    position: relative;
    width: 80px;
    height: 36px;
    background: var(--bg-light);
    border-radius: 18px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    padding: 2px;
}

.lang-toggle-label:hover {
    border-color: var(--blue-500);
}

.lang-option {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-700);
    transition: var(--transition);
    z-index: 2;
    user-select: none;
}

.lang-option:first-child {
    left: 0;
}

.lang-option:last-child {
    right: 0;
}

.lang-slider {
    position: absolute;
    width: calc(50% - 4px);
    height: calc(100% - 4px);
    background: var(--blue-600);
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    left: 2px;
}

/* Când toggle-ul este activat (EN), slider-ul se mută la dreapta cu spațiere */
.lang-toggle-input:checked + .lang-toggle-label .lang-slider {
    transform: translateX(calc(100% + 4px));
}

/* Când toggle-ul este activat, opțiunea EN devine activă */
.lang-toggle-input:checked + .lang-toggle-label .lang-option:last-child {
    color: white;
}

/* Când toggle-ul nu este activat, opțiunea RO devine activă */
.lang-toggle-input:not(:checked) + .lang-toggle-label .lang-option:first-child {
    color: white;
}

/* Modern Hamburger Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1003; /* Peste tot pentru a fi accesibil */
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover {
    background: rgba(30, 64, 175, 0.1);
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--blue-800);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    display: block;
}

/* Animație hamburger -> X când este activ */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay pentru meniu mobil */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 80px; /* Compensează header-ul fix pentru a preveni overlap */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* Nu mai folosim culoare hardcodată - se setează dinamic din admin */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    /* Prevent FOUC - ensure background is ready */
    opacity: 0; /* Începe invizibil, se face vizibil după încărcarea imaginii */
    transition: opacity 0.3s ease;
    /* Ensure background image covers properly */
    background-blend-mode: normal;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

    .hero-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
        animation: fadeInUp 0.8s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .hero-title-line {
        display: block;
        width: 100%;
    }

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic; /* Stil cursiv pentru subtitlu */
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.hero-info-item svg {
    opacity: 0.9;
}

.hero-actions {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-register {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #005CEE;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #0047B3;
}

.btn-live {
    display: inline-block;
    padding: 1rem 2.5rem 1rem 3rem;
    background: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    font-family: 'Roboto', sans-serif;
    position: relative;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}

.btn-live::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.2);
    }
}

.btn-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    background: #CC0000;
}

.btn-live:active {
    transform: translateY(0);
}

/* Responsive pentru butoane Hero */
@media (max-width: 768px) {
    .btn-register,
    .btn-live {
        padding: 0.875rem 2rem 0.875rem 2.5rem;
        font-size: 1rem;
    }
    
    .btn-live::before {
        width: 10px;
        height: 10px;
        left: 0.875rem;
    }
}

@media (max-width: 480px) {
    .btn-register,
    .btn-live {
        padding: 0.75rem 1.5rem 0.75rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
    
    .btn-live::before {
        left: 1rem;
    }
}

/* Countdown Timer */
.countdown-container {
    margin-top: 1.5rem; /* Redus de la 3rem pentru a reduce distanța față de buton */
    animation: fadeInUp 0.8s ease 0.6s both;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: white;
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    opacity: 0.7;
    line-height: 1;
    margin: 0 0.5rem;
}

.countdown-expired {
    text-align: center;
    padding: 0.5rem 2rem; /* Redus padding-ul vertical de la 2rem la 0.5rem pentru a reduce distanța */
    margin-top: 0; /* Eliminat margin-top pentru a reduce distanța față de buton */
}

.countdown-expired p {
    font-size: 3rem; /* Mărit de la 1.5rem la 3rem (2×) */
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin: 0;
}

/* Responsive Countdown */
@media (max-width: 768px) {
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .countdown-separator {
        font-size: 1.8rem;
        margin: 0 0.25rem;
    }
    
    .countdown-expired {
        padding: 0.5rem 1rem; /* Redus padding-ul pe mobile */
    }
    
    .countdown-expired p {
        font-size: 2rem; /* Mărit de la 1.2rem la 2rem (aproximativ 2×) pentru mobile */
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 0.25rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-expired {
        padding: 0.5rem 1rem; /* Redus padding-ul pe mobile mic */
    }
    
    .countdown-expired p {
        font-size: 1.75rem; /* Mărit de la implicit la 1.75rem pentru mobile mic (aproximativ 2× față de 1.2rem) */
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .countdown-separator {
        font-size: 1.3rem;
        margin: 0 0.15rem;
    }
}

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

/* Culorile de fundal vor fi aplicate dinamic prin JavaScript
   pentru a ține cont de secțiunile dezactivate */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--blue-800);
}

/* About Section */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 3rem;
    width: 100%;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: visible; /* Permite containerului să se ajusteze la imagine */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--bg-light);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* Containerul se ajustează automat la dimensiunea imaginii */
}

.about-image {
    width: 100%;
    max-width: 100%;
    height: auto; /* Păstrează proporțiile originale - containerul se ajustează */
    object-fit: contain; /* Asigură vizibilitate integrală */
    object-position: center;
    display: block;
    border-radius: 12px;
    /* Imaginea determină dimensiunea containerului */
}

.about-image-wrapper:empty {
    display: none;
}

.about-image[src=""],
.about-image:not([src]) {
    display: none;
}

.about-image-wrapper[style*="display: none"] {
    display: none !important;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content a {
    color: var(--blue-600);
    text-decoration: none;
    transition: var(--transition);
}

.about-content a:hover {
    color: var(--blue-500);
    text-decoration: underline;
}

.about-content strong {
    font-weight: 600;
    color: var(--blue-800);
}

.about-content em {
    font-style: italic;
}

/* Responsive About Section */
@media (max-width: 968px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-wrapper {
        order: -1; /* Imaginea apare primul pe mobil */
        /* Containerul se ajustează automat la dimensiunea imaginii */
    }
    
    .about-content {
        order: 1;
    }
}

@media (max-width: 480px) {
    .about-split {
        gap: 1.5rem;
    }
    
    .about-image-wrapper {
        border-radius: 8px;
        /* Containerul se ajustează automat la dimensiunea imaginii */
    }
    
    .about-image {
        border-radius: 8px;
    }
    
    .about-content {
        font-size: 1rem;
    }
}

/* Speakers Section */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.speaker-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.speaker-image {
    width: 100%;
    max-width: 100%;
    height: auto; /* Păstrează proporțiile originale */
    min-height: 300px;
    max-height: 400px; /* Limitează înălțimea maximă */
    object-fit: contain; /* Asigură vizibilitate integrală */
    object-position: center;
    background: var(--bg-light);
    border-radius: 12px 12px 0 0;
}

.speaker-info {
    padding: 1.5rem;
    text-align: center;
}

.speaker-name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.speaker-role {
    font-size: 0.95rem;
	font-style: italic;
    color: #666;
    margin-bottom: 0.75rem;
}

.speaker-description {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
}

/* Agenda Section */
.agenda-day-accordion {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.agenda-day-accordion:hover {
    box-shadow: var(--shadow-hover);
}

.agenda-day-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    min-height: 60px; /* Zonă clicabilă mai mare pentru touch */
    -webkit-tap-highlight-color: transparent; /* Elimină highlight-ul pe mobile */
}

.agenda-day-header:hover {
    background: var(--bg-light);
}

.agenda-day-header.active {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.agenda-day-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue-800);
    margin: 0;
    flex: 1;
}

.agenda-day-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--blue-600);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.agenda-day-header.active .agenda-day-icon {
    transform: rotate(180deg);
}

.agenda-day-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0 1.5rem;
}

.agenda-day-content.open {
    max-height: 5000px; /* Valoare suficient de mare pentru conținut */
    opacity: 1;
    padding: 1.5rem;
}

.agenda-item {
    background: var(--bg-white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--blue-600);
    transition: var(--transition);
    position: relative;
}

.agenda-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.agenda-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.agenda-item:last-child {
    margin-bottom: 0;
}

.agenda-time {
    font-weight: 600;
    color: var(--blue-600);
    font-size: 0.95rem;
    white-space: nowrap;
}

.agenda-session-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--blue-600);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.agenda-session-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #000000;
    line-height: 1.4;
}

.agenda-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.5rem;
}

.agenda-location svg {
    flex-shrink: 0;
    color: var(--blue-600);
}

.agenda-moderator {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    margin-top: 0.75rem;
}

.agenda-moderator svg {
    flex-shrink: 0;
    color: var(--blue-600);
    margin-top: 0.125rem;
}

.agenda-moderator-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.agenda-moderator-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.agenda-moderator-name {
    font-weight: 500;
    color: #333;
}

.agenda-moderator-role {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

.agenda-speakers {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    margin-top: 0.75rem;
}

.agenda-speakers svg {
    flex-shrink: 0;
    color: var(--blue-600);
    margin-top: 0.125rem;
}

.agenda-speakers-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.agenda-speakers-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.agenda-speakers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agenda-speaker-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--blue-200);
}

.agenda-speaker-name {
    font-weight: 500;
    color: #333;
}

.agenda-speaker-role {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

.agenda-description {
    margin-top: 0.75rem;
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

.agenda-empty-message {
    text-align: center;
    color: #666;
    padding: 2rem 1rem;
    font-style: italic;
}

/* Location Section */
.location-header {
    margin-bottom: 2rem;
    text-align: center;
}

.location-name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

.location-address {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.location-image-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f0f0f0;
}

.location-image-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.location-map {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f0f0f0;
}

.location-map:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Section divider (between sub-sections, e.g. Parteneri / Sponsori) */
.section-divider {
    border: 0;
    border-top: 2px solid var(--border-color);
    margin: 3rem 0;
    padding: 0;
}

.partners-section .section-subtitle {
    margin-top: 0;
    margin-bottom: 2rem;
}

/* Partners Section */
.partners-grid,
.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    min-width: 200px;
    max-width: 250px;
    flex: 0 1 auto;
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-item a {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* Questionnaires Section – carduri cu aceeași dimensiune */
.questionnaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.questionnaire-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    min-height: 280px;
    height: 100%;
}

.questionnaire-card .questionnaire-image-wrapper {
    flex: 0 0 auto;
}

.questionnaire-card .questionnaire-title {
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.questionnaire-card.questionnaire-link-wrapper {
    text-decoration: none;
    color: inherit;
}

.questionnaire-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.questionnaire-card-clickable {
    cursor: pointer;
}

.questionnaire-link-wrapper {
    -webkit-tap-highlight-color: transparent;
}

.questionnaire-link-wrapper:hover {
    text-decoration: none;
    color: inherit;
}

.questionnaire-link-wrapper:hover .questionnaire-title {
    color: var(--primary-color);
}

.questionnaire-image-wrapper {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.questionnaire-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.questionnaire-title {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
}

.questionnaires-empty-message {
    text-align: center;
    color: #666;
}

/* Chestionar dezactivat (ex. pre-conferință) – doar imaginea QR este sură, cardul rămâne normal */
.questionnaire-card.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.questionnaire-card.disabled:hover {
    transform: none;
    box-shadow: var(--shadow);
}

/* Doar imaginea QR: sură + blur, imposibil de scanat */
.questionnaire-card.disabled .questionnaire-image-wrapper {
    background: #a0a0a0;
}

.questionnaire-card.disabled .questionnaire-image-wrapper img {
    filter: grayscale(100%) brightness(0.45) contrast(0.85) blur(4px);
}


/* Statistics Section */
.statistics-section {
    position: relative;
    overflow: hidden;
}

.statistics-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    /* Gradient default va fi setat dinamic prin JavaScript */
    background-size: contain; /* Asigură vizibilitate integrală */
    background-position: center;
    background-repeat: no-repeat;
}

.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: transparent;
    pointer-events: none;
    /* Gradient transparent va fi aplicat dinamic prin JavaScript */
}

.statistics-section .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.statistics-section .section-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.statistics-section .section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 0;
    padding: 3rem 0;
}

.statistics-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.statistics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.statistics-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
}

.statistics-icon svg {
    width: 100%;
    height: 100%;
}

.statistics-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.statistics-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.statistics-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Statistics Section Responsive */
@media (max-width: 1024px) {
    .statistics-section .container {
        max-width: 900px;
        padding: 0 1.5rem;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .statistics-section .container {
        max-width: 100%;
        padding: 0 1.25rem;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .statistics-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .statistics-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }
    
    .statistics-icon img,
    .statistics-icon svg {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .statistics-value {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .statistics-label {
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    
    /* Ajustări pentru background pe tabletă */
    .statistics-background {
        background-size: contain; /* Asigură vizibilitate integrală */
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 480px) {
    .statistics-section .container {
        padding: 0 1rem;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .statistics-card {
        padding: 1.25rem;
    }
    
    .statistics-icon {
        width: 48px;
        height: 48px;
    }
    
    .statistics-value {
        font-size: 2rem;
    }
    
    .statistics-label {
        font-size: 0.9rem;
    }
}

/* Gallery Section */

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.gallery-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    transition: var(--transition);
    position: relative;
}

.gallery-tab-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.gallery-tab-btn:hover {
    color: var(--blue-600);
    background: var(--bg-light);
}

.gallery-tab-btn.active {
    color: var(--blue-600);
    border-color: var(--blue-600);
    background: var(--bg-light);
}

.gallery-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--blue-600);
    border-radius: 2px 2px 0 0;
}

.gallery-content {
    position: relative;
}

.gallery-tab-panel {
    display: none;
}

.gallery-tab-panel.active {
    display: block;
}

/* Gallery Images Grid - Optimized 2D Layout */
.gallery-images-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

/* Mobile: 1 imagine pe rând */
@media (max-width: 767px) {
    .gallery-images-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tabletă: 2 imagini pe rând */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Questionnaires Tablet */
    .questionnaire-image-wrapper {
        max-width: 200px; /* Ajustat pentru tabletă */
    }
}

/* Desktop: 4 imagini pe rând */
@media (min-width: 1024px) {
    .gallery-images-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Mesaj pentru galerie goală */
.gallery-empty-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
    font-style: italic;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    display: block;
    grid-column: 1 / -1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Pe mobil, permite wrap-ul textului pentru limba română */
@media (max-width: 767px) {
    .gallery-empty-message {
        padding: 3rem 1rem;
        font-size: 0.95rem;
        white-space: normal; /* Permite wrap-ul pe mobile */
        line-height: 1.5;
    }
}

.gallery-back-btn {
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    background: var(--blue-100);
    border: 1px solid var(--blue-300);
    border-radius: 8px;
    color: var(--blue-800);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}
.gallery-back-btn:hover {
    background: var(--blue-200);
}
.gallery-back-btn .gallery-back-arrow {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    margin-right: 0.25em;
}

.gallery-group-card-public {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--bg-white);
}
.gallery-group-card-public:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.gallery-group-preview {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-group-preview img {
    position: absolute;
    width: 55%;
    height: 55%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.gallery-group-preview img[data-stack="0"] { top: 8%; left: 5%; z-index: 4; }
.gallery-group-preview img[data-stack="1"] { top: 15%; right: 8%; z-index: 3; }
.gallery-group-preview img[data-stack="2"] { bottom: 18%; left: 10%; z-index: 2; }
.gallery-group-preview img[data-stack="3"] { bottom: 10%; right: 12%; z-index: 1; }
.gallery-group-preview .gallery-group-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-group-card-info {
    padding: 1rem;
}
.gallery-group-card-info strong { display: block; margin-bottom: 0.25rem; }
.gallery-group-card-info span { font-size: 0.9rem; color: #666; }

.gallery-group-preview-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
    color: #999;
    background: #f0f0f0;
}
.gallery-group-preview-icon svg {
    width: 48px;
    height: 48px;
}
/* Când conține buton Înapoi, grid-ul principal e pe o coloană ca al doilea copil să ocupe toată lățimea */
.gallery-videos-grid:has(.gallery-back-btn),
.gallery-audios-grid:has(.gallery-back-btn),
.gallery-documents-grid:has(.gallery-back-btn) {
    grid-template-columns: 1fr;
}
.gallery-videos-grid:has(.gallery-back-btn) > .gallery-videos-grid,
.gallery-audios-grid:has(.gallery-back-btn) > .gallery-audios-inner,
.gallery-documents-grid:has(.gallery-back-btn) > .gallery-documents-inner {
    grid-column: 1 / -1;
}

.gallery-public-group {
    margin-bottom: 2rem;
}
.gallery-public-group-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-color);
}
.gallery-audios-inner,
.gallery-documents-inner {
    display: grid;
    gap: 1rem;
}

/* Descărcări: 4–5 fișiere pe rând în interiorul albumului */
.gallery-documents-inner {
    grid-template-columns: 1fr;
}
@media (min-width: 576px) {
    .gallery-documents-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .gallery-documents-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}
@media (min-width: 1024px) {
    .gallery-documents-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}
@media (min-width: 1280px) {
    .gallery-documents-inner {
        grid-template-columns: repeat(5, 1fr);
    }
}

.gallery-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: #f5f5f5;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.gallery-image-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    background-color: #f5f5f5;
}

.gallery-image-item:hover img {
    transform: scale(1.05);
}

/* Loading placeholder for lazy images */
.gallery-image-item img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image-item img[loading="lazy"].loaded {
    opacity: 1;
}

/* Gallery Videos Grid – aceeași mărime carduri ca Imagini/Descărcări */
.gallery-videos-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

/* Mobile: 1 card pe rând */
@media (max-width: 767px) {
    .gallery-videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tabletă: 2 carduri pe rând */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Desktop: 4 carduri pe rând */
@media (min-width: 1024px) {
    .gallery-videos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.gallery-video-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: #000;
}

.gallery-video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-thumbnail img,
.video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.gallery-video-item:hover .video-play-button {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button svg {
    width: 40px;
    height: 40px;
    color: var(--blue-600);
    margin-left: 4px;
}

/* Gallery Audio Grid – aceeași mărime carduri ca Imagini/Descărcări */
.gallery-audios-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

/* Mobile: 1 card pe rând */
@media (max-width: 767px) {
    .gallery-audios-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tabletă: 2 carduri pe rând */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-audios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Desktop: 4 carduri pe rând */
@media (min-width: 1024px) {
    .gallery-audios-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.gallery-audio-item {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 2px solid transparent;
}

.gallery-audio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blue-200);
}

.audio-info {
    width: 100%;
}

.audio-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    word-break: break-word;
}

.gallery-audio-item audio {
    width: 100%;
}

/* Gallery Documents Grid */
.gallery-documents-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

/* Mobile: 1 document pe rând */
@media (max-width: 767px) {
    .gallery-documents-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-document-item {
        padding: 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .document-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 0.75rem;
    }
    
    .document-name {
        font-size: 0.9rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .document-download-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Tabletă: 2 documente pe rând */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-documents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Desktop: 4 documente pe rând */
@media (min-width: 1024px) {
    .gallery-documents-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.gallery-document-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
}

.gallery-document-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blue-200);
}

.document-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    flex-shrink: 0;
}

.gallery-document-item.document-pdf .document-icon {
    color: #dc2626;
}

.gallery-document-item.document-word .document-icon {
    color: #2b579a;
}

.gallery-document-item.document-excel .document-icon {
    color: #217346;
}

.document-icon svg {
    width: 100%;
    height: 100%;
}

.document-info {
    flex: 1;
    width: 100%;
    margin-bottom: 1rem;
}

.document-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    word-break: break-word;
    line-height: 1.4;
}

.document-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.document-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--blue-600);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: auto;
    margin-top: auto;
}

.document-download-btn:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 92, 242, 0.3);
}

.document-download-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Gallery Empty Message */
.gallery-empty-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
    font-style: italic;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Gallery Modal (Image Viewer) */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.gallery-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
}

.gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.gallery-modal-prev {
    left: 2rem;
}

.gallery-modal-next {
    right: 2rem;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.25s ease;
}

/* Ascunde counter-ul și zona de info până când imaginea e încărcată (fără „x din y” / icon înainte de load) */
.gallery-modal-info:has(#galleryModalCounter:empty) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gallery-modal-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10001;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Gallery Video Modal */
.gallery-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.gallery-video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.gallery-video-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
}

.gallery-video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.gallery-video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Iframe wrapper (YouTube/Vimeo) - uses padding-bottom technique for aspect ratio */
.gallery-video-modal-content .video-iframe-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-video-modal-content .video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video element styling (local videos) - uses actual dimensions */
.gallery-video-modal-content video {
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    height: auto;
    min-width: 320px;
    min-height: 180px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
    display: block;
    object-fit: contain;
}

/* Footer */
.footer {
    position: relative;
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain; /* Asigură vizibilitate integrală */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    display: none;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
    display: none;
    pointer-events: none;
}

.footer:has(.footer-background[style*="background-image"]) .footer-overlay {
    display: block;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: inherit;
    color: white;
}

/* Centrare doar pe orizontală pentru social links */
.footer-section:has(.social-links) h3 {
    text-align: left;
}

/* Desktop: iconitele la stânga */
.social-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

/* Footer Navigation */
.footer-nav {
    margin-top: 0.5rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
    column-gap: 1rem;
}

.footer-nav-list li {
    margin: 0;
    padding: 0;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    padding: 0.15rem 0;
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-nav-link:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.footer-nav-link:hover::before {
    width: 4px;
}

/* Footer Navigation Responsive */
@media (max-width: 768px) {
    .footer-nav-list {
        grid-template-columns: 1fr 1fr;
        gap: 0.25rem 0.75rem;
    }
    
    .footer-nav-link {
        font-size: 0.85rem;
        padding: 0.1rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section h3 {
        text-align: center;
    }
    
    .social-links {
        justify-content: center !important;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-section:has(.social-links) .social-links {
        justify-content: center !important;
    }
    
    /* Menține dimensiuni uniforme pentru iconițe pe tabletă */
    .social-logo {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }
    
    .social-link {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    .social-links li {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
}

@media (max-width: 480px) {
    .footer-nav-list {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    
    .social-links {
        justify-content: center !important;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-section:has(.social-links) .social-links {
        justify-content: center !important;
    }
    
    /* Menține dimensiuni uniforme pentru iconițe pe mobil */
    .social-logo {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }
    
    .social-link {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    .social-links li {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
}

.social-links li {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    list-style: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-logo {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: var(--transition);
    vertical-align: middle;
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-link:hover .social-logo {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--blue-700);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--blue-800);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive */

/* Tablet - Header cu meniu hamburger dropdown (70-80% lățime) */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo-text {
        font-size: 1.1rem;
    }
    
    /* Verifică dacă meniul încape - dacă nu, afișează hamburger */
    .nav {
        display: none; /* Ascunde meniul normal pe tabletă */
    }
    
    .mobile-menu-toggle {
        display: flex; /* Afișează butonul hamburger pe tabletă */
    }
    
    /* Meniu hamburger fullscreen pentru tabletă - ca pe mobil */
    .nav {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw; /* Fullscreen width */
        height: 100vh; /* Fullscreen height */
        max-width: 100vw;
        max-height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1002;
        padding: 0;
        margin: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        opacity: 0;
        pointer-events: none;
        -webkit-overflow-scrolling: touch;
        will-change: transform, opacity;
        box-sizing: border-box;
    }
    
    .nav.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 100px 1.5rem 2rem;
        list-style: none;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
    }
    
    .nav.active .nav-list {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-list li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        width: 100%;
    }
    
    .nav.active .nav-list li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav.active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
    .nav.active .nav-list li:nth-child(2) { transition-delay: 0.15s; }
    .nav.active .nav-list li:nth-child(3) { transition-delay: 0.2s; }
    .nav.active .nav-list li:nth-child(4) { transition-delay: 0.25s; }
    .nav.active .nav-list li:nth-child(5) { transition-delay: 0.3s; }
    .nav.active .nav-list li:nth-child(6) { transition-delay: 0.35s; }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 1.5rem 1.5rem;
        color: #333;
        text-decoration: none;
        font-size: 1.15rem;
        font-weight: 500;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        border-radius: 12px;
        margin: 0.5rem 0;
        min-height: 64px;
        height: 64px;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex: 1;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 0;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0 4px 4px 0;
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 0, 0, 0.05);
        color: #000;
        padding-left: 1.75rem;
        transform: translateX(5px);
        min-height: 64px;
        height: 64px;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        height: 70%;
        background: var(--blue-600);
    }
    
    /* Overlay pentru tabletă */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1001;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Mobile - Header cu meniu hamburger FULLSCREEN */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
    }
    
    /* Meniu mobil - design modern FULLSCREEN */
    .nav {
        display: block !important; /* Forțează display block pe mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw; /* Fullscreen width */
        height: 100vh; /* Fullscreen height */
        max-width: 100vw;
        max-height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px); /* Safari support */
        z-index: 1002; /* Peste header și overlay */
        padding: 0;
        margin: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        opacity: 0;
        pointer-events: none; /* Previne interacțiunea când este ascuns */
        -webkit-overflow-scrolling: touch; /* Smooth scroll pe iOS */
        will-change: transform, opacity; /* Optimizare performanță */
        box-sizing: border-box;
    }

    .nav.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto; /* Permite interacțiunea când este activ */
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 100px 1.5rem 2rem;
        list-style: none;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
    }
    
    /* Animație pentru listă doar când meniul este activ */
    .nav.active .nav-list {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-list li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        width: 100%;
        flex: 0 0 auto; /* Uniformizare - toate item-urile au aceeași înălțime */
    }
    
    /* Animație pentru item-uri doar când meniul este activ */
    .nav.active .nav-list li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav.active .nav-list li:nth-child(1) { transition-delay: 0.15s; }
    .nav.active .nav-list li:nth-child(2) { transition-delay: 0.2s; }
    .nav.active .nav-list li:nth-child(3) { transition-delay: 0.25s; }
    .nav.active .nav-list li:nth-child(4) { transition-delay: 0.3s; }
    .nav.active .nav-list li:nth-child(5) { transition-delay: 0.35s; }
    .nav.active .nav-list li:nth-child(6) { transition-delay: 0.4s; }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: flex-start; /* Aliniere la stânga - fără săgeată */
        padding: 1.5rem 1.5rem; /* Padding uniform */
        color: #333;
        text-decoration: none;
        font-size: 1.15rem;
        font-weight: 500;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        border-radius: 12px;
        margin: 0.5rem 0;
        min-height: 64px; /* Înălțime uniformă pentru toate link-urile */
        height: 64px; /* Forțează înălțime uniformă */
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        /* Uniformizare - toate link-urile au aceeași lungime vizuală */
        flex: 1;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 0;
        background: rgba(0, 0, 0, 0.2); /* Culoare gri pentru starea normală */
        border-radius: 0 4px 4px 0;
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Săgeata eliminată la cererea utilizatorului */
    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 0, 0, 0.05);
        color: #000;
        padding-left: 1.75rem;
        transform: translateX(5px);
        /* Uniformizare - păstrează aceeași înălțime */
        min-height: 64px;
        height: 64px;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        height: 70%;
        background: var(--blue-600); /* Culoare albastră când este selectat/hover */
    }

    /* Săgeata eliminată - nu mai este necesară */

    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Mobile Adjustments - Corectare suprapuneri */
    .hero {
        padding-top: 80px; /* Padding suficient pentru header fix */
        min-height: calc(100vh - 80px);
        position: relative;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        position: relative;
        z-index: 1;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .hero-title-line {
        display: block;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        font-style: italic; /* Stil cursiv pentru subtitlu */
        margin-bottom: 1.5rem;
        line-height: 1.5;
        word-wrap: break-word;
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-info-item {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .btn-register {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        white-space: nowrap;
    }

    .section-title {
        font-size: 2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .location-image-wrapper,
    .location-map {
        height: 350px;
    }
    
    .location-header {
        margin-bottom: 1.5rem;
    }
    
    .location-name {
        font-size: 1.5rem;
    }
    
    .location-address {
        font-size: 1rem;
    }

    .gallery-videos {
        grid-template-columns: 1fr;
    }

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

    .agenda-day-title {
        font-size: 1.25rem;
    }

    .agenda-day-header {
        padding: 1.25rem 1rem;
        min-height: 56px;
    }

    .agenda-day-content.open {
        padding: 1rem;
    }

    .agenda-item {
        padding: 1.25rem;
    }

    .agenda-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .agenda-session-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-image {
        height: 32px;
    }
    
    /* Hero Extra Small Screens */
    .hero {
        padding-top: 60px;
        min-height: calc(100vh - 60px);
    }
    
    .hero-content {
        padding: 1rem 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        font-style: italic; /* Stil cursiv pentru subtitlu */
    }
    
    .hero-info-item {
        font-size: 0.95rem;
    }
    
    .btn-register {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
    
    /* Ajustări generale pentru mobile */
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    /* About Section Mobile */
    .about-content {
        font-size: 1rem;
    }
    
    /* Speakers Mobile */
    .speaker-card {
        margin-bottom: 1.5rem;
    }
    
    .speaker-image {
        min-height: 250px;
        max-height: 350px; /* Limitează înălțimea pe mobile */
    }
    
    .speaker-name {
        font-size: 1.5rem;
    }
    
    /* Location Mobile */
    .location-content {
        gap: 1.5rem;
    }
    
    .location-image-wrapper,
    .location-map {
        height: 300px;
    }
    
    .location-header {
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .location-name {
        font-size: 1.375rem;
        margin-bottom: 0.5rem;
    }
    
    .location-address {
        font-size: 0.95rem;
    }
    
    /* Partners Mobile */
    .partners-grid {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .partner-item {
        padding: 1.5rem;
        min-height: 120px;
        min-width: 150px;
        max-width: 180px;
        flex: 0 1 auto;
    }
    
    .partner-logo {
        max-height: 80px;
    }

    /* Questionnaires Mobile */
    .questionnaires-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .questionnaire-card {
        padding: 1.25rem;
    }

    .questionnaire-image-wrapper {
        max-width: 85%; /* 80-90% din lățimea ecranului pe mobile */
        aspect-ratio: 1 / 1; /* Pătrat */
    }
    
    /* Gallery Mobile - Butoane rearanjate pentru touch */
    .gallery-tabs {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .gallery-tab-btn {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        min-height: 56px; /* Dimensiune touch-friendly */
        justify-content: center;
        border: 2px solid var(--border-color);
        background: var(--bg-white);
    }
    
    .gallery-tab-btn:hover {
        background: var(--bg-light);
        border-color: var(--blue-500);
    }
    
    .gallery-tab-btn.active {
        background: var(--blue-600);
        color: white;
        border-color: var(--blue-600);
    }
    
    .gallery-tab-btn.active::after {
        display: none; /* Elimină indicatorul de jos pe mobile */
    }
    
    .gallery-tab-btn svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
    
    .gallery-tab-btn span {
        margin-left: 0.5rem;
    }
    
    .gallery-modal-nav {
        width: 48px;
        height: 48px;
    }
    
    .gallery-modal-prev {
        left: 1rem;
    }
    
    .gallery-modal-next {
        right: 1rem;
    }
    
    .gallery-modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-play-button svg {
        width: 32px;
        height: 32px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 960px; /* optional */
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}





/* Tablet Adjustments */
@media (min-width: 481px) and (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    /* Speakers Tablet */
    .speakers-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    /* Partners Tablet */
    .partners-grid {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .partner-item {
        min-width: 180px;
        max-width: 220px;
    }

    /* Questionnaires Tablet */
    .questionnaires-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    /* Gallery Tablet - already handled by main media queries */
    
    .gallery-videos-grid {
        grid-template-columns: 1fr;
    }
    
    /* Documents grid already handled by main media queries above */
    
    .gallery-document-item {
        padding: 1.25rem;
    }
    
    .document-icon {
        width: 56px;
        height: 56px;
    }
}

