/* Markets Page Styles */

/* Hero Section */
.markets-hero {
    padding: 120px 0 80px;
    background: #ffffff;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.markets-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.markets-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.markets-hero-subtitle {
    font-size: 1.3rem;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Country Overview */
.country-overview {
    padding: 80px 0;
    background: #ffffff;
}

.country-tabs {
    margin-top: 4rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    transition: left 0.3s ease;
    z-index: 0;
}

.tab-btn:hover::before,
.tab-btn.active::before {
    left: 0;
}

.tab-btn:hover,
.tab-btn.active {
    color: #ffffff;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.tab-btn:hover,
.tab-btn.active {
    position: relative;
    z-index: 1;
}

.tab-btn:hover *,
.tab-btn.active * {
    color: #ffffff !important;
    position: relative;
    z-index: 2;
}

.tab-content {
    position: relative;
}

.country-tab {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.country-tab.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.country-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border: 2px solid #000000;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.country-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
}

.country-flag {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.country-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.country-subtitle {
    font-size: 1.2rem;
    color: #d4af37;
    font-weight: 500;
    margin: 0;
}

.country-details {
    margin-top: 2rem;
}

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

.detail-item {
    padding: 2rem;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    transition: width 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.detail-item:hover::before {
    width: 8px;
}

.detail-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.markets-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    text-align: center;
}

.markets-cta .cta-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .markets-hero-title {
        font-size: 2.5rem;
    }
    
    .markets-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .country-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .country-info h3 {
        font-size: 2rem;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}


