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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fafafa;
}

/* Color Variables */
:root {
    --primary-beige: #f5f1e8;
    --secondary-beige: #e8e0d0;
    --accent-blue: #7ba7cc;
    --accent-blue-light: #a8c5d9;
    --text-dark: #2c3e50;
    --text-medium: #5d6d7e;
    --text-light: #85929e;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-light: rgba(0, 0, 0, 0.05);
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--white);
    border-radius: 25px;
    padding: 4px;
    box-shadow: 0 4px 20px var(--shadow);
    display: flex;
    gap: 2px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-medium);
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--accent-blue);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: var(--primary-beige);
    color: var(--text-dark);
}

/* Language Display Control */
.en {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-light) 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="salt-flats" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23salt-flats)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--white);
    margin: 0 auto 30px;
    border-radius: 2px;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-primary {
    background: var(--white);
    color: var(--accent-blue);
}

.cta-primary:hover {
    background: var(--primary-beige);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.cta-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-secondary:hover {
    background: var(--white);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--text-dark);
}

/* Content Section */
.content-section {
    background: var(--white);
    padding: 80px 0;
}

.content-flow {
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 50px;
}

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

.content-block h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-dark);
    text-align: center;
}

.content-block p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

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

/* Poster Section */
.poster-section {
    background: var(--white);
    padding: 60px 0;
}

.poster-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.event-poster {
    max-width: 70%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow);
    transition: transform 0.3s ease;
}

.event-poster:hover {
    transform: scale(1.02);
}

/* Registration Section */
.registration {
    background: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary-beige);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-light);
    text-align: center;
}

.form-link {
    display: inline-block;
    font-size: 18px;
    padding: 20px 40px;
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent-blue-light);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue-light);
    transform: translateY(-2px);
}

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (min-width: 768px) {
    .experience-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
    
    .cta-buttons {
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-content {
        padding: 0 40px;
    }
    
    section {
        padding: 100px 0;
    }
    
    .experience-item {
        padding: 40px;
    }
    
    .feature-item {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .language-toggle {
        top: 15px;
        right: 15px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .hero {
        min-height: 90vh;
        padding: 20px 0;
    }
    
    .logo img {
        width: 100px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .poster-section {
        padding: 40px 0;
    }
    
    .event-poster {
        border-radius: 15px;
        max-width: 90%;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .content-block h3 {
        font-size: 1.6rem;
    }
    
    .content-block p {
        font-size: 1rem;
    }
}

/* Smooth transitions for language switching */
.pt, .en {
    transition: opacity 0.3s ease;
}

/* Loading state for form */
.form-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--shadow);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus states for better accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-beige: #ffffff;
        --secondary-beige: #f0f0f0;
        --accent-blue: #0066cc;
        --text-dark: #000000;
        --text-medium: #333333;
    }
} 