﻿/* ══════════════════════════════════════════════
   GALLARDO GROUP — gallardosk1.css
   Navbar offset fix + full mobile responsive
   ══════════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #000;
    color: #fff;
}

/* ══════════════════════════════════════
   HERO SECTION
   Navbar: 100px masaüstü
   padding-top ile içerik navbar altında başlar,
   height: 100svh adres çubuğunu hariç tutar
══════════════════════════════════════ */
.hero-section {
    position: relative;
    height: 100svh;
    min-height: 680px;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,51,161,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,51,161,.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0,0);
    }

    100% {
        transform: translate(50px,50px);
    }
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0,51,161,.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    /* Navbar 100px + üst boşluk */
    padding: calc(100px + 1rem) 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 1.25rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.75rem;
    width: fit-content;
    backdrop-filter: blur(10px);
}

    .hero-label::before {
        content: '';
        width: 8px;
        height: 8px;
        background: #0033A1;
        border-radius: 50%;
        animation: pulse 2s infinite;
        flex-shrink: 0;
    }

@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.6rem, 8vw, 7rem);
    font-weight: 900;
    line-height: .95;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
    letter-spacing: -.02em;
}

    .hero-title .line {
        display: block;
        overflow: hidden;
    }

    .hero-title .word {
        display: inline-block;
        animation: slideUp .8s cubic-bezier(.22,1,.36,1) backwards;
    }

    .hero-title .line:nth-child(2) .word {
        animation-delay: .1s;
    }

    .hero-title .highlight {
        background: linear-gradient(135deg, #0033A1 0%, #0055ff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-description {
    font-size: clamp(.92rem, 2vw, 1.2rem);
    line-height: 1.65;
    max-width: 700px;
    opacity: .8;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s .3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: .8;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeIn 1s .5s backwards;
}

.stat-box {
    position: relative;
    flex-shrink: 0;
}

    .stat-box::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, #0033A1 0%, transparent 100%);
    }

.stat-number {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .4rem;
    padding-left: 1.4rem;
}

.stat-label {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: .6;
    padding-left: 1.4rem;
    white-space: nowrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,100% {
        transform: translate(-50%,0);
    }

    50% {
        transform: translate(-50%,10px);
    }
}

.scroll-indicator::before {
    content: '';
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 20px;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,.5);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translate(-50%,0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%,20px);
    }
}


/* ══════════════════════════════════════
   GSK TIMES (belt/instagram section)
══════════════════════════════════════ */
.gsk-times-section {
    padding: 6rem 2rem;
    background: #050510;
    position: relative;
    overflow: hidden;
}

    .gsk-times-section::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0,51,161,.08) 0%, transparent 70%);
        pointer-events: none;
    }

    .gsk-times-section::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0,51,161,.05) 0%, transparent 70%);
        pointer-events: none;
    }

.gsk-times-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.gsk-times-label {
    display: inline-block;
    padding: .45rem 1.1rem;
    background: rgba(0,51,161,.15);
    color: #4d8aff;
    border: 1px solid rgba(0,51,161,.3);
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.gsk-times-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: .75rem;
}

.gsk-times-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,51,161,.5));
}

    .gsk-times-line.right {
        background: linear-gradient(90deg, rgba(0,51,161,.5), transparent);
    }

.gsk-times-title {
    font-size: clamp(1.55rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

    .gsk-times-title span {
        background: linear-gradient(135deg, #0033A1 0%, #4d8aff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.gsk-times-desc {
    color: rgba(255,255,255,.4);
    font-size: .92rem;
    margin: .5rem 0 0;
    letter-spacing: .5px;
}

.gsk-belt-outer {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    min-height: 420px;
}

    .gsk-belt-outer:hover .gsk-belt {
        animation-play-state: paused;
    }

.gsk-belt {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: gskScroll var(--gsk-duration,40s) linear infinite;
    will-change: transform;
    padding: 1rem 0 2rem;
}

@keyframes gskScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(var(--gsk-shift,-50%));
    }
}

.gsk-ig-card {
    flex: 0 0 300px;
    width: 300px;
    background: #0a0a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
    border: 1px solid rgba(0,51,161,.15);
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
    min-height: 380px;
    contain: layout style;
}

    .gsk-ig-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,51,161,.2);
        border-color: rgba(0,51,161,.4);
    }

.gsk-ig-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(90deg, #0a0a1a 25%, #111130 50%, #0a0a1a 75%);
    background-size: 200% 100%;
    animation: gskShimmer 1.8s infinite;
}

