/* ===== CSS Variables - Purple & Coral Theme ===== */
:root {
    --primary: #5b21b6;
    --primary-light: #7c3aed;
    --primary-dark: #4c1d95;
    --accent: #f97316;
    --accent-light: #fb923c;
    --accent-dark: #ea580c;
    --text: #1e1b4b;
    --text-light: #4338ca;
    --text-muted: #6b7280;
    --background: #faf5ff;
    --surface: #ffffff;
    --border: #e9d5ff;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(251, 146, 60, 0.1) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

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

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.detail-item svg {
    opacity: 0.8;
}

.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.hero-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* ===== Mobile Navigation ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ===== Common Section Styles ===== */
.section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about {
    background: var(--surface);
}

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

.about-content p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content strong {
    color: var(--primary);
    font-weight: 600;
}

.about-content blockquote {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
    margin: 2rem 0 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.2);
}

/* ===== Topics Section ===== */
.topics {
    background: var(--background);
}

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

.topic-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(91, 33, 182, 0.1);
    border-color: var(--primary-light);
}

.topic-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
}

.topic-card h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.topic-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Schedule Section ===== */
.schedule {
    background: var(--surface);
}

.schedule-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.schedule-block {
    background: var(--background);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.schedule-block-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

.schedule-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: var(--surface);
    align-items: center;
}

.schedule-item .time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 100px;
    font-family: 'Space Grotesk', sans-serif;
}

.schedule-item .event {
    font-size: 0.95rem;
    color: var(--text);
}

.schedule-item.invited {
    border-left: 3px solid var(--primary);
}

.schedule-item.invited .event {
    color: var(--primary-dark);
    font-weight: 500;
}

.schedule-item.contributed {
    border-left: 3px solid var(--accent);
}

.schedule-item.contributed .event {
    color: var(--accent-dark);
    font-weight: 500;
}

.schedule-item.poster {
    border-left: 3px solid #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.schedule-item.poster .event {
    color: #059669;
    font-weight: 500;
}

.schedule-item.break {
    background: rgba(107, 114, 128, 0.05);
}

.schedule-item.break .event {
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 500px) {
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .schedule-item .time {
        min-width: auto;
    }
}

/* ===== Speakers Section ===== */
.speakers {
    background: var(--background);
}

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

.speaker-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(91, 33, 182, 0.1);
}

.speaker-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.speaker-initials {
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    z-index: 0;
}

.speaker-photo[style*="url"] .speaker-initials {
    display: none;
}

.speaker-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.speaker-affiliation {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.speaker-topic {
    font-size: 0.85rem;
    color: var(--accent-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.speaker-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.speaker-link:hover {
    background: var(--primary);
    color: white;
}

/* ===== Organizers Section ===== */
.organizers {
    background: var(--surface);
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.organizer-card {
    text-align: center;
    transition: all 0.3s ease;
}

.organizer-card:hover {
    transform: translateY(-4px);
}

.organizer-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--surface);
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.15);
}

.organizer-initials {
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    position: absolute;
    z-index: 0;
}

.organizer-photo[style*="url"] .organizer-initials {
    display: none;
}

.organizer-card h3 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.organizer-affiliation {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.organizer-link {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.2s ease;
}

.organizer-link:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .organizers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .organizers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Call for Papers Section ===== */
.cfp {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.cfp .section-title {
    color: white;
}

.cfp .section-title::after {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.cfp-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cfp-main p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cfp-main ul {
    list-style: none;
    margin-bottom: 2rem;
}

.cfp-main ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.cfp-main ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.cfp-main h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.tracks {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.track-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.track-badge.long {
    background: var(--accent);
}

.track-badge.short {
    background: rgba(255, 255, 255, 0.2);
}

.track-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.cfp-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.cfp-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cfp-button.template {
    background: rgba(255, 255, 255, 0.2);
}

.cfp-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.cfp-dates {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cfp-dates h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: white;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.date-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.date-item:last-child {
    border-bottom: none;
}

.date-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.date-value {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}

.date-item.highlight {
    background: rgba(249, 115, 22, 0.2);
    margin: 0.5rem -0.75rem -0.75rem;
    padding: 0.75rem;
    border-radius: 0 0 8px 8px;
}

.date-item.highlight .date-value {
    color: var(--accent-light);
}

@media (max-width: 768px) {
    .cfp-content {
        grid-template-columns: 1fr;
    }

    .tracks {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ===== Venue Section ===== */
.venue {
    background: var(--background);
}

.venue-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(91, 33, 182, 0.1);
    border: 1px solid var(--border);
}

.venue-info {
    padding: 2.5rem;
}

.venue-info h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.venue-address {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.venue-desc {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.venue-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.venue-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--background);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.venue-map {
    min-height: 300px;
    background: var(--background);
}

.venue-map iframe {
    display: block;
}

@media (max-width: 768px) {
    .venue-card {
        grid-template-columns: 1fr;
    }

    .venue-map {
        min-height: 250px;
    }
}



/* ===== Sponsors Section ===== */
.sponsors {
    background: var(--surface);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.sponsors-card {
    text-align: center;
    transition: all 0.3s ease;
}

.sponsors-card:hover {
    transform: translateY(-4px);
}

.sponsors-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--surface);
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.15);
}

.sponsors-initials {
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    position: absolute;
    z-index: 0;
}

.sponsors-photo[style*="url"] .sponsors-initials {
    display: none;
}

.sponsors-card h3 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}



/* ===== Footer ===== */
.footer {
    background: var(--text);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--accent);
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
