/* Global Styles */
:root {
    --primary-color: #87CEEB;
    /* Sky Blue */
    --primary-dark: #00BFFF;
    /* Deep Sky Blue */
    --secondary-color: #ffffff;
    /* White */
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #f4f9fc;
    /* Very light blue tint */
    --transition-speed: 0.3s;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.6);
    background-color: #009acd;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.4s;
    z-index: -1;
}

.btn-primary:hover::after {
    width: 100%;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color 0.4s, padding 0.4s, box-shadow 0.4s;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#main-header.inner-page {
    background-color: #f4f9fc;
    /* Light background matching page */
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    /* Not fixed on inner pages if preferred, or keep fixed */
}

#main-header.scrolled .logo a,
#main-header.inner-page .logo a {
    color: var(--primary-dark);
}

#main-header.scrolled .main-nav ul li a,
#main-header.inner-page .main-nav ul li a {
    color: var(--text-color);
}

#main-header.inner-page .main-nav ul li a.active {
    color: var(--primary-dark);
}

/* Inner Page Search Box visibility */
#main-header.inner-page .search-box input {
    color: var(--text-color);
}

#main-header.inner-page .search-box input::placeholder {
    color: #999;
}

#main-header.inner-page .search-box button {
    color: var(--text-color);
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
    display: flex;
    gap: 15px;
}

.main-nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    font-size: 0.9rem;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-dark);
    transition: width 0.3s;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 20px;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 20px;
    transition: background 0.3s;
}

.search-box:hover,
.search-box:focus-within {
    background: rgba(255, 255, 255, 0.9);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--secondary-color);
    width: 150px;
    /* Force width */
    font-family: inherit;
    font-size: 0.9rem;
}

.search-box:hover input,
.search-box:focus-within input {
    color: var(--text-color);
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

.search-box:hover button,
.search-box:focus-within button {
    color: var(--primary-dark);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box:hover input::placeholder,
.search-box:focus-within input::placeholder {
    color: #999;
}

#main-header.scrolled .search-box {
    background: rgba(0, 0, 0, 0.05);
}

#main-header.scrolled .search-box input {
    color: var(--text-color);
}

#main-header.scrolled .search-box button {
    color: var(--text-color);
}

#main-header.scrolled .search-box input::placeholder {
    color: #999;
}

#main-header.scrolled .mobile-menu-toggle {
    color: var(--text-color);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1001;
    transition: right 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    text-align: center;
    position: relative;
    width: 100%;
}

.close-menu {
    position: absolute;
    top: -50px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-menu-content ul li {
    margin: 20px 0;
}

.mobile-menu-content ul li a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.mobile-menu-content ul li a:hover {
    color: var(--primary-dark);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    /* Reduced by 30% from 100vh */
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Slight overlay for readability */
    z-index: 0;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--secondary-color);
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 1s ease 0.5s, opacity 1s ease 0.5s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    /* Düz beyaz */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Okunabilirlik için hafif gölge */
    opacity: 1;
}



.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: var(--primary-dark);
    transform: scale(1.2);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--secondary-color);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card i {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.split-image {
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.split-content {
    background-color: var(--secondary-color);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.feature-list li i {
    color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--secondary-color);
    padding-top: 60px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    margin-bottom: 10px;
}

.footer-brand p {
    color: #bdc3c7;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary-dark);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
}

.social-icons a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Responsive */
@media (max-width: 768px) {

    .main-nav,
    .mobile-menu-toggle {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet/mobile */
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .split-image {
        height: 300px;
    }

    .split-content {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .slider-controls {
        display: none;
        /* Hide arrows on mobile for cleaner look */
    }
}

/* News Card Styles */
.news-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    /* Slightly taller */
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover img {
    transform: scale(1.1);
}

/* Floating Date Badge */
.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-content {
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-content h3 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 12px;
    color: #009acd;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Video Styles */
.video-card {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.video-card:hover .play-button {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--primary-dark);
}

.play-button i {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-left: 2px;
    /* Visual correction for play icon */
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* News Tabs */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-dark);
    background: transparent;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: rgba(0, 191, 255, 0.1);
}

.tab-btn.active {
    background: var(--primary-dark);
    color: var(--secondary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: grid;
    /* restored to grid because about-grid uses grid */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Media Scroll Styles */
.marquee-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow-x: auto;
    /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    padding: 60px 0;
    background: transparent;
    scrollbar-width: none;
    /* Firefox */
}

.marquee-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Edge */
}

.marquee-track {
    display: flex;
    justify-content: center;
    /* Centers items if they fit on screen */
    gap: 40px;
    width: max-content;
    min-width: 100%;
    /* Ensures it takes full width */
    padding: 0 40px;
    /* Side padding */
    box-sizing: border-box;
}

/* Remove Hover Pause since no animation */
.marquee-track:hover {
    animation-play-state: initial;
}

.social-card {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.social-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-card i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    transition: transform 0.4s;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.social-card span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.social-card:hover i {
    transform: scale(1.1);
}

.social-card.youtube i {
    color: #FF0000;
}

.social-card.instagram i {
    color: #E1306C;
}

.social-card.tiktok i {
    color: #ffffff;
}

.social-card.facebook i {
    color: #1877F2;
}

.social-card.twitch i {
    color: #9146FF;
}

.social-card.kick i {
    color: #53FC18;
}

.social-card.discord i {
    color: #5865F2;
}

/* Header Styles for Inner Pages (Always Opaque) */
#main-header.header-inner-page {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#main-header.header-inner-page .logo a {
    color: var(--primary-dark);
}

#main-header.header-inner-page .main-nav ul li a {
    color: var(--text-color);
}

#main-header.header-inner-page .search-box {
    background: rgba(0, 0, 0, 0.05);
}

#main-header.header-inner-page .search-box input {
    color: var(--text-color);
}

#main-header.header-inner-page .search-box button {
    color: var(--text-color);
}

#main-header.header-inner-page .search-box input::placeholder {
    color: #999;
}

/* Page Header Section (Professional Look for Subpages) */
.page-header-section {
    background: linear-gradient(135deg, #f4f9fc 0%, #e0f2fe 100%);
    padding: 160px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.page-header-section h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}


/* Contact Form Styles */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-dark);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.submit-btn {
    background-color: var(--primary-dark);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background-color: #009acd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}