/* Ave Maker Club - Site Styles */

/* ===== Base Styles ===== */
html, body {
    overscroll-behavior: none;
    overflow-x: hidden;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    position: relative;
}

/* ===== Header Styles ===== */
.site-header {
    background: linear-gradient(135deg, #047ab5 0%, #035C8C 100%);
    color: white;
    padding: .5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.header-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.site-header h1 {
    font-size: 4rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.site-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.site-header.portal-header {
    background: linear-gradient(135deg, #2d5a2d 0%, #1a4a1a 100%);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.site-header.portal-header h1 {
    font-size: 1.8rem;
    text-transform: none;
    letter-spacing: normal;
}

/* ===== Tagline ===== */
.tagline {
    background: #1a4a1a;
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===== Main Content ===== */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
}

/* ===== Sections ===== */
.content-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .content-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.content-section h2 {
    color: #2c3e50;
    border-bottom: 3px solid #c0392b;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-section.portal-section h2 {
    border-bottom-color: #1a4a1a;
}

/* ===== Two Column Layout ===== */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .site-header h1 {
        font-size: 2rem;
    }
    
    .site-header.portal-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ===== Category Cards ===== */
.category {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.category.tech {
    border-left-color: #1a4a1a;
}

.category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.category li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #c0392b;
}

/* ===== Info Box ===== */
.info-box {
    background: #ecf0f1;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.info-box h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* ===== Info Grid ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

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

.info-card {
    background: #ecf0f1;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.info-card h4 {
    color: #1a4a1a;
    margin-bottom: 0.5rem;
}

/* ===== Highlight / Alert ===== */
.highlight {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.notice strong {
    color: #856404;
}

/* ===== Welcome Box ===== */
.welcome-box {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 5px solid #1a4a1a;
}

.welcome-box h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* ===== Schedule Items ===== */
.schedule-item {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
}

.schedule-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.schedule-item .date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* ===== Contact Section ===== */
.contact-section {
    text-align: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.contact-section h2 {
    color: white;
    border-bottom-color: #c0392b;
}

.contact-section a {
    color: #f39c12;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: bold;
}

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

/* ===== Footer ===== */
.site-footer {
    text-align: center;
    padding: 2rem;
    background: #2c3e50;
    color: #bdc3c7;
}

.site-footer a {
    color: #3498db;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ===== Icon Colors ===== */
.icon-trades {
    color: #3498db;
}

.icon-tech {
    color: #1a4a1a;
}

/* ===== Philosophy List ===== */
.philosophy-list {
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.philosophy-list li {
    margin-bottom: 0.5rem;
}

/* ===== Next Semester Page Styles ===== */
.site-header.portal-header.nextsemester-header {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
}

.nextsemester-welcome {
    border-left-color: #27ae60;
}

.course-details {
    margin-top: 20px;
}

.course-details .info-section {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-details .info-section h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
    border-bottom: 2px solid #27ae60;
    padding-bottom: 10px;
}

.course-details .info-section h3 i {
    color: #27ae60;
    margin-right: 8px;
}

.course-details .info-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.course-details .info-section ul li {
    padding: 8px 0;
    line-height: 1.6;
}

.course-details .info-section p {
    margin: 10px 0;
}

.course-details .info-section.highlight {
    background-color: #e8f8f0;
    border-left: 4px solid #27ae60;
}

.series-link {
    color: #27ae60;
    font-weight: bold;
    text-decoration: none;
}

.learn-more-link {
    color: #666;
    font-size: 0.9em;
    text-decoration: none;
}

.included {
    font-style: italic;
    color: #27ae60;
    font-weight: 500;
    margin-top: 15px;
}

.email-contact {
    font-size: 1.3em;
    margin: 20px 0;
}

.email-contact a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 24px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border: 2px solid #27ae60;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s;
}

.email-contact a:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    border-color: #1e8449;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.course-details .calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.course-details .month-block {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 2px solid #e0e0e0;
}

.course-details .month-block h4 {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 1.1em;
    text-align: center;
    border-bottom: 2px solid #27ae60;
    padding-bottom: 8px;
}

.course-details .dates {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-details .date {
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    color: #34495e;
    border-left: 3px solid #27ae60;
}

@media (max-width: 600px) {
    .course-details .info-section {
        padding: 15px;
    }
    
    .course-details .calendar-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Button Styles ===== */
.btn-primary-custom {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* ===== Resources List ===== */
.resources-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.resources-list li {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

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

.resources-list a {
    color: #3498db;
    text-decoration: none;
}

.resources-list a:hover {
    text-decoration: underline;
}

.resources-list i {
    margin-right: 0.5rem;
}

/* ===== Course Meeting Pages ===== */
/* These styles match the original meeting page layouts */
.meeting-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, #1F4E79 0%, #2E75B6 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.header h1 {
    margin: 0;
    font-size: 2.2em;
    color: white;
}

.session-number {
    font-size: 1em;
    opacity: 0.9;
    margin-bottom: 10px;
}

.nav-links {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: #2E75B6;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.2s;
}

.nav-links a:hover {
    background: #f0f0f0;
}

.content-section {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #2E75B6;
    border-bottom: 2px solid #2E75B6;
    padding-bottom: 10px;
    margin-top: 0;
}

.content-section h3 {
    color: #404040;
    margin-top: 25px;
}

.objectives-list, .safety-list, .materials-list {
    list-style: none;
    padding-left: 0;
}

.objectives-list li, .safety-list li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.objectives-list li:before, .safety-list li:before {
    content: "•";
    color: #2E75B6;
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 0;
}

.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-section th {
    background: #2E75B6;
    color: white;
    padding: 12px;
    text-align: left;
}

.content-section td {
    padding: 12px;
    border: 1px solid #ddd;
}

.content-section tr:nth-child(even) {
    background: #f9f9f9;
}

.highlight-box {
    background: #e8f4f8;
    border-left: 4px solid #2E75B6;
    padding: 15px;
    margin: 15px 0;
}

/* ===== Course Index & Other Course Pages ===== */
.course-nav {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.course-nav a {
    color: #2E75B6;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.2s;
}

.course-nav a:hover {
    background: #f0f0f0;
}

.course-nav.bottom-nav {
    margin-top: 30px;
}

.course-header {
    background: linear-gradient(135deg, #1F4E79 0%, #2E75B6 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.course-header h1 {
    margin: 0;
    font-size: 2.2em;
    color: white;
}

.course-header .session-label {
    font-size: 1em;
    opacity: 0.9;
    margin-bottom: 10px;
}

.course-section {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.course-section h2 {
    color: #2E75B6;
    border-bottom: 2px solid #2E75B6;
    padding-bottom: 10px;
    margin-top: 0;
}

.course-section h2 i {
    margin-right: 10px;
}

.course-section h3 {
    color: #404040;
    margin-top: 25px;
}

.course-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Lists in course content */
.objectives-list,
.safety-list,
.materials-list,
.tool-list,
.spec-list {
    list-style: none;
    padding-left: 0;
}

.objectives-list li,
.safety-list li,
.materials-list li,
.tool-list li,
.spec-list li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.objectives-list li:before,
.materials-list li:before,
.spec-list li:before {
    content: "•";
    color: #2E75B6;
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: 5px;
}

.safety-list li:before {
    content: "⚠";
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 8px;
}

.tool-list li:before {
    content: "✓";
    color: #2E75B6;
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Safety section styling */
.safety-section {
    border-left: 4px solid #e74c3c;
}

.safety-section h2 {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

/* Highlight boxes */
.highlight-box {
    background: #e8f4f8;
    border-left: 4px solid #2E75B6;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box strong {
    color: #1F4E79;
}

.highlight-box.celebration {
    text-align: center;
    padding: 30px;
}

.highlight-box.celebration i {
    color: #f39c12;
    margin-bottom: 15px;
}

.highlight-box.celebration h3 {
    color: #2E75B6;
    margin: 10px 0;
}

.closing-message {
    font-style: italic;
}

/* Schedule and materials tables */
.schedule-table,
.materials-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.schedule-table th,
.materials-table th {
    background: #2E75B6;
    color: white;
    padding: 12px;
    text-align: left;
}

.schedule-table td,
.materials-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.schedule-table tr:nth-child(even),
.materials-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Final session styling */
.final-session {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border: 2px solid #f39c12;
}