/* --- TEMEL SAYFA STİLLERİ --- */
body {
    font-family: 'Roboto', sans-serif; 
    margin: 0; 
    background-image: url('images/anasayfa-arkaplan.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-attachment: fixed; 
    background-repeat: no-repeat; 
    background-color: #f4f4f4; 
}

main {
    max-width: 1200px; 
    margin: 20px auto; 
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-sizing: border-box; 
}

body.ana-sayfa main {
    background-color: transparent; 
    border-radius: 0;
}

/* --- YENİ EKLENEN FONT STİLLERİ --- */
h1, h2, h3, h4, h5, h6,
nav a,
.header-baslik {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; 
}

/* --- HEADER (ÜST BAŞLIK) STİLLERİ --- */
header {
    background-color: transparent; 
    color: #333;
    padding: 10px 20px;
    border-bottom: none;
    box-shadow: none; 
    
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box; 
}

/* --- YENİ BAŞLIK STİLLERİ (SLOGANLI) --- */

#header-yazi {
    flex: 1; 
    text-align: right; 
    padding-left: 20px; 
}

.header-baslik {
    font-size: 3.0em; 
    line-height: 1.3;
    display: block; 
    margin-bottom: 5px; 
}

.baslik-mavi {
    color: #004a99; 
}
.baslik-kirmizi {
    color: #CC0000; 
}

.header-slogan {
    color: #000000;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.7); 
    font-size: 1.3em; 
    font-family: 'Roboto', sans-serif; 
    font-style: italic; 
}

/* --- LOGO STİLİ --- */
#site-logo {
    max-width: 350px; 
    height: auto;
    display: block; 
}

/* --- NAVİGASYON MENÜSÜ STİLLERİ --- */
nav {
    background-color: #004a99; 
    border-bottom: 3px solid #f2a900; 
    text-align: center; 
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none; 
    
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; 
    box-sizing: border-box;
}

nav li {
    display: inline-block; 
}

nav a {
    display: block; 
    padding: 15px 20px; 
    text-decoration: none; 
    color: white; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;
    font-size: 1em;
}

nav a:hover {
    background-color: #003366; 
}

/* (Sayfanın geri kalanı) */
main h2 {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;
    text-align: center;
    color: #333;
    border-bottom: 2px solid #ccc; 
    padding-bottom: 10px;
}
main h3 {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;
    color: #004a99; 
}
.hizmet-kutulari {
    display: flex; 
    justify-content: space-around; 
    flex-wrap: wrap; 
}
.kutu {
    width: 300px; 
    background-color: #ffffff; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    padding: 20px;
    margin: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    text-align: center;
}
.kutu h3 {
    color: #004a99; 
}
.iletisim-formu {
    max-width: 700px; 
    margin: 30px 0; 
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.form-grup {
    margin-bottom: 20px; 
}
.form-grup label {
    display: block; 
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}
.form-grup input[type="text"],
.form-grup input[type="email"],
.form-grup textarea {
    width: 100%; 
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
    font-size: 1em;
}
.form-grup button {
    display: inline-block;
    background-color: #004a99; 
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer; 
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s; 
}
.form-grup button:hover {
    background-color: #003366; 
}
.galeri-container {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 30px;
}
.galeri-item {
    width: 350px; 
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden; 
    background-color: #fff;
}
.galeri-item img {
    width: 100%; 
    height: auto; 
    display: block; 
}
footer {
    background-color: #333; 
    color: #f4f4f4; 
    padding-top: 30px; 
    margin-top: 40px; 
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 20px;
    display: flex; 
    justify-content: space-around; 
    flex-wrap: wrap; 
}
.footer-sutun {
    width: 300px; 
    margin-bottom: 20px;
}
.footer-sutun h4 {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;
    color: #ffffff; 
    font-size: 1.2em;
    border-bottom: 2px solid #f2a900; 
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.footer-sutun p {
    line-height: 1.7;
    color: #ccc; 
}
.footer-sutun ul {
    list-style: none;
    padding: 0;
}
.footer-sutun ul li {
    margin-bottom: 10px;
}
.footer-sutun ul a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s; 
}
.footer-sutun ul a:hover {
    color: #f2a900; 
}

/* === YENİ: FOOTER E-POSTA LİNK STİLİ === */
.footer-sutun p a {
    color: #ccc; /* Footer'daki diğer metinlerle aynı renk */
    text-decoration: none; /* Alt çizgiyi kaldır */
}
.footer-sutun p a:hover {
    color: #f2a900; /* Hızlı linkler gibi sarı olsun */
    text-decoration: underline; /* Üzerine gelince altı çizilsin */
}
/* === BİTİŞ === */

.telif-hakki {
    background-color: #000000; 
    color: #aaa;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px; 
    font-size: 0.9em;
}
.telif-hakki p {
    margin: 0;
}

.renk-uyari {
    background-color: #fffde7;
    border: 1px solid #ffe57f;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    color: #5d4037;
}
.renk-katalog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    justify-content: center;
    margin-bottom: 25px; 
}
.renk-kutusu {
    width: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
    border: 1px solid #eee;
}
.renk-ornek {
    width: 100%;
    height: 90px;
    border-bottom: 1px solid #eee;
}
.renk-bilgi {
    padding: 10px;
    text-align: center;
}
.renk-bilgi span {
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
    display: block;
}

