/* Genel Ayarlar */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    border-bottom: 5px solid #7e0303cf;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    font-size: 1.1rem;
    margin-top: 5px;
}

/* Navigasyon */
nav {
    background: #444;
    color: #fff;
    text-align: center;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color:#7e0303cf;
}

/* Ana İçerik */
main {
    padding: 20px;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 900px;
    border-radius: 8px;
}

.content-section {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.content-section:last-child {
    border-bottom: none;
}

h2 {
    color: #7e0303cf;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 5px;
}

/* Tablo Stilleri */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table thead {
    background-color: #7e0303cf;
    color: #fff;
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Resim Konteynerleri */
.image-container {
    margin: 20px 0;
    text-align: center;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-description {
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Form Stilleri */
form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Padding ve border'ı width içine dahil eder */
}

form textarea {
    resize: vertical; /* Sadece dikeyde yeniden boyutlandırmaya izin verir */
}

form button {
    background: #7e0303cf;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #7e0303cf;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    margin-top: 30px;
    border-top: 5px solid #7e0303cf;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    main {
        width: 95%;
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }
}
html {
    scroll-behavior: smooth;}
    .burbant-button {
    display: inline-block;
    padding: 15px 50px;
    background-color: #d71921; /* Kurumsal kırmızı tonu */
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.burbant-button:hover {
    background-color: #ffffff;
    color: #d71921;
    border: 2px solid #d71921;
    transform: scale(1.05);
}
/* Menünün sabit kalması ve geçişin yumuşak olması için */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: opacity 0.4s ease, background-color 0.4s ease;
}

/* Saydamlık sınıfı */
.nav-transparent {
    opacity: 0.6; /* Saydamlık miktarını buradan ayarlayabilirsiniz */
}

.nav-transparent:hover {
    opacity: 1; /* Fareyle üzerine gelindiğinde tekrar netleşir */
}
/* 1. Navigasyonun içindeki li öğelerini düzeltelim */
nav ul li {
    display: inline-block; /* 'inline' yerine 'inline-block' olmalı */
    position: relative;    /* Alt menünün buna göre hizalanması için */
    margin: 0 15px;
}

/* 2. Açılır kutuyu görünmez ama tıklanabilir yapalım */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    z-index: 99999 !important; /* Her şeyin üstünde olmalı */
    top: 100%;  /* Menü çubuğunun hemen altında başlar */
    left: 0;
    border-radius: 4px;
    padding: 0;
}

/* 3. Linklerin tıklama alanını genişletelim */
.dropdown-content a {
    color: #333 !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block !important; /* Tüm satırı tıklanabilir yapar */
    text-align: left;
    border-bottom: 1px solid #eee;
    pointer-events: auto !important; /* Tıklamayı aktif eder */
}

/* 4. Mouse gelince göster */
.dropdown:hover .dropdown-content {
    display: block;
}

/* 5. Alt linklerin üzerine gelince renk değişimi */
.dropdown-content a:hover {
    background-color: #7e0303cf !important;
    color: white !important;
}