/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #28a745;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0052a3;
}

/* Navigation Bar */
.navbar {
    background: var(--dark-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 204, 0.2);
}

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #0052a3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.event-dates {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    padding: 15px 0;
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
}

.about p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    font-size: 0.95rem;
}

/* Program Section */
.program {
    padding: 80px 20px;
    background-color: white;
    position: relative;
    z-index: 1;
}

.program-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.day {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.day h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.schedule {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.event-item {
    display: flex;
    gap: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.event-item .time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    font-size: 0.9rem;
}

.event-item .title {
    flex: 1;
    font-size: 0.95rem;
}

/* Speakers Section */
.speakers {
    padding: 80px 20px;
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.speaker-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.speaker-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    overflow: hidden;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.speaker-card h3 {
    padding: 1rem 1rem 0;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.speaker-card p {
    color: var(--primary-color);
    font-size: 0.9rem;
    padding: 0.3rem 1rem;
}

.speaker-card span {
    display: block;
    padding: 0.5rem 1rem 1rem;
    color: #666;
    font-size: 0.85rem;
}

/* Venue Section */
.venue {
    padding: 80px 20px;
    background-color: white;
    position: relative;
    z-index: 1;
}

.venue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: center;
}

.venue-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.venue-info h4 {
    color: var(--dark-color);
    margin-top: 1.5rem;
}

.venue-info p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.venue-info ul {
    margin-top: 1rem;
}

.venue-info li {
    padding: 0.5rem 0;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.map-container .leaflet-control-attribution {
    font-size: 0.75rem;
}

/* Registration Section */
.registration {
    padding: 80px 20px;
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--border-color);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.pricing-card.featured {
    border-top-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.2);
}

.pricing-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.pricing-card h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: #666;
    display: block;
    margin-top: 0.5rem;
}

.pricing-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-color);
    font-size: 0.9rem;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1.5rem;
}

/* Deadlines Section */
.deadlines {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.deadlines h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.deadlines table {
    width: 100%;
    border-collapse: collapse;
}

.deadlines td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.deadlines tr:last-child td {
    border-bottom: none;
}

.deadlines tr:nth-child(odd) {
    background-color: var(--light-color);
}

.deadlines td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 150px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section a {
    color: white;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #aaa;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .language-switcher {
        gap: 0.4rem;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .venue-content {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .program-content {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-item {
        flex-direction: column;
    }

    .event-item .time {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }
}
