/* Hero styles for index header */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Renk Paleti */
    --color-blue: #77b2c9;
    --color-pink: #c4847d;
    --color-gold: #ccb075;
    --color-green: #a9c178;
    --color-dark: #2f313c;
    --color-dark-secondary: #363945;
    
    /* Metin Renkleri */
    --text: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.8);
    --border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background-color: var(--color-dark);
}

/* Main Navigation - Sticky Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease;
}

.main-nav.transparent {
    background: transparent;

}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* Fullscreen hero using bg.jpg */
.hero {
    height: 100vh;
    width: 100%;
    background-image: url("../../img/anasayfa/bg.jpg");
    background-size: cover;
    background-position: center center;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(47, 49, 60, 0.3), rgba(54, 57, 69, 0.5));
    z-index: 0;
}

/* Hero content */
.hero-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text);
    max-width: 720px;
    padding: 0 16px;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.02;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

/* Gameplay Section */
.gameplay-section {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-secondary) 50%, #4a4d5e 100%);
    padding: 80px 24px;
    position: relative;
}

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

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

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* Nasıl Oynanır başlığı - Gold rengi (menüdeki orange icon ile aynı) */
.gameplay-section .section-header h2 {
    color: var(--color-gold);
}

.section-header p {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.gameplay-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gameplay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-green), var(--color-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gameplay-card:hover::before {
    opacity: 1;
}

.gameplay-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.25), rgba(169, 193, 120, 0.25));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    color: var(--color-blue);
    transition: all 0.3s ease;
}

.gameplay-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.4), rgba(169, 193, 120, 0.4));
}

/* Farklı kartlar için farklı renk varyasyonları */
.gameplay-card:nth-child(1) .card-icon {
    color: var(--color-green);
    background: linear-gradient(135deg, rgba(169, 193, 120, 0.25), rgba(204, 176, 117, 0.25));
}

.gameplay-card:nth-child(2) .card-icon {
    color: var(--color-pink);
    background: linear-gradient(135deg, rgba(196, 132, 125, 0.25), rgba(119, 178, 201, 0.25));
}

.gameplay-card:nth-child(3) .card-icon {
    color: var(--color-gold);
    background: linear-gradient(135deg, rgba(204, 176, 117, 0.25), rgba(196, 132, 125, 0.25));
}

.gameplay-card:nth-child(4) .card-icon {
    color: var(--color-blue);
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.25), rgba(169, 193, 120, 0.25));
}

.gameplay-card:nth-child(5) .card-icon {
    color: var(--color-pink);
    background: linear-gradient(135deg, rgba(196, 132, 125, 0.25), rgba(204, 176, 117, 0.25));
}

.gameplay-card:nth-child(6) .card-icon {
    color: var(--color-green);
    background: linear-gradient(135deg, rgba(169, 193, 120, 0.25), rgba(119, 178, 201, 0.25));
}

.gameplay-card:nth-child(7) .card-icon {
    color: var(--color-blue);
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.25), rgba(196, 132, 125, 0.25));
}

.gameplay-card:nth-child(8) .card-icon {
    color: var(--color-gold);
    background: linear-gradient(135deg, rgba(204, 176, 117, 0.25), rgba(169, 193, 120, 0.25));
}

.gameplay-card:nth-child(9) .card-icon {
    color: var(--color-pink);
    background: linear-gradient(135deg, rgba(196, 132, 125, 0.25), rgba(119, 178, 201, 0.25));
}

.gameplay-card:nth-child(10) .card-icon {
    color: var(--color-green);
    background: linear-gradient(135deg, rgba(169, 193, 120, 0.25), rgba(204, 176, 117, 0.25));
}

.gameplay-card:nth-child(11) .card-icon {
    color: var(--color-blue);
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.25), rgba(196, 132, 125, 0.25));
}

.gameplay-card:nth-child(12) .card-icon {
    color: var(--color-gold);
    background: linear-gradient(135deg, rgba(204, 176, 117, 0.25), rgba(169, 193, 120, 0.25));
}

.gameplay-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.gameplay-card p {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .nav-container {
        padding: 20px;
    }

    .gameplay-section {
        padding: 60px 20px;
    }
}

@media (max-width: 700px) {
    /* Mobilde menü aşağıda olacak */
    .main-nav {
        position: fixed;
        top: auto;
        bottom: 0;
        background: transparent;
        border-bottom: none;
    }
    
    .nav-container {
        padding: 0;
        max-width: 100%;
    }
    
    /* Mobilde içeriğe alt padding ekle (menü için) */
    body {
        padding-bottom: 80px;
    }

    .gameplay-grid {
        gap: 24px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .section-header {
        margin-bottom: 40px;
    }


    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 0 12px;
    }

    .gameplay-section {
        padding: 48px 16px;
    }

    .gameplay-grid {
        gap: 20px;
    }

    .gameplay-card {
        padding: 24px;
    }

    .card-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
}

/* Features Section - Sağda Görsel, Solda Yazı */
.features-section {
    min-height: 100vh;
    background: linear-gradient(180deg, #4a4d5e 0%, var(--color-dark) 100%);
    padding: 80px 24px;
    position: relative;
}

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

/* Özellikler ana başlığı - Green rengi (menüdeki icon ile aynı) */
.features-section .section-header h2 {
    color: var(--color-green);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
    min-height: 400px;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.feature-content p {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-list li i {
    color: var(--color-green);
    font-size: 16px;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.1), rgba(169, 193, 120, 0.1));
    border: 2px dashed rgba(119, 178, 201, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: var(--color-blue);
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.15), rgba(169, 193, 120, 0.15));
    transform: scale(1.02);
}

