:root {
    --primary: #386868;
    --primary-text: #fff;
    --background: #f0f4f4;
    --text-color: #000;
    --card-bg: rgba(255, 255, 255, .85);
    --card-border: rgba(230, 230, 230, .9);
    --pill-bg: #e7eded;
    --control-bg: rgba(220, 225, 225, .7);
    --mobile-nav-bg: rgba(255, 255, 255, .8);
    --mobile-nav-blur: 20px;
}

.dark-mode {
    --primary: #57c6e1;
    --primary-text: #1a1a1a;
    --background: #1a1a1a;
    --text-color: #e1e1e1;
    --card-bg: rgba(30, 30, 30, .8);
    --card-border: rgba(255, 255, 255, .1);
    --pill-bg: #2a2a2a;
    --control-bg: rgba(50, 50, 50, .7);
    --mobile-nav-bg: rgba(30, 30, 30, .85);
}

/*
@font-face {
    font-family: 'helvetica-now-text-medium';
    src: url('fonts/helvetica-now-text-medium.woff2') format('woff2'),
    url('fonts/helvetica-now-text-medium.woff2') format('woff');
  }*/

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
}

*:focus {
    outline: none;
}

/* Better button tap feedback for iOS */
button, a {
    -webkit-user-select: none;
    user-select: none;
}

.page-wrapper {
    position: relative;
    overflow: hidden; /* İçerik taşmalarını engeller */
}

body {
    margin: 0;
    font-family: 'Onest', sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    transition: background-color .3s, color .3s;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    height: -webkit-fill-available;
}

/* Desktop Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
    background-color: transparent; /* Arka plan rengi kaldırıldı */
    /* backdrop-filter: blur(10px); Camsı efekti kaldırıldı */
    /* -webkit-backdrop-filter: blur(10px); */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Gölge daha belirgin hale getirildi */
}

.dark-mode .site-header {
    background-color: transparent; /* Dark mode için de arka plan rengi kaldırıldı */
    /* backdrop-filter: blur(10px); Camsı efekti kaldırıldı */
    /* -webkit-backdrop-filter: blur(10px); */
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15); /* Dark mode için gölge daha belirgin hale getirildi */
}

.site-header > * {
    pointer-events: auto;
}

.site-logo {
    height: 120px;
    width: 120px;
    display: inline-block;
    position: absolute;
    top: 5px;
    left: 30px;
    z-index: 1001;
}

.main-nav-container,
.controls-container {
    padding: 8px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible; /* overflow: hidden kaldırıldı */
    pointer-events: auto;
}

.dark-mode .main-nav-container, .dark-mode .controls-container {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    z-index: 2;
    transition: color .4s ease;
    cursor: pointer;
}

.nav-link-text {
    display: inline;
}

.nav-link-icon {
    display: none;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .nav-link-text {
    cursor: pointer;
    position: relative;
}

.nav-dropdown .nav-link-text::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link-text::after,
.nav-dropdown.active .nav-link-text::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    padding: 15px;
    margin-top: 10px;
    z-index: 1002; /* Site header'dan daha yüksek */
    pointer-events: none; /* Default olarak tıklanamaz */
    border: 1px solid var(--card-border);
}

.dark-mode .dropdown-menu {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.08);
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* Tıklanabilir olmasını sağlar */
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    margin-bottom: 4px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.dropdown-item:hover {
    background: var(--pill-bg);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item.active {
    background: var(--pill-bg);
    color: var(--primary);
    font-weight: 600;
}

/* Mobile'da dropdown'ları gizle */
@media (max-width: 768px) {

  #bagis-yap.donation-section {
        padding-top: 60px !important;   /* 70–80 yerine çok daha küçük */
        padding-bottom: 40px;
        margin-top: 0 !important;       /* varsa extra margin-top’u sıfırla */
    }

    /* Başlıkla üst aralığı da kıs */
    #bagis-yap .section-title {
        margin-top: 0;
        margin-bottom: 16px;
    }






    .dropdown-menu {
        display: none !important;
    }
    
    .nav-dropdown .nav-link-text::after {
        display: none;
    }
}