@keyframes gskShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}


/* ══════════════════════════════════════
   MISSION SECTION
══════════════════════════════════════ */
.mission-section {
    position: relative;
    padding: 7rem 4rem;
    background: #000;
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 6rem;
    align-items: center;
}

.mission-logo {
    position: relative;
}

    .mission-logo::before {
        content: '';
        position: absolute;
        inset: -20px;
        background: radial-gradient(circle, rgba(0,51,161,.2) 0%, transparent 70%);
        filter: blur(40px);
        z-index: 0;
    }

    .mission-logo img {
        position: relative;
        width: 100%;
        height: auto;
        filter: drop-shadow(0 20px 60px rgba(0,51,161,.3));
        z-index: 1;
    }

.mission-content h2 {
    font-size: clamp(1.9rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.mission-content p {
    font-size: 1.05rem;
    line-height: 1.82;
    opacity: .8;
    margin-bottom: 1.4rem;
}


/* ══════════════════════════════════════
   SPORT SECTIONS
══════════════════════════════════════ */
.sport-section {
    position: relative;
    padding: 6rem 0;
    background: #000;
}

.sport-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
}

.sport-header {
    margin-bottom: 2.75rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.sport-title-group {
    flex: 1;
}

.sport-badge {
    display: inline-block;
    padding: .45rem 1rem;
    background: rgba(255,255,255,.05);
    border-radius: 100px;
    font-size: .73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .9rem;
}

    .sport-badge.basketball {
        color: #FFA800;
        border: 1px solid rgba(255,168,0,.2);
    }

    .sport-badge.jiujitsu {
        color: #669309;
        border: 1px solid rgba(102,147,9,.2);
    }

    .sport-badge.gymnastics {
        color: #0085FF;
        border: 1px solid rgba(0,133,255,.2);
    }

.sport-title {
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin-bottom: .9rem;
}

.sport-subtitle {
    font-size: 1.05rem;
    opacity: .6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sport-description {
    font-size: 1.05rem;
    line-height: 1.82;
    opacity: .8;
    max-width: 900px;
    margin-bottom: 2.75rem;
}


/* ══════════════════════════════════════
   CAROUSEL
══════════════════════════════════════ */
.carousel-container {
    position: relative;
    overflow: visible;
}

.swiper {
    overflow: visible;
    padding: 2rem 0;
}

.swiper-slide {
    height: auto;
}

.gallery-card {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
    transform-origin: center;
    transition: transform .4s cubic-bezier(.22,1,.36,1);
    display: block;
    text-decoration: none;
}

    .gallery-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.9) 100%);
        opacity: 0;
        transition: opacity .4s;
        z-index: 2;
    }

    .gallery-card:hover {
        transform: scale(1.05);
    }

        .gallery-card:hover::before {
            opacity: 1;
        }

    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s cubic-bezier(.22,1,.36,1);
    }

    .gallery-card:hover img {
        transform: scale(1.1);
    }

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 3;
    transform: translateY(20px);
    opacity: 0;
    transition: all .4s cubic-bezier(.22,1,.36,1);
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.swiper-button-prev,
.swiper-button-next {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all .3s;
}

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: rgba(0,51,161,.2);
        border-color: rgba(0,51,161,.4);
        transform: scale(1.1);
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 18px;
        color: #fff;
        font-weight: 900;
    }

.swiper-pagination {
    bottom: -3rem !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,.2);
    opacity: 1;
    transition: all .3s;
}

.swiper-pagination-bullet-active {
    background: #0033A1;
    width: 40px;
    border-radius: 6px;
}


/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-section {
    position: relative;
    padding: 9rem 4rem;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(0,51,161,.1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(0,51,161,.1) 0%, transparent 50%);
}

.cta-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin-bottom: 1.75rem;
}

.cta-description {
    font-size: 1.15rem;
    line-height: 1.65;
    opacity: .7;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 2.75rem;
    font-size: .97rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 100px;
    transition: all .3s cubic-bezier(.22,1,.36,1);
    overflow: hidden;
    -webkit-appearance: none;
    touch-action: manipulation;
}

    .cta-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #0033A1 0%, #0055ff 100%);
        transition: transform .3s;
        z-index: -1;
    }

    .cta-btn.primary {
        color: #fff;
        border: 2px solid transparent;
    }

        .cta-btn.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 20px 40px rgba(0,51,161,.3);
        }

            .cta-btn.primary:hover::before {
                transform: scale(1.05);
            }

    .cta-btn.secondary {
        color: #fff;
        border: 2px solid rgba(255,255,255,.2);
        background: transparent;
    }

        .cta-btn.secondary::before {
            background: rgba(255,255,255,.05);
        }

        .cta-btn.secondary:hover {
            border-color: #fff;
            transform: translateY(-2px);
        }

