:root {
    --bg: #0a0a0a;
    --text: #f5f5f5;
    --muted: #b8b8b8;
    --gold-1: #c9a63a;
    --gold-2: #f0d778;
    --gold-3: #9c7c1c;
    --stroke: rgba(255, 255, 255, .08);
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Cairo", system-ui, Arial, Helvetica, sans-serif;
    max-width: 100%;
    overflow-x: hidden
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    overflow-x: clip
}

/* Gold */
.gold-text {
    background: linear-gradient(135deg, var(--gold-3), var(--gold-1), var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
    opacity: .7
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(135deg, rgba(201, 166, 58, .12), rgba(240, 215, 120, .06));
    backdrop-filter: blur(6px);
    font-weight: 600;
    transition: transform .2s, box-shadow .2s
}

.btn:hover {
    box-shadow: 0 6px 18px rgba(240, 215, 120, .2);
    transform: translateY(-1px)
}

.btn--gold {
    border: none;
    background: linear-gradient(135deg, var(--gold-3), var(--gold-1), var(--gold-2));
    color: #101010
}

/* Header/Nav */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .4), transparent);
    backdrop-filter: saturate(120%) blur(4px)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    position: relative
}

.brand-logo {
    width: 200px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center
}

.brand-logo img {
    width: 100%;
    height: auto
}

.nav-links {
    display: none;
    gap: 1.4rem;
    align-items: center;
    transition: transform .4s, opacity .4s
}

.nav-links a {
    opacity: .9;
    color: #fff;
    font-weight: 500;
    transition: color .3s, text-shadow .3s
}

.nav-links a:hover {
    color: var(--gold-2);
    text-shadow: 0 0 8px rgba(240, 215, 120, .5)
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold-2);
    border-radius: 1px;
    transition: all .3s
}

@media(min-width:900px) {
    .nav-links {
        display: flex !important
    }

    .nav-toggle {
        display: none
    }
}

@media(max-width:899px) {
    .nav-links {
        position: fixed;
        inset: 0;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, .95);
        backdrop-filter: blur(6px);
        transform: translateX(-100%);
        opacity: 0;
        z-index: 5000
    }

    .nav-links.open {
        transform: translateX(0);
        opacity: 1
    }

    .nav-links a {
        font-size: 1.4rem;
        margin: 10px 0
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px)
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px)
    }
}

/* Hero */
.hero {
    padding: 72px 0 40px;
    position: relative;
    overflow: hidden
}

.hero:before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(60% 50% at 50% 0%, rgba(240, 215, 120, .09), transparent 70%)
}

.hero h1 {
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.1;
    margin: 16px 0
}

.hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.05rem
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 22px
}

/* Generic layout */
section {
    padding: 56px 0;
    border-top: 1px solid var(--stroke)
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid var(--stroke);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow)
}

.card h3 {
    margin: 0 0 6px
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px
}

@media(min-width:900px) {
    .grid-2 {
        grid-template-columns: 1.05fr .95fr
    }

    .cards {
        grid-template-columns: repeat(3, 1fr)
    }
}

.kpi {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.kpi svg {
    flex: 0 0 32px
}

/* Hero media */
.hero-media {
    position: relative
}

.hero-thumb {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
    aspect-ratio: 9/16;
    background: #000 var(--hero-cover) center/cover no-repeat
}

.hero-thumb img {
    display: none
}

.hero-media.landscape .hero-thumb {
    aspect-ratio: 16/9
}

.hero-media.no-crop .hero-thumb {
    background: #000;
    aspect-ratio: auto
}

.hero-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 999px;
    border: 2px solid var(--gold-2);
    background: rgba(0, 0, 0, .55);
    color: var(--gold-2);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 10001;
    transition: transform .25s, box-shadow .25s, background .25s;
    animation: hero-pulse 2s infinite
}

.hero-play svg {
    width: 56px;
    height: 56px
}

.hero-play:hover {
    background: rgba(240, 215, 120, .15);
    box-shadow: 0 0 20px rgba(240, 215, 120, .45);
    transform: translate(-50%, -50%) scale(1.06)
}

@keyframes hero-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 215, 120, .55)
    }

    70% {
        box-shadow: 0 0 0 22px rgba(240, 215, 120, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(240, 215, 120, 0)
    }
}

/* ← eksik kapatma kıvırcığı tamamlandı */

/* Services */
.services-cards .service img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 10px
}

.service .service-body {
    display: flex;
    flex-direction: column;
    gap: 6px
}

/* Videos grid */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px
}

@media(min-width:700px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.video-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid var(--stroke);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px
}

/* THUMB + PLAY (FIX) */
.video-thumb {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    padding: 0;
    cursor: pointer
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .5s
}

.video-thumb:hover img {
    transform: scale(1.03);
    filter: brightness(1.06)
}

.video-play {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: clamp(48px, 12vw, 74px) !important;
    height: clamp(48px, 12vw, 74px) !important;
    border-radius: 999px;
    border: 2px solid var(--gold-2) !important;
    background: rgba(0, 0, 0, .55);
    color: var(--gold-2);
    display: grid;
    place-items: center;
    z-index: 2 !important;
    pointer-events: none;
    animation: hero-pulse 2s infinite;
}

.video-play svg {
    width: 60% !important;
    height: 60% !important
}

