:root {
    --gs-yellow: #ffcb05;
    --gs-red: #a32638;
    --bg: #fff8e1;
    --dark: #222;
    --font-lg: 2rem;
    --font-md: 1.1rem;
    --font-sm: 1rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--dark);
    min-height: 100vh;
}
header {
    background: linear-gradient(195deg, var(--gs-yellow), var(--gs-red));
    color: #fff;
    padding: 1.2rem 0;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(42,157,143,0.11);
}
header h1 {
    margin: 0;
    font-size: var(--font-lg);
    letter-spacing: 1.5px;
    word-break: break-word;
}
nav {
    position: relative;
    margin-top: 0.5rem;
}
nav ul.nav-list {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
}
nav ul.nav-list li {
    display: flex;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: var(--font-sm);
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s;
    background: none;
    display: inline-block;
}
nav a.uye-ol-btn {
    background: var(--gs-yellow);
    color: var(--gs-red);
    margin-left: 0.5rem;
}
nav a.uye-ol-btn.large {
    display: inline-block;
    margin: 1.2rem 0 0 0;
    font-size: var(--font-md);
}
nav a.active,
nav a:hover,
nav .uye-ol-btn:hover {
    background: var(--gs-red);
    color: yellow;
}
nav a.uye-ol-btn.active {
    background: #fff;
    color: var(--gs-red);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.1rem;
    cursor: pointer;
    margin-right: 6px;
}



.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Slider */
.slider-section {
    background: #fff3e0;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 16px rgba(163,38,56,0.1);
}
.slider {
    position: relative;
    max-width: 100%;
    height: 340px;
    overflow: hidden;
}
.slides {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    display: none;
    width: 100%;
    height: 340px;
    position: absolute;
    left: 0; top: 0;
    transition: opacity 0.5s;
}
.slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border-bottom: 4px solid var(--gs-red);
}
.slide .caption {
    position: absolute;
    bottom: 20px;
    left: 25px;
    background: rgba(163,38,56,0.70);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 80vw;
    word-break: break-word;
}
.slide.active { display: block; opacity: 1; z-index: 1; }
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gs-yellow);
    color: var(--gs-red);
    border: none;
    font-size: 2.1rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 2;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }
.slider-btn:hover { background: var(--gs-red); color: var(--gs-yellow); }

section.container {
    background: #fff;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem 1.1rem 2.5rem 1.1rem;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(255,203,5,0.09);
}
h2 {
    color: var(--gs-red);
    margin-top: 0;
}
footer {
    background: linear-gradient(90deg, var(--gs-yellow), var(--gs-red));
    color: #fff;
    text-align: center;
    padding: 1rem 0 0.6rem 0;
    margin-top: 2rem;
    border-radius: 0 0 14px 14px;
    font-size: var(--font-sm);
}

/* Üye Ol sayfası ve iletişim */
.uye-section,
.iletisim-section {
    max-width: 420px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border: 2px solid var(--gs-yellow);
    box-shadow: 0 2px 18px rgba(255,203,5,0.08);
}
#uyeForm, #iletisimForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
   
}
#uyeForm input, #uyeForm textarea,
#iletisimForm input, #iletisimForm textarea {
    padding: 0.85rem 1rem;
    border: 1.5px solid #ccc;
    border-radius: 7px;
    font-size: var(--font-sm);
    background: #fffbe7;
    color: var(--dark);
    transition: border 0.17s;
}
#uyeForm input:focus, #uyeForm textarea:focus,
#iletisimForm input:focus, #iletisimForm textarea:focus {
    border: 1.5px solid var(--gs-red);
    outline: none;
}
#uyeForm button, #iletisimForm button {
    padding: 0.9rem 0;
    background: var(--gs-red);
    color: #fff;
    font-weight: bold;
    font-size: var(--font-md);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.2s;
}
#uyeForm button:hover, #iletisimForm button:hover {
    background: var(--gs-yellow);
    color: var(--gs-red);
}
#formMessage, #iletisimFormMessage {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--gs-red);
}
.iletisim-bilgi {
    margin-top: 2rem;
    font-size: 0.97rem;
    background: #fffbe7;
    border-radius: 7px;
    padding: 1.2rem 1rem;
    color: #333;
}

@media (max-width: 900px) {
    .container { max-width: 100vw; }
}
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
    nav {
        width: 100%;
    }
 .hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    margin-left: 1rem;
}
    nav ul.nav-list {
        display: none;
        flex-direction: column;
        gap: 0;
        background: var(--gs-red);
        position: absolute;
        top: 60px;
        right: 12px;
        width: 180px;
        box-shadow: 0 2px 14px rgba(0,0,0,0.11);
        border-radius: 0 0 12px 12px;
        padding: 8px 0;
        z-index: 11;
    }
    nav ul.nav-list.open {
        display: flex;
    }
    nav ul.nav-list li {
        width: 100%;
        justify-content: flex-start;
    }
    nav ul.nav-list li a {
        width: 100%;
        padding: 10px 18px;
        font-size: 1.06rem;
        color: #fff;
        background: none;
        border-radius: 0;
    }
    .logo-img {
        width: 38px;
        height: 38px;
    }
}