.sliding-pill {
    position: absolute;
    top: 8px;
    height: calc(100% - 16px);
    background: linear-gradient(135deg, var(--pill-bg) 0%, rgba(56, 104, 104, 0.1) 100%);
    border-radius: 30px;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(56, 104, 104, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link.active {
    color: var(--primary);
}

.cta-button {
    background-color: var(--primary);
    color: var(--primary-text) !important;
    font-weight: 700;
    margin-left: 8px;
}

.cta-button:hover {
    opacity: .9;
}

.controls-container {
    gap: 8px;
}

.lang-switcher {
    display: flex;
    background-color: var(--control-bg);
    border-radius: 30px;
    padding: 4px;
}

.lang-option {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 20px;
    transition: all .3s ease;
}

.lang-option.active {
    background-color: var(--card-bg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.theme-switcher button {
    background: var(--control-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.theme-switcher .moon {
    display: none;
}

.dark-mode .theme-switcher .sun {
    display: none;
}

.dark-mode .theme-switcher .moon {
    display: block;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.mobile-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 5px;
}

.mobile-logo {
    height: 40px;
    width: 40px;
}

.mobile-header-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 8px;
}

/* Fix for mobile dropdown text visibility */
@media (max-width: 768px) {
    .nav-dropdown {
        display: none !important;
    }
    
    .nav-link {
        display: none !important;
    }
    
    .cta-button {
        display: none !important;
    }
}

.mobile-donate-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-size: 9px;
    gap: 2px;
    padding: 2px 8px;
}

.mobile-donate-btn i {
    width: 18px;
    height: 18px;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 2001;
    position: relative;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Mobile'da hamburger menüyü göster */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex !important;
    }
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Side Menu */
.mobile-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available;
    z-index: 2000;
    pointer-events: none;
}

.mobile-side-menu.active {
    pointer-events: auto;
}

.side-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-side-menu.active .side-menu-overlay {
    opacity: 1;
}

.side-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 320px;
    height: 100%;
    
 
    background: rgba(255, 255, 255, 0.8);


    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    

    box-shadow: none; 
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 80px;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-side-menu.active .side-menu-content {
    transform: translateX(0);
}

.dark-mode .mobile-side-menu .side-menu-content {
    background: var(--dark-bg-color-alt); /* Dark mode için koyu arkaplan */
}

.dark-mode .side-submenu {
    background: #1a1a1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    color: #f5f5f5 !important;
}

.dark-mode .side-submenu-header {
    background: #1a1a1a !important;
    border-bottom: 1px solid #333 !important;
}



.dark-mode .side-submenu .side-menu-item {
    color: #f5f5f5 !important;
}

/* Hover efektleri hafif kalsın */
.dark-mode .side-submenu .side-menu-item:hover,
.dark-mode .side-submenu .side-menu-item:active {
    background: #262626 !important;
    color: #57c6e1 !important;
}

/* Geri ok ve kapatma ikonunu da açalım */
.dark-mode .side-submenu-back,
.dark-mode .side-submenu-back .back-icon svg,
.dark-mode .side-menu-close svg {
    color: #f5f5f5 !important;
    stroke: #f5f5f5 !important;
}

.dark-mode .side-menu-close svg {
    stroke: var(--dark-text-color);
}

.dark-mode .side-menu-item {
    color: var(--dark-text-color);
}

.dark-mode .side-menu-item:hover, .dark-mode .side-menu-item:active {
    background: var(--dark-card-hover-bg);
    color: var(--primary);
}

.side-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.side-menu-item {
    padding: 18px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.side-menu-item {
    font-family: inherit; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
}


.side-submenu .side-menu-item {
    color: #111111;
}


.side-menu-text {
    flex: 1;
}

.side-menu-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    opacity: 0.7;
}

.side-menu-arrow svg {
    width: 18px;
    height: 18px;
}

/* Oyunlarımız / Etkinliklerimiz satırı */
.side-menu-parent {
    padding-right: 14px;
}

/* Alt menü paneli (Nike tipi ikinci sidebar) */
.side-submenu {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /* ÖNEMLİ: padding-top'u kaldırıyoruz ki başlık daha üste gelsin */
    padding-top: 0;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    overflow-y: auto;      /* Scroll burada olsun */
    color: #111111;
}


.side-submenu.active {
    transform: translateX(0);
}

/* Alt menü üstte geri barı */
.side-submenu-header {
    position: sticky;      /* Başlık sabit */
    top: 0;                /* Tam üste yapışsın */
    padding: 12px 20px 8px;
    background: #ffffff;
    z-index: 2;
    border-bottom: none;
}

[data-theme="light"] .side-submenu-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.side-submenu-back {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
}

.side-submenu-back .back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    padding:0;
}

.side-submenu-back .back-icon svg {
   width: 20px;
   height:20px;
   stroke-width: 2.4;
   
}


.side-submenu-back .back-label {
    flex: 1;
    text-align: left;
    font-weight: 700;      /* daha koyu */
    font-size: 1.1rem;     /* daha büyük */
    letter-spacing: 0.01em;
}

.side-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.side-menu-item:hover,
.side-menu-item:active {
    background: var(--pill-bg);
    color: var(--primary);
    padding-left: 28px;
}

.side-menu-item:hover::before,
.side-menu-item:active::before {
    transform: scaleY(1);
}

.side-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: none;       /* ARKA PLAN YOK */
    box-shadow: none;
    width: auto;
    height: auto;
    cursor: pointer;
    padding: 0;
    z-index: 3;
}

.side-menu-close svg {
    width: 25px;
    height: 25px;
    stroke: #000;
    stroke-width: 2;
}


@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .mobile-side-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
}

/* Mobile Bottom Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(var(--mobile-nav-blur));
    -webkit-backdrop-filter: blur(var(--mobile-nav-blur));
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 12px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 90%;
    will-change: transform;
    -webkit-transform: translateX(-50%) translateZ(0);
}

.mobile-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.6;
    transition: opacity .3s ease, transform .3s ease;
}

.mobile-nav-link.active {
    opacity: 1;
    color: var(--primary);
}

.mobile-nav-link:active {
    transform: scale(0.95);
}

.mobile-nav-link i {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Page Sections */
.page-section {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    box-sizing: border-box;
    padding: 120px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
}

.section-title.left-aligned {
    text-align: left;
    margin-bottom: 20px;
}

/* Slider Section */
.slider-section {
    padding: 20px 40px 60px;
    overflow: hidden;
    background-color: #fff;
}

.dark-mode .slider-section {
    background-color: #222222
}

.slider-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
}

.slides-wrapper {
    width: 100%;
    height: 500px;
    position: relative;
    perspective: 1000px;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5%;
    opacity: 0;
    transform: translate(100px, 100px) rotate(10deg);
    transition: all .9s cubic-bezier(.25, 1, .5, 1);
}

.slide.active {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
    z-index: 10;
}

.slide.exiting {
    opacity: 0;
    transform: translate(-100px, -100px) rotate(-10deg);
    z-index: 9;
}

.slide-content {
    flex: 0 0 45%;
}

.slide-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 25px;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    color: var(--text-color);
}

[data-theme=dark] .slide-content p {
    color: #ccc;
}

.slide-image {
    flex: 0 0 48%;
    height: 85%;
    align-self: flex-end;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background-color: var(--pill-bg);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all .3s ease;
}

