/* OTRC Squads Page Styles */

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

/* ===== Hero Section Override ===== */
.squads-hero {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, var(--otrc-navy) 0%, #1a1c3d 100%);
    background-image: url('/images/frontend/images/masters-squad.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.squads-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 37, 80, 0.9) 0%, rgba(26, 28, 61, 0.85) 100%);
    z-index: 1;
}

.squads-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.squads-hero .container {
    position: relative;
    z-index: 2;
}

.squads-hero .hero-content {
    text-align: center;
    color: white;
}

.squads-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.squads-hero .hero-stats .stat-item {
    text-align: center;
}

.squads-hero .hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--otrc-gold);
    margin-bottom: 0.5rem;
}

.squads-hero .hero-stats .stat-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.squads-hero .hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

.squads-hero .hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

@media (max-width: 768px) {
    .squads-hero .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .squads-hero .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .squads-hero .hero-stats .stat-text {
        font-size: 0.8rem;
    }
}

/* ===== Squad Cards ===== */
.squad-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.squad-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.squad-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.squad-card:hover .squad-card-image img {
    transform: scale(1.1);
}

.squad-card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
}

.squad-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--otrc-gold) 0%, #e5c157 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-right: 1rem;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.squad-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.squad-header-content {
    flex: 1;
}

.squad-card-header h3 {
    color: var(--otrc-navy);
    font-size: 1.5rem;
    margin: 0 0 0.25rem 0;
    font-weight: 700;
}

.squad-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--otrc-gold);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.squad-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.squad-card-body p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.squad-features {
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #475569;
}

.feature-item i {
    color: var(--otrc-gold);
    margin-right: 0.75rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.squad-links {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.squad-links .btn {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.squad-links .btn-outline-primary {
    color: var(--otrc-navy);
    border-color: var(--otrc-navy);
}

.squad-links .btn-outline-primary:hover {
    background: var(--otrc-navy);
    border-color: var(--otrc-navy);
    color: white;
    transform: translateX(5px);
}

/* ===== Adaptive Section ===== */
.adaptive-section {
    padding: 3rem 0;
}

.adaptive-card {
    background: linear-gradient(135deg, var(--otrc-navy) 0%, #1a1c3d 100%);
    border-radius: 16px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.adaptive-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    color: var(--otrc-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.award-badge i {
    font-size: 1.2rem;
}

.adaptive-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.adaptive-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
}

.adaptive-content .feature-item {
    color: rgba(255, 255, 255, 0.95);
}

.adaptive-content .feature-item i {
    color: var(--otrc-gold);
}

.adaptive-icon {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 4rem;
    color: var(--otrc-gold);
    border: 3px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.squad-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--otrc-gold);
    color: #64748b;
    font-size: 0.95rem;
}

.squad-highlight i {
    color: var(--otrc-gold);
    margin-right: 0.5rem;
}

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

.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;
}

.cta-buttons .btn-light {
    background: white;
    color: var(--otrc-navy);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.cta-buttons .btn-light:hover {
    background: var(--otrc-gold);
    color: white;
    transform: translateY(-3px);
}

.cta-buttons .btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.cta-buttons .btn-outline-light:hover {
    background: white;
    color: var(--otrc-navy);
    transform: translateY(-3px);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .squad-card-header {
        padding: 1.5rem;
    }
    
    .squad-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .squad-card-header h3 {
        font-size: 1.25rem;
    }
    
    .squad-card-body {
        padding: 1.5rem;
    }
    
    .adaptive-card {
        padding: 2rem 1.5rem;
    }
    
    .adaptive-icon {
        width: 120px;
        height: 120px;
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .squad-links .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .squad-links .btn:last-child {
        margin-bottom: 0;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
}