/*
 * Trillium Health Partners - Event Landing Page Styles
 * Based on THP 2023 Branding Guidelines
 * 
 * Color Palette:
 * - Primary: Blue (#00B3E6), Dark Blue (#005399)
 * - Secondary: Teal (#00BABE), Green (#9ACA3C), Orange (#F68B1F), Purple (#812990)
 * - Accent: Red (#ED1A3B)
 * - Text: Grey (#4D555B)
 * 
 * Typography:
 * - Headings: Foco Bold, Foco
 * - Body: Helvetica Neue (Medium, Light, Bold)
 */

/* ========================================
   CSS Variables - THP Brand Colors
   ======================================== */
:root {
    /* Primary Colors */
    --thp-blue: #00B3E6;
    --thp-dark-blue: #005399;
    
    /* Secondary Colors */
    --thp-teal: #00BABE;
    --thp-green: #9ACA3C;
    --thp-orange: #F68B1F;
    --thp-purple: #812990;
    
    /* Accent Colors */
    --thp-red: #ED1A3B;
    
    /* Text Color */
    --thp-grey: #4D555B;
    
    /* Additional Utility Colors */
    --thp-white: #FFFFFF;
    --thp-light-grey: #F5F5F5;
    --thp-border-grey: #E0E0E0;
}

/* ========================================
   Typography - THP Fonts
   ======================================== */

/* Foco Font Family (Primary for Headlines) */
@import url('https://fonts.cdnfonts.com/css/foco');

/* Fallback to Helvetica Neue and system fonts */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--thp-grey);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Foco', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: var(--thp-dark-blue);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.8;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container-fluid {
    padding: 0;
}

/* ========================================
   Event Toggle Section
   ======================================== */
.event-toggle-section {
    background: linear-gradient(135deg, var(--thp-dark-blue) 0%, var(--thp-blue) 100%);
    padding: 3rem 0;
    text-align: center;
}

.event-toggle-title {
    color: var(--thp-white);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.event-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.toggle-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--thp-white);
    border: 2px solid var(--thp-white);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Foco', sans-serif;
}

.toggle-btn:hover {
    background-color: var(--thp-white);
    color: var(--thp-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.toggle-btn.active {
    background-color: var(--thp-white);
    color: var(--thp-dark-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--thp-blue) 0%, var(--thp-teal) 100%);
    color: var(--thp-white);
    padding: 5rem 0;
    text-align: center;
}

.hero-section h1 {
    color: var(--thp-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.event-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-detail-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.event-detail-item strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.btn-register {
    background-color: var(--thp-orange);
    color: var(--thp-white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 139, 31, 0.4);
}

.btn-register:hover {
    background-color: var(--thp-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(237, 26, 59, 0.5);
    color: var(--thp-white);
}

/* ========================================
   Accordion Section Container
   ======================================== */
.accordion-section {
    padding: 4rem 0;
    background-color: var(--thp-light-grey);
}

.section-title {
    text-align: center;
    color: var(--thp-dark-blue);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* ========================================
   Custom Accordion Styles
   ======================================== */
.custom-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--thp-white);
    border: none;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background-color: var(--thp-white);
    color: var(--thp-dark-blue);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Foco', sans-serif;
    padding: 1.5rem 2rem;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--thp-dark-blue);
    color: var(--thp-white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23005399'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 2rem;
    color: var(--thp-grey);
    line-height: 1.8;
}

.accordion-body h4 {
    color: var(--thp-blue);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.accordion-body ul {
    padding-left: 1.5rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/* ========================================
   Schedule/Agenda Styling
   ======================================== */
.schedule-item {
    background-color: var(--thp-light-grey);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--thp-blue);
    border-radius: 5px;
}

.schedule-time {
    color: var(--thp-dark-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.schedule-title {
    color: var(--thp-grey);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.schedule-description {
    color: var(--thp-grey);
    font-size: 0.95rem;
}

/* ========================================
   Speaker/Performer Cards
   ======================================== */
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.speaker-card {
    background-color: var(--thp-white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.speaker-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--thp-blue);
}

.speaker-name {
    color: var(--thp-dark-blue);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: var(--thp-grey);
    font-size: 0.95rem;
    font-style: italic;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-item {
    margin-bottom: 1.5rem;
}

.faq-question {
    color: var(--thp-dark-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--thp-grey);
    padding-left: 1.5rem;
}

/* ========================================
   Footer
   ======================================== */
.thp-footer {
    background-color: var(--thp-dark-blue);
    color: var(--thp-white);
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 1rem;
}

.footer-section h5 {
    color: var(--thp-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--thp-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ========================================
   Utility Classes
   ======================================== */
.bg-thp-blue {
    background-color: var(--thp-blue);
}

.bg-thp-dark-blue {
    background-color: var(--thp-dark-blue);
}

.bg-thp-teal {
    background-color: var(--thp-teal);
}

.bg-thp-green {
    background-color: var(--thp-green);
}

.bg-thp-orange {
    background-color: var(--thp-orange);
}

.text-thp-blue {
    color: var(--thp-blue);
}

.text-thp-dark-blue {
    color: var(--thp-dark-blue);
}

.text-thp-grey {
    color: var(--thp-grey);
}

/* ========================================
   Animations & Transitions
   ======================================== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .event-details {
        gap: 1.5rem;
    }
    
    .event-toggle-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .toggle-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .accordion-button {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    
    .accordion-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .event-toggle-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .thp-header,
    .event-toggle-section,
    .thp-footer {
        display: none;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: var(--thp-white);
        color: var(--thp-dark-blue);
    }
    
    .accordion-collapse {
        display: block !important;
        height: auto !important;
    }
}
