/* style.css - Modern, Şık ve Huzur Veren Tasarım Dosyası */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --primary: #0284c7; /* Göz yormayan, huzur veren okyanus/gökyüzü mavisi */
    --primary-light: #f0f9ff; /* Daha ferah, çok açık mavi/beyaz tonu */
    --secondary: #10b981; /* Daha tatlı, soft ve modern bir zümrüt yeşili */
    --secondary-hover: #059669;
    --bg-color: #f8fafc; /* Temiz ferah arka plan */
    --text-dark: #334155; /* Tam siyah yerine, gözü hiç yormayan çok koyu gri/mavi */
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius: 16px;
    --transition: all 0.3s ease;
}

/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Üst Bilgi Çubuğu (Top Bar) */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-bar a {
    color: var(--white);
}

.whatsapp-btn-top {
    background-color: #25D366;
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-btn-top:hover {
    background-color: #1ebd5c;
    transform: translateY(-2px);
}

/* Header & Navigasyon */
header {
    background-color: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo img {
    max-height: 90px;
    transition: var(--transition);
}

header nav {
    display: flex;
    gap: 30px;
}

header nav a {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
}

header nav a:hover {
    color: var(--primary);
}

header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--secondary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
}

header nav a:hover::after {
    width: 100%;
}

/* Modern Butonlar */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #026ca3; /* Okyanus mavisinin hover tonu */
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Bölüm (Section) Başlıkları */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Modern Kart Tasarımları (Hizmetler & Blog) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.modern-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.modern-card .card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.modern-card .card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-card .card-title {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.modern-card .card-text {
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* ==========================================================================
   PREMIUM FOOTER TASARIMI
   ========================================================================== */
.premium-footer {
    background-color: #0c4a6e; /* Gece mavisi/okyanus tonu - sert lacivert yerine daha şefkatli */
    color: #cbd5e1; 
    font-family: 'Nunito', sans-serif;
    margin-top: 60px;
    border-top: 5px solid var(--secondary); 
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 5% 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr; 
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.footer-brand p { margin-top: 20px; line-height: 1.7; font-size: 0.95rem; }
.footer-logo-box { background: var(--white); padding: 15px; border-radius: 8px; display: inline-block; }
.footer-logo { max-height: 70px; display: block; }

.social-links { margin-top: 20px; display: flex; gap: 15px; }
.social-links a { text-decoration: none; font-size: 1.5rem; filter: grayscale(100%); transition: var(--transition); }
.social-links a:hover { filter: grayscale(0%); transform: translateY(-3px); }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #cbd5e1; font-size: 0.95rem; font-weight: 600; transition: var(--transition); display: flex; align-items: center; }
.footer-col ul li a::before { content: '›'; color: var(--secondary); font-size: 1.2rem; margin-right: 8px; opacity: 0; transform: translateX(-10px); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); transform: translateX(5px); }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }

.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; gap: 15px; }
.contact-item .icon { font-size: 1.2rem; margin-top: 2px; }
.contact-item p, .contact-item a { color: #cbd5e1; font-size: 0.95rem; margin: 0; line-height: 1.5; text-decoration: none; transition: var(--transition); }
.contact-item a:hover { color: var(--white); }

.footer-bottom { background-color: #082f49; /* Bir tık daha koyu ama yumuşak alt bant */ padding: 20px 5%; }
.footer-bottom-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.9rem; }
.agency-credit { color: #cbd5e1; }
.agency-credit strong { color: var(--secondary); }

/* ==========================================================================
   HAMBURGER MENÜ (Masaüstünde Gizli)
   ========================================================================== */
.menu-toggle {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; 
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 3px;
}

.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ==========================================================================
   MOBİL UYUMLULUK (RESPONSIVE DESIGN) EKLENTİLERİ
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Üst Bilgi Çubuğu */
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 15px 5%;
    }
    .whatsapp-btn-top {
        margin-left: 0;
        margin-top: 5px;
        width: 100%;
        justify-content: center;
    }

    /* 2. Header ve Açılır Kapanır Menü Düzenlemesi */
    header {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        position: relative; 
    }
    header .logo img { max-height: 65px; margin-bottom: 0; }
    .menu-toggle { display: flex; }
    
    header nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 0 5%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    header nav.active {
        max-height: 400px; 
        padding: 15px 5%;
        border-top: 1px solid #eee;
    }
    header nav a {
        font-size: 1.05rem;
        padding: 12px 0;
        border-bottom: 1px solid #f0f4ff;
        width: 100%;
        text-align: left;
    }
    header nav a:last-child { border-bottom: none; }
    header nav a::after { display: none; }

    /* 3. Slider Düzenlemesi */
    #slider-alani .slide > div {
        height: 400px !important; 
        padding: 20px 10px !important;
    }
    #slider-alani .slide h2 { font-size: 2rem !important; }
    #slider-alani .slide p { font-size: 1rem !important; }
    #slider-alani button { width: 40px !important; height: 40px !important; font-size: 18px !important; }

    /* 4. Bölüm Boşlukları ve Başlıklar */
    section { padding: 60px 5% !important; }
    .section-title h2 { font-size: 2rem; }
    .section-title p { font-size: 1rem; }

    /* 5. Butonlar */
    .btn { width: 100%; margin-bottom: 10px; }

    /* 6. İletişim ve Harita Alanı */
    .section-title + div { grid-template-columns: 1fr !important; }

    /* 7. Footer Mobil Düzenlemesi */
    .footer-main {
        grid-template-columns: 1fr; /* Mobilde alt alta dizer */
        gap: 50px;
        padding: 50px 5% 30px;
        text-align: left; 
    }
    .footer-col h4::after { left: 0; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
}

/* Ekstra küçük ekranlar için ince ayar */
@media (max-width: 480px) {
    header nav { gap: 8px; }
    header nav a { font-size: 0.85rem; }
    #slider-alani .slide h2 { font-size: 1.6rem !important; }
}