/* --- DEĞİŞKENLER & TEMEL AYARLAR --- */
:root {
    --primary-blue: #0b3b60;
    --accent-blue: #1b639e;
    --text-dark: #1f2937;
    --text-gray: #757575;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
}

/* DÜZELTİLDİ: Yıldız seçicisi eksikti */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; }

/* --- HEADER (GLASSMORPHISM MENÜ) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-logo { height: 60px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.header-logo:hover { transform: scale(1.05); }

.nav-links { display: flex; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 20px;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--accent-blue); }

/* --- BUTONLAR --- */
button, .btn-primary, .btn-secondary, .btn-outline {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-primary { background-color: var(--primary-blue); color: white; box-shadow: 0 8px 15px rgba(11,59,96,0.2); }
.btn-primary:hover { background-color: var(--accent-blue); color: white; transform: translateY(-2px); box-shadow: 0 12px 20px rgba(11,59,96,0.3); }
.btn-secondary { background-color: transparent; color: var(--primary-blue); border: 2px solid var(--primary-blue); }
.btn-secondary:hover { background-color: var(--primary-blue); color: white; }

/* --- KARŞILAMA ALANI (HERO SECTION) --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 5% 50px 5%;
    min-height: 100vh;
    background-color: #fcfdfd;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(91,163,196,0.15) 0%, transparent 70%);
    top: -150px; left: -100px; z-index: 0; filter: blur(50px);
}

.hero-glow-2 {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(11,59,96,0.1) 0%, transparent 70%);
    bottom: -200px; right: 5%; z-index: 0; filter: blur(60px);
}

.hero-content { flex: 1; padding-right: 50px; position: relative; z-index: 10; }
.hero-graphic { flex: 1; position: relative; z-index: 10; width: 100%; }
.hero-graphic img { max-width: 100%; height: auto; display: block; }

.hero-badge {
    display: inline-block;
    background: rgba(91,163,196,0.15);
    color: #1b639e;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(91,163,196,0.3);
    box-shadow: 0 4px 10px rgba(91,163,196,0.1);
}

.hero-title { font-size: 56px; line-height: 1.1; margin-bottom: 20px; color: #0b1120; }
.highlight { color: var(--accent-blue); }
.hero-subtitle { font-size: 18px; color: #6b7280; margin-bottom: 40px; max-width: 90%; line-height: 1.6; }
.action-buttons a, .action-buttons button { margin-right: 15px; margin-bottom: 10px; }

.hero-stats {
    display: flex; gap: 40px; margin-top: 50px; padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.stat strong { display: block; font-size: 26px; color: var(--primary-blue); font-family: 'Montserrat', sans-serif; font-weight: 900; margin-bottom: 5px; }
.stat { color: #6b7280; font-size: 13px; line-height: 1.4; font-weight: 500; }

/* --- MAĞARA ADAMI & ATEŞ ANİMASYONU --- */
.caveman-scene { width: 140px; margin-top: 20px; margin-bottom: -20px; opacity: 0.85; transition: opacity 0.3s ease; cursor: help; }
.caveman-scene:hover { opacity: 1; }
.fire-flame { animation: fireFlicker 0.4s infinite alternate; }
@keyframes fireFlicker { 0% { transform: scaleY(1) scaleX(1); opacity: 0.9; } 100% { transform: scaleY(1.15) scaleX(0.95); opacity: 1; } }
.caveman-arm { animation: roastFish 2s infinite ease-in-out; }
@keyframes roastFish { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(6deg); } }

