/**
 * Modern Country Tabs Design
 * Cezayir Hakkında bölümü tab içerikleri için modern tasarım
 */

/* =========================== */
/* TAB CONTENT MODERN STYLES   */
/* =========================== */

/* Tab pane base styling */
.country .tab-pane {
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* Typography improvements */
.country .tab-pane h4 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.country .tab-pane h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--vtc-primary-color) 0%, var(--vtc-secondary-color) 100%);
    border-radius: 2px;
}

.country .tab-pane h5 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.country .tab-pane h6 {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
}

.country .tab-pane p {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
}

.country .tab-pane .lead {
    font-size: 18px;
    font-weight: 500;
    color: #475569;
}

/* =========================== */
/* GENEL BILGILER TAB          */
/* =========================== */

/* Info list styling */
.country .tab-pane ul.list-unstyled li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.country .tab-pane ul.list-unstyled li:last-child {
    border-bottom: none;
}

.country .tab-pane ul.list-unstyled li:hover {
    padding-left: 10px;
    background: linear-gradient(90deg, rgba(var(--vtc-primary-color-rgb), 0.05) 0%, transparent 100%);
}

.country .tab-pane ul.list-unstyled li i {
    font-size: 20px;
    width: 35px;
    text-align: center;
    flex-shrink: 0;
}

/* Alert box modern style */
.country .alert {
    border: none;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.country .alert-info {
    background: linear-gradient(135deg, rgba(var(--vtc-primary-color-rgb), 0.1) 0%, rgba(var(--vtc-primary-color-rgb), 0.05) 100%);
    border-left: 4px solid var(--vtc-primary-color);
}

.country .alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9e6 100%);
    border-left: 4px solid #f59e0b;
}

.country .alert-success {
    background: linear-gradient(135deg, rgba(var(--vtc-accent-color-rgb), 0.1) 0%, rgba(var(--vtc-accent-color-rgb), 0.05) 100%);
    border-left: 4px solid var(--vtc-accent-color);
}

/* =========================== */
/* SEHIRLER TAB                */
/* =========================== */

.city-card {
    background: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--vtc-primary-color) 0%, var(--vtc-secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(var(--vtc-primary-color-rgb), 0.15);
}

.city-card:hover::before {
    transform: scaleX(1);
}

.city-card h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.city-card p {
    margin-bottom: 10px;
    font-size: 15px;
}

/* =========================== */
/* PARA BIRIMI TAB             */
/* =========================== */

.currency-info-box {
    background: linear-gradient(135deg, rgba(var(--vtc-primary-color-rgb), 0.05) 0%, rgba(var(--vtc-primary-color-rgb), 0.02) 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.currency-info-box::after {
    content: '₴';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    color: rgba(var(--vtc-primary-color-rgb), 0.1);
    transform: rotate(-15deg);
}

.currency-info-box ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods {
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.payment-methods h6 {
    color: var(--vtc-primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

/* =========================== */
/* IKLIM TAB                   */
/* =========================== */

.climate-card {
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.climate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.climate-card i.fa-2x {
    display: block;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.climate-card h5 {
    color: #1e293b !important;
    font-weight: 700;
    margin-bottom: 20px;
}

.climate-card ul {
    text-align: left;
}

.climate-card ul li {
    color: #334155 !important;
    margin-bottom: 8px;
}

/* =========================== */
/* DIL VE DIN TAB              */
/* =========================== */

.language-card,
.religion-card {
    border-radius: 16px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.language-card::before,
.religion-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* Progress bars */
.progress {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 1s ease-in-out;
    border-radius: 10px;
}

/* Cultural info box */
.cultural-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    position: relative;
}

.cultural-info h6 {
    color: var(--vtc-primary-color);
    font-weight: 600;
}

/* =========================== */
/* ULASIM TAB                  */
/* =========================== */

.transport-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.flight-card,
.airport-card {
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.flight-card:hover,
.airport-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--vtc-primary-color-rgb), 0.2);
}

.flight-card table {
    font-size: 14px;
}

.flight-card table td {
    padding: 8px 5px;
}

.transport-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.transport-card h6 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.transport-card ul li {
    padding: 5px 0;
    font-size: 14px;
}

/* =========================== */
/* RESPONSIVE ADJUSTMENTS      */
/* =========================== */

@media (max-width: 991px) {
    .country .tab-pane {
        padding: 30px;
    }
    
    .country .tab-pane h4 {
        font-size: 26px;
    }
    
    .climate-card {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .country .tab-pane {
        padding: 20px;
        border-radius: 16px;
    }
    
    .country .tab-pane h4 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .country .tab-pane h5 {
        font-size: 18px;
    }
    
    .country .tab-pane p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .city-card,
    .currency-info-box,
    .climate-card {
        margin-bottom: 15px;
    }
    
    .transport-section {
        padding: 20px;
    }
    
    .flight-card table {
        font-size: 12px;
    }
    
    .progress {
        height: 8px;
    }
}

/* =========================== */
/* ANIMATIONS & INTERACTIONS   */
/* =========================== */

/* Fade in animation for tab content */
.tab-pane.show {
    animation: tabFadeIn 0.5s ease;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for interactive elements */
.country .tab-pane a {
    color: var(--vtc-primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.country .tab-pane a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vtc-primary-color);
    transition: width 0.3s ease;
}

.country .tab-pane a:hover::after {
    width: 100%;
}

/* Icon animations */
.country .tab-pane i {
    transition: all 0.3s ease;
}

.country .tab-pane h4 i,
.country .tab-pane h5 i,
.country .tab-pane h6 i {
    display: inline-block;
}

.country .tab-pane *:hover > i {
    transform: scale(1.1) rotate(5deg);
}

/* =========================== */
/* CUSTOM SCROLLBAR            */
/* =========================== */

.country .tab-content {
    scrollbar-width: thin;
    scrollbar-color: var(--vtc-primary-color) #f1f1f1;
}

.country .tab-content::-webkit-scrollbar {
    width: 8px;
}

.country .tab-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.country .tab-content::-webkit-scrollbar-thumb {
    background: var(--vtc-primary-color);
    border-radius: 10px;
}

.country .tab-content::-webkit-scrollbar-thumb:hover {
    background: var(--vtc-secondary-color);
}