/* ============================================
   ShHT Olimpiyadalari Page - Specific Styles
   Orange/Amber International Theme
   ============================================ */

.sht-olimpiyadalari-page {
    --comp-primary: #f59e0b;
    --comp-secondary: #fb923c;
    --comp-accent: #fbbf24;
    --comp-success: #22c55e;
    --comp-dark: #78350f;
}

/* Loading Animation */
.sht-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sht-loader-svg {
    animation: shtPulse 2s ease-in-out infinite;
}

@keyframes shtPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.6)); }
}

/* Hero SVG */
.sht-hero-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.15));
    animation: shtSvgFloat 6s ease-in-out infinite;
}

@keyframes shtSvgFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
}

.sht-olimpiyadalari-page .hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sht-olimpiyadalari-page .hero-content {
    position: relative;
    z-index: 3;
    overflow: visible;
}

.sht-olimpiyadalari-page .hero-title {
    position: relative;
    z-index: 3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 992px) {
    .sht-hero-svg { max-width: 380px; }
}

@media (max-width: 768px) {
    .sht-hero-svg { max-width: 300px; }
}

/* Hero Background Override */
.sht-olimpiyadalari-page .competition-hero .hero-bg-effects::before {
    background: radial-gradient(ellipse at 30% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(251, 146, 60, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
}

/* Orb overrides */
.sht-olimpiyadalari-page .orb-1 { background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent 70%); }
.sht-olimpiyadalari-page .orb-2 { background: radial-gradient(circle, rgba(251, 146, 60, 0.25), transparent 70%); }
.sht-olimpiyadalari-page .orb-3 { background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 70%); }

/* Theme Overrides */
.sht-olimpiyadalari-page .section-tag { color: var(--comp-primary); border-color: rgba(245, 158, 11, 0.3); }
.sht-olimpiyadalari-page .section-tag svg { color: var(--comp-primary); }
.sht-olimpiyadalari-page .badge-category { background: rgba(245, 158, 11, 0.15); color: var(--comp-primary); border: 1px solid rgba(245, 158, 11, 0.3); }
.sht-olimpiyadalari-page .stat-item .stat-value { color: var(--comp-primary); }
.sht-olimpiyadalari-page .stat-item::before { background: var(--comp-primary); }
.sht-olimpiyadalari-page .goal-card::before { background: linear-gradient(135deg, var(--comp-primary), var(--comp-secondary)); }
.sht-olimpiyadalari-page .goal-card .goal-icon { color: var(--comp-primary); }
.sht-olimpiyadalari-page .info-card-header svg { color: var(--comp-primary); }
.sht-olimpiyadalari-page .info-card.highlight { border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.05); }
.sht-olimpiyadalari-page .info-card.highlight .info-card-header svg { color: var(--comp-accent); }

/* Button overrides */
.sht-olimpiyadalari-page .btn-primary {
    background: linear-gradient(135deg, var(--comp-primary), var(--comp-secondary));
    border-color: var(--comp-primary);
}
.sht-olimpiyadalari-page .btn-primary:hover {
    background: linear-gradient(135deg, var(--comp-secondary), var(--comp-primary));
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
}
.sht-olimpiyadalari-page .btn-glow::after {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 70%);
}

/* ============ Overview Section ============ */
.sht-olimpiyadalari-page .overview-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.sht-olimpiyadalari-page .overview-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sht-olimpiyadalari-page .overview-text {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(251, 146, 60, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 20px;
    padding: 32px;
}

.sht-olimpiyadalari-page .overview-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sht-olimpiyadalari-page .overview-text h3::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, var(--comp-primary), var(--comp-secondary));
    border-radius: 2px;
}

.sht-olimpiyadalari-page .overview-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.sht-olimpiyadalari-page .overview-text p:last-child {
    margin-bottom: 0;
}

.sht-olimpiyadalari-page .overview-text strong {
    color: var(--comp-primary);
}

/* Goal Cards Grid */
.sht-olimpiyadalari-page .goal-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sht-olimpiyadalari-page .goal-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.sht-olimpiyadalari-page .goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--comp-primary), var(--comp-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sht-olimpiyadalari-page .goal-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
    transform: translateY(-3px);
}

.sht-olimpiyadalari-page .goal-card:hover::before {
    opacity: 1;
}