.slider-nav:hover {
    background-color: #ccc;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: -70px;
}

.slider-nav.next {
    right: -70px;
}

.slider-nav i {
    width: 24px;
}

.slider-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    width: 200px;
}

.indicator {
    flex: 1;
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: background-color .4s ease;
}

.indicator.active {
    background-color: teal;
}

.indicator.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,0 100,50 100,100 0,100 0,50' fill='Teal'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Events Section */
.events-section {
      padding: 80px 0;
    background-color:  #386868;
}

.events-section .section-title {
    color: #ffffff; /* Etkinliklerimiz başlık yazısını beyaz yap */
}

.dark-mode .events-section {
    background-color: #1c1c1c;
}
.events-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px; /* Kenar boşluğu ekle */
    max-width: 1200px;
    margin: 0 auto;
}

/* Basit Etkinlik Kartları */
/* ANA SAYFA – Etkinlik kartları (index.html) */
.event-card-simple {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
    cursor: pointer;
    border: 1px solid var(--card-border);

    /* YÜKLEME / FİLME GİRİŞ ANİMASYONUNU KALDIR */
    opacity: 1;
    transform: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card-simple:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .20);
}


.dark-mode .event-card-simple {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.event-card-simple.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.event-card-simple:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}

[data-theme=dark] .event-card-simple {
    background: rgba(40, 40, 40, .9);
}

.event-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card-simple:hover .event-card-image img {
    transform: scale(1.1);
}
.event-card-footer {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 14px 16px 18px;
}


[data-theme=dark] .event-card-footer {
    background: transparent;
}

.event-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
}

[data-theme=dark] .event-card-title {
    color: #fff;
}

[data-theme=dark] .events-section {
    background-color: #1a1a1a;
}

/* Etkinlikler Detay Sayfası */
.events-grid-detail {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.events-grid-detail .event-item {
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-grid-detail .event-item.is-visible {
    opacity: 1;
}

.events-grid-detail .event-item.left-layout {
    flex-direction: row;
    transform: translateX(-80px);
}

.events-grid-detail .event-item.left-layout.is-visible {
    transform: translateX(0);
}

.events-grid-detail .event-item.right-layout {
    flex-direction: row-reverse;
    transform: translateX(80px);
}

.events-grid-detail .event-item.right-layout.is-visible {
    transform: translateX(0);
}

.events-grid-detail .event-image {
    flex: 0 0 450px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.events-grid-detail .event-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}

.events-grid-detail .event-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform .4s ease;
}

.events-grid-detail .event-image:hover img {
    transform: scale(1.05);
}

.events-grid-detail .event-content-card {
    flex: 1;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.events-grid-detail .event-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .2);
}

[data-theme=dark] .events-grid-detail .event-content-card {
    background: rgba(30, 30, 30, .85);
    border: 1px solid rgba(255, 255, 255, .1);
}

.events-grid-detail .event-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1a1a1a;
}

[data-theme=dark] .events-grid-detail .event-title {
    color: #fff;
}

.events-grid-detail .event-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2a2a2a;
    text-align: justify;
}

[data-theme=dark] .events-grid-detail .event-description {
    color: rgba(255, 255, 255, .85);
}


/* Etkinlik Detay Sayfası */
.event-detail-page {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Event Item Detail - Etkinliklerimiz.html için tıklanabilir kartlar */
a.event-item-detail {
    text-decoration: none;
    color: inherit;
    display: flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    border: 1px solid var(--card-border); /* Dark mode için */
}

a.event-item-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

a.event-item-detail:hover .event-detail-image img {
    transform: scale(1.05);
}

.dark-mode a.event-item-detail {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode a.event-item-detail:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.event-detail-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    margin-bottom: 40px;
}

.event-detail-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 30px;
}

.event-detail-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, .95);
    text-align: justify;
    margin-bottom: 40px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: rgba(255, 255, 255, .9);
    color: #386868;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
}

.back-btn i {
    width: 20px;
    height: 20px;
}

/* Quick Links Mobile Responsive */
@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .quick-link-card {
        padding: 25px 15px;
    }
    
    .quick-link-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .quick-link-card span {
        font-size: 0.95rem;
    }
    
    .event-detail-title {
        font-size: 2rem;
    }
    
    .event-detail-description {
        font-size: 1.05rem;
        text-align: center;
    }
    
    .event-detail-image {
        border-radius: 20px;
    }
}

/* Plays Section */
.plays-section {
    padding: 80px 0;
    background-color: var(--background);
}

.dark-mode .plays-section {
    background-color: #1c1c1c;
}

.plays-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Yeni oyun düzeni */
.play-item {
    margin-bottom: 100px;
    padding: 40px;
    border: 3px solid #386868;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(56, 104, 104, 0.03) 0%, rgba(56, 104, 104, 0.08) 100%);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

[data-theme=dark] .play-item {
    border-color: #57c6e1;
    background: linear-gradient(135deg, rgba(87, 198, 225, 0.05) 0%, rgba(87, 198, 225, 0.1) 100%);
}

.play-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.play-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.play-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #386868 0%, #2d5555 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(56, 104, 104, 0.3);
    position: relative;
    overflow: hidden;
}

.play-number::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: numberShine 3s infinite;
}

