/* ==============================
   LUMINOUS FOTO - ANIMATIONS
   Luxury Gold Theme
   ============================== */

/* ==============================
   FADE UP - Hero Elements
   ============================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: transform, opacity;
}

.fade-up:nth-child(1) { animation-delay: 0.2s; }
.fade-up:nth-child(2) { animation-delay: 0.5s; }
.fade-up:nth-child(3) { animation-delay: 0.8s; }
.fade-up:nth-child(4) { animation-delay: 1.1s; }
.fade-up:nth-child(5) { animation-delay: 1.4s; }

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==============================
   FADE IN (Scroll Trigger)
   ============================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   FADE SLIDE UP (Statement)
   ============================== */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.statement-line {
    opacity: 0;
    transform: translateY(20px);
}

.statement-line.visible {
    animation: fadeSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.statement-line.line-2 {
    animation-delay: 0.4s;
}

/* ==============================
   FADE LEFT & RIGHT (Brand Story)
   ============================== */
.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==============================
   HERO ZOOM EFFECT
   ============================== */
.hero-content {
    animation: subtleZoom 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s forwards;
    transform: scale(1);
}

@keyframes subtleZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.02);
    }
}

/* ==============================
   FLOATING LOGO
   ============================== */
.hero-logo {
    animation: floatLogo 3s ease-in-out infinite;
}

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

/* ==============================
   PULSE GLOW (Final CTA)
   ============================== */
.pulse {
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--gold-glow);
    }
    50% {
        box-shadow: 0 0 30px 5px var(--gold-glow);
    }
}

.pulse-glow-center {
    animation: pulseCenter 3s ease-in-out infinite;
}

@keyframes pulseCenter {
    0%, 100% { 
        opacity: 0.5; 
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1.1); 
    }
}

/* ==============================
   KEN BURNS (Featured Slideshow)
   ============================== */
.featured-image {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { 
        transform: scale(1) translate(0, 0); 
    }
    100% { 
        transform: scale(1.1) translate(-2%, -1%); 
    }
}

/* ==============================
   CROSSFADE SLIDESHOW
   ============================== */
.featured-slide {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.featured-slide.active {
    opacity: 1;
    animation: slideZoomIn 1.5s ease-out;
}

@keyframes slideZoomIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==============================
   GALLERY ITEM REVEAL
   ============================== */
.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-item:nth-child(3) { transition-delay: 0.3s; }
.gallery-item:nth-child(4) { transition-delay: 0.4s; }
.gallery-item:nth-child(5) { transition-delay: 0.5s; }
.gallery-item:nth-child(6) { transition-delay: 0.6s; }
.gallery-item:nth-child(7) { transition-delay: 0.7s; }
.gallery-item:nth-child(8) { transition-delay: 0.8s; }
.gallery-item:nth-child(9) { transition-delay: 0.9s; }
.gallery-item:nth-child(10) { transition-delay: 1s; }

/* Hover zoom */
.gallery-item img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Gold overlay on hover */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(201,168,76,0.4) 0%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* ==============================
   PRICE CARD ACTIVE GLOW
   ============================== */
.price-card {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.price-card.active {
    animation: cardGlow 2s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px var(--gold-glow));
    }
    50% {
        filter: drop-shadow(0 0 40px var(--gold-glow));
    }
}

/* ==============================
   PACKAGE CARDS HOVER
   ============================== */
.package-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-focus);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.package-card.selected {
    animation: selectedPulse 2s ease-in-out infinite;
}

@keyframes selectedPulse {
    0%, 100% {
        border-color: var(--gold);
        box-shadow: 0 0 15px var(--gold-glow);
    }
    50% {
        border-color: var(--gold-light);
        box-shadow: 0 0 30px var(--gold-glow);
    }
}

/* ==============================
   BUTTON HOVER ANIMATIONS
   ============================== */
