/* --- Genel Stiller ve Resetleme --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap'); /* Örnek Font */

:root {
    --primary-color: #0056b3; /* Kurumsal Mavi */
    --secondary-color: #007bff; /* Biraz daha açık mavi */
    --accent-color: #ffc107; /* Vurgu Rengi - Sarı */
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --background-color: #fff;
    --light-gray-bg: #f8f9fa;
    --border-color: #dee2e6;
    --footer-bg: #212529;
    --success-color: #28a745;
    --font-family: 'Roboto', sans-serif;
    --container-width: 1140px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none; /* İstenirse alt çizgi eklenebilir */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Header --- */
.header {
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo-text{
    color: var(--primary-color); /* Ensure logo text uses primary color */
}

.logo:hover {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin-left: 20px;
    position: relative; /* For dropdown positioning */
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 5px;
    display: block;
}
.nav-list a i {
    font-size: 0.7em;
    margin-left: 5px;
}

.nav-list a:hover,
.nav-list li.active a { /* Aktif sayfa için stil (JS ile eklenebilir) */
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 1001;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin-left: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    white-space: nowrap;
    color: var(--text-color);
    font-weight: 400;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray-bg);
    color: var(--primary-color);
}


.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: url('../images/ankara-beyaz-esya-servisi-iletisim.webp') no-repeat center center/cover; /* Kendi görselinizle değiştirin */
    height: calc(100vh - var(--header-height)); /* Ekran yüksekliği kadar - header */
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--light-text-color);
}
/* Optional: Dark overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Siyah overlay */
}

.hero-content {
   position: relative; /* To stay above the overlay */
   z-index: 1;
   max-width: 700px;
   padding: 20px;
}

.hero h1 {
    color: var(--light-text-color);
    margin-bottom: 1rem;
    font-size: 3rem; /* Adjust as needed */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
     text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px; /* Oval buton */
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e6ac00; /* Sarı'nın biraz koyusu */
    color: var(--text-color);
    transform: translateY(-2px);
}

/* --- Intro Text Section --- */
.intro-text {
    padding: 60px 15px;
    text-align: center;
}
.intro-text h2 {
     margin-bottom: 1rem;
}

/* --- Services Section --- */
.services {
    padding: 60px 15px;
    background-color: var(--light-gray-bg);
}
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Hizmet blokları arası boşluk */
}
.service-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Ensure content stays within rounded corners */
}

.service-item-right {
    flex-direction: row;
}

.service-item-left {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 45%; /* Resim alanı genişliği */
}
.service-image img {
    border-radius: 5px;
}

.service-text {
    flex: 1; /* Metin alanı kalan genişliği alır */
}
.service-text h3 {
    margin-bottom: 1rem;
}
.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}
.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.service-link:hover i {
    transform: translateX(5px);
}


/* --- Service Process Section --- */
.service-process {
    padding: 60px 15px;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
    gap: 30px;
    text-align: center;
}

.process-step {
    padding: 20px;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}
.process-step h4 {
     color: var(--text-color);
     font-weight: 500;
     margin-bottom: 0.5rem;
}

/* --- Why Us Section --- */
.why-us {
    padding: 60px 15px;
    background-color: var(--light-gray-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.why-us-item {
    background-color: var(--background-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.why-us-item:hover {
    transform: translateY(-5px);
}

.why-us-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}
.why-us-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* --- SEO Text Section --- */
.seo-text {
    padding: 60px 15px;
}
.seo-text h2 {
    text-align: left; /* Sola hizalı başlık */
}

/* --- Footer --- */
.footer {
    background-color: var(--footer-bg);
    color: var(--light-text-color);
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--light-text-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}
/* Footer başlık altı çizgisi */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col p,
.footer-col ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #adb5bd; /* Biraz daha açık gri */
}
.footer-col ul li a {
    color: #adb5bd;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--light-text-color);
    padding-left: 5px; /* Hover efekti */
}

.footer-col a {
     color: #adb5bd;
}
.footer-col a:hover {
    color: var(--light-text-color);
}
.footer-col i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #495057; /* Ayrım çizgisi */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #adb5bd;
}

/* --- Mobil Uyumluluk (Responsive) --- */
@media (max-width: 992px) {
    :root {
        --container-width: 960px;
    }
     h1 { font-size: 2.2rem; }
     .hero h1 { font-size: 2.5rem; }
     h2 { font-size: 1.8rem; }

    .service-item {
        gap: 20px;
    }
     .service-image {
        flex: 0 0 40%;
    }

}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    .container {
        max-width: 720px;
    }
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }


    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%; /* Başlangıçta gizli */
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background-color: var(--background-color);
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: flex-start;
        padding-top: 20px;
        transition: left 0.4s ease-in-out;
        overflow-y: auto; /* Çok fazla menü öğesi olursa kaydırma */
    }

    .nav.active {
        left: 0; /* Aktif olunca görünür */
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-list li {
        margin-left: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        padding: 15px 20px;
        display: block; /* Tıklama alanını genişlet */
    }

    .hamburger {
        display: block; /* Mobilde hamburgeri göster */
    }

    /* Mobil dropdown */
    .dropdown-menu {
        display: none; /* Mobilde başlangıçta gizli */
        position: static; /* Statik pozisyon */
        box-shadow: none;
        border: none;
        padding-left: 30px; /* İçeri girinti */
        background-color: var(--light-gray-bg); /* Hafif farklı arka plan */
        width: 100%;
        min-width: unset;
        padding-top: 0;
        padding-bottom: 0;
    }
     .dropdown-menu a {
         padding: 10px 20px;
         font-size: 0.95em;
     }

    /* JS ile açılır kapanır yapmak için class (JS kısmına bakınız) */
     .dropdown.open .dropdown-menu {
         display: block;
     }
     .dropdown > a i { /* Aşağı ok ikonu mobilde */
        transition: transform 0.3s ease;
     }
      .dropdown.open > a i {
         transform: rotate(180deg); /* Açıkken ikonu döndür */
     }


    .service-item,
    .service-item-left,
    .service-item-right {
        flex-direction: column; /* Servis bloklarını alt alta diz */
        text-align: center;
    }
    .service-image {
        flex-basis: auto; /* Genişlik otomatik */
        width: 70%; /* Resim biraz daha küçük */
        margin-bottom: 20px;
    }
    /* Mobilde resim/metin sırasını hep aynı yapmak isterseniz: */
    .service-item-left .service-image {
        order: -1; /* Resmi yukarı alır */
    }


     .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%); /* Çizgiyi ortala */
    }
     .footer-col ul {
         padding-left: 0; /* Liste girintisini sıfırla */
     }

}

