/* ============================================
   Mehmet Bey Bolaman - Özel Stiller
   ============================================ */

/* ------ Scrollbar ------ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1D37;
}
::-webkit-scrollbar-thumb {
    background: #C5A059;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8913d;
}

/* ------ Selection ------ */
::selection {
    background: #C5A059;
    color: #0A1D37;
}

/* ------ Navbar ------ */
#navbar {
    background-color: rgba(10, 29, 55, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.08);
}

#navbar.navbar-scrolled {
    background-color: #0A1D37;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(197, 160, 89, 0.15);
}

/* ------ Mobile Menu ------ */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease-in-out,
                padding 0.3s ease-in-out;
    padding-top: 0;
    padding-bottom: 0;
}

#mobile-menu.open {
    max-height: 600px;
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* ------ Animations ------ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* ------ Hero Overlay ------ */
.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(10, 29, 55, 0.2) 0%,
        rgba(10, 29, 55, 0.5) 40%,
        rgba(10, 29, 55, 0.8) 100%
    );
}

/* ------ Gold Divider ------ */
.gold-divider {
    height: 2px;
    width: 60px;
    margin: 1.5rem auto;
    background: linear-gradient(to right, transparent, #C5A059, transparent);
    border-radius: 1px;
}

/* ------ Section Padding ------ */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* ------ Hover Card Effect ------ */
.hover-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-6px);
}

/* ------ Glass Morphism ------ */
.glass {
    background: rgba(253, 251, 247, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 160, 89, 0.15);
}

/* ------ Parallax ------ */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

/* ------ Gold Button Glow ------ */
.btn-gold-glow:hover {
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

/* ------ Image Placeholder Pulse ------ */
.img-placeholder {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ------ Smooth Anchor Scroll ------ */
html {
    scroll-behavior: smooth;
}

/* ------ Focus Styles ------ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C5A059;
    outline-offset: 2px;
}

/* ============================================
   Lightbox
   ============================================ */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    cursor: pointer;
    padding: 60px 80px;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    cursor: pointer;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .lightbox-overlay {
        padding: 0;
    }

    .lightbox-image {
        max-width: 100%;
        max-height: 70vh;
        border-radius: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ============================================
   Package Accordion
   ============================================ */

.package-toggle.expanded .toggle-icon {
    transform: rotate(180deg);
}


