/* Seka VIP Travel - Premium Dark Theme */

:root {
    --gold-400: #d4a853;
    --gold-500: #c9a227;
    --gold-600: #b8860b;
    --dark-700: #1a1a1a;
    --dark-800: #111111;
    --dark-900: #0a0a0a;
    --dark-950: #050505;
}

html { scroll-behavior: smooth; }

details[open] summary svg {
    transform: rotate(180deg);
}

details summary::-webkit-details-marker {
    display: none;
}


body {
    background-color: var(--dark-950);
    color: #d1d5db;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(201, 162, 39, 0.3);
    color: white;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.gold-gradient {
    background: linear-gradient(135deg, #d4a853 0%, #c9a227 50%, #f2daaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
}

.glass-card-hover {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.5s ease;
}

.glass-card-hover:hover {
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.05);
    transform: translateY(-4px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(to right, var(--gold-600), var(--gold-500));
    color: var(--dark-950);
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: linear-gradient(to right, var(--gold-500), #e8c078);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.25);
    transform: scale(1.05);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: 1px solid rgba(201, 162, 39, 0.4);
    color: var(--gold-400);
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.6);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--gold-500);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.input-dark {
    width: 100%;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    transition: border-color 0.3s;
    font-size: 0.875rem;
}

.input-dark::placeholder { color: #6b7280; }

.input-dark:focus {
    outline: none;
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.3);
}

.nav-link {
    color: #9ca3af;
    transition: color 0.3s;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-decoration: none;
}

.nav-link:hover, .nav-link-active { color: var(--gold-400); }

.hero-overlay {
    background: linear-gradient(180deg, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.7) 50%, rgba(5,5,5,1) 100%);
}

.line-decoration {
    width: 4rem;
    height: 2px;
    background: linear-gradient(to right, var(--gold-600), var(--gold-400));
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Site Logo */
.site-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo-framed {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 168, 83, 0.22);
    box-shadow: 0 0 24px rgba(201, 162, 39, 0.12);
}

.site-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 14px rgba(201, 162, 39, 0.35));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.site-logo-link:hover .site-logo-img {
    filter: drop-shadow(0 4px 22px rgba(212, 168, 83, 0.55));
}

.site-logo-xs { height: 2.25rem; }
.site-logo-sm { height: 2.75rem; }
.site-logo-md { height: 4rem; }
.site-logo-lg { height: 5.5rem; }
.site-logo-xl { height: 7rem; }
.site-logo-header { height: 4.25rem; max-width: min(280px, 42vw); }

@media (min-width: 1024px) {
    .site-logo-header { height: 5rem; max-width: 320px; }
}

@media (max-width: 767px) {
    .site-logo-md { height: 3.25rem; }
    .site-logo-lg { height: 4.5rem; }
    .site-logo-header { height: 3.25rem; max-width: 200px; }
}

/* Sayfa hero alanları — kompakt üst/alt boşluk */
.page-hero-app {
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .page-hero-app {
        padding-top: 5rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .page-hero-app {
        padding-top: 5.5rem;
        padding-bottom: 4.5rem;
    }
}

.page-hero-app .section-subtitle {
    margin-bottom: 0.5rem !important;
}

.page-hero-app .line-decoration {
    margin-top: 1rem !important;
}

.page-hero-app .text-gray-400 {
    margin-top: 1rem !important;
}

/* Galeri lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.gallery-lightbox-nav:hover {
    background: rgba(201, 162, 39, 0.2);
    border-color: rgba(201, 162, 39, 0.6);
}

.gallery-lightbox-nav.prev { left: 1rem; }
.gallery-lightbox-nav.next { right: 1rem; }

.gallery-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}

.gallery-lightbox-close:hover {
    color: #fff;
}

.gallery-lightbox-counter {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .gallery-lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
    }

    .gallery-lightbox-nav.prev { left: 0.5rem; }
    .gallery-lightbox-nav.next { right: 0.5rem; }
}

/* TÜRSAB Doğrulanmış Web Sitesi rozeti */
.tursab-badge {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #0b3d78 0%, #07264d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tursab-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(11, 61, 120, 0.35);
}

.tursab-badge-static {
    cursor: default;
}

.tursab-badge-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7dd3fc;
}

.tursab-badge-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.tursab-badge-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.tursab-badge-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93c5fd;
}

.tursab-badge-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.tursab-badge-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

/* Sabit WhatsApp butonu */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 45;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 9999px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 1.9rem;
    height: 1.9rem;
}