@media (max-width: 500px) {
    .logo-area { gap: 7px; }
    header h1 { font-size: 0.98rem; }
    .slider { height: 110px; }
    .slide, .slide img { height: 110px; }
    .slide .caption { left: 10px; padding: 7px 12px; font-size: 0.95rem;}
    section.container { padding: 1rem 0.2rem 1.2rem 0.2rem; }
    .uye-section, .iletisim-section { padding: 1.2rem 0.2rem; }
    #uyeForm input, #uyeForm textarea,
    #iletisimForm input, #iletisimForm textarea { font-size: 0.97rem;}
    #uyeForm button, #iletisimForm button { font-size: 1rem;}
    footer { font-size: 0.94rem;}
}

/* Hamburger butonunu gizle, küçük ekranda göster */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 80px; /* header yüksekliğine göre ayarla */
        right: 0;
        width: 200px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 100;
    }
    .nav-list.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ...existing code... */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
    .hamburger {
        display: block;
        margin-left: auto;
        z-index: 110;
    }
    nav {
        width: auto;
    }
    nav ul.nav-list {
        /* ...mevcut kodlar... */
    }
}
/* ...existing code... */


/* ...existing code... */
.gs-clock-section {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}
#gs-clock {
    background: linear-gradient(90deg, #fcbe1a 50%, #a51c30 50%);
    color: #fff;
    padding: 18px 36px;
    border-radius: 18px;
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    letter-spacing: 2px;
    text-align: center;
}
#gs-time {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.2em;
}
#gs-date {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
/* ...existing code... */

