:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --surface-soft: #1c1c1c;
    --text: #f2f2f2;
    --muted: #b3b3b3;
    --accent: #d40000;
    --accent-hover: #ff2b2b;
    --line: rgba(255, 255, 255, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.35));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: #ffffff;
    opacity: 0.8;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    opacity: 1;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    color: #fff;
    padding: 6px 10px;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
}

main {
    padding-top: 72px;
}

.hero {
    position: relative;
    min-height: 84vh;
    border-bottom: 1px solid var(--line);
}

.hero-track {
    position: relative;
    width: 100%;
    min-height: 84vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 0, 0, 0.82) 20%, rgba(0, 0, 0, 0.28) 70%);
}

.hero-slide img {
    width: 100%;
    height: 84vh;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    left: 6vw;
    bottom: 12vh;
    z-index: 2;
    max-width: 640px;
}

.eyebrow {
    color: #d8d8d8;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-caption h1,
.hero-caption h2 {
    font-size: clamp(30px, 5vw, 62px);
    line-height: 1.05;
    margin-bottom: 20px;
    max-width: 12ch;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    min-width: 140px;
    padding: 12px 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-outline {
    border-color: var(--line);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
}

.hero-controls {
    position: absolute;
    right: 28px;
    bottom: 32px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-controls button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
}

.hero-dots {
    position: absolute;
    left: 6vw;
    bottom: 35px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.hero-dots button.active {
    background: var(--accent);
}

.quick-grid,
.news,
.members,
.cta-contact {
    width: min(1200px, 92%);
    margin: 56px auto;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.quick-grid article {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 26px;
}

.quick-grid h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-grid p {
    color: var(--muted);
}

.section-head {
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: clamp(26px, 4vw, 42px);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
}

.card img {
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 18px;
}

.card-content h3 {
    margin-bottom: 10px;
}

.card-content p {
    color: var(--muted);
    margin-bottom: 14px;
}

.card-link {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.member-grid img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
}

.cta-contact {
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 44px 20px;
    background: linear-gradient(180deg, #111, #0d0d0d);
}

.cta-contact h2 {
    font-size: clamp(28px, 5vw, 44px);
    margin-bottom: 10px;
}

.cta-contact p {
    color: var(--muted);
    margin-bottom: 22px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 30px 20px 18px;
    text-align: center;
    background: #070707;
}

.footer-links,
.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.site-footer a {
    color: #d9d9d9;
    font-size: 13px;
}

.site-footer p {
    color: #8b8b8b;
    font-size: 12px;
}

.whatsapp-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
}

.whatsapp-btn img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 92px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 910;
}

.scroll-top.visible {
    display: block;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.popup {
    width: min(680px, 96%);
    background: #fff;
    color: #1a1a1a;
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.popup h2 {
    margin-bottom: 14px;
}

.popup-content p {
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    right: 14px;
    top: 8px;
    border: none;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}

.action-btn {
    margin-top: 10px;
    border: none;
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid var(--line);
        padding: 16px 22px;
        gap: 14px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .quick-grid,
    .cards {
        grid-template-columns: 1fr;
    }

    .member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-slide img,
    .hero,
    .hero-track {
        min-height: 72vh;
        height: 72vh;
    }

    .hero-caption {
        left: 20px;
        right: 20px;
        bottom: 92px;
    }

    .hero-controls {
        right: 16px;
        bottom: 20px;
    }

    .hero-dots {
        left: 20px;
        bottom: 26px;
    }
}

@media (max-width: 480px) {
    .member-grid {
        grid-template-columns: 1fr;
    }

    .brand span {
        font-size: 12px;
    }

    .site-header {
        padding: 10px 14px;
    }
}

.page-hero,
.page-section {
    width: min(1100px, 92%);
    margin: 36px auto;
}

.page-hero {
    position: relative;
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.page-hero-caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(0, 0, 0, 0.66);
    border: 1px solid var(--line);
    padding: 14px 16px;
}

.page-hero-caption h1 {
    font-size: clamp(24px, 4vw, 42px);
}

.content-card {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 24px;
}

.content-card p {
    color: var(--muted);
    margin-bottom: 14px;
}

.content-card h2,
.content-card h3 {
    margin-bottom: 12px;
    margin-top: 8px;
}

.text-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bullet-list {
    padding-left: 18px;
    color: var(--muted);
}

.bullet-list li {
    margin-bottom: 8px;
}

.doc-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    padding: 12px;
    background: var(--surface-soft);
}

.doc-link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.iban-box {
    border: 1px solid var(--line);
    padding: 16px;
    background: #111;
    color: #e6e6e6;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.org-grid img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gallery-grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: zoom-in;
    border: 1px solid var(--line);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1600;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox img {
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox.is-open {
    display: flex;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-info-box,
.contact-form-box {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 22px;
}

.contact-form-box form {
    display: grid;
    gap: 12px;
}

.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    background: #0b0b0b;
    border: 1px solid var(--line);
    color: #fff;
    padding: 11px 12px;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .org-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-panel,
    .text-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .org-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}




/* =====REFERANSLAR SLIDER GELİŞMİŞ ÖZELLİKLER (EKLENDİ) ===== */

/* Hover olunca hafif zoom efekti */
.hero-slide img {
    transition: transform 0.8s ease;
}

.hero:hover .hero-slide.is-active img {
    transform: scale(1.05);
}

/* Daha smooth geçiş */
.hero-slide {
    transition: opacity 0.6s ease-in-out;
}

/* Yazı animasyonu */
.hero-caption {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.hero-slide.is-active .hero-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Okları modern yap */
.hero-controls button {
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.hero-controls button:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

/* Dot (nokta) animasyonu */
.hero-dots button {
    transition: all 0.3s ease;
}

.hero-dots button:hover {
    transform: scale(1.3);
}

.hero-dots button.active {
    background: var(--accent);
    transform: scale(1.4);
}

/* Slider üzerine koyu overlay güçlendirme */
.hero-slide::after {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0) 70%
    );
}
/* Küçük ekranlarda yazıyı daha okunur yap */
@media (max-width: 760px) {
    .hero-caption {
        background: rgba(0, 0, 0, 0.55);
        padding: 12px;
        border-radius: 10px;
    }
}

/* ===== SLIDER STYLING ===== */
.referans-section {
    text-align: center;
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: var(--surface);
}

.slides {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    top: 0;
    left: 0;
    will-change: opacity;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
}

/* Navigation Buttons */
.slider button.prev,
.slider button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 28px;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 20;
    border-radius: 4px;
    transition: all 0.25s ease;
    will-change: background, transform;
}

.slider button.prev {
    left: 10px;
}

.slider button.next {
    right: 10px;
}

.slider button.prev:hover,
.slider button.next:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.15);
}

/* Dots/Indicators */
.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    will-change: background, transform, border-color;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
    border-color: var(--accent);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .slider {
        margin: 40px 20px;
    }

    .slides {
        height: 280px;
    }

    .slider button.prev,
    .slider button.next {
        font-size: 20px;
        padding: 8px 12px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}