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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

/* Header Styles */
.event-header {
    background: linear-gradient(135deg, #1e5eff 0%, #0066ff 100%);
    color: white;
    padding: 20px 0;
}

.event-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    flex-wrap: wrap;
}

.event-label {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1px;
}

.event-datetime {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.calendar-icon {
    font-size: 20px;
}

.time-date {
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 40px;
}

/* Event Poster Section */
.event-poster-section {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.poster-container {
    position: relative;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(30, 94, 255, 0.2);
}

.event-poster {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    border-radius: 20px;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-container:hover .poster-overlay {
    opacity: 1;
}

.poster-caption {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Speakers Section */
.speakers-section {
    margin-bottom: 60px;
}

.speakers-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 3px solid #1e5eff;
    padding-bottom: 10px;
    display: inline-block;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.speaker {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.speaker:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(30, 94, 255, 0.15);
}

.speaker-photos {
    display: flex;
    gap: 10px;
}

.speaker-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e5eff 0%, #0066ff 100%);
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.speaker-info h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.speaker-role {
    color: #1e5eff;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Location Section */
.location-section {
    margin-bottom: 60px;
}

.location-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 3px solid #1e5eff;
    padding-bottom: 10px;
    display: block;
    text-align: center;
    width: 100%;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.location-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    background: #f8f9ff;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.location-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 94, 255, 0.15);
}

.location-icon {
    font-size: 48px;
}

.location-info h3 {
    color: #1e5eff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.address {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 20px;
}

.map-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1e5eff 0%, #0066ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.map-button:hover {
    background: linear-gradient(135deg, #0056e0 0%, #0052cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 94, 255, 0.4);
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transport-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(30, 94, 255, 0.15);
}

.transport-icon {
    font-size: 32px;
    width: 50px;
    text-align: center;
}

.transport-details {
    flex: 1;
}

.transport-type {
    display: block;
    color: #1e5eff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.transport-info {
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Registration Section */
.registration-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 40px;
    border-radius: 20px;
    margin-top: 0;
}

.registration-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.registration-card h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid #1e5eff;
    padding-bottom: 15px;
}

/* Form Styles */
.registration-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e5eff;
    box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #2c3e50;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e8ed;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #1e5eff;
    border-color: #1e5eff;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.submit-btn {
    background: linear-gradient(135deg, #1e5eff 0%, #0066ff 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0056e0 0%, #0052cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 94, 255, 0.4);
}

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

/* Success and Error Messages */
.success-message,
.error-message {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.success-message h3,
.error-message h3 {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

.footer-content p {
    margin: 5px 0;
}

.footer-content strong {
    color: #1e5eff;
    font-size: 1.2rem;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 20px;
    }
    
    .event-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .event-poster {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .poster-container {
        border-radius: 15px;
        margin: 0 10px;
    }
    
    .poster-caption {
        font-size: 1rem;
        padding: 20px;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .speaker {
        flex-direction: column;
        text-align: center;
    }
    
    .transport-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .location-main {
        padding: 20px;
    }
    
    .transport-item {
        padding: 15px;
    }
    
    .registration-section {
        padding: 20px;
    }
    
    .registration-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 2rem;
    }
    
    .showcase-item {
        padding: 20px;
    }
    
    .location-section h2 {
        font-size: 1.3rem;
    }
    
    .location-info h3 {
        font-size: 1.2rem;
    }
    
    .address {
        font-size: 1rem;
    }
    
    .location-main {
        padding: 15px;
    }
    
    .location-icon {
        font-size: 36px;
    }
    
    .transport-item {
        padding: 12px;
        gap: 12px;
    }
    
    .transport-icon {
        font-size: 24px;
        width: 35px;
    }
    
    .map-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .registration-card h2 {
        font-size: 1.5rem;
    }
}
