/* ========================================
   Wishi CO. — Premium Dark Luxury Styles
   ======================================== */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #022c22;
}
::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Selection */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #faf9f6;
}

/* Typography */
.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}
.font-inter {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Scroll Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(0);
}
.reveal-left {
    transform: translateX(0);
}
.reveal-right {
    transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
}

/* Navbar */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(2, 44, 34, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1);
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Gold shimmer on hover for buttons */
button, a {
    position: relative;
}

/* Image hover effect */
img {
    max-width: 100%;
    height: auto;
}

/* Gallery grid fix */
.grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Form styles */
input, textarea, select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #faf9f6;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: rgba(212, 160, 23, 0.5);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}
input::placeholder, textarea::placeholder {
    color: rgba(250, 249, 246, 0.35);
}

/* Success message */
.form-success {
    display: none;
    padding: 16px 20px;
    background: rgba(4, 120, 87, 0.2);
    border: 1px solid rgba(4, 120, 87, 0.4);
    border-radius: 4px;
    color: #6ee7b7;
    text-align: center;
    font-size: 0.95rem;
}
.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* Mobile menu link hover */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.25s; }