.uye-ol-btn {
    display: inline-block;
    background: linear-gradient(90deg, #fcbe1a 50%, #a51c30 50%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
    margin: 6px 0;
}
.uye-ol-btn:hover {
    background: linear-gradient(90deg, #a51c30 50%, #fcbe1a 50%);
    color: #fffbe7;
}

/* ...existing code... */
.sponsorlar-section {
    width: 100%;
    background: linear-gradient(90deg, #fcbe1a 60%, #a51c30 100%);
    padding: 0.7rem 0;
    text-align: left;
    overflow: hidden;
    position: relative;
    font-size: 1.08rem;
    font-weight: bold;
    color: #a51c30;
    border-radius: 0 0 14px 14px;
}
.sponsor-title {
    margin-left: 1.2rem;
    color: #a51c30;
    font-weight: bold;
    letter-spacing: 1px;
}
.sponsor-marquee-js {
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    width: 70vw;
    margin-left: 1.5rem;
    height: 1.5em;
    position: relative;
}
.sponsor-track {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    will-change: transform;
    animation: sponsorTrackAnim 14s linear infinite;
}
.sponsor-item {
    color: #a51c30;
    font-weight: bold;
    font-size: 1.08rem;
    letter-spacing: 1px;
    white-space: nowrap;
    padding-right: 2.5rem;
}
@keyframes sponsorTrackAnim {
    0% { transform: translateX(0);}
    100% { transform: translateX(-50%);}
}

@media (max-width: 768px) {
    .logo-area h1 {
        font-size: 0.85rem;
        line-height: 1.1;
    }
}
@media (max-width: 500px) {
    .logo-area h1 {
        font-size: 0.65rem;
        line-height: 1.05;
    }
}

/* Carousel yüksekliğini artır */
.slider {
    height: 550px; /* İstediğin yüksekliğe göre artırabilirsin */
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.slide,
.slide img {
    height: 550px; /* Aynı yükseklik burada da olmalı */
    object-fit: cover;
}

/* ...existing code... */
.slide {
    display: block;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 550px;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}
/* ...existing code... */

/* ...existing code... */
.gs-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    min-width: 260px;
    max-width: 90vw;
    background: linear-gradient(90deg, #fcbe1a 60%, #a51c30 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.08rem;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(163,38,56,0.13);
    padding: 18px 28px 16px 22px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
    transition: opacity 0.5s, transform 0.5s;
}
.gs-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.gs-toast-title {
    color: #a51c30;
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 1px;
}
/* ...existing code... */

.about-btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}


/* Dernek Üyeleri sayfası için */
.uye-list-section {
    padding: 2rem 0;
}
.uye-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
}
.uye-kart {
    background: #fffbe7;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(252,190,26,0.08);
    padding: 1.2rem 1.2rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 170px;
}
.uye-foto {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #fcbe1a;
    margin-bottom: 0.7rem;
    background: #fff;
}
.uye-bilgi {
    text-align: center;
}
.uye-isim {
    font-weight: bold;
    color: #a51c30;
    font-size: 1.08rem;
    margin-bottom: 0.2rem;
}
.uye-meslek {
    color: #444;
    font-size: 0.98rem;
}


/* Hover ve aktif durum */
.nav-list a:hover,
.nav-list a.active {
    background: linear-gradient(90deg, #fcbe1a 60%, #a51c30 100%);
    color: #fff;
}


@media (min-width: 769px) {
    .nav-list {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }
    .nav-list .uye-ol-li {
        margin-left: auto;
        /* "Üye Ol" butonunu en sağa iter */
    }
}


/* ...mevcut kodların sonuna ekle... */
.futbol-topu-animasyon {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    animation: top-ziplama 2.2s cubic-bezier(.5,-0.5,.5,1.5) infinite;
}
.futbol-topu-svg {
    -webkit-filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
}
.uye-sayisi-anim {
    margin-top: -12px;
    background: linear-gradient(90deg, #fcbe1a 60%, #a51c30 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.08rem;
    border-radius: 12px;
    padding: 6px 18px 3px 18px;
    box-shadow: 0 2px 10px rgba(252,190,26,0.13);
    text-align: center;
    min-width: 80px;
    letter-spacing: 1px;
}
.uye-sayisi-anim span {
    font-size: 0.95rem;
    color: #fffbe7;
    display: block;
    margin-bottom: 2px;
}
.uye-sayi {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
}
@keyframes top-ziplama {
    0%   { transform: translateY(0);}
    10%  { transform: translateY(-30px);}
    20%  { transform: translateY(-60px);}
    30%  { transform: translateY(-80px);}
    40%  { transform: translateY(-60px);}
    50%  { transform: translateY(-30px);}
    60%  { transform: translateY(0);}
    100% { transform: translateY(0);}
}
@keyframes top-donme {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

.futbol-topu-svg {
    -webkit-filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
}


.uye-list {
    display: flex;
    flex-wrap: wrap;
    /* gap: 2rem;  kaldır */
}
.uye-kart {
    margin-right: 2rem;
    margin-bottom: 2rem;
}
/* Son satır ve sütun için margin kaldırmak istersen nth-child ile ek düzenleme yapabilirsin */


.uye-foto {
    width: 100px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 2px solid #fcbe1a;
    margin-bottom: 0.7rem;
    background: #fff;
    /* object-fit: cover; kaldır */
}

.some-blur-bg {
    background: rgba(255,255,255,0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.header-flex,
.uye-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.etkinlik-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.yonetim-slider-wrapper {
    overflow: hidden;
    width: 100%;
    margin: 1.5rem 0 2rem 0;
    position: relative;
}
.yonetim-slider {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    will-change: transform;
}
.yonetim-kart {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
}
.yonetim-foto {
    width: 90px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #fcbe1a;
    background: #fff;
    box-shadow: 0 2px 8px rgba(252,190,26,0.10);
}
.yonetim-isim {
    margin-top: 0.5rem;
    font-weight: bold;
    color: #a51c30;
    font-size: 1.05rem;
    text-align: center;
    background: #fffbe7;
    border-radius: 6px;
    padding: 2px 10px;
    margin-bottom: 0.2rem;
}
@media (max-width: 600px) {
    .yonetim-foto {
        width: 60px;
        height: 75px;
    }
    .yonetim-kart {
        min-width: 70px;
    }
    .yonetim-slider {
        gap: 1.2rem;
    }
}

/* Üye listesi grid yapısı */
.uye-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.2rem;
    justify-items: center;
    margin: 2rem 0;
}

/* Üye kartı daha küçük ve uyumlu */
.uye-kart {
    background: #fffbe7;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(252,190,26,0.08);
    padding: 0.7rem 0.7rem 0.6rem 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 130px;
}

.uye-foto {
    width: 70px;
    height: 85px;
    object-fit: cover;
    border-radius: 7px;
    border: 2px solid #fcbe1a;
    margin-bottom: 0.5rem;
    background: #fff;
}

.uye-bilgi {
    text-align: center;
}

.uye-isim {
    font-weight: bold;
    color: #a51c30;
    font-size: 0.98rem;
    margin-bottom: 0.15rem;
}

.uye-meslek, .dernek-gorevı {
    color: #444;
    font-size: 0.92rem;
    margin-bottom: 0.1rem;
}

/* Responsive: En az 2 sütun */
@media (max-width: 600px) {
    .uye-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .uye-kart {
        max-width: 100px;
        padding: 0.5rem;
    }
    .uye-foto {
        width: 55px;
        height: 65px;
    }
}

.dosya-input[type="file"] {
    background: linear-gradient(90deg, #fcbe1a 60%, #a51c30 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.dosya-input[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(90deg, #fcbe1a 60%, #a51c30 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.dosya-input[type="file"]:hover,
.dosya-input[type="file"]::-webkit-file-upload-button:hover {
    background: linear-gradient(90deg, #a51c30 60%, #fcbe1a 100%);
    color: #fffbe7;
}