/* Genel Ayarlar */
body {
    padding-top: 86px;
    font-family: 'Open Sans', sans-serif;
}

/* Başlıklar için font */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.section-title,
.card-title,
.navbar-brand span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Paragraflar için font */
p, span, a, li, 
.card-text,
.nav-link {
    font-family: 'Open Sans', sans-serif;
}

/* Navbar Logo Ayarı */
.navbar-brand img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Hero (Kapak) Bölümü */
.hero-section {
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ===== SCROLL ANİMASYONLARI ===== */

/* Temel animasyon ayarları */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Aşağıdan yukarı gelme */
.fade-up {
    transform: translateY(60px);
}
.fade-up.animated {
    transform: translateY(0);
}

/* Soldan gelme */
.fade-right {
    transform: translateX(-60px);
}
.fade-right.animated {
    transform: translateX(0);
}

/* Sağdan gelme */
.fade-left {
    transform: translateX(60px);
}
.fade-left.animated {
    transform: translateX(0);
}

/* Zoom efekti */
.zoom-in {
    transform: scale(0.8);
}
.zoom-in.animated {
    transform: scale(1);
}

/* Dönerek gelme */
.rotate-in {
    transform: rotate(-10deg) scale(0.9);
}
.rotate-in.animated {
    transform: rotate(0) scale(1);
}

/* Gecikme sınıfları */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Hero animasyonları */
.hero-section h1 {
    animation: heroFadeIn 1s ease-out forwards;
}

.hero-section p {
    animation: heroFadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-section .btn {
    animation: heroFadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kart hover efektleri geliştirilmiş */
.card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* İkon animasyonları */
.card i {
    transition: all 0.4s ease;
}

.card:hover i {
    transform: scale(1.2);
}

/* Kart içi logo/ikon resmi */
.card-icon-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: inline-block;
    transition: transform 0.3s ease;
}

.card:hover .card-icon-logo {
    transform: scale(1.08);
}

/* Section başlık animasyonları */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    margin: 15px auto 0;
    transition: width 0.6s ease;
}

.section-title.animated::after {
    width: 100px;
}

/* Parlama efekti */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.shine-effect:hover::before {
    left: 100%;
}

/* Bölüm Başlıkları */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Kart Efektleri */
.card-hover:hover {
    transform: translateY(-5px);
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Yönetim Kurulu Kartları */
.member-card {
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 320px;
}
.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--bs-primary);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.2);
}

/* Yönetim Kurulu Fotoğrafları */
.member-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #0d6efd;
    transition: all 0.3s ease;
}

.member-card:hover .member-photo {
    transform: scale(1.1);
    border-color: #6610f2;
    box-shadow: 0 5px 20px rgba(102, 16, 242, 0.3);
}

/* Slider Oklarının Ayarı */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* Gece modunda carousel okları */
[data-bs-theme="dark"] .carousel-control-prev-icon,
[data-bs-theme="dark"] .carousel-control-next-icon {
    filter: invert(1) !important;
    background-color: transparent !important;
}

[data-bs-theme="dark"] .carousel-dark .carousel-control-prev-icon,
[data-bs-theme="dark"] .carousel-dark .carousel-control-next-icon {
    filter: invert(0) !important;
}

[data-bs-theme="dark"] #boardCarousel .carousel-control-prev-icon,
[data-bs-theme="dark"] #boardCarousel .carousel-control-next-icon {
    filter: brightness(0) invert(1) !important;
}

/* Sosyal Medya İkonları */
.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    transition: 0.3s;
    text-decoration: none;
}
.social-icons a:hover {
    color: var(--bs-primary) !important;
}

/* Harita Kutusu */
.map-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 20px;
}
.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* ===== NAVBAR HOVER DROPDOWN ===== */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        margin-top: 0;
        border: none;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 10px 0;
    }
    
    .navbar .dropdown-item {
        padding: 10px 20px;
        transition: all 0.2s ease;
        border-radius: 5px;
        margin: 2px 8px;
    }
    
    .navbar .dropdown-item:hover {
        background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
        transform: translateX(5px);
    }
    
    .navbar .dropdown-item.active {
        background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(102, 16, 242, 0.15));
        color: var(--bs-primary);
    }
    
    .navbar .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Dark mode dropdown */
[data-bs-theme="dark"] .navbar .dropdown-menu {
    background: var(--bs-body-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Dark theme: animated fill stays inside item box, sweeps right->left on hover */
[data-bs-theme="dark"] .navbar .dropdown-item {
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

/* Pseudo-element for the sweep animation - starts outside to the right */
[data-bs-theme="dark"] .navbar .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #0b6ea8 0%, #2fb6e9 100%);
    transform: translateX(100%);
    transition: transform 0.25s ease-out;
    z-index: -1;
    border-radius: inherit;
}

/* On hover: sweep fills the entire item box from right to left */
[data-bs-theme="dark"] .navbar .dropdown-item:hover {
    color: #ffffff;
    transform: none;
}

[data-bs-theme="dark"] .navbar .dropdown-item:hover::before {
    transform: translateX(0);
}

/* Inline logo used inside alerts and headings */
.inline-logo {
    width: 48px;
    height: auto;
    vertical-align: middle;
}

@media (max-width: 576px) {
    .inline-logo {
        width: 40px;
    }
}

/* Light mode dropdown: same animation */
[data-bs-theme="light"] .navbar .dropdown-menu {
    overflow: hidden;
}

[data-bs-theme="light"] .navbar .dropdown-item {
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

[data-bs-theme="light"] .navbar .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #0b6ea8 0%, #2fb6e9 100%);
    transform: translateX(100%);
    transition: transform 0.25s ease-out;
    z-index: -1;
    border-radius: inherit;
}

[data-bs-theme="light"] .navbar .dropdown-item:hover {
    color: #ffffff;
    transform: none;
}

[data-bs-theme="light"] .navbar .dropdown-item:hover::before {
    transform: translateX(0);
}

/* ===== ETKİNLİK GALERİSİ CAROUSEL BUTONLARI ===== */
/* Tüm etkinlik sayfalarındaki galeri slider butonları - mavi yuvarlak */
#eventGalleryCarousel .carousel-control-prev,
#eventGalleryCarousel .carousel-control-next {
    width: auto;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

#eventGalleryCarousel .carousel-control-prev {
    left: 12px;
}

#eventGalleryCarousel .carousel-control-next {
    right: 12px;
}

#eventGalleryCarousel .carousel-control-prev-icon,
#eventGalleryCarousel .carousel-control-next-icon {
    display: none;
}

#eventGalleryCarousel .carousel-control-prev::after,
#eventGalleryCarousel .carousel-control-next::after {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #0d6efd;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
    transition: background-color 0.2s ease, transform 0.2s ease;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

#eventGalleryCarousel .carousel-control-prev::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

#eventGalleryCarousel .carousel-control-next::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

#eventGalleryCarousel .carousel-control-prev:hover::after,
#eventGalleryCarousel .carousel-control-next:hover::after {
    background-color: #0b5ed7;
    transform: scale(1.1);
}

/* Dark modda da aynı mavi butonlar */
[data-bs-theme="dark"] #eventGalleryCarousel .carousel-control-prev::after,
[data-bs-theme="dark"] #eventGalleryCarousel .carousel-control-next::after {
    background-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.6);
}