/* ================================================
   İSLAMİ FÜTÜRİST - DÜNYA VAKİTLER CSS
   Şehir ve İlçe Sayfaları İçin Özel Tasarım
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Orbitron:wght@400;600;700;900&family=Cairo:wght@300;400;600;700&display=swap');

:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #FFD700;
    --deep-blue: #0A1628;
    --space-blue: #1A2F4F;
    --accent-teal: #40E0D0;
    --neon-cyan: #00D9FF;
    --soft-white: #F5F5DC;
    --prayer-active: #00FFB3;
    --kerahat-warning: #FF3366;
    --glow-intensity: 0 0 30px;
}

/* ============================================
   GENEL AYARLAR
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: radial-gradient(ellipse at top, var(--deep-blue), #000814);
    color: var(--soft-white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animasyonlu Yıldız Arka Planı */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 60px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 90px 10px, white, transparent);
    background-size: 200px 200px;
    animation: starfield 200s linear infinite;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

@keyframes starfield {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

/* Geometrik İslami Pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(212, 175, 55, 0.02) 100px, rgba(212, 175, 55, 0.02) 101px),
        repeating-linear-gradient(-45deg, transparent, transparent 100px, rgba(64, 224, 208, 0.02) 100px, rgba(64, 224, 208, 0.02) 101px);
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================
   BREADCRUMB - FUTURISTIC
   ============================================ */
nav[aria-label="breadcrumb"] {
    background: linear-gradient(135deg, rgba(26, 47, 79, 0.6), rgba(10, 22, 40, 0.6));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 15px 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

nav[aria-label="breadcrumb"] ol {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.95rem;
    color: #94A3B8;
    margin: 0;
}

nav[aria-label="breadcrumb"] a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 5px 10px;
    border-radius: 8px;
}

nav[aria-label="breadcrumb"] a:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
    text-shadow: 0 0 10px var(--primary-gold);
}

nav[aria-label="breadcrumb"] li:last-child {
    color: var(--primary-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ============================================
   HERO SECTIONS - ŞEHİR & İLÇE
   ============================================ */
.city-hero,
.district-hero {
    background: linear-gradient(135deg, rgba(26, 127, 100, 0.95) 0%, rgba(13, 89, 67, 0.95) 100%);
    border: 3px solid var(--primary-gold);
    border-radius: 30px;
    padding: 60px 30px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 50px rgba(212, 175, 55, 0.2),
        var(--glow-intensity) var(--primary-gold);
}

/* Animasyonlu Scan Efekti */
.city-hero::before,
.district-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    animation: hero-scan 8s linear infinite;
}

@keyframes hero-scan {
    0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(360deg); }
}

/* Köşe Süslemeleri */
.city-hero::after,
.district-hero::after {
    content: '☪';
    position: absolute;
    font-size: 120px;
    color: rgba(212, 175, 55, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -60%) scale(1.1); }
}

.city-hero h1,
.district-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold), #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
}

.city-hero .subtitle,
.district-hero .location {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4rem;
    color: var(--accent-teal);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 15px rgba(64, 224, 208, 0.6);
    letter-spacing: 2px;
}

/* ============================================
   ÖNEMLI BİLGİ KUTUSU (İlçe Vakit Farkı)
   ============================================ */
.info-notice {
    background: linear-gradient(135deg, rgba(255, 243, 205, 0.15), rgba(255, 232, 161, 0.15));
    border: 2px solid #FFC107;
    border-left: 6px solid #FFC107;
    border-radius: 20px;
    padding: 25px 30px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(255, 193, 7, 0.3),
        inset 0 0 30px rgba(255, 193, 7, 0.1);
}

.info-notice::before {
    content: '⚡';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    opacity: 0.2;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.2; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.4; transform: translateY(-50%) scale(1.1); }
}

.info-notice p {
    color: #FFD700;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.info-notice strong {
    color: #FFF;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* ============================================
   NAMAZ VAKİTLERİ BÖLÜMÜ
   ============================================ */
.prayer-section {
    background: linear-gradient(135deg, rgba(26, 47, 79, 0.95) 0%, rgba(10, 22, 40, 0.95) 100%);
    border: 2px solid var(--accent-teal);
    border-radius: 30px;
    padding: 50px 40px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(64, 224, 208, 0.1);
    backdrop-filter: blur(15px);
}

/* Parıltı Efekti */
.prayer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary-gold);
}

/* ============================================
   TARİH BİLGİSİ
   ============================================ */
.date-info {
    text-align: center;
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.date-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
    animation: date-glow 2s ease-in-out infinite;
}

