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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header Styles - Deep Red Background */
.site-header {
    background-color: #8B0000; /* Deep red */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end; /* Right-justified menu */
    align-items: center;
    min-height: 60px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.dropbtn:hover {
    background-color: rgba(255,255,255,0.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    top: 100%;
    right: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #8B0000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Main Content Area - White Background */
.main-content {
    background-color: white;
    min-height: calc(100vh - 60px);
}

/* Title Section */
.title-section {
    text-align: center;
    padding: 40px 0 30px;
    background-color: white;
}

.main-title {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.red-text {
    color: #8B0000; /* Red AHCT */
}

.subtitle {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
}

/* Main Layout with Sidebars */
.main-layout {
    padding: 20px 0 60px;
}

.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 30px;
    align-items: start;
}

/* Sidebar Styles */
.left-sidebar,
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-box {
    background-color: white;
    border: 3px solid #8B0000; /* Red border */
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139,0,0,0.2);
}

.sidebar-box a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.sidebar-box:hover a {
    color: #8B0000;
}

/* Large box for right sidebar */
.large-box {
    padding: 25px 15px;
}

.large-box h3 {
    color: #8B0000;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.membership-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-link {
    display: block;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #8B0000;
    border-radius: 5px;
    text-decoration: none;
    color: #8B0000;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.action-link:hover {
    background-color: #8B0000;
    color: white;
}

/* Central Content Area */
.central-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.central-content h2 {
    font-family: 'Crimson Text', serif;
    color: #8B0000;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2rem;
}

.flyers-photos-area {
    min-height: 400px;
}

.content-placeholder {
    text-align: center;
    padding: 40px 20px;
}

.content-placeholder h3 {
    color: #8B0000;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.sample-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.sample-item {
    text-align: center;
}

.sample-image {
    background-color: #f8f9fa;
    border: 2px dashed #ccc;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #666;
    font-style: italic;
}

.sample-item p {
    font-weight: 600;
    color: #333;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 30px;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-section p,
.footer-section li {
    margin-bottom: 8px;
    color: #bdc3c7;
}

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

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

.footer-section a:hover {
    color: #ecf0f1;
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Conference hero and speakers */
.conference-hero {
    margin: 20px 0 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.conference-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 25px 0 10px;
}
.speaker-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.speaker-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.speaker-card figcaption {
    padding: 10px 8px;
    font-weight: 600;
}
.speaker-card--text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
}
.speaker-initials {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #8B0000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B0000;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.fee-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.btn {
    background: #8B0000;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #A52A2A;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Conference Fee Styles */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.fee-table th,
.fee-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.fee-table th {
    background: #8B0000;
    color: white;
    font-weight: 600;
}

.fee-table tr:last-child td {
    border-bottom: none;
}

.fee-table tr:hover {
    background: #f8f9fa;
}

/* Contact Page Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-card h3 {
    color: #8B0000;
    margin-bottom: 15px;
}

.contact-card a {
    color: #8B0000;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 30px;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-section p,
.footer-section li {
    margin-bottom: 8px;
    color: #bdc3c7;
}

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

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

.footer-section a:hover {
    color: #ecf0f1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .layout-container {
        grid-template-columns: 180px 1fr 180px;
        gap: 20px;
    }
    
    .sidebar-box {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .main-title {
        font-size: 2.3rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        position: relative;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav-menu.mobile-active {
        display: flex;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropbtn {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 5px;
    }
    
    .layout-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .left-sidebar,
    .right-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sidebar-box {
        flex: 1;
        min-width: 140px;
        max-width: 200px;
        margin: 5px;
    }
    
    .large-box {
        flex: 1;
        min-width: 250px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .central-content {
        padding: 20px;
    }
    
    .sample-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .left-sidebar,
    .right-sidebar {
        flex-direction: column;
    }
    
    .sidebar-box {
        margin: 0;
        max-width: none;
    }
    
    .main-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .title-section {
        padding: 30px 0 20px;
    }
    
    .layout-container {
        padding: 0 10px;
        gap: 20px;
    }
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3,
.form-section h4 {
    color: #8B0000;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Membership Form Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.benefit-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #8B0000;
}

.benefit-card h3 {
    color: #8B0000;
    margin-bottom: 10px;
}

.membership-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.membership-option {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.membership-option:has(input:checked) {
    border-color: #8B0000;
    background: #f8f9fa;
}

.membership-option input[type="radio"] {
    margin-right: 10px;
}

.membership-option label {
    cursor: pointer;
    display: block;
}

.membership-option strong {
    color: #8B0000;
    font-size: 1.1rem;
}

/* Conference Form Styles */
.conference-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 30px 0;
    border-left: 5px solid #8B0000;
}

.conference-details {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

/* Schedule Section Styles */
.schedule-section {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #8B0000;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.schedule-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.5;
}

.schedule-list li:last-child {
    border-bottom: none;
}

.schedule-list strong {
    color: #8B0000;
    font-weight: 600;
}

.fee-breakdown {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8B0000;
}

/* Registration Deadlines Styles */
.registration-deadlines {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.registration-deadlines ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.registration-deadlines li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.registration-deadlines li:last-child {
    border-bottom: none;
}

.registration-deadlines strong {
    color: #8B0000;
}

.fee-amount {
    font-size: 1.2rem;
    color: #8B0000;
    margin: 10px 0;
}

.discount-message {
    background: #e8f5e8;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.warning-message {
    background: #fff3cd;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.success-message {
    background: #d4edda;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.quick-actions {
    text-align: center;
    margin: 40px 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Conference Reminders */
.conference-reminders {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.reminder-list {
    display: grid;
    gap: 15px;
}

.reminder-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #8B0000;
}

.reminder-date {
    font-weight: 600;
    color: #8B0000;
}

/* Session Selection */
.session-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.session-option {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.session-option:hover {
    background: #e9ecef;
}

.session-option input[type="checkbox"] {
    margin-right: 8px;
}

/* File Upload Styles */
.file-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

input[type="file"] {
    padding: 8px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    background: #f8f9fa;
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card h3 {
    color: #8B0000;
    margin-bottom: 15px;
}

/* Officer Grid */
.officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.officer-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.officer-card h4 {
    color: #8B0000;
    margin-bottom: 10px;
}

/* Update Options */
.update-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.update-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.update-card h3 {
    color: #8B0000;
    margin-bottom: 15px;
}

/* Conference Archive */
.conference-list {
    list-style: none;
    padding: 0;
}

.conference-list li {
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
    font-style: italic;
    color: #666;
}

.conference-list li:last-child {
    border-bottom: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav-menu.mobile-active {
        display: flex;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropbtn {
        width: 100%;
        text-align: left;
    }
    
    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 5px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .button-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .reminder-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .session-grid {
        grid-template-columns: 1fr;
    }
    
    .fee-table {
        font-size: 0.9rem;
    }
    
    .fee-table th,
    .fee-table td {
        padding: 10px 8px;
    }
}