@media (max-width: 767px) {
    [data-mobile-app="1"] .whatsapp-float {
        bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Pagination */
.pagination { display: flex; gap: 0.5rem; justify-content: center; }
.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-decoration: none;
}
.pagination a { color: #9ca3af; background: rgba(17,17,17,0.6); border: 1px solid rgba(255,255,255,0.05); }
.pagination a:hover { color: var(--gold-400); }
.pagination span { color: var(--dark-950); background: var(--gold-500); }

/* ============================================
   MOBİL UYGULAMA MODU (Admin: mobile_app_mode)
   Sadece telefon ekranında + ayar aktifken
   ============================================ */

.mobile-app-ui { display: none; }

@media (max-width: 767px) {
    [data-mobile-app="1"] .site-header-desktop,
    [data-mobile-app="1"] .site-footer-desktop {
        display: none !important;
    }

    [data-mobile-app="1"] .mobile-app-ui {
        display: block;
    }

    [data-mobile-app="1"] body.has-mobile-app {
        overscroll-behavior-y: none;
        -webkit-tap-highlight-color: transparent;
    }

    [data-mobile-app="1"] .site-main {
        padding-top: calc(56px + env(safe-area-inset-top, 0px));
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    [data-mobile-app="1"] .toast-notification {
        top: calc(64px + env(safe-area-inset-top, 0px));
        left: 1rem;
        right: 1rem;
    }

    [data-mobile-app="1"] .hero-app-section {
        margin-top: 0 !important;
        min-height: calc(100vh - 136px);
        min-height: calc(100dvh - 136px);
    }

    [data-mobile-app="1"] .page-hero-app {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    /* Üst App Bar */
    .mobile-app-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        height: calc(56px + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        padding-left: 1rem;
        padding-right: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        background: rgba(5, 5, 5, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-app-header-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        flex-shrink: 0;
        max-width: 38%;
    }

    .mobile-app-header-logo .site-logo-sm {
        height: 2.35rem;
        max-width: 130px;
    }

    .mobile-app-logo-icon {
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-app-logo-text {
        font-size: 0.875rem;
        font-weight: 700;
        color: white;
        letter-spacing: 0.02em;
    }

    .mobile-app-page-title {
        flex: 1;
        text-align: center;
        font-size: 0.9375rem;
        font-weight: 600;
        color: white;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 0.25rem;
    }

    .mobile-app-icon-btn {
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9ca3af;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        flex-shrink: 0;
    }

    .mobile-app-icon-btn-gold {
        color: var(--gold-400);
        background: rgba(201, 162, 39, 0.12);
    }

    /* Alt Tab Bar */
    .mobile-app-tabbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        display: flex;
        align-items: flex-end;
        justify-content: space-around;
        height: calc(64px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(10, 10, 10, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
    }

    .mobile-app-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        padding: 0.5rem 0.25rem;
        text-decoration: none;
        color: #6b7280;
        font-size: 0.625rem;
        font-weight: 500;
        transition: color 0.2s;
        min-height: 56px;
    }

    .mobile-app-tab svg {
        width: 1.35rem;
        height: 1.35rem;
    }

    .mobile-app-tab.active {
        color: var(--gold-400);
    }

    .mobile-app-tab-center {
        position: relative;
        padding-top: 0;
    }

    .mobile-app-fab {
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -1.25rem;
        box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
        border: 3px solid #0a0a0a;
    }

    .mobile-app-fab svg {
        width: 1.35rem;
        height: 1.35rem;
        color: #050505;
    }

    .mobile-app-tab-center.active .mobile-app-fab {
        box-shadow: 0 4px 20px rgba(201, 162, 39, 0.6);
    }

    .mobile-app-tab-center span {
        margin-top: 0.15rem;
    }

    /* Bottom Sheet Menü */
    .mobile-app-overlay {
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(0, 0, 0, 0.6);
    }

    .mobile-app-sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        background: #111;
        border-radius: 1.25rem 1.25rem 0 0;
        padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(201, 162, 39, 0.2);
    }

    .mobile-app-sheet-handle {
        width: 2.5rem;
        height: 0.25rem;
        background: #374151;
        border-radius: 9999px;
        margin: 0 auto 1rem;
    }

    .mobile-app-sheet-link {
        display: block;
        padding: 0.875rem 1rem;
        color: #d1d5db;
        text-decoration: none;
        font-size: 0.9375rem;
        border-radius: 0.75rem;
        transition: background 0.2s;
    }

    .mobile-app-sheet-link:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-app-sheet-close {
        width: 100%;
        margin-top: 1rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.75rem;
        color: #9ca3af;
        font-size: 0.875rem;
    }

    /* App modunda kartlar daha yuvarlak */
    [data-mobile-app="1"] .glass-card,
    [data-mobile-app="1"] .glass-card-hover {
        border-radius: 1.25rem;
    }

    [data-mobile-app="1"] section {
        scroll-margin-top: calc(56px + env(safe-area-inset-top, 0px));
    }
}

/* RTL — Arabic */
html[dir="rtl"] body.rtl {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .nav-link,
html[dir="rtl"] .btn-gold,
html[dir="rtl"] .btn-outline {
    direction: rtl;
}

html[dir="rtl"] .flex.items-center.gap-2,
html[dir="rtl"] .flex.items-center.gap-3,
html[dir="rtl"] .flex.items-center.gap-4,
html[dir="rtl"] .flex.items-center.gap-6,
html[dir="rtl"] .flex.items-center.gap-8 {
    flex-direction: row-reverse;
}

html[dir="rtl"] .toast-notification {
    left: 1rem;
    right: auto;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
}

html[dir="rtl"] .ltr-isolate {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}
