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

:root {
    --primary-color: #00C9A7;
    --secondary-color: #845EC2;
    --accent-color: #FF6F91;
    --dark-bg: #0A0E27;
    --light-bg: #F8F9FB;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --sport: #00A56B;
    --seminar: #FF927F;
    --meeting: #00784B;
    --social: #FF9FFF;
    --meal: #7FCAFF;
    --prayer: #C99BFF;
    --other: #2E2F69;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #00C9A7 0%, #845EC2 100%);
}

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

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

/* Header Styles */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

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

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

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

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* Schedule Section */
.schedule-section {
    padding: 4rem 0;
    background: var(--white);
}

.schedule-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.schedule-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.schedule-container {
    display: grid;
    gap: 1rem;
}

.schedule-day {
    margin-bottom: 2rem;
}

.day-header {
    background: var(--gradient-2);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.day-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
}

.event-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.event-item:hover {
    transform: translateX(5px);
}

.event-time {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.event-type {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--seminar);
    color: var(--white);
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.event-type.Seminar {
    background: var(--seminar);
}

.event-type.Sport {
    background: var(--sport);
}

.event-type.Meeting {
    background: var(--meeting);
}

.event-type.Prayer {
    background: var(--prayer);
}

.event-type.Meal {
    background: var(--meal);
}

.event-type.Social {
    background: var(--social);
}

.event-type.Other {
    background: var(--other);
}

.seminar-grid {
    display: grid;
    gap: 1.5rem;
}

.seminar-card {
    background: #f9f9ff;
    border-left: 4px solid var(--seminar);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.seminar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.seminar-time,
.seminar-speaker,
.seminar-location,
.seminar-desc {
    margin: 0.2rem 0;
    color: var(--text-dark);
}

.sports-info {
    background: #eafcf9;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--sport);
}

.sport-section {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    color: var(--sport);
}

.sport-item {
    margin-left: 1rem;
    font-weight: 500;
}

.sport-detail {
    margin-top: 1rem;
    margin-left: 1rem;
    color: var(--text-light);
}

/* Teams Section */
.teams-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.teams-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.team-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.team-members {
    text-align: left;
    margin-top: 1rem;
}

.team-member {
    margin: 2px 0;
}

.team-member.bold {
    font-weight: bold;
}

.teams-links {
    text-align: center;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: var(--white);
}

.map-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    text-align: center;
}

.map-container img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: zoom-in;
}

.map-instruction {
    margin-top: 1rem;
    color: var(--text-light);
    font-style: italic;
}

/* Links Section */
.links-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.links-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

.link-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.link-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.link-card h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Footer */
.main-footer {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 2000;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 80px 30px;
    gap: 2rem;
}

.mobile-menu nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Add these styles to your existing styles.css */

/* Teams filter styles */
.teams-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.team-filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.team-filter-btn.active,
.team-filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Odiholton schedule styles */
.odiholton-schedule {
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 2px solid #e0f2ff;
}

.odiholton-event {
    margin: 0.5rem 0;
    padding: 0.3rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.odiholton-event:last-child {
    border-bottom: none;
}

.odiholton-event .time {
    font-weight: 600;
    color: var(--primary-color);
}

.odiholton-event .location {
    color: var(--text-light);
    font-style: italic;
}

/* Seminar and Sport buttons */
.seminar-details-btn,
.sport-details-btn {
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.sport-details-btn {
    background: var(--sport);
}

.seminar-details-btn:hover,
.sport-details-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Info modal styles */
.info-modal {
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    margin: 20px;
}

.close-info-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
}

.close-info-modal:hover {
    color: #000;
}

.info-modal-body {
    margin-top: 1rem;
}

/* Duty instructions link */
.duty-instructions-link {
    text-align: center;
    margin-top: 2rem;
}

/* Duty instructions page styles */
.duty-instructions {
    padding: 4rem 0;
    background: var(--white);
}

.duty-instructions h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.duty-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
}

.duty-section {
    margin-bottom: 2rem;
}

.duty-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.duty-section li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.duty-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.duty-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.duty-note p {
    margin: 0;
    font-style: italic;
    color: #856404;
}

.duty-teams-block {
    margin-top: 3rem;
}

.duty-team-assignments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.duty-day-block {
    color: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-weight: bold;
    text-align: center;
}


/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .schedule-filters {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}
