/* Individual Squad Page Styles - Updated */

:root {
    --otrc-navy: #212550;
    --otrc-gold: #d4af37;
    --otrc-light: #f8f9fa;
    --otrc-gray: #6c757d;
}

/* Hero Section */
.squad-individual-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--otrc-navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--otrc-gold);
}

.breadcrumb-item.active {
    color: var(--otrc-gold);
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-card h2 {
    color: var(--otrc-navy);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--otrc-gold);
}

.content-card h2 i {
    color: var(--otrc-gold);
}

.content-card h3 {
    color: var(--otrc-navy);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-card ul {
    color: #64748b;
    line-height: 1.8;
}

.content-card ul li {
    margin-bottom: 0.5rem;
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.sidebar-card h3 {
    color: var(--otrc-navy);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--otrc-gold);
}

.sidebar-card h3 i {
    color: var(--otrc-gold);
}

.sidebar-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #475569;
}

.info-list li i {
    color: var(--otrc-gold);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.info-list li span {
    flex: 1;
    line-height: 1.6;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    margin-top: 1rem;
}

.schedule-table th {
    background: var(--otrc-navy);
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
}

.schedule-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    color: #475569;
}

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

.schedule-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.schedule-badge.water {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.schedule-badge.gym {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.schedule-badge.ergo {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

/* Achievement Cards */
.achievement-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    transform: translateX(5px);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--otrc-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.achievement-content {
    flex: 1;
}

.achievement-content h4 {
    color: var(--otrc-navy);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.achievement-content p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Equipment List */
.equipment-list {
    list-style: none;
    padding: 0;
}

.equipment-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
}

.equipment-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--otrc-gold);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--otrc-navy) 0%, #1a1c3d 100%);
    padding: 4rem 0;
    margin-top: 3rem;
}

.cta-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-card {
        padding: 1.5rem;
    }

    .content-card h2 {
        font-size: 1.5rem;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Hide table on mobile and show schedule cards instead */
    .schedule-table-wrapper {
        display: none !important;
    }

    .schedule-cards-mobile {
        display: block !important;
    }
}

/* Schedule Cards for Mobile */
.schedule-cards-mobile {
    display: none;
}

.schedule-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--otrc-navy);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.schedule-card .day-header {
    font-weight: 700;
    color: var(--otrc-navy);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.schedule-card .session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.schedule-card .session-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.schedule-card .session-time {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
}

.schedule-card .session-type {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.schedule-card .session-type.water {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.schedule-card .session-type.gym {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.schedule-card .session-type.ergo {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.schedule-card .session-details {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
    padding-left: 0.5rem;
}

/* Desktop - show table by default */
.schedule-table-wrapper {
    display: block;
}

@media (max-width: 480px) {
    .content-card {
        padding: 1.25rem;
    }

    .sidebar-card {
        padding: 1.25rem;
    }

    .schedule-card {
        padding: 1rem;
    }

    .schedule-card .day-header {
        font-size: 1rem;
    }
}