.whatsapp-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px; 
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}
.whatsapp-button:hover {
    background-color: #128C7E; 
}
.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: #FFF;
}

/* === MOBİL UYUMLULUK KODLARI === */
@media (max-width: 768px) {
    
    header {
        flex-direction: column; 
        height: auto; 
        padding: 10px;
    }
    #header-logo {
        margin-bottom: 10px;
    }
    #header-yazi {
        text-align: center; 
        padding-left: 0;
    }
    .header-baslik {
        font-size: 1.8em; 
    }
    .header-slogan {
        font-size: 1.1em;
        text-shadow: none; 
    }
    #site-logo {
        max-width: 250px; 
    }
    nav ul {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        padding: 0; 
    }
    nav li {
        display: block; 
        margin: 5px 0; 
        width: 100%; 
        text-align: center;
    }
    .galeri-container {
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 5px; 
    }
    .footer-container {
        flex-direction: column; 
        align-items: center; 
        text-align: center;
    }
    .footer-sutun {
        margin-bottom: 20px; 
        width: 90%; 
    }
    main {
        padding: 15px; 
    }
    .iletisim-formu {
        width: 95%; 
    }
}
@media (max-width: 480px) {
    
    .galeri-container {
        grid-template-columns: 1fr; 
    }
    .header-baslik {
        font-size: 1.5em;
    }
    .header-slogan {
        font-size: 1.0em;
    }
    .renk-kutusu {
        width: 100px; 
    }
    .renk-ornek {
        height: 70px;
    }
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}


/* === YENİ EKLENEN STİLLER (İyileştirme) === */

/* Ana Sayfa Karşılama Alanı (Hero) */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    color: #f4f4f4;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}
.hero-section h1 {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
    color: #f4f4f4; /* Diğer h1'lerden farklı olarak beyaz kalmalı */
    text-transform: uppercase;
    border-bottom: none; /* main h1'den gelen çizgiyi kaldır */
    padding-bottom: 0; /* main h1'den gelen padding'i kaldır */
}
.hero-section p {
    font-size: 1.3em;
    line-height: 1.7;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
    color: #f4f4f4;
}
.hero-section p.hero-alt-metin {
    font-size: 1.1em;
    margin-top: 20px;
}
.hero-section p.hero-insta-link {
    font-size: 1.2em;
    margin-top: 25px;
    font-weight: bold;
}
.hero-section a {
    color: #f2a900;
    text-decoration: underline;
    font-weight: 700;
}

/* Footer Sosyal Medya İkonu */
.footer-sutun a.sosyal-link {
    /* .footer-sutun ul a'dan stilleri miras alır */
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
}
.footer-sutun .sosyal-icon {
    margin-right: 10px;
    opacity: 0.8;
}/* === İLETİŞİM SAYFASI HARİTA MOBİL UYUM === */
.harita-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-top: 20px;
    /* Yükseklik / Genişlik oranı için */
    position: relative;
    padding-bottom: 56.25%; /* 16:9 oranı */
    height: 0;
}

.harita-container iframe {
    /* Konteynerin içine tam oturması için */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}