.btn-arrow {
    transition: transform .3s;
}

.cta-btn:hover .btn-arrow {
    transform: translateX(5px);
}


/* ══════════════════════════════════════
   RESPONSIVE — TABLET (max 1200px)
══════════════════════════════════════ */
@media (max-width: 1200px) {
    .mission-container {
        grid-template-columns: 280px 1fr;
        gap: 4rem;
    }

    .sport-container {
        padding: 0 3rem;
    }
}


/* ══════════════════════════════════════
   RESPONSIVE — MOBİL (max 968px)
   Navbar ~80px
══════════════════════════════════════ */
@media (max-width: 968px) {
    /* --- HERO --- */
    .hero-content {
        padding: calc(80px + 1.5rem) 2rem 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    /* --- MISSION --- */
    .mission-section {
        padding: 6rem 2rem;
    }

    .mission-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .mission-logo {
        max-width: 260px;
        margin: 0 auto;
    }

    /* --- SPORT --- */
    .sport-container {
        padding: 0 2rem;
    }

    .sport-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sport-section {
        padding: 5rem 0;
    }

    /* --- CTA --- */
    .cta-section {
        padding: 7rem 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* --- GSK TIMES --- */
    .gsk-times-section {
        padding: 4rem 1.25rem;
    }

    .gsk-ig-card {
        flex: 0 0 258px;
        width: 258px;
    }
}


/* ══════════════════════════════════════
   RESPONSIVE — KÜÇÜK MOBİL (max 640px)
══════════════════════════════════════ */
@media (max-width: 640px) {
    /* --- HERO --- */
    .hero-content {
        padding: calc(72px + 1.25rem) 1.25rem 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-label {
        font-size: .75rem;
        letter-spacing: 1px;
    }

    /* --- SPORT --- */
    .sport-container {
        padding: 0 1.25rem;
    }

    .sport-section {
        padding: 4rem 0;
    }

    .sport-description {
        font-size: .95rem;
    }

    /* --- SWIPER ARROWS hidden on touch --- */
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    /* --- GSK TIMES --- */
    .gsk-times-title-wrap {
        gap: .75rem;
    }

    .gsk-times-line {
        max-width: 60px;
    }

    .gsk-ig-card {
        flex: 0 0 238px;
        width: 238px;
    }
}


/* ══════════════════════════════════════
   RESPONSIVE — 480px
══════════════════════════════════════ */
@media (max-width: 480px) {
    /* --- HERO --- */
    .hero-content {
        padding: calc(72px + 1rem) 1rem 2rem;
    }

    .hero-stats {
        gap: 1.25rem;
    }

    /* hero stats 2 kolon wrap */
    .stat-box {
        min-width: 0;
    }

    /* --- MISSION --- */
    .mission-section {
        padding: 4rem 1.25rem;
    }

    .mission-content p {
        font-size: .95rem;
    }

    /* --- SPORT --- */
    .sport-container {
        padding: 0 1rem;
    }

    .sport-section {
        padding: 3.5rem 0;
    }

    .sport-subtitle {
        font-size: .88rem;
    }

    /* --- CTA --- */
    .cta-section {
        padding: 5.5rem 1.25rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 1rem 2rem;
        font-size: .88rem;
    }

    /* --- GSK TIMES --- */
    .gsk-times-section {
        padding: 3.5rem 1rem;
    }

    .gsk-ig-card {
        flex: 0 0 220px;
        width: 220px;
        min-height: 340px;
    }

    .gsk-ig-placeholder {
        height: 340px;
    }

    .gsk-belt-outer {
        min-height: 360px;
    }
}


/* ══════════════════════════════════════
   RESPONSIVE — 360px
══════════════════════════════════════ */
@media (max-width: 360px) {
    .hero-content {
        padding: calc(68px + .9rem) .85rem 1.75rem;
    }

    .mission-section {
        padding: 3.5rem .85rem;
    }

    .sport-container {
        padding: 0 .85rem;
    }

    .cta-section {
        padding: 4.5rem 1rem;
    }

    .cta-btn {
        max-width: 100%;
    }

    .gsk-ig-card {
        flex: 0 0 200px;
        width: 200px;
    }
}
