body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
main {
    flex: 1;
    padding-bottom: 2rem;
}
footer {
    margin-top: auto;
    background-color: #F0F8FF !important;
    color: #000 !important;
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 100%;
    bottom: 0;
}
.navbar {
    font-family: 'Poppins', sans-serif;
    padding: 1rem 0;
}

.navbar-nav {
    margin-left: auto;
    gap: 1rem;
}

.nav-link, .dropdown-item {
    text-transform: capitalize;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    color: #000 !important;
}

.nav-link i, .dropdown-item i {
    color: #007bff;
}

.nav-link:hover, .dropdown-item:hover {
    color: #007bff !important;
    transform: translateX(5px);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown menüye hover yapıldığında kapanmasını engelle */
.dropdown-menu:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    border-radius: 6px;
    margin: 0.2rem 0;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Dropdown menü ile tetikleyici arasında boşluk bırak */
.dropdown-menu {
    margin-top: 0.5rem;
}

/* Dropdown menüyü tetikleyici ile aynı genişlikte yap */
.dropdown-menu {
    width: 100%;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}
.search-form {
    position: relative;
    margin-right: 1rem;
}
.search-icon {
    font-size: 1.2rem;
    color: #007bff;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-icon:hover {
    color: #0056b3;
    background: #e9ecef;
}
.search-input-container {
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
}
.search-form:hover .search-input-container {
    width: 300px;
}
.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
}
.search-input::placeholder {
    color: #6c757d;
}
.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}
.search-results.show {
    display: block;
}
.search-item {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s ease;
}
.search-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}
.search-item:last-child {
    border-bottom: none;
}
.search-item .fw-bold {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #212529;
}
.search-item small {
    font-size: 0.875rem;
    color: #6c757d;
}
.search-item .type-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #e9ecef;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #495057;
    margin-top: 0.25rem;
}
.lang-selector {
    position: relative;
    margin-left: 1rem;
}
.lang-selector .btn-link {
    color: #000 !important;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.lang-selector .btn-link:hover {
    background: #f8f9fa;
}
.lang-selector .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.lang-selector:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.lang-selector .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #000;
    text-decoration: none;
}
.lang-selector .dropdown-item:hover {
    background: #f8f9fa;
    color: #007bff;
}
.lang-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
}
[dir="rtl"] .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}
[dir="rtl"] .lang-selector {
    margin-right: 1rem;
    margin-left: 0;
}
[dir="rtl"] .lang-selector .dropdown-menu {
    right: auto;
    left: 0;
}
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #f8f9fa;
}
.hero-shape {
    position: absolute;
    opacity: 0.3;
    z-index: 1;
    mix-blend-mode: multiply;
}
.hero-shape-1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 6s ease-in-out infinite;
}
.hero-shape-2 {
    top: 30%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #4ecdc4, #45b7af);
    clip-path: circle(50% at 50% 50%);
    animation: float 8s ease-in-out infinite;
}
.hero-shape-3 {
    bottom: 20%;
    left: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ffd166, #ffd700);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: float 7s ease-in-out infinite;
}
.hero-shape-4 {
    bottom: 10%;
    right: 5%;
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, #06d6a0, #05c191);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    animation: float 9s ease-in-out infinite;
}
.hero-shape-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #118ab2, #0a6b8a);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: float 10s ease-in-out infinite;
}
.hero-shape-6 {
    top: 20%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #ef476f, #ff7096);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 5s ease-in-out infinite;
}
.hero-shape-7 {
    bottom: 30%;
    left: 25%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #7209b7, #9d4edd);
    clip-path: circle(50% at 50% 50%);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}
.hero-content {
    position: relative;
    z-index: 2;
}
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    position: relative;
}

.loading-logo {
    width: 250px;
    height: auto;
    margin-bottom: 30px;
    animation: logoGlow 2s infinite;
}

.loading-text {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
    margin-top: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: textGlow 2s infinite;
}

.loading-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.loading-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: shapeFloat 10s infinite;
}

.loading-shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.loading-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.loading-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)); }
    100% { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
    100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
}

@keyframes shapeFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

@keyframes dropIn {
    0% { transform: translateY(-100vh) rotate(-180deg); opacity: 0; }
    60% { transform: translateY(20px) rotate(10deg); opacity: 1; }
    80% { transform: translateY(-10px) rotate(-5deg); }
    100% { transform: translateY(0) rotate(0); }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.2); }
}

/* Sayfa Geçiş Animasyonu */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

.page-transition-content {
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.page-transition-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    animation: dropIn 1s ease-out, float 3s infinite;
    transform-origin: center;
}

.page-transition-text {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin-top: 20px;
    animation: fadeInUp 1s ease-out;
}

.page-transition-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-transition-dot {
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    animation: bounce 1.5s infinite;
}

.page-transition-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.page-transition-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.loading-subtext {
    font-size: 24px;
    color: #fff;
    font-weight: normal;
    margin-top: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: textGlow 2s infinite;
    animation-delay: 0.5s;
}
.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00bcd4);
    margin: 1rem auto;
    border-radius: 3px;
}

.about-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.about-icon i {
    background: linear-gradient(45deg, #007bff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.text-primary {
    color: #007bff !important;
}

.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00bcd4);
    margin: 1rem auto;
    border-radius: 3px;
}