body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.topbar-content ul li a:hover,
.navbar-content ul li a:hover {
    color: #ccc;
}

.navbar-logo img {
    height: 60px;
    width: auto;
    margin-right: 20px;
    vertical-align: middle;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 10px;
    margin-right: 10px;
}

.nav-link {
    color: white !important;
    text-decoration: none;
}

.nav-link:hover {
    color: #ccc !important;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0; 
    z-index: 1000; 
    display: none !important; 
    min-width: 10rem; 
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    text-align: left;
    list-style: none;
    background-color: rgb(46, 41, 41); 
    border: none; 
    background-clip: padding-box;
    border-radius: .25rem;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-item {
    display: block; 
    width: 100%; 
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: white; 
    text-align: inherit;
    white-space: nowrap;
    background-color: rgb(46, 41, 41);
    border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #ccc; 
    background-color: rgba(160,155,155); 
    text-decoration: none;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0; 
    left: 100%; 
    margin-top: 0;
    margin-left: 0.1rem; 
    display: none !important; 
    position: absolute;
    background-color: rgb(46, 41, 41); 
    z-index: 1005; 
    width: auto;
    min-width: auto;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block !important; 
}

.dropdown-submenu > .dropdown-item:hover {
    background-color: rgba(160,155,155);
}

.navbar {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000; 
}

#haberler,
#etkinlikler {
    background-color: #f8f9fa; 
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#haberler h2,
#etkinlikler h2 {
    color: #343a40; 
}

.card {
    border: none; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.card-img-top {
    height: 200px; 
    object-fit: cover; 
}

.card-title {
    font-size: 1.25rem; 
    margin-bottom: 0.75rem;
}

.btn-primary {
    background-color: #007bff; 
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-secondary {
    background-color: #6c757d; 
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.header-title {
    font-size: 3rem;
    text-decoration: solid;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
    color: white;
    margin-top: 100px;
    animation: fadeIn 1.5s ease-in-out forwards;
    opacity: 0;
    z-index: 2;
    position: relative;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.site-footer {
    background-color:#f8f9fa;
    color: #166cc2;
    padding: 40px 0 20px;
    font-size: 0.95rem;
}

.site-footer h5 {
    color: #3f3b3b;
    margin-bottom: 15px;
}

.site-footer a {
    color: #166dc4;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
    color: #911919;
}

.site-footer hr {
    border-top: 1px solid #444;
    margin: 20px 0;
}
 
.dropdown-submenu {
    position: relative;
  }
  
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.1rem;
    display: none;
    position: absolute;
    background-color: rgb(46, 41, 41);
  }
  
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

.header {
    position: relative;
    overflow: hidden;
    height: 97vh;
    background-image: url(etkinlikler.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
}

.topbar {
    background-color: rgb(160, 155, 155);
    padding: 1px 0;
    width: 100%;
    position: fixed; 
    top: 0;
    z-index: 11; 
}

.navbar {
    background-color: rgb(46, 41, 41);
    padding: 15px 0;
    width: 100%;
    position: fixed !important; 
    top: 22px;
    z-index: 30;
    height: 77px;
    display: flex;
    align-items: center;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navbar-logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: auto;
}

.navbar-logo img {
    height: 90px;
    width: auto;
    margin-right: 20px;
    vertical-align: middle;
}

.navbar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-menu ul li {
    margin: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-menu ul li a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.topbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: right;
    align-items: center;
}

.topbar-logo{
    height: 15px;
    display: flex;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    align-items: center;
}

 .topbar-logo2{
    height: 15px;
    display: flex;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    align-items: center;
} 

.topbar-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.topbar-content ul li {
    margin: 0 15px;
}

.topbar-content ul li a {
    color: white;
    text-decoration: none;
}
.subtext {
    font-family: 'Dancing Script', cursive;
    font-size: 1.7rem;
    color: #f8f9fa;
    margin-top: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}