/* --- HİZMETLER BÖLÜMÜ --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-subtitle { color: var(--text-gray); font-size: 14px; letter-spacing: 3px; margin-bottom: 10px; text-transform: uppercase; }
.section-title { font-size: 42px; color: var(--text-dark); margin-bottom: 15px; }
.section-desc { color: var(--text-gray); max-width: 600px; margin: 0 auto; line-height: 1.6; }

.services-section { padding: 100px 5%; background-color: var(--bg-white); }
.modern-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }

.modern-card {
    background-color: #ffffff; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.modern-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11,59,96,0.08); border-color: rgba(91,163,196,0.4); }

.card-img-wrapper { height: 200px; width: 100%; overflow: hidden; background-color: #f3f4f6; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.modern-card:hover .card-img-wrapper img { transform: scale(1.05); }

.card-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.icon-box { width: 48px; height: 48px; background-color: #5ba3c4; border-radius: 12px; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.modern-card h3 { color: #1f2937; font-size: 22px; margin-bottom: 12px; display: flex; align-items: center; }
.badge-new { background-color: #6366f1; color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-left: 12px; letter-spacing: 1px; }
.modern-card p { color: #6b7280; font-size: 15px; line-height: 1.6; margin-bottom: 25px; }

.feature-list { list-style: none; padding: 0; margin-bottom: 30px; flex-grow: 1; }
.feature-list li { color: #4b5563; font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; }
.feature-list .check { color: #5ba3c4; font-weight: bold; margin-right: 12px; font-size: 16px; }

.btn-outline { border: 2px solid #e5e7eb; color: #374151; text-decoration: none; text-align: center; }
.modern-card:hover .btn-outline { border-color: #5ba3c4; color: #5ba3c4; }
.btn-outline:hover { background-color: #5ba3c4 !important; color: #ffffff !important; border-color: #5ba3c4 !important; }

/* --- FELSEFEMİZ (NEDEN BİZ) BÖLÜMÜ --- */
.philosophy-section { background-color: #0a1120; color: #ffffff; padding: 120px 5%; position: relative; border-top: 4px solid #5ba3c4; }
.philosophy-container { display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; gap: 60px; align-items: flex-start; }
.philosophy-title-area { flex: 1; min-width: 300px; position: sticky; top: 120px; }
.philosophy-subtitle { color: #5ba3c4 !important; }
.philosophy-title { color: #ffffff !important; font-size: 52px; line-height: 1.2; }
.quote-mark { font-size: 180px; font-family: Georgia, serif; color: rgba(91,163,196,0.15); line-height: 0.5; margin-top: 20px; }
.philosophy-content { flex: 2; min-width: 300px; padding-top: 20px; }
.philosophy-content p { color: #d1d5db; font-size: 18px; line-height: 1.8; margin-bottom: 25px; font-weight: 400; letter-spacing: 0.5px; }
.philosophy-content p:last-child { margin-bottom: 0; }
.philosophy-content strong { color: #5ba3c4; font-size: 22px; font-weight: 600; display: inline-block; margin-top: 10px; }

/* --- İLETİŞİM BÖLÜMÜ --- */
.contact-section { background-color: #f8fafc; padding: 100px 5%; }
.contact-container {
    display: block; 
    max-width: 800px; 
    margin: 0 auto; 
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    padding: 50px;
    border: 1px solid rgba(0,0,0,0.05);
}
.contact-form { width: 100%; }
.contact-form form { display: flex; flex-direction: column; gap: 20px; }
.input-group { display: flex; gap: 20px; }
.input-group input { flex: 1; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 16px 20px; border: 1px solid #e5e7eb;
    border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 15px;
    color: #1f2937; background-color: #f9fafb; transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: #5ba3c4; background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(91,163,196,0.1);
}
.btn-block { width: 100%; padding: 16px; font-size: 16px; }

/* --- FOOTER --- */
.site-footer {
    /* Deniz suyu bir tık daha açık bir okyanus mavisine çekildi */
    background: linear-gradient(to top, #1e3a68 0%, #0f1b2e 100%);
    color: #ffffff; padding-top: 80px; position: relative; overflow: hidden;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 5% 60px 5%;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; position: relative; z-index: 10;
}
.footer-logo { height: 95px; width: auto; object-fit: contain; margin-bottom: 20px; transition: transform 0.3s ease; }
.footer-logo:hover { transform: scale(1.05); }
.footer-brand p { color: #9ca3af; font-size: 15px; margin-top: 5px; }
.footer-links { display: flex; flex-direction: column; }
.footer-links h4 { color: #ffffff; font-size: 18px; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-links h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background-color: #5ba3c4; }
.footer-links a { color: #9ca3af; text-decoration: none; margin-bottom: 12px; font-size: 14.5px; transition: color 0.3s ease; }
.footer-links a:hover { color: #5ba3c4; }
.footer-bottom { background-color: #060a13; text-align: center; padding: 20px 5%; color: #6b7280; font-size: 14px; border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 10; }

/* --- DENİZ ALTI PARTİKÜLLERİ --- */
.ocean-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.layer-1 { background-image: radial-gradient(rgba(91,163,196,0.25) 1px, transparent 1px); background-size: 50px 50px; animation: driftUp 20s linear infinite; }
.layer-2 { background-image: radial-gradient(rgba(91,163,196,0.15) 2px, transparent 2px); background-size: 110px 110px; animation: driftUp 40s linear infinite; }
@keyframes driftUp { 0% { background-position: 0px 0px; } 100% { background-position: 150px -600px; } }

/* DÜZELTİLDİ: Bozuk Yorum Satırı CSS'i kırıyordu */
/* --- SİNEMATİK YÜZEN KÖPEKBALIĞI (Belirgin ve Net Gölge) --- */
.deep-sea-shark {
    position: absolute;
    bottom: -100px; 
    left: 0;
    width: 800px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25; 
    animation: swimDeep 36s linear infinite; 
}
.deep-sea-shark img {
    width: 100%;
    height: auto;
    transform: scaleX(-1); 
    filter: brightness(0) blur(3px); 
}
@keyframes swimDeep {
    0% { transform: translateX(-1000px) translateY(20px); }
    50% { transform: translateX(30vw) translateY(-10px); }
    100% { transform: translateX(110vw) translateY(20px); }
}

/* --- AÇILIR PENCERELER (MODALS) --- */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 17, 32, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 9999; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box {
    background: #ffffff; width: 90%; max-width: 600px; border-radius: 16px; padding: 40px; position: relative;
    transform: translateY(-30px); transition: transform 0.3s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.close-btn { position: absolute; top: 20px; right: 25px; font-size: 32px; cursor: pointer; color: #9ca3af; transition: color 0.3s; }
.close-btn:hover { color: #1f2937; }
.modal-header { display: flex; align-items: center; margin-bottom: 20px; gap: 15px; border-bottom: 1px solid #f3f4f6; padding-bottom: 15px; }
.modal-logo { height: 35px; object-fit: contain; }
.modal-header h2 { color: #0b3b60; font-size: 24px; }
.modal-body p { color: #4b5563; line-height: 1.7; margin-bottom: 15px; font-size: 15px; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-body strong { color: #1b639e; }

/* ==========================================================
   --- 📱 KOMPAKT RESPONSIVE (MOBİL) EKRAN AYARLARI --- 
   ========================================================== */

/* Masaüstünde gizli olan Hamburger İkonu */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-blue);
    cursor: pointer;
    margin-left: 15px;
}

@media (max-width: 1024px) {
    .hero-title { font-size: 48px; }
    .philosophy-title { font-size: 42px; }
}

@media (max-width: 768px) {
    /* 1. HEADER & BUTON KONUMU DÜZELTİLDİ */
    .navbar { 
        padding: 10px 5%; 
        height: auto; /* Sabit yüksekliği kaldırdık ki menü açılsın */
        min-height: 70px;
        flex-direction: row; 
        justify-content: space-between;
    }
    .header-logo { 
        height: 40px; 
        margin-right: auto; /* Logoyu tamamen sola yaslar */
    }
 .header-actions {
        display: flex;
        align-items: center;
        margin-left: auto; /* İkisini birden tamamen sağa yaslar */
        gap: 15px !important; /* Buton ile ikon arasına nefes payı bırakır */
    }

    /* BURASI EKSİKTİ: Gizli olan Hamburger menüyü mobilde görünür yapar */
    .hamburger-btn {
        display: flex !important; 
        align-items: center;
        justify-content: center;
        padding: 5px;
        color: var(--primary-blue);
    }

    /* Mobilde Teklif Al butonunu ikona uygun şekilde biraz incelttik */
    .header-actions .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
        margin-bottom: 0;
    }

    /* MENÜNÜN AÇILMASI İÇİN GEREKEN Z-INDEX VE TOP AYARI */
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%; /* Header'ın tam bittiği yerden başlar */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98); /* Daha opak yaptık net görünsün */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 9999; /* Her şeyin üstünde görünmesini garanti eder */
    }
    .nav-links.active { display: flex; }
    .nav-links a { display: block !important; margin: 15px 0 !important; font-size: 16px; font-weight: 600; }

    /* 2. HERO BOŞLUK DÜZELTİLDİ (İstatistikler ile Balık arası) */
    .hero-section { flex-direction: column; padding-top: 100px; text-align: center; }
    .hero-content { padding-right: 0; margin-bottom: 10px; }
    .hero-stats { 
        flex-direction: row; 
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px; 
        margin-top: 30px; 
        padding-top: 20px;
        margin-bottom: 0px; /* Alt boşluğu sıfırladık */
    }
    .hero-graphic { margin-top: -30px; } /* Balığı yukarı çektik boşluk kapandı */

    /* 3. NEDEN BİZ (BİZ KİMİZ) TAŞMA SORUNU DÜZELTİLDİ */
    .philosophy-title-area { 
        position: relative; 
        top: 0; 
        margin-bottom: 20px; 
    }
    .quote-mark { 
        display: none; /* Mobilde yazıyı bozan dev tırnak işaretini gizledik */
    }
    .philosophy-container { flex-direction: column; gap: 15px; }
    .philosophy-content { padding-top: 0; }
    
    .services-section { padding: 50px 5%; }
    .input-group { flex-direction: column; gap: 15px; }
    .contact-container { padding: 30px 20px; }
}

@media (max-width: 576px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .modern-services-grid { grid-template-columns: 1fr; }
    
    /* Modallar */
    .modal-box { padding: 25px 20px; width: 95%; }
    
    /* Köpekbalığı çok yer kaplamasın */
    .deep-sea-shark { width: 300px; bottom: -30px; }
}
/* Masaüstünde gizli, sadece mobilde çalışacak sola yüzen köpekbalığı */
.mobile-reverse-shark { display: none; }

@keyframes swimLeft {
    0% { transform: translateX(100vw) translateY(10px); }
    50% { transform: translateX(-10vw) translateY(-15px); }
    100% { transform: translateX(-100vw) translateY(10px); }
}

/* =======================================================
   📱 MOBİL (DAR EKRAN) KÖPEKBALIĞI AYARLARI
   ======================================================= */
@media (max-width: 768px) {
    /* PC'deki yavaş balığı mobilde hızlandır (12s) */
    .deep-sea-shark {
        animation-duration: 12s !important; 
        bottom: -50px !important;
    }

    /* Mobilde ters balığı göster ve hızlandır (14s) */
    .mobile-reverse-shark {
        display: block;
        position: absolute;
        bottom: 120px; 
        right: 0;
        width: 250px;
        z-index: 1;
        opacity: 0.15;
        pointer-events: none;
        animation: swimLeft 14s linear infinite;
    }
    
    .mobile-reverse-shark img {
        width: 100%;
        height: auto;
        filter: brightness(0) blur(2px);
    }
}