/**
 * HENA TEKNE YAT TATİLİ - Premium Stil Dosyası
 * Luxury Yacht Ultra Elite Theme
 */

/* ============================================
   GENEL SIFIRLAMA & TEMEL STİLLER
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #0B1C2D;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0B1C2D;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4A853, #A67C2E);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #C49A3C, #8B6914);
}

/* ============================================
   NAVBAR STİLLERİ
   ============================================ */
#navbar {
    background: transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
    background: rgba(11, 28, 45, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   HERO BÖLÜMÜ
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 28, 45, 0.85) 0%,
        rgba(11, 28, 45, 0.6) 40%,
        rgba(11, 28, 45, 0.4) 70%,
        rgba(11, 28, 45, 0.7) 100%
    );
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #ffffff, transparent);
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Hero parçacık efekti */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(212, 168, 83, 0.4);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles span:nth-child(2) { left: 30%; top: 60%; animation-delay: 1s; animation-duration: 9s; }
.hero-particles span:nth-child(3) { left: 50%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.hero-particles span:nth-child(4) { left: 70%; top: 70%; animation-delay: 3s; animation-duration: 8s; }
.hero-particles span:nth-child(5) { left: 90%; top: 40%; animation-delay: 4s; animation-duration: 10s; }
.hero-particles span:nth-child(6) { left: 20%; top: 80%; animation-delay: 5s; animation-duration: 7s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(10px); opacity: 0.8; }
    50% { transform: translateY(-60px) translateX(-10px); opacity: 0.5; }
    75% { transform: translateY(-30px) translateX(20px); opacity: 0.9; }
}

/* ============================================
   ALTIN GRADIENT BAŞLIK
   ============================================ */
.gold-text {
    background: linear-gradient(135deg, #D4A853 0%, #F5D78E 25%, #D4A853 50%, #C49A3C 75%, #D4A853 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s ease-in-out infinite;
}

@keyframes goldShimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* ============================================
   CAM EFEKTİ (GLASSMORPHISM)
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-dark {
    background: rgba(11, 28, 45, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(11, 28, 45, 0.1);
}

/* ============================================
   PREMIUM KARTLAR
   ============================================ */
.premium-card {
    position: relative;
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(11, 28, 45, 0.08);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4A853, #C49A3C, #D4A853);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(11, 28, 45, 0.15);
}

.premium-card:hover::before {
    opacity: 1;
}

/* ============================================
   PREMIUM BUTONLAR
   ============================================ */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #D4A853 0%, #C49A3C 50%, #D4A853 100%);
    background-size: 200% auto;
    color: #0B1C2D;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.4);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #D4A853;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 9999px;
    border: 2px solid rgba(212, 168, 83, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    letter-spacing: 0.025em;
}

.btn-outline-gold:hover {
    background: rgba(212, 168, 83, 0.1);
    border-color: #D4A853;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.2);
}

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0B1C2D 0%, #142d47 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(11, 28, 45, 0.3);
}

.btn-navy:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(11, 28, 45, 0.4);
}

/* ============================================
   BÖLÜM BAŞLIKLARI
   ============================================ */
.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0B1C2D;
    line-height: 1.2;
}

.section-subtitle {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #D4A853, #C49A3C);
    border-radius: 2px;
    margin: 1rem auto;
}

/* ============================================
   PARALLAX ETKİSİ
   ============================================ */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* ============================================
   FORM STİLLERİ
   ============================================ */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(11, 28, 45, 0.1);
    border-radius: 0.75rem;
    font-size: 0.9rem;
    color: #0B1C2D;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    border-color: #D4A853;
    box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0B1C2D;
    margin-bottom: 0.5rem;
}

/* ============================================
   GALERİ LİGHTBOX
   ============================================ */
.galeri-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.galeri-item:hover img {
    transform: scale(1.1);
}

.galeri-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 28, 45, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galeri-item:hover::after {
    opacity: 1;
}

.galeri-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.galeri-item:hover .galeri-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(11, 28, 45, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ============================================
   YORUM SLIDER
   ============================================ */
.yorum-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(11, 28, 45, 0.06);
    border: 1px solid rgba(11, 28, 45, 0.06);
    transition: all 0.4s ease;
}

.yorum-card:hover {
    box-shadow: 0 12px 40px rgba(11, 28, 45, 0.12);
    transform: translateY(-4px);
}

.yorum-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: rgba(212, 168, 83, 0.15);
    line-height: 1;
}

/* ============================================
   SAYAÇ ANİMASYONU
   ============================================ */
.counter-box {
    text-align: center;
    padding: 2rem;
}

.counter-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #D4A853, #C49A3C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SCROLL ANİMASYONLARI
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Gecikme sınıfları */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ============================================
   KARŞILAŞTIRMA TABLOSU
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 28, 45, 0.08);
}

.comparison-table thead th {
    background: linear-gradient(135deg, #0B1C2D, #142d47);
    color: white;
    padding: 1.25rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
}

.comparison-table thead th:first-child {
    border-top-left-radius: 1rem;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 1rem;
}

.comparison-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(11, 28, 45, 0.06);
    font-size: 0.9rem;
}

.comparison-table tbody tr:hover {
    background: rgba(212, 168, 83, 0.04);
}

.comparison-table .highlight-col {
    background: rgba(212, 168, 83, 0.06);
    border-left: 2px solid rgba(212, 168, 83, 0.2);
    border-right: 2px solid rgba(212, 168, 83, 0.2);
}

/* ============================================
   SAYFA BANNER
   ============================================ */
.page-banner {
    position: relative;
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, #0B1C2D 0%, #142d47 50%, #0B1C2D 100%);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, white, transparent);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Yatay taşmayı engelle */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100svh;
    }

    .hero-section::after {
        height: 100px;
    }

    .hero-bg {
        animation: none;
    }

    .hero-particles {
        display: none;
    }

    .btn-gold, .btn-outline-gold, .btn-navy {
        padding: 0.875rem 1.75rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    .section-subtitle {
        font-size: 0.875rem;
    }

    .counter-box {
        padding: 1rem 0.5rem;
    }

    .counter-number {
        font-size: 1.75rem;
    }

    .yorum-card {
        padding: 1.25rem;
    }

    .yorum-card::before {
        font-size: 2.5rem;
        top: 0.5rem;
        right: 1rem;
    }

    .galeri-item {
        border-radius: 0.5rem;
    }

    .galeri-overlay {
        padding: 0.75rem;
    }

    .comparison-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }

    .comparison-table tbody td {
        padding: 0.625rem 0.5rem;
        font-size: 0.75rem;
    }

    .page-banner {
        padding: 7rem 0 3rem;
    }

    .form-input {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .lightbox img {
        max-width: 95vw;
        max-height: 80vh;
        border-radius: 0.25rem;
    }

    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem !important;
    }

    .counter-number {
        font-size: 1.5rem;
    }

    .btn-gold, .btn-outline-gold, .btn-navy {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* iOS input zoom engelle */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Touch cihazlarda hover efektlerini kaldır */
@media (hover: none) {
    .premium-card:hover {
        transform: none;
    }

    .galeri-item:hover img {
        transform: none;
    }

    .galeri-item::after {
        opacity: 0.4;
    }

    .galeri-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ADMIN PANEL STİLLERİ
   ============================================ */
.admin-sidebar {
    background: linear-gradient(180deg, #0B1C2D 0%, #071525 100%);
    min-height: 100vh;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(212, 168, 83, 0.1);
    color: #D4A853;
}

.admin-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.admin-stat {
    background: linear-gradient(135deg, #0B1C2D, #142d47);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
}
