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

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #ff3333 0%, #1a0000 35%, #050509 100%);
    color: #f5f5f5;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050509;
}
::-webkit-scrollbar-thumb {
    background: #770000;
    border-radius: 4px;
}

/* ========= LAYOUT ========= */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========= HEADER & NAV ========= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(90deg, rgba(5,5,9,0.96), rgba(80,0,0,0.9), rgba(5,5,9,0.96));
    backdrop-filter: blur(14px);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 0%, #ff4d4d, #660000 60%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.6);
}

.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text span:first-child {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.logo-text span:last-child {
    font-size: 12px;
    color: #c9c9c9;
}

/* Menü */
.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    position: relative;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #e0e0e0;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.18s ease;
}

.nav-menu a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(255,77,77,0.4), transparent 70%);
    opacity: 0;
    transition: 0.18s ease;
    z-index: -1;
}

.nav-menu a:hover {
    transform: translateY(-1px);
    border-color: rgba(255,77,77,0.5);
    box-shadow: 0 10px 24px rgba(0,0,0,0.65);
}

.nav-menu a.active {
    color: #ffffff;
    border-color: rgba(255,77,77,0.9);
    background: linear-gradient(135deg, #ff4d4d, #8b0000);
}
.nav-menu a.active::before {
    opacity: 1;
}

/* Mobil menü butonu (hamburger) */
.nav-toggle {
    display: none;              /* Mobilde @media ile açılıyor */
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 4px;
    border-radius: 999px;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
    outline: 2px solid #ff4d4d;
    outline-offset: 3px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
}

/* Açıkken X animasyonu */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ========= PAGE HERO ========= */
.page-hero {
    padding: 28px 0 18px;
}

.page-hero-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero-sub {
    margin-top: 8px;
    font-size: 14px;
    color: #c3c3c3;
}

/* ========= SLIDER (16:9) ========= */
.slider-section {
    padding-bottom: 26px;
}

.slider-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at top left, #330000, #050509 70%);
    box-shadow: 0 18px 44px rgba(0,0,0,0.8);
}

/* 16:9 oran */
.slider-inner {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.slider-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.05)
    );
}

.slide-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ff8080;
    margin-bottom: 8px;
}

.slide-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.slide-meta {
    font-size: 12px;
    color: #d0d0d0;
}

/* Slider butonları */
.slider-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
}

.slider-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    background: radial-gradient(circle at top, #ff4d4d, #220000);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    font-size: 18px;
    color: #ffffff;
    transition: 0.18s ease;
}
.slider-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0,0,0,0.85);
}

/* Slider noktaları */
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.18s ease;
}
.slider-dot.active {
    width: 18px;
    background: #ff4d4d;
}

/* ========= KARTLAR & GRID ========= */
.grid {
    display: grid;
    gap: 18px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.card {
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(255,77,77,0.15),
        rgba(0,0,0,0.9)
    );
    border: 1px solid rgba(255,255,255,0.06);
    padding: 18px 18px 16px;
    box-shadow: 0 14px 36px rgba(0,0,0,0.7);
}

.card-sub {
    font-size: 11px;
    color: #ff8080;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-text {
    font-size: 13px;
    color: #c8c8c8;
}

/* ========= KÜÇÜK GALERİ ========= */
/* ========= KÜÇÜK GALERİ ========= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 16px;

    /* ARKAPLAN BOZULMASINI DÜZELTEN KISIM */
    background: #050509; /* Düz koyu zemin */
    border-radius: 22px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 36px rgba(0,0,0,0.7);
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: radial-gradient(circle at top, #151515, #000000); /* Daha yumuşak siyah */
    cursor: pointer;
}


.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #000;
    cursor: pointer;
}

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

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

.gallery-item-caption {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 11px;
    color: #f5f5f5;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

/* ========= FOOTER ========= */
.site-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #050509;
}

.footer-inner {
    padding: 12px 0 16px;
    font-size: 11px;
    color: #b3b3b3;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .container {
        padding: 0 12px;
    }

    .page-hero-title {
        font-size: 22px;
    }
}

@media (max-width: 720px) {
    .nav-bar {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .logo-circle {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .logo-text span:first-child {
        font-size: 13px;
    }

    .logo-text span:last-child {
        font-size: 11px;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 8px;
        padding: 8px;
        border-radius: 16px;
        background: rgba(5,5,9,0.96);
        border: 1px solid rgba(255,255,255,0.06);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        text-align: left;
        padding: 8px 10px;
        font-size: 13px;
    }

    .page-hero {
        padding-top: 20px;
    }

    .page-hero-title {
        font-size: 20px;
    }

    .page-hero-sub {
        font-size: 13px;
    }

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

    .gallery-item img {
        height: 150px;
    }

    .slider-inner {
        padding-top: 60%;
    }

    .slide-content {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .slide-title {
        font-size: 17px;
    }

    .slide-meta {
        font-size: 11px;
    }

    .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 18px;
        letter-spacing: 0.04em;
    }

    .slide-title {
        font-size: 16px;
    }

    .card {
        padding: 14px 14px 12px;
    }
}
/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-box {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
}

.lightbox-box img {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 14px;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    z-index: 2;
}

.lightbox-download {
    position: absolute;
    top: 10px;
    right: 56px;
    padding: 7px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    background: linear-gradient(135deg,#ff4d4d,#8b0000);
    color: #fff;
    z-index: 2;
}
/* ===== MİSAFİR / BAKIM MODU ===== */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: radial-gradient(circle at top, #ff3333 0%, #1a0000 35%, #050509 100%);
    display: grid;
    place-items: center;
}

.maintenance-box {
    position: relative;
    padding: 48px 36px;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(255,77,77,0.18),
        rgba(0,0,0,0.9)
    );
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
    max-width: 90%;
    text-align: center;
}

.maintenance-glow {
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: radial-gradient(circle at top, rgba(255,77,77,0.5), transparent 70%);
    z-index: -1;
    filter: blur(18px);
}

.maintenance-text {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 14px;
}

.maintenance-sub {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff9b9b;
}