@keyframes date-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.date-info h3 {
    color: var(--soft-white);
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.hijri-date {
    color: var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* ============================================
   NAMAZ KARTLARI - GRİD
   ============================================ */
.prayer-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.prayer-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Kart Hover Efekti */
.prayer-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.prayer-card:hover::before {
    width: 300px;
    height: 300px;
}

.prayer-card:hover {
    transform: translateY(-15px) scale(1.08);
    border-color: var(--primary-gold);
    box-shadow: 
        0 20px 50px rgba(212, 175, 55, 0.5),
        0 0 30px var(--primary-gold);
}

.prayer-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.6);
}

.prayer-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    letter-spacing: 3px;
}

/* ============================================
   İLÇELER BÖLÜMÜ
   ============================================ */
.districts-section {
    margin-top: 50px;
    position: relative;
}

.districts-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-teal);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(64, 224, 208, 0.3);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(64, 224, 208, 0.5);
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.district-card {
    background: linear-gradient(135deg, rgba(26, 47, 79, 0.8), rgba(10, 22, 40, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-left: 5px solid var(--accent-teal);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.district-card::before {
    content: '→';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-gold);
    transition: right 0.3s;
    opacity: 0;
}

.district-card:hover {
    background: linear-gradient(135deg, rgba(26, 127, 100, 0.6), rgba(13, 89, 67, 0.7));
    border-color: var(--primary-gold);
    transform: translateX(10px);
    box-shadow: 
        0 10px 30px rgba(64, 224, 208, 0.3),
        -5px 0 20px var(--accent-teal);
}

.district-card:hover::before {
    right: 15px;
    opacity: 1;
}

.district-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--soft-white);
    margin-bottom: 8px;
    font-family: 'Cairo', sans-serif;
}

.district-info {
    font-size: 0.9rem;
    color: var(--accent-teal);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.no-districts {
    text-align: center;
    padding: 60px 40px;
    color: #94A3B8;
    background: linear-gradient(135deg, rgba(26, 47, 79, 0.5), rgba(10, 22, 40, 0.5));
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 1.1rem;
}

/* ============================================
   BİLGİ KARTLARI GRİD
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.info-card {
    background: linear-gradient(135deg, rgba(26, 47, 79, 0.8), rgba(10, 22, 40, 0.9));
    border: 2px solid rgba(64, 224, 208, 0.4);
    border-left: 5px solid var(--primary-gold);
    border-radius: 18px;
    padding: 25px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    transition: all 0.5s;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.info-card:hover::before {
    top: -20%;
    right: -20%;
    width: 150%;
    height: 150%;
}

.info-card h4 {
    color: var(--accent-teal);
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

.info-card p {
    color: var(--primary-gold);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* ============================================
   GERİ DÖN BUTONU
   ============================================ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    padding: 18px 35px;
    background: linear-gradient(135deg, rgba(26, 127, 100, 0.8), rgba(13, 89, 67, 0.9));
    border: 2px solid var(--primary-gold);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(26, 127, 100, 0.4);
}

.back-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.back-link:hover {
    transform: translateX(-8px);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6);
    border-color: var(--secondary-gold);
}

.back-link:hover::before {
    width: 300px;
    height: 300px;
}

.back-link span:first-child {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.back-link span:last-child {
    position: relative;
    z-index: 1;
}

/* ============================================
   HATA MESAJI
   ============================================ */
.error-message {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.2), rgba(204, 0, 0, 0.2));
    border: 3px solid var(--kerahat-warning);
    color: #FFE6E6;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 51, 102, 0.4);
    animation: error-pulse 2s ease-in-out infinite;
}

@keyframes error-pulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(255, 51, 102, 0.4); }
    50% { box-shadow: 0 10px 60px rgba(255, 51, 102, 0.7); }
}

.error-message h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #FFF;
    text-shadow: 0 0 20px var(--kerahat-warning);
}

.error-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================
   RESPONSİVE TASARIM
   ============================================ */
@media (max-width: 768px) {
    .city-hero h1,
    .district-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }
    
    .city-hero .subtitle,
    .district-hero .location {
        font-size: 1.1rem;
    }
    
    .prayer-section {
        padding: 35px 25px;
    }
    
    .prayer-times-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .districts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .city-hero,
    .district-hero {
        padding: 40px 20px;
    }
    
    .city-hero h1,
    .district-hero h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .prayer-times-grid {
        grid-template-columns: 1fr;
    }
    
    .districts-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .prayer-card {
        padding: 25px 20px;
    }
    
    .prayer-time {
        font-size: 2rem;
    }
    
    .back-link {
        width: 100%;
        justify-content: center;
    }
}