.navbar {
    display: flex;
    background-color: #fff;
    /* justify-content: center; */
    padding: 10px 0;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    margin-right: 30px; /* istediğin kadar artır/azalt */
}

.navbar .load-page {
    color: #3f6c9a;
    text-decoration: none;
    font-weight: 600;
    display: block;
    position: relative;
    z-index: 10;
    transition: color 0.3s ease;
    margin: 0 11px;
}
.nav_page{
    color: #3f6c9a;
    text-decoration: none;
    font-weight: 600;
    display: block;
    position: relative;
    z-index: 10;
    transition: color 0.3s ease;
    margin: 0 11px;
}
.navbar-brand {
    font-weight: bold;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.sagayasla{
    /* padding-left: 150px; */
    color: #465fd2;
}
.nav-link {
    /* font-size: 1.1rem; */
    color: #555;
    transition: color 0.3s ease;
}

.nav-link:hover {
    /* color: #ff9800; */
}

/* Dropdown Menü */
.dropdown-menu {
    opacity:0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 14px;
    border: none;
    min-width: 250px; 
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
    padding:0px; 
    /* display: none; */
    position: absolute;
    top: 100%;
    left: 0;
    margin-top:12px;    
background-color: rgba(54, 54, 54, 0.8);

    border-radius: 4px;
}


/* .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    padding-top: 10px; 
    padding-bottom: 10px;
}
*/
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
} 

.dropdown:hover .dropdown-menu {
    display: block;
}


.dropdown-menu .load-page {
    display: block;
    padding: 10px 2px;
       color: #f1f1f1;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border-radius: 2px;
    font-size: 13px;
    margin: 4px 0;
    padding-left: 14px;
    min-width: 230px;

   
    
}

.dropdown-menu .load-page:hover {
    /* background: linear-gradient(135deg, #3498db, #2c3e50); */
    color: #f1f1f1;
    
}

/* Dropdown Hover ile Açılacak */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 768px) {
    .nav-link {
        /* font-size: 0.9rem; */
    }

    .dropdown-menu {
        min-width: 220px; /* Mobilde dropdown genişliği azaltılsın */
    }

    .dropdown-menu .load-page {
        font-size: 14px; /* Dropdown içindeki fontu küçült */
        padding: 10px; /* Daha sıkı padding */
    }

    .navbar {
        padding: 8px 0; /* Mobilde daha az padding */
    }

    .navbar-brand {
        /* font-size: 1rem;  */
    }

    .navbar-toggler {
        /* font-size: 1rem;  */
    }
    .orta_banner {
        
        padding: 30px;
        text-align: center;
        border-radius: 2px;
        margin-top:0px !important; /* Üste çıkarmak için negatif margin */
       
    }
}

.navbar-nav .nav-link {
    display: block; /* Tüm linkleri blok seviyesine getir */
    padding: 7px 5px;
   /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* İnce alt çizgi */
}

.navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none; /* Son linke çizgi ekleme */
}

/* Mobil versiyon için */
@media (max-width: 576px) {
    /* .navbar {
        background: linear-gradient(135deg, #3498db, #2c3e50);
    } */

    .navbar-nav .nav-link {
        /* color: #fff !important; */
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .orta_banner {
        
        padding: 30px;
        text-align: center;
        border-radius: 2px;
        margin-top:0px !important; /* Üste çıkarmak için negatif margin */
    }
}

@media (max-width: 768px) {
    .course-section {
        flex-direction: column; /* Mobilde alt alta geçsin */
    }

    .calendar_add, #right_place {
        margin-bottom: 20px; /* Alt boşluk ekle */
    }

    .calendar-card {
        width: 100% !important;
    }
    
}

.course-card img, .calendar-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Resim bozulmasın */
    border-radius: 6px;
}

