/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #2f4f4f;
    padding: 20px 0;
}

.container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #fff;
    font-size: 28px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffdd57;
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 90vh; /* Yüksekliği ekranın %90'ı olacak şekilde ayarlandı */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Taşan içerik gizlendi */

}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;  /* Genişliği ekrana uyumlu yap */
    height: 100vh; /* Yüksekliği ekrana uyumlu yap */
    transform: translate(-50%, -50%); /* Videoyu ortala */
    object-fit: cover; /* İçeriği tam kaplayacak şekilde yerleştir */
    z-index: -1; /* Video, metnin arkasında kalır */
        background-color: #000; /* Video yüklenmeden önce arka plan */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Yarı saydam bir katman */
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 2rem;
    padding: 20px;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    margin-top: 10px;
}


/* Info Section */
.info, .about, .contact-section {
    padding: 50px 0;
    background-color: #fff;
}

.info h2, .about h2, .contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #2f4f4f;
}

.info p, .about p, .contact-section p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
    width: 70%;
    margin: 0 auto;
}

.contact p {
    font-size: 18px;
}

.contact .btn {
    display: inline-block;
    margin-top: 10px;
}

.contact-form {
    width: 60%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #2f4f4f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #3e6d6d;
}

/* Footer */
footer {
    background-color: #2f4f4f;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
}
.info p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
    width: 70%;
    margin: 0 auto;
}

.contact {
    text-align: center;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #2f4f4f;
    color: #fff;
}

.btn-primary:hover {
    background-color: #3e6d6d;
}

.btn-secondary {
    background-color: #ffdd57;
    color: #fff;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: #e6c550;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    margin-top: 20px;
}

.btn-whatsapp:hover {
    background-color: #20c159;
}
.email-button {
    display: inline-block;
    background-color: #007BFF; /* Mavi arka plan */
    color: white; /* Yazı rengi */
    padding: 8px 12px; /* İç boşluklar, buton boyutunu belirler */
    border-radius: 5px; /* Kenarları yuvarlatma */
    text-decoration: none; /* Altı çizili olmasın */
    font-size: 12px; /* Yazı boyutu */
    border: none; /* Kenarlık olmasın */
    cursor: pointer; /* Üzerine gelince imleç buton şeklinde olsun */
}

.email-button:hover {
    background-color: #0056b3; /* Hover (üzerine gelince) efekti */
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    /* Header */
    .container {
        width: 90%;
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    header h1 {
        font-size: 24px;
    }

    nav ul li a {
        font-size: 14px;
    }
    .hero {
        height: 60vh; /* Küçük ekranlarda hero alanını küçült */
    }

    #background-video {
        width: 100vw;  /* Mobilde video genişliğini ekran genişliği kadar yap */
        height: 60vh;  /* Video yüksekliği küçüldü */
    }

    /* Hero Text */
    .hero-text h2 {
        font-size: 32px;
    }
    

    .hero-text p {
        font-size: 16px;
    }

    /* Form ve Diğer İçerik */
    .info p, .about p, .contact-section p {
        width: 90%;
    }

    .contact-form {
        width: 90%;
    }
}

@media (max-width: 480px) {
    /* Header */
    header h1 {
        font-size: 20px;
    }

    nav ul li a {
        font-size: 12px;
    }
     .hero {
        height: 50vh; /* Daha küçük ekranlarda hero alanı küçüldü */
    }

    #background-video {
        width: 100vw;  /* Mobil cihazda video genişliği ekran genişliği */
        height: 50vh;  /* Video yüksekliği %50 */
    }

    /* Hero Text */
    .hero-text h2 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 14px;
    }

    /* Form ve Diğer İçerik */
    .info p, .about p, .contact-section p {
        width: 100%;
    }

    .contact-form {
        width: 100%;
    }
}