.image-placeholder i {
    font-size: 48px;
    color: var(--color-blue);
}

.image-placeholder span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Feature Image - Gerçek Görsel */
.feature-img {
    width: auto;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #2f313c 0%, #2f313d 100%);
    padding: 80px 24px;
    position: relative;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Hover efektleri için farklı renkler */
.stat-item:nth-child(1):hover {
    border-color: rgba(119, 178, 201, 0.4);
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.1), rgba(119, 178, 201, 0.05));
}

.stat-item:nth-child(2):hover {
    border-color: rgba(169, 193, 120, 0.4);
    background: linear-gradient(135deg, rgba(169, 193, 120, 0.1), rgba(169, 193, 120, 0.05));
}

.stat-item:nth-child(3):hover {
    border-color: rgba(204, 176, 117, 0.4);
    background: linear-gradient(135deg, rgba(204, 176, 117, 0.1), rgba(204, 176, 117, 0.05));
}

.stat-item:nth-child(4):hover {
    border-color: rgba(196, 132, 125, 0.4);
    background: linear-gradient(135deg, rgba(196, 132, 125, 0.1), rgba(196, 132, 125, 0.05));
}

.stat-number {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

/* Farklı istatistik kartları için farklı renkler */
.stat-item:nth-child(1) .stat-number {
    color: var(--color-blue);
}

.stat-item:nth-child(2) .stat-number {
    color: var(--color-green);
}

.stat-item:nth-child(3) .stat-number {
    color: var(--color-gold);
}

.stat-item:nth-child(4) .stat-number {
    color: var(--color-pink);
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Features */
@media (max-width: 900px) {
    .features-section {
        padding: 60px 20px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 700px) {
    .features-section {
        padding: 48px 16px;
    }

    .feature-item {
        margin-bottom: 60px;
        gap: 30px;
    }

    .image-placeholder {
        height: 200px;
    }

    .image-placeholder i {
        font-size: 36px;
    }

    .stats-section {
        padding: 60px 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 30px 20px;
    }
}

/* Gallery Section */
.gallery-section {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    padding: 80px 24px;
    position: relative;
}

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

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

.gallery-section .section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--color-pink);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.gallery-section .section-header p {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* Gallery Grid - Masonry Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Gallery Item Sizes */
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.gallery-item.large .gallery-image-wrapper {
    min-height: 524px;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.15), rgba(169, 193, 120, 0.15));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border: 2px dashed rgba(119, 178, 201, 0.3);
    transition: all 0.3s ease;
}

.gallery-placeholder i {
    font-size: 48px;
    color: var(--color-blue);
    transition: all 0.3s ease;
}

.gallery-placeholder span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(47, 49, 60, 0.1), rgba(47, 49, 60, 0.95));
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
    border-color: var(--color-blue);
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.25), rgba(169, 193, 120, 0.25));
}

.gallery-item:hover .gallery-placeholder i {
    transform: scale(1.1);
    color: var(--color-green);
}

.gallery-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.gallery-info p {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* Farklı galeri öğeleri için renkler */
.gallery-item:nth-child(1) .gallery-placeholder {
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.15), rgba(196, 132, 125, 0.15));
    border-color: rgba(119, 178, 201, 0.3);
}

.gallery-item:nth-child(2) .gallery-placeholder {
    background: linear-gradient(135deg, rgba(204, 176, 117, 0.15), rgba(169, 193, 120, 0.15));
    border-color: rgba(204, 176, 117, 0.3);
}

.gallery-item:nth-child(3) .gallery-placeholder {
    background: linear-gradient(135deg, rgba(169, 193, 120, 0.15), rgba(119, 178, 201, 0.15));
    border-color: rgba(169, 193, 120, 0.3);
}

.gallery-item:nth-child(4) .gallery-placeholder {
    background: linear-gradient(135deg, rgba(196, 132, 125, 0.15), rgba(204, 176, 117, 0.15));
    border-color: rgba(196, 132, 125, 0.3);
}

.gallery-item:nth-child(5) .gallery-placeholder {
    background: linear-gradient(135deg, rgba(119, 178, 201, 0.15), rgba(169, 193, 120, 0.15));
    border-color: rgba(119, 178, 201, 0.3);
}

.gallery-item:nth-child(6) .gallery-placeholder {
    background: linear-gradient(135deg, rgba(204, 176, 117, 0.15), rgba(196, 132, 125, 0.15));
    border-color: rgba(204, 176, 117, 0.3);
}

.gallery-item:nth-child(7) .gallery-placeholder {
    background: linear-gradient(135deg, rgba(169, 193, 120, 0.15), rgba(119, 178, 201, 0.15));
    border-color: rgba(169, 193, 120, 0.3);
}

.gallery-item:nth-child(8) .gallery-placeholder {
    background: linear-gradient(135deg, rgba(196, 132, 125, 0.15), rgba(119, 178, 201, 0.15));
    border-color: rgba(196, 132, 125, 0.3);
}

/* Responsive Gallery */
@media (max-width: 900px) {
    .gallery-section {
        padding: 60px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 2;
    }

    .gallery-item.large {
        grid-row: span 1;
    }

    .gallery-item.large .gallery-image-wrapper {
        min-height: 300px;
    }

    .gallery-image-wrapper {
        min-height: 200px;
    }
}

@media (max-width: 700px) {
    .gallery-section {
        padding: 48px 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item.large .gallery-image-wrapper {
        min-height: 250px;
    }

    .gallery-image-wrapper {
        min-height: 220px;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(47, 49, 60, 0), rgba(47, 49, 60, 0.85));
    }
}