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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
}

nav a:hover {
    background: #34495e;
    transform: translateY(-2px);
}

nav a.active {
    background: #3498db;
}

.home-btn {
    background: #e74c3c !important;
}

.home-btn:hover {
    background: #c0392b !important;
}

/* Homepage */
.homepage {
    min-height: 100vh;
    background-image: url('https://symposium2025.sk/assets/images/image01.jpg?v=ad3674d7');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.homepage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.homepage-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.homepage h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.homepage p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Timer */
.timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.timer-unit {
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.timer-unit .number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.timer-unit .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Content pages */
.content-page {
    min-height: 100vh;
    padding: 100px 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-page h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}

/* Program Section */
.program-day {
    margin-bottom: 3rem;
}

.program-day h2 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.program-item {
    position: relative;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 300px;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.program-content {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    margin: 2rem;
}

.program-time {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #3498db;
}

/* Speakers Section */
.speaker {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.speaker.reverse {
    flex-direction: row-reverse;
}

.speaker-photo {
    flex: 0 0 30%;
    max-width: 300px;
}

.speaker-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.speaker-info {
    flex: 1;
}

.speaker-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.speaker-title {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Itinerary Section */
.password-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.password-form h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.password-form input {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 100%;
    margin: 1rem 0;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.password-form input:focus {
    outline: none;
    border-color: #3498db;
}

.password-form button {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.password-form button:hover {
    background: #2980b9;
}

.itinerary-content {
    display: none;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.error-message {
    color: #e74c3c;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.partners {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
}

.partner-logo {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .homepage h1 {
        font-size: 2rem;
    }

    .timer {
        gap: 1rem;
    }

    .timer-unit {
        min-width: 80px;
        padding: 1rem;
    }

    .timer-unit .number {
        font-size: 2rem;
    }

    .speaker {
        flex-direction: column;
        text-align: center;
    }

    .speaker.reverse {
        flex-direction: column;
    }

    .speaker-photo {
        flex: none;
        max-width: 250px;
    }

    .partners {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .partner-logo {
        width: 100px;
        height: 100px;
    }

    
}

/* Add these new styles to your existing CSS file */

/* Program specific styles */
.program-header {
    background: linear-gradient(135deg, #2c5f5a 0%, #4a7c7a 50%, #b8a998 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.program-header::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.program-header h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.program-date {
    font-size: 1.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-schedule {
    background: linear-gradient(135deg, #2c5f5a 0%, #4a7c7a 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    color: white;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-size: 1.1rem;
    font-weight: bold;
    min-width: 140px;
    color: #b8a998;
}

.schedule-title {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    margin-left: 2rem;
}

.day-section {
    margin-bottom: 4rem;
}

.day-section h2 {
    color: #2c5f5a;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .program-header h1 {
        font-size: 2.5rem;
    }
    
    .program-date {
        font-size: 1.2rem;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .schedule-time {
        min-width: auto;
    }
    
    .schedule-title {
        margin-left: 0;
    }
}