@media (max-width: 576px) {
     .container {
        max-width: 100%;
    }
     h1 { font-size: 1.8rem; }
     .hero h1 { font-size: 2rem; }
     .hero p { font-size: 1rem; }
     .cta-button { padding: 12px 25px; font-size: 1rem;}
     h2 { font-size: 1.5rem; }
     h3 { font-size: 1.2rem; }

    .why-us-grid {
        grid-template-columns: 1fr; /* Tek sütun */
    }
     .service-image {
        width: 85%;
    }
     .process-steps {
        grid-template-columns: 1fr; /* Tek sütun */
     }
      .footer-grid {
        grid-template-columns: 1fr; /* Tek sütun */
    }

}

 /* WhatsApp Float Button Stilleri (style.css'e eklenmesi daha iyi olur) */
 .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* WhatsApp Yeşili */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none; /* Link alt çizgisini kaldır */
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

 @media (max-width: 768px) {
      .page-title-banner h1 {
         font-size: 2rem;
     }
      .whatsapp-float {
          width: 50px;
          height: 50px;
          bottom: 20px;
          right: 20px;
          font-size: 25px;
      }
 }

 /* Telefonla Ara Float Button Stilleri */
.call-float {
position: fixed;
width: 60px;            /* WhatsApp butonuyla aynı boyut */
height: 60px;           /* WhatsApp butonuyla aynı boyut */
bottom: 30px;           /* WhatsApp butonuyla aynı dikey konum */
right: 100px;           /* WhatsApp butonunun SOLUNA yerleşecek şekilde ayarlandı (30px sağ boşluk + 60px WhatsApp buton genişliği + 10px boşluk = 100px) */
background-color: #007bff; /* Örnek Mavi Renk - İstediğiniz renkle değiştirebilirsiniz */
color: #FFF;
border-radius: 50px;    /* Yuvarlak kenarlar */
text-align: center;
font-size: 28px;        /* İkon boyutu (gerekirse ayarlayın) */
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); /* Gölge */
z-index: 100;           /* Diğer öğelerin üzerinde kalması için */
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease; /* Hover efekti için geçiş */
text-decoration: none;  /* Link alt çizgisini kaldır */
}

.call-float:hover {
transform: scale(1.1);  /* Hover efekti: Hafif büyüme */
color: #FFF;            /* Hover durumunda yazı rengi (aynı kalabilir) */
}

/* Medya Sorgusu İçinde Telefon Butonu Ayarları */
@media (max-width: 768px) {
.call-float {
width: 50px;        /* Mobil için boyut */
height: 50px;       /* Mobil için boyut */
bottom: 20px;       /* Mobil için dikey konum */
right: 80px;        /* Mobil: WhatsApp butonunun SOLUNA yerleşecek şekilde (20px sağ boşluk + 50px WhatsApp buton genişliği + 10px boşluk = 80px) */
font-size: 23px;    /* Mobil için ikon boyutu */
}

/* Mevcut WhatsApp mobil stilleriniz (Referans olarak) */
.whatsapp-float {
width: 50px;
height: 50px;
bottom: 20px;
right: 20px;
font-size: 25px;
}
/* Başlık stili (Bu sizin kodunuzda vardı, burada sadece referans)
.page-title-banner h1 {
font-size: 2rem;
}
*/
}