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

:root {
    --primary-color: #4285f4;
    --primary-dark: #3367d6;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --warning-color: #fbbc05;
    --text-primary: #1a1a1a;
    --text-secondary: #5f6368;
    --text-light: #80868b;
    --background: #ffffff;
    --surface: #f8f9fa;
    --border: #e8eaed;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-heavy: 0 8px 16px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    text-decoration: none;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.hero-logo {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-text {
    color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    opacity: 0.7;
    animation: float 4s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: -1s;
}

.floating-element:nth-child(2) {
    top: 10%;
    right: 30%;
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 10%;
    animation-delay: -3s;
}

.floating-element:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: -0.5s;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--surface);
}

.about-content {
    text-align: center;
}

.about-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Schedule Section */
.schedule {
    padding: 6rem 0;
}

.schedule-grid {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.schedule-header {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.schedule-header > div {
    padding: 1rem;
    text-align: center;
}

.schedule-row {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.schedule-row:hover {
    background: var(--surface);
}

.time-slot {
    padding: 1rem;
    background: var(--surface);
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.session {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
    cursor: pointer;
    transition: var(--transition);
    border-right: 1px solid var(--border);
}

.session:last-child {
    border-right: none;
}

.session.registration, .session.opening, .session.break, .session.lunch {
    grid-column: span 2;
    text-align: center;
    background: var(--surface);
    border-right: none;
}

.session.sponsor {
    background: linear-gradient(135deg, var(--warning-color), #ffc107);
    color: white;
}

.session.talk.sponsor {
    border-left-color: var(--warning-color);
    background: linear-gradient(135deg, rgba(251, 188, 5, 0.1), rgba(255, 193, 7, 0.05));
}

.session.talk.sponsor:hover {
    background: linear-gradient(135deg, rgba(251, 188, 5, 0.15), rgba(255, 193, 7, 0.1));
}

.session.talk {
    border-left: 4px solid var(--primary-color);
}

.session.talk:hover {
    background: var(--surface);
    transform: translateX(2px);
}

.session-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Speakers Section */
.speakers {
    padding: 6rem 0;
    background: var(--surface);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.speaker-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.speaker-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.speaker-avatar img,
.speaker-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback for missing profile images */
.speaker-avatar img[src*="assets/speakers/"]:not([src*=".jpg"]):not([src*=".png"]):not([src*=".webp"]),
.speaker-avatar-large img[src*="assets/speakers/"]:not([src*=".jpg"]):not([src*=".png"]):not([src*=".webp"]) {
    display: none;
}

/* The following block creates a strange artifact in the hero area */
/*
.speaker-avatar::after,
.speaker-avatar-large::after {
    content: attr(data-initials);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: 600;
    pointer-events: none;
}
*/

.speaker-name {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.speaker-talk {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.speakers-action {
    text-align: center;
}

/* Venue Section */
.venue {
    padding: 6rem 0;
}

.venue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.venue-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.venue-address {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.address-line {
    margin-bottom: 0.5rem;
}

.venue-details p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.transport-info h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.transport-info ul {
    list-style: none;
    padding: 0;
}

.transport-info li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.map-container {
    height: 400px;
    background: var(--surface);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.map-overlay {
    text-align: center;
    color: var(--text-secondary);
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--background);
}

.gallery-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 16/10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
}

/* Sponsors Section */
.sponsors {
    padding: 6rem 0;
    background: var(--surface);
}

.sponsors-content {
    text-align: center;
}

.sponsors-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

.sponsor-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sponsor-card:hover {
    transform: translateY(-5px);
}

.sponsor-card.gold-sponsor {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: 3px solid #B8860B;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    animation: goldShimmer 2s infinite alternate;
    max-width: 300px;
    padding: 2.5rem;
}

.sponsor-card.gold-sponsor:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.sponsor-tier {
    font-size: 0.8rem;
    font-weight: bold;
    color: #B8860B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.sponsor-link {
    text-decoration: none;
    display: inline-block;
}

.sponsor-logo {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    display: block;
    cursor: pointer;
}

.gold-sponsor .sponsor-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sponsor-info {
    text-align: center;
    margin-top: 1rem;
}

.sponsor-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.sponsor-website {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sponsor-website:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.gold-sponsor .sponsor-name {
    color: #8B4513;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gold-sponsor .sponsor-website {
    color: #654321;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gold-sponsor .sponsor-website:hover {
    color: #4A2C17;
    text-decoration: underline;
}

.sponsor-card.bronze-sponsor {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    border: 3px solid #8B4513;
    box-shadow: 0 8px 25px rgba(205, 127, 50, 0.3);
    max-width: 280px;
    padding: 2rem;
}

.sponsor-card.bronze-sponsor:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 35px rgba(205, 127, 50, 0.4);
}

.bronze-sponsor .sponsor-tier {
    color: #8B4513;
}

.bronze-sponsor .sponsor-name {
    color: white;
}

.bronze-sponsor .sponsor-website {
    color: white;
    opacity: 0.9;
}

.bronze-sponsor .sponsor-website:hover {
    color: white;
    opacity: 1;
    text-decoration: underline;
}

/* GreyFlower specific styling to remove padding */
.sponsor-card img[src*="greyflower-logo"] {
    max-width: 250px;
    max-height: 120px;
    object-fit: contain;
    object-position: center;
}

@keyframes goldShimmer {
    0% {
        background: linear-gradient(135deg, #FFD700, #FFA500);
    }
    100% {
        background: linear-gradient(135deg, #FFA500, #FFD700);
    }
}

.sponsors-action {
    margin-top: 2rem;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    line-height: 1.8;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}

.cta-section {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Speakers Detail Page Styles */
.page-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.speakers-detail {
    padding: 6rem 0;
}

.speakers-grid-detail {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.speaker-card-detail {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
}

.speaker-card-detail:hover {
    box-shadow: var(--shadow-medium);
}

.speaker-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--surface);
    align-items: center;
}

.speaker-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.speaker-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.speaker-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(66, 133, 244, 0.05);
}

.speaker-content {
    padding: 2rem;
}

.talk-info {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.talk-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.talk-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.talk-time, .talk-room {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    background: var(--surface);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.talk-time::before {
    content: '🕒';
}

.talk-room::before {
    content: '📍';
}

.talk-type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--warning-color);
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(251, 188, 5, 0.1);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    border: 1px solid rgba(251, 188, 5, 0.3);
}

.talk-type::before {
    content: '🎯';
}

.sponsor-talk h3 {
    color: var(--warning-color);
}

.speaker-bio {
    margin-bottom: 2rem;
}

.speaker-bio p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.talk-abstract h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.talk-abstract p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.speakers-cta {
    padding: 6rem 0;
    background: var(--surface);
    text-align: center;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-logo {
        height: 80px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .venue-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-menu {
        display: none; /* Mobile menu to be implemented */
    }

    .hero-title-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-logo {
        height: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .schedule-grid {
        font-size: 0.9rem;
    }

    .schedule-row {
        grid-template-columns: 120px 1fr;
    }

    .schedule-header {
        grid-template-columns: 120px 1fr;
    }

    .schedule-header .track-column:last-child,
    .session:nth-child(3) {
        display: none;
    }

    .session.registration, .session.opening, .session.break, .session.lunch {
        grid-column: span 1;
    }

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

    /* Speaker detail responsive fixes */
    .speaker-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .speaker-avatar-large {
        margin: 0 auto;
    }

    .speaker-info h2 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .speaker-title {
        font-size: 1rem;
    }

    .speaker-social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .social-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .talk-info h3 {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .speaker-content {
        padding: 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .schedule-row {
        grid-template-columns: 1fr;
    }

    .schedule-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .time-slot {
        border-right: none;
        border-bottom: 1px solid var(--border);
        min-height: auto;
        padding: 0.75rem;
    }

    .session {
        border-right: none;
        min-height: auto;
    }

    /* Additional speaker detail responsive fixes for small screens */
    .speaker-info h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .speaker-title {
        font-size: 0.95rem;
    }

    .talk-info h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .talk-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .speaker-bio,
    .talk-abstract {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .speaker-avatar-large {
        width: 100px;
        height: 100px;
    }

    .speaker-content {
        padding: 1rem;
    }

    .social-link {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}