/* css/style.css */

/* Genel Ayarlar ve Resetleme */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: auto;
    padding: 0 2rem;
}

/* Renk Değişkenleri (Logodan Alınan Renkler) */
:root {
    --primary-color: #8a2b2b; /* Bordo */
    --secondary-color: #1c2e5c; /* Lacivert */
    --light-gray: #f4f4f4;
    --dark-gray: #333;
}

/* Header & Navigasyon */
header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 60px;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Banner Alanı (Anasayfa) */
.banner {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.banner-text {
    position: absolute;
    top: 30%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
    border-radius: 10px;
}

.banner-text h1 {
    font-size: 32px;
    margin: 0 0 10px;
}

.banner-text p {
    font-size: 18px;
    margin: 0;
}

/* Genel Sayfa İçeriği Alanı */
.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-content {
    padding: 2rem 0;
    background: #fff;
    min-height: 60vh;
}

.page-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Hizmetler Sayfası */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* İletişim Formu */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #a13a3a;
}

/* Politikalar Sayfası */
.policy {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.policy:last-child {
    border-bottom: none;
}

/* Sertifikalar Sayfası */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.certificate-item {
    text-align: center;
}

.certificate-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}

/* === Hamburger Menü & Mobil Düzenlemeleri === */

/* Hamburger varsayılan (masaüstü gizli) */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobil görünüm */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        background: #fff;
        border: 1px solid #ddd;
        padding: 10px;
        z-index: 999;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
/* Masaüstünde hamburger gizle */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}