/* Additional CSS for Sports & Physical Education Page */

/* Section Content Styling */
.section-content {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    border-top: 4px solid var(--orange);
}

.section-body {
    padding: 30px;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Info Cards */
.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card h5 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Philosophy Items */
.philosophy-item {
    text-align: center;
    padding: 20px 15px;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    background: rgba(245, 124, 0, 0.1);
    transform: translateY(-3px);
}

.philosophy-item i {
    font-size: 2.5rem;
    display: block;
}

.philosophy-item h6 {
    font-weight: 600;
    color: var(--blue);
    margin: 15px 0 10px 0;
}

/* Notifications Styling */
.notifications-list {
    max-height: 600px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid var(--orange);
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.notification-date {
    background: var(--blue);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-right: 20px;
    min-width: 70px;
}

.date-day {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.notification-content {
    flex: 1;
}

.notification-content h6 {
    margin: 0 0 8px 0;
    color: var(--blue);
    font-weight: 600;
}

.notification-content p {
    margin: 0 0 5px 0;
    color: var(--dark);
}

.badge {
    font-size: 0.75rem;
    padding: 6px 12px;
}

/* Weekly Events */
.weekly-events {
    padding: 0;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.event-item:last-child {
    border-bottom: none;
}

.event-day {
    background: var(--orange);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    min-width: 45px;
    text-align: center;
    margin-right: 15px;
}

.event-details {
    font-size: 0.9rem;
    color: var(--dark);
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    background: var(--orange);
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}

.quick-link-item i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Activity Cards */
.activity-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-top: 4px solid var(--blue);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    background: linear-gradient(135deg, var(--orange), #e65100);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.activity-content h5 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.activity-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
}

.detail-item i {
    margin-right: 5px;
    color: var(--orange);
}

/* Impact Statistics */
.impact-stat {
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.result-item.win {
    border-left: 5px solid #28a745;
}

.result-item.loss {
    border-left: 5px solid #dc3545;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.sport-icon {
    background: var(--blue);
    color: white;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-right: 12px;
}

.sport-name {
    font-weight: 600;
    color: var(--blue);
    flex: 1;
}

.result-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.result-badge.win {
    background: #28a745;
    color: white;
}

.result-badge.loss {
    background: #dc3545;
    color: white;
}

.result-details {
    text-align: center;
}

.match-info {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.score {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 5px;
}

.date {
    font-size: 0.85rem;
    color: #666;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-date {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Video List */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    background: var(--orange);
    color: white;
}

.video-thumbnail {
    background: var(--blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.video-item:hover .video-thumbnail {
    background: white;
    color: var(--orange);
}

.video-info {
    flex: 1;
}

.video-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.video-duration {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Achievement Stats */
.achievement-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-icon {
    margin-right: 15px;
    font-size: 1.2rem;
}

.stat-icon.gold {
    color: #ffd700;
}

.stat-icon.silver {
    color: #c0c0c0;
}

.stat-icon.bronze {
    color: #cd7f32;
}

.stat-icon.trophy {
    color: var(--orange);
}

.stat-text {
    font-weight: 500;
    color: var(--dark);
}

/* Button Styling */
.btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e65100;
    border-color: #e65100;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-body {
        padding: 20px;
    }

    .notification-item {
        flex-direction: column;
        text-align: center;
    }

    .notification-date {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .activity-details {
        justify-content: center;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .stat-number {
        font-size: 2rem;
    }

    .activity-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Facility Cards */
.facility-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left-color: var(--blue);
}

.facility-icon {
    background: linear-gradient(135deg, var(--blue), #004494);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.facility-content h5 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.facility-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.feature-tag {
    background: var(--orange);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.timing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timing-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.timing-list li:last-child {
    border-bottom: none;
}

/* Teams Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card.competitive {
    border-top: 4px solid #28a745;
}

.team-card.recreational {
    border-top: 4px solid var(--orange);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.team-logo {
    background: var(--blue);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.team-card.recreational .team-logo {
    background: var(--orange);
}

.team-info h5 {
    margin: 0 0 5px 0;
    color: var(--blue);
    font-weight: 600;
}

.team-category {
    background: #f8f9fa;
    color: #666;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.team-stats {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    text-align: center;
}

.team-stats .stat-item {
    flex: 1;
}

.team-stats .stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--orange);
    display: block;
}

.team-stats .stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.team-schedule {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.requirements-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

/* Calendar Styling */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.calendar-day.header {
    background: var(--blue);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: default;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.today {
    background: var(--orange);
    color: white;
    font-weight: bold;
}

.calendar-day.event {
    background: rgba(245, 124, 0, 0.1);
    border: 2px solid var(--orange);
}

.calendar-day:hover:not(.header):not(.empty) {
    background: rgba(0, 92, 185, 0.1);
    transform: scale(1.1);
}

.event-item-calendar {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.event-item-calendar:hover {
    background: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.event-date-cal {
    background: var(--blue);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-right: 15px;
    min-width: 60px;
}

.event-date-cal .day {
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.event-date-cal .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-details-cal h6 {
    margin: 0 0 5px 0;
    color: var(--blue);
    font-weight: 600;
}

.event-time {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    color: #666;
}

.event-type {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-type.championship {
    background: #28a745;
    color: white;
}

.event-type.deadline {
    background: #dc3545;
    color: white;
}

.event-type.meeting {
    background: var(--blue);
    color: white;
}

.event-type.special {
    background: var(--orange);
    color: white;
}

.event-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-color.championship {
    background: #28a745;
}

.legend-color.practice {
    background: var(--blue);
}

.legend-color.meeting {
    background: #6c757d;
}

.legend-color.deadline {
    background: #dc3545;
}

.legend-color.special {
    background: var(--orange);
}

.legend-color.maintenance {
    background: #ffc107;
}

/* Contact Sports Styling */
.contact-info-sports {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.staff-member {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.staff-member:last-child {
    border-bottom: none;
}

.staff-photo {
    background: var(--blue);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 2rem;
}

.staff-details h6 {
    margin: 0 0 5px 0;
    color: var(--blue);
    font-weight: 600;
}

.designation {
    color: #666;
    font-style: italic;
    margin: 0 0 10px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item-sports {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.contact-item-sports i {
    color: var(--orange);
    width: 16px;
}

.contact-form-sports {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.office-hours {
    margin-top: 20px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
    border-bottom: none;
}

.emergency-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emergency-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.emergency-type {
    font-weight: 600;
    color: var(--blue);
    font-size: 0.9rem;
}

.emergency-number {
    font-weight: bold;
    color: #dc3545;
    margin-top: 3px;
}

.quick-links-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link-contact {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
}

.quick-link-contact:hover {
    background: var(--orange);
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}

.quick-link-contact i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

@media (max-width: 576px) {
    .philosophy-item {
        margin-bottom: 10px;
    }

    .activity-card {
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .impact-stat {
        padding: 15px 10px;
    }

    .event-day {
        min-width: 40px;
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    .teams-grid {
        grid-template-columns: 1fr;
    }

    .team-stats {
        flex-direction: column;
        gap: 10px;
    }

    .calendar-grid {
        gap: 2px;
    }

    .calendar-day {
        padding: 5px;
        font-size: 0.8rem;
    }

    .staff-member {
        flex-direction: column;
        text-align: center;
    }

    .staff-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .event-legend {
        justify-content: center;
    }
}