.btn-submit {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gold-glow);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ==============================
   INPUT FOCUS GLOW
   ============================== */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.05), 
                0 0 20px rgba(201, 168, 76, 0.05);
}

/* ==============================
   SECTION TITLE UNDERLINE
   ============================== */
.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50px;
    height: 1px;
    background: var(--gold);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-main-title.visible::after {
    transform: translateX(-50%) scaleX(1);
}

/* ==============================
   GOLD DIVIDER ANIMATION
   ============================== */
.gold-divider {
    animation: dividerWidth 1s ease-out forwards;
}

@keyframes dividerWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 0.6;
    }
}

/* ==============================
   SPINNER LOADING
   ============================== */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* ==============================
   SHAKE ERROR
   ============================== */
.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 50%, 90% { transform: translateX(-5px); }
    30%, 70% { transform: translateX(5px); }
}

/* ==============================
   SUCCESS CHECKMARK DRAW
   ============================== */
.success-checkmark {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 0.8s ease 0.3s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* ==============================
   POPUP IN
   ============================== */
@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-card {
    animation: popupIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==============================
   CONFETTI FALL
   ============================== */
.confetti {
    animation: confettiFall var(--fall-duration, 3s) ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* ==============================
   ICON RIPPLE
   ============================== */
.success-icon-circle::after {
    animation: iconRipple 2s ease-out infinite;
}

@keyframes iconRipple {
    0% { 
        transform: scale(0.8); 
        opacity: 1; 
    }
    100% { 
        transform: scale(1.5); 
        opacity: 0; 
    }
}

/* ==============================
   COUNT PULSE
   ============================== */
.countdown-number {
    animation: countPulse 1s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.2); 
    }
}

/* ==============================
   PROGRESS BAR LOADING
   ============================== */
.countdown-progress {
    transition: width 1s linear;
}

/* ==============================
   GLOW ROTATE BORDER
   ============================== */
@keyframes glowRotate {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

.success-card::before {
    animation: glowRotate 4s linear infinite;
}

/* ==============================
   PAGE TRANSITION
   ============================== */
body {
    animation: pageIn 0.5s ease-out;
}

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

/* ==============================
   SCROLL REVEAL SECTIONS
   ============================== */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ==============================
   STATUS BADGE ANIMATION
   ============================== */
.status-badge {
    animation: badgeIn 0.3s ease-out;
}

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

/* ==============================
   TABLE ROW HOVER
   ============================== */
.admin-table tbody tr {
    transition: background 0.3s ease;
}

.admin-table tbody tr:hover td {
    background: rgba(201, 168, 76, 0.03);
}

/* ==============================
   NOTIFICATION DOT
   ============================== */
.notif-dot {
    animation: notifBlink 2s ease-in-out infinite;
}

@keyframes notifBlink {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.3; 
    }
}

/* ==============================
   CURSOR GLOW (Custom Cursor)
   ============================== */
.cursor {
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(2) !important;
    background: var(--gold-glow);
    border-color: var(--gold-light);
}

/* ==============================
   PARTICLES CANVAS FADE
   ============================== */
#particleCanvas {
    animation: canvasFadeIn 2s ease-out;
}

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

/* ==============================
   GOLD SHIMMER EFFECT
   ============================== */
.gold-shimmer {
    background: linear-gradient(
        90deg,
        var(--gold-dark) 0%,
        var(--gold-light) 25%,
        var(--gold) 50%,
        var(--gold-light) 75%,
        var(--gold-dark) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {
    0%, 100% { 
        background-position: -200% 0; 
    }
    50% { 
        background-position: 200% 0; 
    }
}

/* ==============================
   FILTER TABS ACTIVE
   ============================== */
.filter-tab {
    transition: all 0.3s ease;
}

.filter-tab.active {
    animation: tabActive 0.3s ease-out;
}

@keyframes tabActive {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}

/* ==============================
   SMOOTH SCROLLBAR
   ============================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ==============================
   REDUCED MOTION (Accessibility)
   ============================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}