﻿/* =========================
   GENEL AYARLAR
   ========================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   HERO BÖLÜMÜ
   ========================= */
.hero-section {
    height: 80vh; /* Desktop yüksekliği */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
}

    .hero-section .overlay {
        background-color: rgba(0, 0, 0, 0.5);
        padding: 2rem;
        border-radius: 10px;
        max-width: 700px;
    }

    /* Başlık ve paragraf */
    .hero-section h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .hero-section p {
        font-size: 1.25rem;
        margin-top: 0.5rem;
    }

    /* Buton */
    .hero-section .btn {
        margin-top: 1rem;
        border-radius: 5px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .hero-section .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

/* =========================
   RESPONSIVE AYARLAR
   ========================= */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Mobilde daha kısa */
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section p {
            font-size: 1rem;
        }

        .hero-section .overlay {
            padding: 1.5rem;
        }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh; /* Küçük mobil ekran */
    }

        .hero-section h1 {
            font-size: 1.75rem;
        }

        .hero-section p {
            font-size: 0.95rem;
        }

        .hero-section .overlay {
            padding: 1rem;
        }

        .hero-section .btn {
            font-size: 0.95rem;
            padding: 0.5rem 1rem;
        }
}

/* =========================
   BÖLÜMLER GENEL
   ========================= */
.section {
    padding: 4rem 0;
}

    .section h2 {
        text-align: center;
        margin-bottom: 2rem;
    }

.card {
    border: none;
    border-radius: 10px;
}

    .card .card-body h5 {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

/* =========================
   İLETİŞİM SAYFASI
   ========================= */
form .form-group {
    margin-bottom: 1rem;
}

form input,
form textarea {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 0.5rem;
    width: 100%;
}

form button {
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
}

/* =========================
   GOOGLE MAPS
   ========================= */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 oran */
    height: 0;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
}

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* =========================
   CTA ve FOOTER
   ========================= */
.container-fluid.bg-primary {
    background-color: #0d6efd !important;
    color: #fff;
}

footer {
    padding: 2rem 0;
    background-color: #222;
    color: #fff;
    text-align: center;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
   ========================= */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 2.75rem;
    }

    .hero-section p {
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .hero-section .overlay {
        padding: 1rem;
    }

    .hero-section .btn {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}