.sht-olimpiyadalari-page .goal-card .goal-icon {
    position: relative;
    top: auto;
    right: auto;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 146, 60, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 14px;
    color: var(--comp-primary);
    transition: all 0.3s ease;
}

.sht-olimpiyadalari-page .goal-card:hover .goal-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(251, 146, 60, 0.15));
    transform: scale(1.05);
}

.sht-olimpiyadalari-page .goal-card .goal-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--comp-primary);
}

.sht-olimpiyadalari-page .goal-content {
    flex: 1;
}

.sht-olimpiyadalari-page .goal-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.sht-olimpiyadalari-page .goal-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Info Cards Row */
.sht-olimpiyadalari-page .overview-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sht-olimpiyadalari-page .info-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sht-olimpiyadalari-page .info-card:hover {
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.03);
}

.sht-olimpiyadalari-page .info-card.highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(251, 146, 60, 0.03));
    border-color: rgba(245, 158, 11, 0.3);
}

.sht-olimpiyadalari-page .info-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sht-olimpiyadalari-page .info-card-header svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 6px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    color: var(--comp-primary);
    box-sizing: content-box;
}

.sht-olimpiyadalari-page .info-card.highlight .info-card-header svg {
    background: rgba(251, 191, 36, 0.15);
    color: var(--comp-accent);
}

.sht-olimpiyadalari-page .info-card-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.sht-olimpiyadalari-page .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sht-olimpiyadalari-page .info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sht-olimpiyadalari-page .info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sht-olimpiyadalari-page .info-list li strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Overview Responsive */
@media (max-width: 1200px) {
    .sht-olimpiyadalari-page .overview-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .sht-olimpiyadalari-page .overview-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
    .sht-olimpiyadalari-page .goal-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sht-olimpiyadalari-page .overview-sidebar {
        grid-template-columns: 1fr;
    }
    .sht-olimpiyadalari-page .goal-cards {
        grid-template-columns: 1fr;
    }
    .sht-olimpiyadalari-page .overview-text {
        padding: 24px;
    }
    .sht-olimpiyadalari-page .overview-text h3 {
        font-size: 1.25rem;
    }
}

/* Countries Section */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

.country-card.highlight {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.country-flag {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.country-card:hover .country-flag {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.2), 0 0 15px rgba(245, 158, 11, 0.1);
    transform: scale(1.08);
}

.country-card.highlight .country-flag {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25), 0 0 20px rgba(245, 158, 11, 0.1);
}

.flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.country-info {
    text-align: center;
}

.country-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.country-status {
    font-size: 0.75rem;
    color: var(--comp-primary);
    opacity: 0.8;
}

.countries-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 146, 60, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
}

.country-stat {
    text-align: center;
}

.country-stat .stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--comp-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.country-stat .stat-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--comp-primary), var(--comp-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    color: var(--comp-primary);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: rgba(245, 158, 11, 0.2);
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--comp-primary);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 20px;
}

/* Stages Section */
.stages-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.stages-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--comp-primary), var(--comp-secondary));
    transform: translateX(-50%);
}

.stage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
}

.stage-item:last-child {
    margin-bottom: 0;
}

.stage-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 40px);
}

.stage-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 40px);
}

.stage-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--comp-primary), var(--comp-secondary));
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    z-index: 2;
}

.stage-content {
    flex: 1;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stage-content:hover {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

.stage-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    color: var(--comp-primary);
    margin-bottom: 16px;
}

.stage-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stage-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.stage-time {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--comp-primary);
    background: rgba(245, 158, 11, 0.1);
    border-radius: 20px;
}

/* CTA Section Override */
.sht-olimpiyadalari-page .cta-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 146, 60, 0.05));
}

.sht-olimpiyadalari-page .cta-content {
    border-color: rgba(245, 158, 11, 0.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .countries-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .countries-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .countries-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stages-timeline::before {
        left: 25px;
    }
    .stage-item:nth-child(odd),
    .stage-item:nth-child(even) {
        flex-direction: row;
        padding: 0 0 0 80px;
    }
    .stage-number {
        left: 0;
        transform: none;
    }
}

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .country-card {
        padding: 20px 12px;
    }
    .country-flag {
        width: 56px;
        height: 56px;
        border-width: 2px;
    }
    .country-stat .stat-number {
        font-size: 1.75rem;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .category-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .countries-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    .country-stat .stat-number {
        font-size: 1.5rem;
    }
    .stage-content {
        padding: 16px;
    }
}
