@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* TEMA: SAKİN VE PROFESYONEL */
:root {
    --primary-color: #004d40; /* Koyu Petrol Yeşili */
    --secondary-color: #ff9800; /* Sıcak Turuncu */
    --light-gray: #f5f5f5; /* Yumuşak Gri */
    --dark-gray: #212121; /* Siyaha Yakın Yazı */
    --white-color: #ffffff; /* Beyaz */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white-color);
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
.main-content { flex: 1 0 auto; }
.container { max-width: 1200px; margin: auto; padding: 0 20px; }
header { background: var(--primary-color); color: var(--white-color); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
header .container { display: flex; justify-content: space-between; align-items: center; }
header #logo a { color: var(--white-color); text-decoration: none; font-size: 28px; font-weight: 700; }
header nav ul { list-style: none; display: flex; }
header nav li { margin-left: 25px; }
header nav a { color: var(--white-color); text-decoration: none; font-weight: 600; padding-bottom: 5px; transition: all 0.3s ease; border-bottom: 2px solid transparent; }
header nav a:hover, header nav .current a { color: var(--secondary-color); border-bottom-color: var(--secondary-color); }
.hero { height: 90vh; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/image-high.png') center center/cover; display: flex; justify-content: center; align-items: center; text-align: center; color: #ffffff; padding: 0 20px; }
.hero-content h1 { font-size: 4rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.5rem; font-weight: 300; }
.services { padding: 80px 0; background: var(--light-gray); }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.5rem; color: var(--primary-color); position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--secondary-color); border-radius: 2px; }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; text-align: center; }
.service-cards .card { background: var(--white-color); border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); text-align: center; padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-cards .card:hover { transform: translateY(-10px); box-shadow: 0 15px 25px rgba(0,0,0,0.12); }
.contact-grid .contact-card { background: var(--white-color); border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); text-align: center; padding: 40px 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.contact-grid .contact-card:hover { transform: translateY(-10px); box-shadow: 0 15px 25px rgba(0,0,0,0.12); }
.card i { font-size: 40px; color: var(--secondary-color); margin-bottom: 15px; }
.card h3 { margin-bottom: 15px; color: var(--primary-color); }
.page-header { padding: 60px 0; background: var(--primary-color); color: var(--white-color); text-align: center; }
.page-content { padding: 80px 0; background-color: #ffffff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.4'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.contact-card i { font-size: 3rem; color: var(--secondary-color); margin-bottom: 20px; }
.contact-card h3 { color: var(--primary-color); margin-bottom: 10px; }
.contact-card p, .contact-card a { font-size: 1.1rem; color: var(--dark-gray); text-decoration: none; transition: color 0.3s ease; }
.contact-card a:hover { color: var(--secondary-color); }
.map-container { margin-top: 60px; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.1); }
.map-container iframe { width: 100%; height: 450px; border: 0; }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
footer { padding: 30px 0; background-color: var(--primary-color); color: #fff; text-align: center; flex-shrink: 0; }
.hamburger { display: none; cursor: pointer; }
.hamburger div { width: 25px; height: 3px; background-color: white; margin: 5px 0; transition: 0.4s; }
.card i, .contact-card i { transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.card:hover i, .contact-card:hover i { transform: scale(1.2) rotate(10deg); }
#floating-contact-btn { position: fixed; bottom: 30px; right: 30px; background-color: var(--secondary-color); color: var(--primary-color); display: flex; align-items: center; padding: 12px 18px; border-radius: 50px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); text-decoration: none; font-weight: 600; z-index: 999; transition: transform 0.4s ease; }
#floating-contact-btn:hover { transform: scale(1.05); }
#floating-contact-btn i { font-size: 1.2rem; margin-right: 8px; }

/* =================================================== */
/* GELİŞMİŞ MOBİL UYUMLULUK KODLARI (768px ve altı)      */
/* =================================================== */
@media(max-width: 768px) {
    /* === Genel Ayarlar === */
    .container {
        padding: 0 15px; /* Mobilde kenar boşluklarını biraz azalt */
    }

    /* === Yazı Boyutları === */
    .hero-content h1 { 
        font-size: 2.5rem; /* Ana başlığı küçült */
    }
    .hero-content p {
        font-size: 1.2rem; /* Alt başlığı küçült */
    }
    .section-title {
        font-size: 2rem; /* Bölüm başlıklarını küçült */
    }

    /* === Navigasyon Menüsü (Hamburger) === */
    header #logo a {
        font-size: 22px; /* Logoyu hafif küçült */
    }
    header nav { 
        position: fixed; 
        left: -100%; 
        top: 77px; /* Header yüksekliğine göre ayarlı */
        background: var(--primary-color); 
        width: 100%; 
        height: 100vh; 
        transition: 0.3s; 
        flex-direction: column; 
        align-items: center; 
    }
    header nav.active { 
        left: 0; 
    }
    header nav ul { 
        flex-direction: column; 
        padding-top: 50px; 
    }
    header nav li { 
        margin: 20px 0; 
        text-align: center; 
    }
    .hamburger { 
        display: block; 
    }

    /* === Kartların Dizilimi === */
    .service-cards, .contact-grid {
        grid-template-columns: 1fr; /* Tüm kartları tek sıra yap */
    }

    /* === Bölüm Boşlukları === */
    .services, .page-content {
        padding: 60px 0; /* Bölümler arası boşluğu azalt */
    }
}