/* style.css - E.D. KALİTE Stil Dosyası */

/* --- GENEL AYARLAR --- */
:root { 
    --primary: #002B5B; 
    --secondary: #17a2b8; 
    --dark: #333; 
    --light: #f4f4f4; 
    --white: #fff; 
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; color: #444; line-height: 1.6; background-color: #fff; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); }

/* --- HEADER & MENU --- */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Logo ve Menü Hizalaması - Padding arttırıldı (Ferahlık için) */
.navbar { padding: 10px 0; display: flex; justify-content: space-between; align-items: center; }

/* Logo Yüksekliği (Sizin son kararınız) */
.logo img { height: 70px; width: auto; }

.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-weight: 600; color: var(--primary); font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-size: 0.9rem; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary); border-bottom: 2px solid var(--secondary); }

/* --- SAYFA BAŞLIKLARI (PAGE HEADER) --- */
.page-header {
    background: linear-gradient(rgba(0, 43, 91, 0.9), rgba(0, 43, 91, 0.8)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; padding: 80px 0; text-align: center; color: var(--white);
}
.page-header h1 { color: var(--white); font-size: 2.5rem; }
.breadcrumb { margin-top: 10px; font-size: 0.9rem; color: #ccc; }
.breadcrumb a { color: var(--white); }

/* --- ANA SAYFA (HERO) --- */
.hero {
    background: linear-gradient(rgba(0, 43, 91, 0.85), rgba(0, 43, 91, 0.7)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white);
}
.hero-content h1 { color: var(--white); font-size: 3.5rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.3rem; max-width: 700px; margin: 0 auto 30px auto; opacity: 0.9; }
.btn { padding: 12px 30px; background: var(--secondary); color: var(--white); border-radius: 5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.btn:hover { background: #138496; }

/* --- KARTLAR VE HİZMETLER --- */
.services-preview { padding: 80px 0; background-color: #f9f9f9; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 10px; }
.divider { width: 60px; height: 4px; background: var(--secondary); margin: 0 auto; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 40px 30px; border-radius: 5px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; border-bottom: 3px solid transparent; }
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-bottom: 3px solid var(--secondary); }
.card i { font-size: 3rem; color: var(--secondary); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.card p { color: #666; font-size: 0.95rem; margin-bottom: 20px; }
.card-link { color: var(--primary); font-weight: bold; font-size: 0.9rem; }

/* --- HİZMET DETAYLARI & LOGOLAR --- */
.service-category { padding: 80px 0; border-bottom: 1px solid #eee; }
.cat-header { display: flex; align-items: center; margin-bottom: 40px; }
.cat-icon { width: 60px; height: 60px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-right: 20px; }
.cat-title h2 { font-size: 2rem; margin: 0; }
.cat-title p { color: #777; margin-top: 5px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.svc-card { background: #f9f9f9; padding: 30px; border-radius: 8px; border-left: 5px solid var(--secondary); transition: transform 0.3s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 15px; display: flex; align-items: center; }
/* Yeni Eklenen Hizmet Logosu Sınıfı */
.svc-logo { height: 45px; width: auto; margin-right: 15px; object-fit: contain; }
.svc-card h3 i { color: var(--secondary); margin-right: 10px; font-size: 1rem; }
.svc-card p { font-size: 0.95rem; color: #555; margin-bottom: 15px; }
.svc-card ul { padding-left: 20px; list-style: disc; color: #666; font-size: 0.9rem; }
.svc-card ul li { margin-bottom: 5px; }

/* --- KURUMSAL SAYFA --- */
.intro-section { padding: 80px 0; }
.intro-flex { display: flex; align-items: center; gap: 50px; }
.intro-text { flex: 1; }
.intro-img { flex: 1; }
.intro-img img { width: 100%; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.bio-section { padding: 80px 0; }
.bio-grid { display: flex; gap: 60px; align-items: flex-start; }
.bio-img { flex: 1; }
.bio-img img { width: 100%; border-radius: 10px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-bottom: 5px solid var(--secondary); }
.bio-text { flex: 1.5; }
.bio-text h2 { margin-bottom: 20px; font-size: 2rem; }
.bio-subtitle { font-size: 1.1rem; color: var(--secondary); font-weight: 600; display: block; margin-bottom: 20px; }
.exp-box { background: #f9f9f9; padding: 20px; border-left: 4px solid var(--primary); margin-top: 30px; }
.mv-section { background-color: #f4f6f8; padding: 80px 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mv-card { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.mv-card i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }

/* --- İLETİŞİM & FORM --- */
.contact-cards { padding: 60px 0; background-color: #f9f9f9; }
.cards-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.c-card { background: var(--white); padding: 40px 20px; text-align: center; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; flex: 1; max-width: 400px; }
.c-card:hover { transform: translateY(-5px); }
.c-icon { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }
.c-card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.form-section { padding: 80px 0; }
.form-wrapper { max-width: 700px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 0 30px rgba(0,0,0,0.1); border-top: 5px solid var(--primary); }
.form-wrapper h2 { text-align: center; margin-bottom: 10px; }
.form-wrapper p { text-align: center; margin-bottom: 30px; color: #666; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; color: #555; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; }
.form-group textarea { height: 120px; resize: none; }
.security-q { background-color: #f0f8ff; padding: 15px; border-radius: 5px; border: 1px dashed #17a2b8; margin-bottom: 20px; }
.submit-btn { width: 100%; background: var(--primary); color: var(--white); border: none; padding: 15px; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s; font-size: 1rem; }
.submit-btn:hover { background: var(--secondary); }
.cta-section { background: var(--secondary); color: var(--white); text-align: center; padding: 60px 0; }
.cta-btn { background: var(--white); color: var(--secondary); padding: 12px 30px; border-radius: 30px; font-weight: bold; display: inline-block; margin-top: 10px; }
.cta-btn:hover { background: var(--primary); color: var(--white); }

/* --- FOOTER --- */
footer { background: #1a1a1a; color: #aaa; padding: 50px 0 20px 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 5px; }
.social-link { font-size: 1.5rem; color: #aaa; transition: 0.3s; }
.social-link:hover { color: #0077b5; }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid #333; }

/* --- MOBİL AYARLARI (GÜNCELLENDİ) --- */
@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 10px 0; }
    .nav-menu { 
        margin-top: 15px; 
        gap: 10px; 
        font-size: 0.85rem; 
        flex-wrap: wrap; /* Sığmazsa alta geç */
        justify-content: center; 
    }
    .nav-menu a { white-space: nowrap; } /* Kelimeleri bölme */
    
    .hero-content h1 { font-size: 2.2rem; }
    .intro-flex { flex-direction: column; }
    .container { flex-direction: column; }
    .bio-grid { flex-direction: column; }
    .mv-grid { grid-template-columns: 1fr; }
    .cat-header { flex-direction: column; text-align: center; }
    .cat-icon { margin-right: 0; margin-bottom: 15px; }
    .cards-grid { flex-direction: column; align-items: center; }
    .c-card { width: 100%; }
}
/* --- WHATSAPP BUTONU --- */
.whatsapp-btn {
    position: fixed; /* Sayfada sabit durur */
    bottom: 20px;    /* Alttan 20px yukarıda */
    right: 20px;     /* Sağdan 20px içeride */
    background-color: #25d366; /* WhatsApp Yeşili */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Yuvarlak yapar */
    text-align: center;
    font-size: 35px;
    line-height: 60px; /* İkonu dikey ortalar */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 9999; /* Her şeyin üstünde durur */
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1); /* Üzerine gelince hafif büyür */
    background-color: #128c7e; /* Koyu yeşil olur */
    color: #fff;
}

/* --- AÇILIR MENÜ (DROPDOWN) AYARLARI --- */

/* Dropdown Kapsayıcısı */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown İçeriği (Gizli Menü) */
.dropdown-content {
    display: none; /* Başta gizli */
    position: absolute;
    background-color: #fff;
    min-width: 240px; /* Genişlik */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Gölge */
    z-index: 1001;
    top: 100%; /* Tam altına yapış */
    left: 0;
    border-top: 3px solid var(--secondary); /* Üstüne şık bir çizgi */
}

/* Linklerin Tasarımı */
.dropdown-content a {
    color: var(--dark) !important; /* Yazı rengi koyu */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem !important; /* Biraz daha kibar yazı boyutu */
    text-transform: none !important; /* Hepsi BÜYÜK HARF olmasın */
    font-weight: 600;
}

/* Hover Durumları */
.dropdown:hover .dropdown-content {
    display: block; /* Üzerine gelince göster */
}

.dropdown-content a:hover {
    background-color: var(--light);
    color: var(--secondary) !important;
    padding-left: 20px; /* Sağa doğru kayma efekti */
}

/* --- MOBİL ÖZEL AYARLAR --- */
@media (max-width: 768px) {
    /* Navbar ve Menü Düzeni */
    .navbar { flex-direction: column; padding: 10px 0; }
    .nav-menu { 
        margin-top: 15px; 
        gap: 10px; 
        font-size: 0.85rem; 
        flex-wrap: wrap; 
        justify-content: center; 
    }
    .nav-menu a { white-space: nowrap; }
    
    /* DİKKAT: Mobilde Dropdown Menüyü Tamamen Gizle */
    .dropdown-content {
        display: none !important; /* Asla açılmasın */
    }
    
    /* Mobilde ok işaretini gizle ki kafa karıştırmasın */
    .dropdown a i {
        display: none; 
    }

    /* Diğer mobil uyumluluk ayarları */
    .hero-content h1 { font-size: 2.2rem; }
    .intro-flex, .container, .bio-grid, .cat-header, .cards-grid { 
        flex-direction: column; 
    }
    .mv-grid { grid-template-columns: 1fr; }
    .cat-icon { margin-right: 0; margin-bottom: 15px; text-align: center; }
    .c-card { width: 100%; }
}