/* ==========================================================================
   1. GENEL TASARIM AYARLARI
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #e67e22;      /* Boyacı Turuncusu */
    --secondary-color: #2c3e50;    /* Koyu Gri / Lacivert */
    --light-color: #f8f9fa;        /* Açık Gri Arka Plan */
    --dark-color: #333333;         /* Koyu Metin Rengi */
    --whatsapp-color: #25d366;     /* WhatsApp Yeşili */
}

body {
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    /* Mobilde alttaki sabit menünün içeriği kapatmaması için padding payı */
    padding-bottom: 70px;
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

/* ==========================================================================
   2. NAVİGASYON / ÜST MENÜ (Masaüstü ve Mobil Ayrımı Yapıldı)
   ========================================================================== */
header {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 70px; /* Sabit yükseklik kaymaları engeller */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.logo {
    font-weight: bold;
    font-size: 22px;
    color: var(--secondary-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

/* Masaüstü Menü Stilleri */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* MOBİL İÇİN MODERN ALT MENÜ TASARIMI (App Style) */
@media (max-width: 768px) {
    /* Mobilde üstteki header sadece logoyu gösterir, linkleri gizler */
    nav ul {
        display: none !important; 
    }
    
    .nav-container {
        justify-content: center; /* Logoyu mobilde şık durması için ortalar */
    }

    /* Telefonlarda en alta sabitlenen harika mobil bar */
    .mobile-nav-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--secondary-color);
        font-size: 11px;
        font-weight: 600;
        width: 25%;
        text-align: center;
    }

    .mobile-nav-item span.icon {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .mobile-nav-item:active, .mobile-nav-item:hover {
        color: var(--primary-color);
    }
}

/* Masaüstünde mobil barı tamamen gizle */
.mobile-nav-bar {
    display: none;
}


/* ==========================================================================
   3. HERO / GİRİŞ ALANI
   ========================================================================== */
#home {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), 
                url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    padding-top: 70px;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease;
}

h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
}

/* ==========================================================================
   4. ORTAK BÖLÜM VE HİZMETLER DÜZENİ
   ========================================================================== */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ==========================================================================
   5. ÇALIŞMA SÜRECİ
   ========================================================================== */
#process {
    background-color: var(--light-color);
    max-width: 100%;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.step-num {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* ==========================================================================
   6. İLETİŞİM VE HIZLI TEKLİF ALANI (KESİN MOBİL UYUMLU DÜZEN)
   ========================================================================== */
.contact-section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-wrapper {
    display: block;
    width: 100%;
}
.contact-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Masaüstü Ekran Yerleşimi (Yan yana 3 dengeli sütun) */
@media (min-width: 992px) {
    .contact-col {
        display: block;
        float: left;
        width: 31.33%;
        margin-right: 3%;
        box-sizing: border-box;
    }
    .contact-col.last-col {
        margin-right: 0 !important;
    }
}

/* Mobil ve Tablet Ekran Yerleşimi (Sıralı blok düzeni) */
@media (max-width: 991px) {
    .contact-col {
        display: block;
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 40px;
    }
    .contact-col.last-col {
        margin-bottom: 0 !important;
    }
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 22px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

/* Google Harita Düzenlemesi */
.contact-map-box {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-map-box iframe {
    width: 100%;
    height:300;
    border: 0;
    display: block;
}

/* Form Alanı */
.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    font-size: 15px;
    transition: border-color 0.2s ease;
    background-color: #ffffff;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

/* WhatsApp Buton */
button[type="submit"] {
    width: 100%;
    background-color: var(--whatsapp-color);
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

button[type="submit"]:hover {
    background-color: #1ebd56;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

/* ==========================================================================
   7. FOOTER VE ANİMASYONLAR (Yenilendi)
   ========================================================================== */
footer {
    background-color: var(--secondary-color);
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    font-size: 14px;
    border-top: 3px solid var(--primary-color);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}