
.regions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Görseller arası boşluk */
    justify-content: center;
    padding: 20px;
}

.region-card {
    position: relative;
    width: calc(16.66% - 15px); /* 6 tanesinin yan yana durması için */
    aspect-ratio: 1 / 1; /* Kare formunda kalmasını sağlar */
    overflow: hidden;
    border-radius: 8px;
    display: block;
    text-decoration: none;
}

/* Mobilde görsellerin 2'şerli görünmesi için */
@media (max-width: 768px) {
    .region-card {
        width: calc(50% - 15px);
    }
}

.region-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görselin bozulmadan kareye sığmasını sağlar */
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Üzerine gelince kararır */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Normalde görünmez */
    transition: opacity 0.3s ease;
}

.overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid white;
    padding: 10px 15px;
}

/* Hover (Mouse ile üzerine gelince) Efektleri */
.region-card:hover .overlay {
    opacity: 1; /* Yazı ve karartma görünür */
}

.region-card:hover img {
    transform: scale(1.1); /* Görsel hafifçe büyür */
}

.map-container {
    display: flex;             /* Esnek kutu yapısı */
    justify-content: center;    /* Yatayda ortalar */
    align-items: center;        /* Dikeyde ortalar */
    width: 100%;               /* Genişliği tam kaplar */
}

.map-container svg {
    max-width: 100%;           /* Taşıyıcıdan dışarı taşmaz */
    height: auto;              /* Oranını korur */
}

 .weather-ticker-container {
     width: 100%;
     overflow: hidden; /* Dışarı taşanları gizler */
     background: #1a1a1a; /* Koyu, modern bir arka plan */
     color: #ffffff;
     padding: 10px 0;
     border-bottom: 2px solid #e74c3c; /* Altına ince renkli bir çizgi */
     font-family: 'Segoe UI', sans-serif;
 }

.weather-ticker {
    display: flex;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    flex-shrink: 0;
    animation: ticker-scroll 30s linear infinite; /* Kayma hızı: 30s */
}

.ticker-item {
    padding: 0 40px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.ticker-item b {
    color: #f1c40f; /* Bölge isimleri sarı olsun */
    text-transform: uppercase;
}

/* Mouse ile üzerine gelince durmasını istersen */
.weather-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* Kayma Animasyonu */
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

 .currency-wrapper {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-bottom: 20px;
 }

.currency-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.currency-card:hover {
    transform: translateY(-3px);
    border-color: #3498db;
}

.currency-info {
    display: flex;
    flex-direction: column;
}

.currency-name {
    font-size: 10px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
}

.currency-value {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* Trend Okları */
.currency-trend {
    font-size: 12px;
}
.up { color: #2ecc71; }   /* Yeşil */
.down { color: #e74c3c; } /* Kırmızı */


 .ai-travel-section { padding: 40px 0; font-family: 'Poppins', sans-serif; }
.ai-card {
    background: #fff; border-radius: 20px; padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: 1px solid #eee;
    max-width: 900px; margin: 0 auto;
}
.ai-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.ai-icon { font-size: 24px; background: #f0f0ff; padding: 10px; border-radius: 50%; }
.ai-header h3 { margin: 0; color: #333; }

.ai-form-grid { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 15px; align-items: end; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: #666; margin-bottom: 8px; }
.form-group input, .form-group select {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 10px; font-size: 14px;
}
.ai-btn {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe); color: white; border: none;
    padding: 13px 25px; border-radius: 10px; cursor: pointer; font-weight: bold; transition: 0.3s;
}
.ai-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4); }

/* Sonuç Alanı Stili */
.ai-result {
    margin-top: 30px; padding: 25px; background: #f8faff; border-radius: 15px;
    border-left: 5px solid #6c5ce7; min-height: 100px;
}
.loader-container { text-align: center; color: #6c5ce7; }
.spinner {
    width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid #6c5ce7;
    border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 10px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.ai-text-content { line-height: 1.8; color: #444; font-size: 15px; }
.ai-text-content b { color: #6c5ce7; }

/* Mobil Uyum */
@media (max-width: 768px) { .ai-form-grid { grid-template-columns: 1fr; } }

.kktc-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* Merkeze hizalar */
    padding: 20px 0;
}

.kktc-announcement-box {
    width: 90%; /* Mobilde kenarlardan pay bırakır */
    max-width: 1200px; /* Slider'ınızın genişliği neyse buraya onu yazın */
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #00be64; /* KKTC Kırmızısı */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.kktc-announcement-title {
    padding: 15px 20px;
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    color: #00be64;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kktc-announcement-content {
    display: flex;
    flex-direction: column;
}

.kktc-entry {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s ease;
}

.kktc-entry:hover {
    background-color: #fff5f5;
}

.entry-date {
    font-weight: 600;
    color: #00be64;
    min-width: 100px;
    font-size: 0.9rem;
}

.entry-text {
    flex-grow: 1; /* Metnin ortadaki boşluğu kaplamasını sağlar */
    font-size: 0.95rem;
    padding: 0 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Çok uzun metinleri "..." yapar */
}

.entry-arrow {
    color: #ccc;
    font-weight: bold;
}

.kktc-announcement-footer {
    padding: 12px;
    text-align: right;
}

.kktc-announcement-footer a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
}

.kktc-announcement-footer a:hover {
    color: #00be64;
}

/* Mobil uyum: Ekran küçüldüğünde tarih ve metni alt alta alır */
@media (max-width: 600px) {
    .kktc-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .entry-text {
        padding: 0;
        white-space: normal;
    }
}

.ticker-window {
    height: 175px;
    overflow: hidden;
    position: relative;
    display: block !important;
}

.v-ticker-shifter {
    display: flex;
    flex-direction: column;
    animation: v-scroll-announcement 15s linear infinite;
}

.v-ticker-group {
    display: flex;
    flex-direction: column;
}

/* Mouse gelince durması için */
.ticker-window:hover .v-ticker-shifter {
    animation-play-state: paused;
}

/* Animasyon: İçeriği kendi boyutu kadar yukarı kaydırır */
@keyframes v-scroll-announcement {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.kktc-entry {
    min-height: 60px; /* Her satırın yüksekliği eşit olmalı */
    flex-shrink: 0;   /* Satırların dikeyde ezilmesini önler */
}
