:root {
    --primary: #2B4A6B;
    --secondary: #A3BFFA;
    --light-bg: #F9FAFB;
    --dark-text: #1F2937;
    --sponsor-blue: #1E90FF;
    --sponsor-blue-hover: #4DA8FF;
    --grayish: #6B7280;
    --grayish-hover: #9CA3AF;
    --accent: #E5E7EB;
    --error: #EF4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 10px 0;
    width: 100%;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    padding-top: 80px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
}

.navbar-logo img {
    max-width: 150px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-menu a {
    color: #000000;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    color: #000000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #2B4A6B;
    margin-bottom: 5px;
    border-radius: 5px;
    z-index: 1003;
}

.mobile-nav {
    position: fixed;
    top: 0px;
    right: -250px;
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    padding-top: 100px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    text-align: center;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav ul li {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mobile-nav a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    padding: 6px 10px;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #000000;
}

.mobile-nav .btn-primary {
    display: inline-flex;
    width: auto;
    margin: 10px 0;
    justify-content: center;
    color: white;
}

.mobile-nav .btn-primary:hover {
    color: #000000;
}

@media (max-width: 991px) {
    .navbar-menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}
/* Hero Slider */
.hero-slider {
    height: 50vh;
    position: relative;
}

@media (min-width: 992px) {
    .hero-slider {
        height: 80vh;
    }
}

.swiper-slide {
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left; /* ortalı istemiyorsan left */
    color: #fff;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* okunurluk için overlay */
    z-index: 1;
}

.swiper-slide .content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
}

/* Başlık */
.swiper-slide h2 {
    font-size: 2.45rem;   /* ~32px */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Açıklama */
.swiper-slide p {
    font-size: 1.45rem;   /* ~16px */
    font-weight: 400;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 992px) {
    .swiper-slide h2 {
        font-size: 1.6rem; /* ~26px */
    }
    .swiper-slide p {
        font-size: 0.95rem;
    }
    .swiper-slide .content {
        max-width: 350px;
    }
}

/* Mobil */
@media (max-width: 576px) {
    .swiper-slide .content {
        padding: 20px;
    }
    .swiper-slide h2 {
        font-size: 1.3rem; /* ~21px */
    }
    .swiper-slide p {
        font-size: 0.85rem; /* ~14px */
    }
}
/* Sections */
.section-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* About Section */
.about-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.about-row > div {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .about-row > div {
        flex: 1 1 calc(50% - 15px);
    }
}

.about-row img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

.about-row p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Team Section */
#team, #gallery {
    background-color: white;
}

.team-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    flex: 1 1 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .team-member {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (min-width: 992px) {
    .team-member {
        flex: 1 1 calc(33.33% - 20px);
    }
}

@media (min-width: 1200px) {
    .team-member {
        flex: 1 1 calc(25% - 22.5px);
    }
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    object-fit: cover;
}

.team-member h5 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 15px 0 5px;
}

.team-member p {
    font-style: italic;
    color: var(--grayish);
    margin-bottom: 15px;
}

.team-member .social a {
    color: var(--primary);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.team-member .social a:hover {
    color: var(--secondary);
}

@media (max-width: 991px) {
    .team-member img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 767px) {
    .team-member img {
        width: 130px;
        height: 130px;
    }
}

.join-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 300px;
}

.join-button .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--grayish);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.join-button .btn:hover {
    background-color: var(--grayish-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.join-button h5 {
    color: var(--grayish);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
}

/* Competitions Section */
.competitions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.competition-card {
    flex: 1 1 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
    .competition-card {
        flex: 1 1 calc(33.33% - 20px);
    }
}

.competition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.competition-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.competition-card .card-body {
    padding: 15px;
}

.competition-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 50%;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Sponsors Section */
section#sponsors {
    padding-bottom: 80px;
    background:white;
}
.sponsors-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.sponsor-column {
    flex: 1 1 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .sponsor-column {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (min-width: 992px) {
    .sponsor-column {
        flex: 1 1 calc(25% - 22.5px);
    }
}

@media (max-width: 767px) {
    .sponsor-column {
        padding: 0 20px;
        min-width: 200px;
        justify-content: center;
    }
}

.sponsor-logo {
    max-width: 285px;
    max-height: 125px;
    object-fit: contain;
    transition: transform 0.3s;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

.sponsor-gold .sponsor-logo,
.sponsor-silver .sponsor-logo,
.sponsor-bronze .sponsor-logo {
    max-width: 150px;
    max-height: 80px;
}

@media (max-width: 767px) {
    .sponsor-column {
        margin-bottom: 30px;
    }
}

.sponsor-column h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Form Section */
.form-section {
    padding: 80px 0;
}

.application-form {
    background: linear-gradient(135deg, white, var(--accent));
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    position: relative;
}

.form-group:hover {
    transform: translateY(-2px);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--grayish);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(43, 74, 107, 0.3);
    transform: scale(1.01);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group.radio-group,
.form-group.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group.radio-group .options,
.form-group.checkbox-group .options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--grayish);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
    flex-shrink: 0;
}

.form-group input[type="radio"] {
    border-radius: 50%;
}

.form-group input[type="checkbox"]:checked,
.form-group input[type="radio"]:checked {
    border-color: var(--primary);
    background-color: var(--primary);
}

.form-group input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.form-group input[type="radio"]:checked::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-group.radio-group .options > div,
.form-group.checkbox-group .options > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group.radio-group label,
.form-group.checkbox-group label {
    font-weight: 500;
    font-size: 1rem;
    line-height: 20px;
    color: var(--dark-text);
    cursor: pointer;
}

.form-group .other-input,
.form-group .conditional-input {
    margin-top: 15px;
    display: none;
}

.form-group input[type="radio"][value="yes"]:checked ~ .conditional-input,
.form-group input[type="checkbox"][value="other"]:checked ~ .other-input {
    display: block;
}

.form-group.checkbox-group input[type="checkbox"][value="none"]:checked ~ input[type="checkbox"] {
    pointer-events: none;
    opacity: 0.5;
}

.form-group .error-message {
    color: var(--error);
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-group .error-message.show {
    opacity: 1;
}

.form-group button {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 16px 50px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    margin: 30px auto 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.form-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    animation: pulse 1.5s infinite;
}

.form-group button:disabled {
    background: var(--grayish);
    cursor: not-allowed;
    box-shadow: none;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 6px 16px rgba(43, 74, 107, 0.4); }
    100% { box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
}

@media (max-width: 767px) {
    .application-form {
        padding: 25px;
    }
    .form-group.radio-group .options,
    .form-group.checkbox-group .options {
        flex-direction: column;
        gap: 12px;
    }
    .section-title {
        font-size: 2rem;
    }
    .form-group {
        padding: 15px;
    }
    .form-group button {
        padding: 14px 40px;
        font-size: 1.1rem;
    }
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding-top: 0;
    padding-bottom: 30px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .footer-column {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (min-width: 992px) {
    .footer-column {
        flex: 1 1 calc(25% - 22.5px);
    }
}

.footer-column img {
    max-width: 150px;
    max-height: 70px;
}

.footer-column p {
    margin: 15px 0;
}

.footer-column h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--secondary);
}

.btn-sponsor {
    background-color: var(--sponsor-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-sponsor:hover {
    background-color: var(--sponsor-blue-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.copyright {
    text-align: center;
    margin-top: 30px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s, transform 0.3s;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}