@keyframes numberShine {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

[data-theme=dark] .play-number {
    background: linear-gradient(135deg, #57c6e1 0%, #45d7ff 100%);
    color: #1a1a1a;
}

.play-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-align: center;
}

.play-videos {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.play-videos .video-wrapper {
    flex: 1;
    max-width: 500px;
}

/* Tek video için ortalama */
.play-item:has(.play-videos .video-wrapper:only-child) .play-videos {
    justify-content: center;
}

.play-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

[data-theme=dark] .plays-section {
    background-color: #1c1c1c;
}

[data-theme=dark] .play-main-title {
    background: linear-gradient(90deg, #45d7ff, #32a5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Ana Sayfa Oyun Kartları (2x2 Grid) */
.plays-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.play-card-home {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
    border: 1px solid var(--card-border); /* Dark mode için */
}

[data-theme=dark] .play-card-home {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.play-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.play-card-home .video-wrapper {
    height: 300px;
}

.play-card-title {
    padding: 20px;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
}

.play-btn::before {
    content: '';
    position: absolute;

    width: 28px;   /* Boyut → ister 24px yap */
    height: 28px;

    /* TAM ORTALAMA */
    left: 50%;
    top: 50%;
    transform: translate(-45%, -50%);

    background-image: url("Polygon 1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    pointer-events: none;
}

/* Hızlı Erişim Bölümü */
.quick-links-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--card-border);
}

.quick-links-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-link-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #386868;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(56, 104, 104, 0.3);
    border-color: var(--primary);
}

[data-theme=dark] .quick-link-card {
    border-color: #57c6e1;
}

.quick-link-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #386868 0%, #2d5555 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(56, 104, 104, 0.3);
}

[data-theme=dark] .quick-link-number {
    background: linear-gradient(135deg, #57c6e1 0%, #45d7ff 100%);
    color: #1a1a1a;
}

.quick-link-card span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* About Us Section */
.about-us-section {
    padding: 80px 0;
    background-color: #386868; /* Açık modda Biz Kimiz arka planı */
}

.about-us-section .section-title,
.about-us-section h3,
.about-us-section p {
    color: #ffffff; /* Biz Kimiz bölümündeki tüm yazı renklerini beyaz yap */
}

.dark-mode .about-us-section {
    background-color: var(--background);
}

.about-us-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

.about-us-image,
.about-us-content {
    flex: 1;
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(.25, 1, .5, 1);
}

.about-us-image {
    transform: translateX(-100px);
}

.about-us-content {
    transform: translateX(100px);
}

.about-us-image.is-visible,
.about-us-content.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-us-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
}

.about-us-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 20px;
}

.about-us-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Photo Gallery Section */
.photo-gallery-section {
    padding: 80px 0;
    background-color: var(--background);
}

.dark-mode .photo-gallery-section {
    background-color: #1c1c1c;
}

.gallery-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.photo-gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: scale(.9);
    transition: opacity .5s ease, transform .5s ease;
    aspect-ratio: 1;
}

.gallery-item.is-visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s cubic-bezier(.25, 1, .5, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.view-all-photos-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: var(--primary);
    color: var(--primary-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(56, 104, 104, 0.3);
}

.view-all-photos-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(56, 104, 104, 0.4);
}

.view-all-photos-btn i {
    width: 20px;
    height: 20px;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contact Section */
.contact-section {
    padding: 100px 20px 80px 20px; /* Üst padding artırıldı */
    text-align: center;
    background-color: var(--background);
}

.dark-mode .contact-section {
    background-color: #222222;
}

.contact-section .section-title {
    color: #386868; /* İletişim başlığı rengi */
    margin-bottom: 40px;
}

.contact-section h1, .contact-section h2, .contact-section h3, .contact-section h4, .contact-section h5, .contact-section h6 {
    color: #386868 !important; /* Tüm başlıkların rengi */
}

.contact-section p, .contact-section a {
    color: #000000 !important; /* Yazı renkleri siyah */
}

.dark-mode .contact-section {
    background-color: #222222;
}

.dark-mode .contact-section p, .dark-mode .contact-section a {
    color: #ffffff; /* Dark mode için beyaz */
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Kartların aynı boyutta olması için stretch olarak güncellendi */
    gap: 30px; /* Kartlar arası boşluk */
    max-width: 1200px; /* Maksimum genişlik belirle */
    margin: 0 auto; /* Sayfayı ortala */
    flex-wrap: wrap; /* Mobil görünümde alt alta gelmesi için */
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1; /* Eşit genişlikte dağılım */
    min-width: 300px;
    max-width: 500px;
    text-align: center; /* Kart içindeki metinleri ortala */
    border: 1px solid var(--card-border);
}

.dark-mode .contact-card {
    background-color: var(--card-bg-dark);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border-dark);
}

.contact-left .section-title, .contact-right .section-title {
    color: #386868 !important; /* Başlık rengi */
    margin-bottom: 20px;
}

.contact-left p, .contact-right .contact-list li span, .contact-right .contact-list li a {
    color: #000000 !important; /* Yazı renkleri siyah */
}

.dark-mode .contact-left p, .dark-mode .contact-right .contact-list li span, .dark-mode .contact-right .contact-list li a {
    color: #ffffff !important; /* Dark mode için beyaz */
}

.dark-mode .contact-left .volunteer-button {
    background-color: #ffffff !important; /* Dark mode butonu arka planı beyaz */
}

.dark-mode .contact-left .volunteer-button span {
    color: #3f8ea3 !important; /* Başvuru formunu doldur yazısı için koyu #57c6e1 */
}

.contact-left, .contact-right {
opacity: 1 !important;
transform: none !important;
transition: none !important;
}

.contact-left {
    transform: translateX(-100px);
}

.contact-right {
    transform: translateX(100px);
}

.contact-left.is-visible,
.contact-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-section .section-title {
    color: #fff;
}

.contact-left p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #f0f4f4;
}

.volunteer-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: #386868;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.volunteer-button span {
    color: #ffffff !important; /* Açık modda yazı rengi beyaz */
}

.volunteer-button i, 
.volunteer-button svg {
    color: white;
}



.dark-mode .volunteer-button {
    background-color: var(--primary-dark);
}

