/* --- DEĞİŞKENLER VE TEMEL AYARLAR --- */
:root {
    --blue: #2F7BA0;
    --red: #D5382B;
    --whatsapp: #25D366;
    --bg-light: #FAFAFA;
    --text-main: #1a1a1a;
    --text-sub: #666666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
    line-height: 1.5;
}

/* --- YÜKLENİYOR EKRANI (LOADER) --- */
#loader-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-light);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* --- TİPOGRAFİ --- */
.giant-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.0;
    letter-spacing: -0.04em;
}

.text-outline {
    -webkit-text-stroke: 1px var(--blue);
    color: transparent;
}

/* --- NAVBAR VE NAVİGASYON --- */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover { color: var(--red); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Hamburger Menü Çizgileri */
#mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 3px 0; /* Boşluklar biraz daraltıldı */
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Hamburger Animasyonu (Kusursuz X hali) */
#mobile-menu-btn.active span:nth-child(1) { 
    transform: translateY(8px) rotate(45deg); 
}
#mobile-menu-btn.active span:nth-child(2) { 
    opacity: 0; 
    transform: translateX(10px); 
}
#mobile-menu-btn.active span:nth-child(3) { 
    transform: translateY(-8px) rotate(-45deg); 
}

#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#mobile-menu.active { transform: translateX(0); }

/* --- KARTLAR VE BİLEŞENLER --- */
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-blur: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
}

.tech-card {
    background: white;
    border: 1px solid #eee;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    border-color: var(--blue);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    transform: translateY(-5px) !important;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    height: 1px; width: 100%; top: 0; left: -100%;
    transition: 0.8s;
}
.tech-card:hover .tech-line { left: 100%; }

/* --- ATMOSFERİK IŞIKLAR --- */
.light-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(300px);
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
    transform: scale(1);
}

/* --- SOSYAL DESTEK BUTONLARI --- */
.social-btn {
    position: relative;
    z-index: 2000;
}

.social-tooltip {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 70px;
    background: white;
    padding: 6px 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    white-space: nowrap;
    font-weight: 700;
    font-size: 12px;
    color: #1a1a1a;
}
.social-btn:hover .social-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-10px);
}

/* --- HİZMET BÖLGESİ (CANVA STYLE) --- */
.canvas-container { position: relative; z-index: 20; background: #fff; }
.city-board { border-radius: 60px; padding: 60px; position: relative; overflow: hidden; transition: all 0.5s ease; }
.bg-manisa { background-color: #fff5f5; color: #D5382B; }
.bg-izmir { background-color: #f0fdfa; color: #0f766e; }
.bg-aydin { background-color: #fefce8; color: #a16207; }
.bg-mugla { background-color: #fdf2f8; color: #be185d; }
.bg-denizli { background-color: #f5f3ff; color: #6d28d9; }
.bg-usak { background-color: #fff7ed; color: #c2410c; }

.sticker-district {
    background: white; color: #1a1a1a; padding: 12px 24px; border-radius: 20px;
    font-size: 14px; font-weight: 800; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: inline-block; margin: 6px; transition: all 0.3s ease;
}
.sticker-district:hover { transform: translateY(-5px) rotate(-2deg); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* --- BLOG (SEKMELİ TASARIM) --- */
.tab-btn {
    flex-shrink: 0; padding: 12px 25px; background: #f8f9fa; border-radius: 100px;
    font-size: 13px; font-weight: 800; color: #666; border: 1px solid #eee;
    cursor: pointer; transition: all 0.3s ease;
}
.tab-btn.active { background: var(--blue); color: white; border-color: var(--blue); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s ease; }

/* --- ANİMASYONLAR --- */
@keyframes float-tech {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes blob-liquid {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.float-anim { animation: float-tech 5s ease-in-out infinite; }
.liquid-core { animation: blob-liquid 8s ease-in-out infinite; }
.pulse-effect { animation: pulse-ring 3s infinite; }

.ani-init { opacity: 0; transform: translateY(20px); }
.ani-init, #intro-logo, #final-logo, .social-btn {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* --- TABLET VE MOBİL UYUMLULUK --- */
@media (max-width: 1024px) {
    .giant-title {
        font-size: clamp(2.2rem, 10vw, 3.8rem) !important;
        line-height: 1.1 !important;
        letter-spacing: -1px !important;
    }

    /* Üste binme sorununu çözen padding */
    section.min-h-screen, .pt-40, .pt-48 {
        padding-top: 140px !important;
    }

    /* Gridleri tek sütuna düşür */
    .grid-cols-2, .lg\:grid-cols-2, .lg\:grid-cols-12, .md\:grid-cols-3, .md\:grid-cols-4 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Hero Görselini (Orb) küçült */
    #visualCenter { height: 350px !important; margin-top: 20px; }
    #mainOrb { width: 200px !important; height: 200px !important; }
    #ring1 { width: 220px !important; height: 220px !important; }
    #ring2 { width: 300px !important; height: 300px !important; }
    #widget1, #widget2 { width: 140px !important; padding: 10px !important; }

    /* Hizmet Bölgesi ve Blog Kartları */
    .city-board { padding: 30px; border-radius: 40px; }
    .city-title { font-size: 2.8rem; }
    .content-panel { padding: 30px; border-radius: 30px; }
}