/* Stile principale per la landing page */
:root {
    --primary-color: #1a3a6e;
    --secondary-color: #4db8e5;
    --accent-color: #f39200;
    --text-color: #333;
    --light-text: #f0f0f0;
    --background-color: #f5f5f5;
    --dark-background: #0a1e3c;
    --section-padding: 4rem 0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    position: relative;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.8rem auto 0;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    position: relative;
    color: white;
    text-align: center;
    padding: 4rem 0;
    overflow: hidden;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.logo {
    height: 60px;
    margin: 0 1rem;
}

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

.event-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}

.event-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.event-date, .event-location {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #e08600;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Info Section */
.info-section {
    padding: var(--section-padding);
    background-color: white;
}

.info-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.info-text {
    flex: 1;
    min-width: 300px;
}

.info-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.info-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Program Section */
.program-section {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.program-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.program-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(77, 184, 229, 0.3);
}

.timeline-time {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-description {
    color: var(--text-color);
}

/* Speakers Section */
.speakers-section {
    padding: var(--section-padding);
    background-color: var(--dark-background);
    color: white;
}

.speakers-section h2 {
    color: white;
}

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

.speaker-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.speaker-header {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.speaker-name {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: white;
}

.speaker-role {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.speaker-company {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.speaker-content {
    padding: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.speaker-bio {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.speaker-company-description {
    font-size: 0.9rem;
    color: var(--light-text);
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 1rem;
}

.speaker-links {
    display: flex;
    gap: 1rem;
}

.speaker-links a {
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.speaker-links a i {
    margin-right: 0.5rem;
}

.speaker-links a:hover {
    color: white;
}

.speaker-card.active .speaker-content {
    max-height: 1000px;
}

.speaker-card.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* To be confirmed speakers */
.to-be-confirmed {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.to-be-confirmed h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.to-be-confirmed-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.to-be-confirmed-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 5px;
    flex: 1;
    min-width: 250px;
}

.to-be-confirmed-name {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: white;
}

.to-be-confirmed-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.to-be-confirmed-link {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.to-be-confirmed-link:hover {
    color: white;
}

/* Organizers Section */
.organizers-section {
    padding: var(--section-padding);
    background-color: white;
}

.organizers-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.organizer-logo {
    height: 80px;
    transition: transform 0.3s ease;
}

.organizer-logo:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Decorative Elements */
.hex-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.hex {
    position: absolute;
    width: 100px;
    height: 115px;
    background-image: url('img/icons/hex-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-title {
        font-size: 2rem;
    }
    
    .event-subtitle {
        font-size: 1.2rem;
    }
    
    .info-content {
        flex-direction: column;
    }
    
    .program-timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-item::before {
        width: 20px;
        height: 20px;
        left: 7px;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .organizers-content {
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }
    
    .event-title {
        font-size: 1.8rem;
    }
    
    .event-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
}
