/* Reset and Base Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #120c0e;
    background-color: #fff8f7;
}


/* Typography */

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

h1 {
    font-size: 3rem;
    color: #451dcc;
}

h2 {
    font-size: 2.5rem;
    color: #451dcc;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: #ff928b;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* Layout */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background-color: #f3f0fa;
}


/* Hero Section */

.hero {
    background: linear-gradient(135deg, #451dcc 0%, #120c0e 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    /*: 70vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 12px #120c0e33);
}

.site-logo {
    width: 96px;
    height: 96px;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.icon {
    font-size: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 400;
    margin-bottom: 0;
}


/* Navigation */

.nav {
    position: sticky;
    top: 0;
    background: #fff8f7ee;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ff928b;
    z-index: 100;
    padding: 1rem 0;
}

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

.nav-link {
    color: #451dcc;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #ff928b;
    color: #120c0e;
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: #451dcc;
    color: #fff;
}


/* Content Cards */

.content-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(69, 29, 204, 0.08);
    border: 1px solid #f3f0fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}


/* Why Attend */

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.reason-card h3 {
    color: #0f766e;
}


/* Topics Section */

.topics-section {
    background: linear-gradient(135deg, #f3f0fa 0%, #fff8f7 100%);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.topic-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px -1px rgba(69, 29, 204, 0.08);
    border: 1px solid #f3f0fa;
    transition: all 0.3s ease;
    border-left: 4px solid #451dcc;
    opacity: 0;
    transform: translateY(20px);
}

.topic-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.1);
    border-left-color: #ff928b;
}

.topic-card h3 {
    margin-bottom: 0.5rem;
    color: #451dcc;
    font-size: 1.25rem;
}

.topic-card p {
    color: #6b7280;
    margin-bottom: 0;
    font-size: 0.95rem;
}


/* Audience List */

.audience-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.audience-list li {
    padding: 0.75rem 1rem;
    background: #f3f0fa;
    border-radius: 0.5rem;
    border-left: 4px solid #ff928b;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px) translateY(20px);
    transition: all 0.3s ease;
}

.audience-list li.animate {
    opacity: 1;
    transform: translateX(0) translateY(0);
}


/* Format Section */

.format-section {
    background: linear-gradient(135deg, #ff928b11 0%, #fff8f7 100%);
}

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

.format-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(69, 29, 204, 0.08);
    border: 1px solid #f3f0fa;
    transition: all 0.3s ease;
    border-top: 4px solid #ff928b;
    opacity: 0;
    transform: scale(0.9);
}

.format-card.animate {
    opacity: 1;
    transform: scale(1);
}

.format-card:hover {
    transform: translateY(-4px) scale(1);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.format-card h3 {
    color: #ff928b;
    margin-bottom: 1rem;
}


/* Footer */

.footer {
    background: #120c0e;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}


/* Partners (logo scroller) */

.logo-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    /* center when items don't overflow */
}

.logo-scroller::-webkit-scrollbar {
    height: 8px;
}

.logo-scroller::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.logo-item {
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    min-width: 220px;
    height: 90px;
}

.logo-item img {
    display: block;
    max-height: 60px;
    width: auto;
}


/* Venue map */

.map-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    margin: 1rem 0 1.25rem 0;
}

.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ics-actions {
    display: flex;
    gap: 0.75rem;
}


/* Contact form */

.contact-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.form-row {
    display: grid;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #ffffff;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}


/* Buttons (shared) */

.btn {
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: .5rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn-primary {
    background: #ff928b;
    color: #120c0e;
}

.btn-primary:hover {
    background: #451dcc;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #451dcc;
    color: #451dcc;
    background: transparent;
}

.btn-outline:hover {
    background: #451dcc;
    color: #fff;
    transform: translateY(-2px);
}


/* Scroll to top button */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #451dcc;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #ff928b;
    color: #120c0e;
    transform: translateY(-2px);
}


/* Responsive Design */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-details {
        /*flex-direction: column;*/
        gap: 1rem;
    }
    .nav-container {
        gap: 1rem;
    }
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    .topics-grid {
        grid-template-columns: 1fr;
    }
    .format-grid {
        grid-template-columns: 1fr;
    }
    .logo-item {
        min-width: 180px;
        height: 80px;
    }
    .audience-list {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 2rem;
    }
    .container {
        padding: 0 1rem;
    }
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .detail-item {
        font-size: 1rem;
    }
    .content-card {
        padding: 1.5rem;
    }
    .topic-card {
        padding: 1rem;
    }
    .format-card {
        padding: 1.5rem;
    }
}