/* Gallery/Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px
}

@media(min-width:700px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(min-width:1000px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

.team-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .02);
    box-shadow: var(--shadow);
    cursor: zoom-in;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1)
}

.team-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .5s
}

.team-item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .25));
    opacity: 0;
    transition: opacity .4s
}

.team-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05)
}

.team-item:hover:after {
    opacity: 1
}

/* Timeline */
.timeline {
    display: grid;
    gap: 14px;
    margin-top: 18px
}

.step {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.badge {
    flex: 0 0 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold-3), var(--gold-1));
    color: #111;
    font-weight: 800
}

/* Carousel */
.carousel {
    position: relative;
    margin-top: 18px;
    overflow: visible;
    z-index: 1
}

.car-viewport {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .02);
    position: relative
}

.car-slides {
    display: flex;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1)
}

.car-slide {
    flex: 0 0 100%;
    min-width: 100%
}

.car-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px
}

.car-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(240, 215, 120, .4);
    background: rgba(10, 10, 10, .55);
    color: var(--gold-2);
    font-size: 24px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: all .25s
}

.car-btn:hover {
    background: rgba(240, 215, 120, .15);
    color: var(--gold-1);
    border-color: var(--gold-2)
}

.car-btn.prev {
    right: 18px
}

.car-btn.next {
    left: 18px
}

.car-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px
}

.car-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #555;
    cursor: pointer;
    transition: all .25s
}

.car-dots button:hover,
.car-dots button.active {
    background: linear-gradient(135deg, var(--gold-3), var(--gold-1), var(--gold-2));
    box-shadow: 0 0 6px rgba(240, 215, 120, .45)
}

/* Certifications */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 20px
}

.cert-item {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .02);
    box-shadow: var(--shadow);
    cursor: zoom-in;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s
}

.cert-item img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .6));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s
}

.cert-item:hover img {
    transform: scale(1.05)
}

.cert-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(240, 215, 120, .25)
}

.cert-item:hover .cert-overlay {
    opacity: 1
}

/* Footer + WA */
footer {
    padding: 56px 0 90px;
    border-top: 1px solid var(--stroke)
}

.wa-float {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: .5rem
}

.wa-label {
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-3), var(--gold-1), var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: none
}

@media(min-width:900px) {
    .wa-label {
        display: inline
    }
}

.wa-fab {
    position: relative;
    width: 54px;
    height: 54px;
    display: block
}

.wa-fab svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .45)
}

.wa-pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 999px;
    z-index: -1;
    box-shadow: 0 0 0 0 rgba(240, 215, 120, .55);
    animation: pulse 2.2s infinite
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 215, 120, .55)
    }

    70% {
        box-shadow: 0 0 0 22px rgba(240, 215, 120, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(240, 215, 120, 0)
    }
}

.muted {
    color: var(--muted)
}

.section-title {
    font-size: clamp(22px, 3.6vw, 32px);
    margin: 0 0 6px
}

/* Reveal */
.reveal,
.reveal-up,
.reveal-left,
.reveal-fade {
    opacity: 0;
    transform: translateY(8px)
}

.reveal.in {
    opacity: 1;
    transform: none;
    transition: opacity .6s, transform .6s
}

.reveal-up {
    transform: translateY(18px)
}

.reveal-up.in {
    opacity: 1;
    transform: none;
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1)
}

.reveal-left {
    transform: translateX(18px)
}

.reveal-left.in {
    opacity: 1;
    transform: none;
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1)
}

.reveal-fade {
    transform: none
}

.reveal-fade.in {
    opacity: 1;
    transition: opacity .9s
}

/* Lightbox (images) */
.lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .88);
    backdrop-filter: saturate(120%) blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    touch-action: none
}

.lb.open {
    opacity: 1;
    pointer-events: auto
}

.lb-img {
    max-width: min(92vw, 1200px);
    max-height: 86vh;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
    transform: scale(.94);
    opacity: 0;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), opacity .4s
}

.lb.open .lb-img {
    transform: scale(1);
    opacity: 1
}

.lb-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(240, 215, 120, .4);
    background: rgba(10, 10, 10, .55);
    color: #f0d778;
    font-size: 24px;
    line-height: 42px;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 100000;
    transition: all .25s
}

.lb-prev {
    left: 22px
}

.lb-next {
    right: 22px
}

.lb-close {
    top: 22px;
    right: 22px;
    transform: none;
    width: 42px;
    height: 42px;
    font-size: 26px;
    color: #fff
}

@media(max-width:700px) {
    .lb-btn {
        width: 40px;
        height: 40px;
        font-size: 22px
    }

    .lb-prev {
        left: 12px
    }

    .lb-next {
        right: 12px
    }

    .lb-close {
        right: 12px
    }
}

/* Video Lightbox */
.lb.lb-video {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .85);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease
}

.lb.lb-video.open {
    opacity: 1;
    pointer-events: auto
}

.lb.lb-video .vb-wrap {
    width: min(90vw, 820px);
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative
}

.lb.lb-video .vb-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none
}

/* Ek güvenlik: hero play ölçüsü */
.hero .hero-play {
    width: clamp(64px, 12vw, 86px);
    height: clamp(64px, 12vw, 86px)
}

/* === Carousel RTL fix === */
.carousel,
.carousel .car-viewport,
.carousel .car-slides {
    direction: ltr !important;
}

/* Flex sırasını LTR'a kilitle */
.carousel .car-slides {
    display: flex;
    gap: 0;
    will-change: transform;
}

.carousel .car-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

/* tek tek sayfa genişliği kadar */