.dark-mode .volunteer-button span {
    color: #3f8ea3 !important; /* Başvuru formunu doldur yazısı için koyu #57c6e1 */
}

.dark-mode .volunteer-button i,
.dark-mode .volunteer-button svg {
    color: rgb(0, 0, 0);
}

.volunteer-button:hover {
    background-color: #2a4b4b;
    transform: translateY(-2px);
}


.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list li i {
    color: #57c6e1; /* Açık modda ikon rengi (#386868'in açık tonu) */
    font-size: 22px;
    min-width: 22px;
}

.dark-mode .contact-list li i {
    color: #ffffff;
}

.contact-list li span, .contact-list li a {
    color: #f0f4f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list li a:hover {
    color: #fff;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, .2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s, transform .3s;
    z-index: 10;
}

.modal-close-btn:hover {
    background-color: rgba(0, 0, 0, .4);
    transform: rotate(90deg);
}

.modal-content {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
    transform: scale(.9);
    transition: transform .4s cubic-bezier(.23, 1, .32, 1);
}

[data-theme=dark] .modal-content {
    background: rgba(40, 40, 40, .7);
    border: 1px solid rgba(255, 255, 255, .1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 2rem;
    margin: 0 0 8px;
    color: var(--primary);
}

.modal-location {
    font-size: 1rem;
    opacity: .8;
    margin: 0 0 20px;
}

.modal-description {
    font-size: 1rem;
    line-height: 1.6;
}

.photo-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(.9);
    transition: transform .4s cubic-bezier(.23, 1, .32, 1);
}

.modal-overlay.active .photo-modal-content {
    transform: scale(1);
}

#modal-photo-img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.modal-instagram-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s, transform .3s;
}

.modal-instagram-link:hover {
    background-color: rgba(0, 0, 0, .4);
    transform: scale(1.1);
}

/* Footer */
.site-footer-main {
    width: 100%;
    padding: 20px 0;
    background-color: var(--primary);
    color: var(--primary-text);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.site-footer-main p {
    margin: 0;
    padding: 0;
}

[data-theme="dark"] .site-footer-main {
    background-color: #111;
    border-top: 1px solid var(--card-border);
}

/* Donation Section */
.donation-section {
    background-color: #f0f4f4;
    padding: 80px 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    border-radius: 20px;
    margin: 20px;
    margin-top: 50px; /* Bölümü biraz aşağıya almak için eklendi */
   // box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative; /* bubble animasyonu için */
    overflow: hidden; /* shine animasyonu için */
}

.dark-mode .donation-section {
    background-color: var(--background-dark);
}

.donation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.donation-content {
    flex: 1 1 50%;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s cubic-bezier(.25, 1, .5, 1);
}

.donation-content.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.donation-section .section-title {
    text-align: left;
    margin-bottom: 20px;
    font-size: 2.5rem;
    line-height: 1.2;
}

.donation-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 35px;
    color: var(--text-color);
    opacity: 0.9;
    text-align: left;
}

.donation-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 50px;
    background-color: var(--primary);
    color: var(--primary-text);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 8px 30px rgba(56, 104, 104, 0.35);
    border: 2px solid transparent;
}

.donation-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(56, 104, 104, 0.5);
    background-color: #2d5555;
}

[data-theme=dark] .donation-button:hover {
    background-color: #68d4e8;
}

.donation-button:active {
    transform: translateY(-2px);
}

.donation-button i {
    width: 26px;
    height: 26px;
}

.donation-video {
    flex: 1 1 50%;
    max-width: 400px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s cubic-bezier(.25, 1, .5, 1);
    position: relative;
}

