/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #003366;
    --secondary: #FFD700;
    --background: #FFFFFF;
    --text: #333333;
    --accent: #4CAF50;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: var(--primary);
}

/* Navigation */
.navbar {
    background-color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--secondary) !important;
    font-weight: 700;
}

/* Hero Section */
.hero {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/attached_assets/BNL.JPG');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--secondary);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

/* Important Dates & Registration */
.date-card {
    border-left: 4px solid var(--secondary);
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

.date-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.registration-info {
    margin-top: 0.5rem;
}

.registration-card {
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

/* Form */
.subscribe-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #002244;
    border-color: #002244;
}

.btn-warning {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #E6C200;
    border-color: #E6C200;
    color: var(--primary);
}

.btn-success {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 600;
}

.btn-success:hover {
    background-color: #45A049;
    border-color: #45A049;
    color: white;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin-bottom: 0.5rem;
    }
}

/* Committee Members */
.committee-members ul li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.committee-members ul li:last-child {
    border-bottom: none;
}

.committee-members ul li i {
    color: var(--primary);
}

/* Sponsorship Cards */
.sponsorship-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsorship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.sponsorship-premium {
    border-top: 5px solid var(--primary);
}

.sponsorship-standard {
    border-top: 5px solid var(--accent);
}

.sponsorship-basic {
    border-top: 5px solid var(--secondary);
}

.sponsorship-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.sponsorship-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.sponsorship-features {
    list-style: none;
    padding-left: 0;
}

.sponsorship-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sponsorship-features li:last-child {
    border-bottom: none;
}

.sponsorship-features li i {
    color: var(--accent);
}

/* Sponsor Banner */
.sponsors-banner {
    background-color: #f8f9fa;
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
}

.sponsor-label {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premier-sponsor {
    padding: 1rem;
}

.premier-sponsor-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.premier-sponsor-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.premier-sponsor-logo {
    max-height: 150px;
    max-width: 375px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.supporting-sponsors {
    padding: 1rem;
    margin-left: 2rem;
}

.supporting-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.supporting-sponsor-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.supporting-sponsor-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.supporting-sponsor-logo {
    max-height: 80px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.auger-sponsors {
    padding: 1rem;
    margin-top: 1rem;
}

.auger-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.auger-sponsor-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.auger-sponsor-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.auger-sponsor-logo {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .sponsors-banner {
        padding: 2rem 0;
    }
    
    .premier-sponsor-logo {
        max-height: 125px;
        max-width: 312px;
    }
    
    .supporting-logos {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .supporting-sponsors {
        margin-left: 0;
        text-align: center;
    }
    
    .supporting-sponsor-logo {
        max-height: 60px;
        max-width: 140px;
    }
    
    .auger-logos {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .auger-sponsor-logo {
        max-height: 50px;
        max-width: 120px;
    }
}

/* Sponsor Showcase */
.sponsors-showcase {
    margin-top: 2rem;
}

.sponsor-tier {
    margin-bottom: 2rem;
    text-align: center;
}

.sponsor-tier-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.sponsor-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sponsor-link:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.sponsor-logo {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.langmuir-sponsors .sponsor-logo {
    max-height: 100px;
    max-width: 250px;
}

.fermi-sponsors .sponsor-logo {
    max-height: 70px;
    max-width: 180px;
}

@media (max-width: 768px) {
    .sponsor-logos {
        gap: 1rem;
    }
    
    .sponsor-logo {
        max-height: 60px;
        max-width: 150px;
    }
    
    .langmuir-sponsors .sponsor-logo {
        max-height: 80px;
        max-width: 200px;
    }
    
    .fermi-sponsors .sponsor-logo {
        max-height: 50px;
        max-width: 130px;
    }
}

/* Contact */
.contact-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Alert Messages */
.alert {
    margin-top: 1rem;
    display: none;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-card {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    color: var(--accent);
    font-size: 5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .thank-you-section {
        padding: 4rem 0;
    }
    
    .thank-you-card {
        padding: 2rem;
    }
}

/* Agenda Styles */
.agenda-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4rem 0 3rem;
    margin-top: 80px;
}

.agenda-content {
    padding: 3rem 0;
}

.day-section {
    margin-bottom: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.day-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    margin-bottom: 0;
}

.day-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.agenda-item {
    display: flex;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: white;
    transition: background-color 0.3s ease;
}

.agenda-item:hover {
    background-color: #f8f9fa;
}

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

.agenda-item .time {
    flex: 0 0 180px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    padding-right: 1.5rem;
}

.agenda-item .event {
    flex: 1;
}

.agenda-item .event h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.agenda-item .event .speaker {
    margin: 0;
    color: var(--secondary);
    font-style: italic;
    font-size: 0.95rem;
}

.agenda-item .event .location {
    margin: 0.5rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

.agenda-item .event .note {
    margin: 0.5rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.provided {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Special agenda item types */
.agenda-item.invited {
    background: linear-gradient(90deg, #fff5f5 0%, white 10%);
    border-left: 4px solid var(--accent);
}

.agenda-item.nottingham {
    background: linear-gradient(90deg, #f0f8ff 0%, white 10%);
    border-left: 4px solid var(--primary);
}

.agenda-item.break {
    background: linear-gradient(90deg, #f9f9f9 0%, white 10%);
    border-left: 4px solid #ccc;
}

.agenda-item.special {
    background: linear-gradient(90deg, #fff8e1 0%, white 10%);
    border-left: 4px solid var(--secondary);
}

/* Mobile agenda styles */
@media (max-width: 768px) {
    .agenda-item {
        flex-direction: column;
        padding: 1rem;
    }
    
    .agenda-item .time {
        flex: none;
        padding-right: 0;
        padding-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .agenda-header {
        padding: 3rem 0 2rem;
    }
    
    .day-header h2 {
        font-size: 1.3rem;
    }
}
