/* Ana menü stili */
.navbar-nav > li > a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: bold;
}
  
.navbar-nav > li > a:hover {
    color: #1abc9c;
}
  
/* Dropdown menü stili */
.dropdown {
    position: relative;
    z-index: 1000; /* Ebeveyn ögenin z-index değeri */
}
  
.dropdown .dropbtn {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    background-color: inherit;
    border: none;
    cursor: pointer;
}
  
.dropdown-content {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    background-color: rgba(1, 152, 179, 1); /* Daha belirgin arka plan */
    min-width: 180px;
    padding: 10px;
    border-radius: 8px; /* Yuvarlatılmış köşeler */
    box-shadow: 0px 8px 16px rgba(0, 93, 146, 0.2); /* Hafif gölge */
    z-index: 1001;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out, transform 1s ease-in-out;
    transform: translateY(-10px); /* Kapanırken yukarı doğru hareket eder */
}
  
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 4px; /* Yuvarlatılmış köşeler */
    transition: background 0.3s ease;
}
  
.dropdown-content a:hover {
    background-color: #111;
}
  
/* Dropdown görünürlüğü - hover durumunda */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px); /* Yumuşak açılma efekti */
}
  
.cpawnbody {
    position: relative;
    z-index: 0;
}
  
/* Mobil görünüm için medya sorgusu */
@media (max-width: 768px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        transform: none;
    }

    .dropdown-content a {
        padding: 10px;
    }
}