.donation-video.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.donation-video .video-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.video-title-bubble {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

[data-theme=dark] .video-title-bubble {
    background: rgba(87, 198, 225, 0.9);
    color: #1a1a1a;
}

.bubble-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
       rgba(43, 60, 60, 0.35) 50%,
        transparent 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* iOS Safe Area Support */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-nav {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
    
    .site-footer-main {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }
    
    .mobile-header {
        padding-top: calc(10px + env(safe-area-inset-top));
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Use viewport height variable for mobile */
    .page-section {
        min-height: calc(var(--vh, 1vh) * 100);
    }
    
    /* Hide desktop header */
    .site-header {
        display: none !important;
    }
    
    /* Show mobile header */
    .mobile-header {
        display: flex !important;
    }
    
    /* Hide desktop navigation links on mobile */
    .main-nav-container {
        display: none !important;
    }
    
    /* Hide mobile bottom navigation */
    .mobile-nav {
        display: none !important;
    }
    
    /* Adjust page sections */
    .page-section {
    padding: 40px 20px 80px;         
    min-height: auto;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    /* Donation Section Responsive */
    .donation-section {
        padding: 70px 16px;              /* Biraz daha az padding */
        min-height: auto;
        margin: 25px auto 40px;          /* Üst boşluk azaldı, bölümü yukarı aldık */
        max-width: 95%;                  /* Mobilde alanı biraz daralttık */
        border-radius: 18px;
    }

    .donation-container {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }
    
    .donation-content p {
        font-size: 0.98rem;           /* Bir tık daha küçük font → satır başına daha fazla kelime */
        line-height: 1.6;
        max-width: 30rem;             /* ~480px – yazı satırları biraz uzadı */
        margin: 0 auto 25px;          /* Ortaladık, alttan boşluğu biraz azalttık */
        text-align: center;
    }

    .donation-section .section-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .donation-content p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .donation-button {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 16px 35px;
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    
    .donation-video {
        transform: none !important;
        opacity: 1 !important;
        width: 100%;
        max-width: 100%;
        order: 2;
        flex: 1 1 auto;
        margin-bottom: 30px;
    }
    
    .donation-video .video-wrapper {
       height: 300px;
       width:300px;
    }
    
    .video-title-bubble {
        bottom: -35px;
        font-size: 0.85rem;
        padding: 10px 20px;
    }
    
    /* Slider responsive */
    .slider-section {
        padding: 35px 15px 40px;   
        min-height: auto;
    }
    
    .slider-container {
        width: 100%;
        padding: 0;
    }
    
    .slides-wrapper {
        height: auto;
        min-height: 500px;
        position: relative;
        overflow: hidden;
    }
    
    .slide {
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-bottom: 20px ;
        padding: 10px;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1;
    }
    
    .slide.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 10;
    }
    
    .slide.exiting {
        opacity: 0;
        transform: translateX(-100%);
        z-index: 9;
    }
    
    .slide-content {
        flex: 0 0 auto;
        text-align: center;
        width: 100%;
        order: 2;
        padding: 0 10px;
    }
    
    .slide-content h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
    }
    
    .slide-image {
        flex: 0 0 auto;
        width: 100%;
        height: 280px;
        align-self: center;
        order: 1;
        margin-bottom: 15px;
    }
    
    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        top: 40%;
        transform: translateY(-50%);
    }

    @media (max-width: 768px) {
        [data-theme="dark"] .slider-nav {
            background-color: #000 !important;   /* dairenin içi siyah */
            color: #fff !important;              /* ok beyaz */
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            box-shadow: none;
        }

        [data-theme="dark"] .slider-nav i {
            stroke: #ffffff !important;
        }
    }

    
    [data-theme=dark] .slider-nav {
        background-color: rgba(40, 40, 40, 0.9);
    }
    
    .slider-nav:hover {
        transform: translateY(-50%) scale(1.05);
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-nav i {
        width: 20px;
        height: 20px;
    }
    
    .slider-indicators {
        bottom: 0;
   
    }
    
    .indicator {
        height: 4px;
    }
    
    .indicator.active::after {
        width: 10px;
        height: 10px;
        bottom: -14px;
    }
    
    /* Events responsive */
    .events-section {
        padding: 80px 20px;
    }
    
    
    .events-grid-detail {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    /* Her etkinlik bloğu üst üste gelsin, animasyonsuz / opak */
    .events-grid-detail .event-item {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 20px;
        opacity: 1 !important;
        transform: none !important;
    }

    .events-grid-detail .event-item.left-layout,
    .events-grid-detail .event-item.right-layout {
        flex-direction: column !important;
        transform: none !important;
    }

    /* Görsel kısmı tam genişlik, daha küçük yükseklik */
    .events-grid-detail .event-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    }

    .events-grid-detail .event-image img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

    /* Kart: mobilde tam genişlik, blur hafiflesin / gerekirse kalksın */
    .events-grid-detail .event-content-card {
        flex: 1 1 auto;
        width: 100%;
        padding: 22px 18px;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .events-grid-detail .event-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
        text-align: left;
    }

    .events-grid-detail .event-description {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;   /* yazılar serbest, blok justifiy olmasın */
    }


    .events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .event-card-simple {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .event-card-image {
        height: 220px;
    }
    
    .event-card-footer {
        padding: 18px;
    }
    
    .event-card-title {
        font-size: 1.05rem;
    }
    
 
 .events-grid-detail .event-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }



    /* Plays responsive - Ana Sayfa */
    .plays-section {
        padding: 80px 20px;
    }
    
    .plays-grid-home {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .play-card-home .video-wrapper {
        height: 220px;
    }
    
    .play-card-title {
        font-size: 1.2rem;
        padding: 18px;
    }
    
    /* Mobile nav adjustment for 6 items */
    .mobile-nav-container {
        gap: 20px;
    }
    
    .mobile-nav {
        padding: 10px 20px;
    }
    
    /* About us responsive */
    .about-us-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-us-content h3 {
        font-size: 1.3rem;
    }
    
    .about-us-content p {
        font-size: 1rem;
    }
    
    /* Gallery responsive */
    .photo-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    /* Contact responsive */
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-left p {
        font-size: 1rem;
    }
    
    .volunteer-button {
        width: 100%;
        justify-content: center;
    }
    
    .contact-list li {
        font-size: 1rem;
    }
    
    /* Modal responsive */
    .modal-content {
        padding: 20px;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-description {
        font-size: 0.95rem;
    }
    
    /* Footer responsive */
    .site-footer-main {
        padding: 20px 10px;
        padding-bottom: 50px; /* Space for mobile nav */
        font-size: 0.85rem;
    }
    
    /* Video wrapper mobile */
    .video-wrapper {
        height: 220px;
    }
    
    .play-btn {
        width: 55px;
        height: 55px;
    }
    
    .play-btn::before {
        width: 22px;
        height: 22px;
    }
    
    /* Improve touch targets for iOS */
    .mobile-nav-link,
    .nav-link,
    .card-button,
    .donation-button,
    .volunteer-button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Smooth scrolling for iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent zoom on iOS input focus */
    input, select, textarea {
        font-size: 16px;
    }
}

/* Tablet specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-section {
        padding: 100px 40px;
    }
    
    .slider-nav.prev {
        left: 20px;
    }
    
    .slider-nav.next {
        right: 20px;
    }
    
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .event-card-image {
        height: 230px;
    }
    
    .plays-grid-home {
        gap: 30px;
    }
    
    .photo-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .donation-section {
        padding: 100px 40px;
    }
    
    .donation-container {
        gap: 60px;
    }
    
    .donation-section .section-title {
        font-size: 2.8rem;
    }
    
    .donation-content {
        max-width: 500px;
    }
    
    .donation-image {
        max-width: 450px;
    }
    
    .donation-image img {
        border-radius: 25px;
    }
    
    .play-item {
        padding: 30px;
        margin-bottom: 70px;
    }
    
    .play-header {
        gap: 18px;
        margin-bottom: 25px;
    }
    
    .play-number {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .play-main-title {
        font-size: 2.2rem;
    }
    
    .play-videos {
        gap: 25px;
    }
    
    .about-us-container {
        gap: 40px;
    }
    
    .contact-container {
        gap: 80px;
    }
}

/* Small tablets and large phones */
@media (min-width: 481px) and (max-width: 768px) {
    .donation-section {
        padding: 70px 30px;
    }
    
    .donation-container {
        flex-direction: column;
        gap: 35px;
    }
    
    .donation-section .section-title {
        font-size: 2.2rem;
    }
    
    .donation-content p {
        font-size: 1.05rem;
    }
    
    .donation-video .video-wrapper {
        height: 280px;
    }
    
    .video-title-bubble {
        bottom: -38px;
        font-size: 0.88rem;
    }
    
    .play-item {
        padding: 28px 25px;
        margin-bottom: 65px;
    }
    
    .play-header {
        gap: 16px;
    }
    
    .play-number {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
    
    .play-main-title {
        font-size: 1.8rem;
    }
    
    .play-videos {
        flex-direction: column;
        gap: 22px;
    }
    
    .play-videos .video-wrapper {
        height: 240px;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .photo-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 25px;
    }
    
    .donation-section {
        padding: 70px 20px;
    }
    
    .donation-section .section-title {
        font-size: 1.85rem;
        margin-bottom: 18px;
    }
    
    .donation-content p {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .donation-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .donation-button i {
        width: 22px;
        height: 22px;
    }
    
    .donation-video .video-wrapper {
        height: 240px;
    }
    
    .video-title-bubble {
        bottom: -32px;
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .play-item {
        padding: 20px 15px;
        margin-bottom: 50px;
        border-width: 2px;
    }
    
    .play-header {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .play-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .play-main-title {
        font-size: 1.4rem;
    }
    
    .play-videos .video-wrapper {
        height: 200px;
    }
    
    .play-description {
        font-size: 0.95rem;
    }
    
    .slide-content h2 {
        font-size: 1.2rem !important;
    }
    
    .slide-content p {
        font-size: 0.85rem !important;
    }
    
    .slide-image {
        height: 220px !important;
    }
    
    .mobile-nav-container {
        gap: 15px;
    }
    
    .mobile-nav {
        padding: 8px 15px;
    }
    
    .mobile-nav-link i {
        width: 20px;
        height: 20px;
    }
    
    .about-us-content h3 {
        font-size: 1.2rem;
    }
    
    .about-us-content p {
        font-size: 0.95rem;
    }
    
    .contact-left p {
        font-size: 0.95rem;
    }
    
    .contact-list li {
        font-size: 0.95rem;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .page-section {
        min-height: auto;
        padding: 60px 20px;
    }
    
    .donation-section {
         padding-top: 20px !important;   /* 70–80px ne varsa → 20px’e indir */
        padding-bottom: 40px;
    }
    
    .donation-container {
        gap: 30px;
    }
    
    .donation-section .section-title {
        margin-top: 0;
        margin-bottom: 18px;
    }
    
    .donation-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .donation-image {
        max-width: 400px;
    }
    
    .slider-section {
        padding: 40px 15px;
    }
    .slide{
        padding-bottom: 20px 
    }
    
    .slides-wrapper {
         height: auto !important;
        min-height: auto !important; 
    }
    
    .slide-image {
        height: 200px !important;
    }
    
    .mobile-nav {
        bottom: 20px;
        padding: 8px 20px;
    }
    
    .site-footer-main {
        padding-bottom: 80px;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 360px;
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    border-radius: 14px;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    border: 2px solid rgba(255, 255, 255, .3);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}

.play-btn:hover {
    background: rgba(255, 255, 255, .35);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.play-btn i {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.drive-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 14px;
    display: none;
}

/* ============================= */
/*   OYUNLARIMIZ (SADECE DARK)   */
/* ============================= */

[data-theme="dark"] .plays-section {
    background-color: #1c1c1c !important;
    color: var(--text-color);
}

/* Başlık – neon mavi gradient (sadece dark mode) */
[data-theme="dark"] .plays-section .section-title {
    background: linear-gradient(90deg, #45d7ff, #32a5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Kartlar siyah–gri */
[data-theme="dark"] .play-card {
    background: #1f1f1f !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4) !important;
}

/* Kart altındaki başlık */
[data-theme="dark"] .play-title {
    color: #e8f6ff !important;
}

/* Play butonu neon */
[data-theme="dark"] .play-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 2px solid rgba(255,255,255,0.2) !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.25) !important;
}

[data-theme="dark"] .play-btn:hover {
    background: rgba(255,255,255,0.22) !important;
    box-shadow: 0 0 35px rgba(0, 200, 255, 0.35) !important;
}

/* Preview resmini karart */
[data-theme="dark"] .video-preview img {
    filter: brightness(0.75);
}

/* Video wrapper tamamen siyah */
[data-theme="dark"] .video-wrapper {
    background: #000 !important;
}

[data-theme="dark"] .video-preview {
    background: #000 !important;
}

/* Drive iframe */
[data-theme="dark"] .drive-iframe {
    background: #000 !important;
}

/* Kontrol barı daha koyu */
[data-theme="dark"] .video-controls {
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent) !important;
}

/* Yakında kartı */
[data-theme="dark"] .play-card-empty {
    background: linear-gradient(135deg, #272727 0%, #1a1a1a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .video-placeholder {
    color: #bbb !important;
}


/* Etkinlik Link Düzeltmeleri */
a.event-item {
    text-decoration: none; /* Alt çizgiyi kaldır */
    color: inherit; /* Yazı rengini koru */
    cursor: pointer;
    display: flex; /* Flex yapısını koru */
}

a.event-item:hover .event-title {
    color: var(--primary); /* Üzerine gelince başlık rengi değişsin */
}

.read-more-text {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* --- MOBİL VİDEO DÜZELTMESİ --- */
@media (max-width: 768px) {
    /* Videoları kapsayan kutuyu dikey hizala */
    .play-videos {
        display: flex;
        flex-direction: column !important; /* Yan yana yerine alt alta olsun */
        gap: 25px;
        width: 100%;
        margin-bottom: 30px;
    }

    /* Video kutularının boyutunu zorla ayarla */
    .play-videos .video-wrapper {
        width: 100% !important;      /* Genişliği tam yap */
        max-width: 100% !important;  /* Sınırlamayı kaldır */
        flex: none !important;       /* Sıkışmayı engelle */
        height: 240px !important;    /* Yüksekliği sabitle */
        margin: 0 auto;              /* Ortala */
    }

    /* Çok küçük ekranlar için yüksekliği biraz daha kıs */
    @media (max-width: 480px) {
        .play-videos .video-wrapper {
            height: 200px !important;
        }
    }
}

/* MOBİL MENÜ GÖRÜNÜRLÜK DÜZELTMELERİ */
@media (max-width: 768px) {
    /* Mobil header'ı kesinlikle göster */
    .mobile-header {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: var(--card-bg) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Hamburger menü butonunu görünür yap */
    .hamburger-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Desktop menüyü tamamen gizle */
    .site-header,
    .main-nav-container,
    .nav-dropdown,
    .nav-link:not(.mobile-donate-btn) {
        display: none !important;
    }
    
    /* Body üst padding */
    body {
        padding-top: 0 !important;
    }

    .site-header {
        display: none !important;
    }

    /* Mobil header'ı kesinlikle göster */
    .mobile-header {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1001 !important; /* Diğer her şeyin üstünde olmasını garantiler */
    }
    
    /* Feather icons düzeltmesi */
    .feather {
        display: inline-block !important;
        width: 24px !important;
        height: 24px !important;
    }
}

@media (max-width: 768px) {




    

    /* ADIM A: SORUNUN KAYNAĞINI DEVRE DIŞI BIRAKMA */
    /* Animasyon için kullanılan ve `position:fixed`'i bozan `transform` özelliğini
       sadece mobil cihazlarda etkisiz hale getiriyoruz. */
    .page-section {
        transform: none !important;
        -webkit-transform: none !important;
    }

    /* ADIM B: MOBİL HEADER'I ZORLA SABİTLEME */
    /* Başlığın her koşulda, diğer stilleri ezerek
       doğru konumda kalmasını garantiliyoruz. */
    .mobile-header {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important; /* En üstte kalması için çok yüksek bir değer */
    }

    /* ADIM C: İÇERİĞİN EZİLMESİNİ ENGELLEME */
    /* `page-wrapper` kullandığımız için artık body'e değil,
       doğrudan sarmalayıcıya üst boşluk veriyoruz. */
    .page-wrapper {
        padding-top: 65px !important; /* Header yüksekliğiniz kadar bir boşluk */
    }
    
    /* ADIM D: GEREKSİZ ELEMENTLERİ GİZLEME */
    .site-header, .mobile-nav {
        display: none !important;
    }
}

#bagis-yap {
    scroll-margin-top: 50px; /* istersen 40–60 arasında oynayabilirsin */
}

@media (max-width: 768px) {
    /* 1. Butonun KENDİSİNİ (Daireyi) SİYAH yap */
    [data-theme="dark"] .slider-nav,
    .dark-mode .slider-nav {
        background-color: #000000 !important; /* Dairenin içi SİYAH */
        border: 1px solid rgba(255, 255, 255, 0.3) !important; /* Siyah zeminde kaybolmasın diye ince beyaz çerçeve */
        box-shadow: none !important;
    }

    /* 2. İçindeki OK İKONUNU BEYAZ yap */
    [data-theme="dark"] .slider-nav i,
    [data-theme="dark"] .slider-nav svg,
    .dark-mode .slider-nav i,
    .dark-mode .slider-nav svg {
        stroke: #ffffff !important; /* Okun çizgileri BEYAZ */
        color: #ffffff !important;
    }
}

/* --- BAĞIŞ YAP BÖLÜMÜ KIRMIZI TEMA --- */

/* 1. Başlık Rengi (Kırmızı) */
#bagis-yap .section-title {
    color: #D92525 !important; /* Canlı bir kırmızı */
}

/* Dark Mode'da da kırmızı kalması için */
.dark-mode #bagis-yap .section-title {
    color: #ff4d4d !important; /* Dark modda biraz daha açık bir kırmızı daha iyi okunur */
}

/* 2. Buton Arka Planı (Kırmızı) */
#bagis-yap .donation-button {
    background-color: #D92525 !important; /* Buton zemini kırmızı */
    color: #ffffff !important; /* Yazı rengi beyaz */
    border: 2px solid #D92525 !important; /* Kenarlık varsa o da kırmızı olsun */
}

/* 3. Buton İkon Rengi (Kalp ikonu beyaz olsun) */
#bagis-yap .donation-button i,
#bagis-yap .donation-button svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* 4. Buton Hover (Üzerine gelince koyu kırmızı olsun) */
#bagis-yap .donation-button:hover {
    background-color: #b31b1b !important; /* Daha koyu bir kırmızı */
    border-color: #b31b1b !important;
    box-shadow: 0 15px 45px rgba(217, 37, 37, 0.4) !important; /* Gölgesi de kırmızımsı */
}