/* ===== Custom Styles for Aura Wax Center ===== */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0f14;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

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

/* ===== Navbar ===== */
#navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(10, 15, 20, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.08);
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal-state="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Gold Gradient Text ===== */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a017, #f0cc7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Card Hover Glow ===== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ===== Floating Card Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}

.floating-card-1 {
    animation: float 6s ease-in-out infinite;
}
.floating-card-2 {
    animation: float-reverse 7s ease-in-out infinite;
}
.floating-card-3 {
    animation: float 8s ease-in-out infinite;
}
.floating-card-4 {
    animation: float-slow 5s ease-in-out infinite;
}

/* ===== Pulse Ring ===== */
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.pulse-ring {
    animation: pulse-ring 2s ease-in-out infinite;
}

/* ===== Mobile Menu Transitions ===== */
#mobileMenu {
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

#mobileMenu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobileMenu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #d4a017, transparent);
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* ===== Image Hover ===== */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

.rounded-2xl.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Form Focus States ===== */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

/* ===== Button Ripple ===== */
button, a {
    position: relative;
    overflow: visible;
}

/* ===== Responsive Typography ===== */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.15;
    }
}

/* ===== Gold Shimmer Effect ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(90deg, #d4a017 0%, #f0cc7a 50%, #d4a017 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* ===== Decorative Line ===== */
.gold-line {
    background: linear-gradient(90deg, transparent, #d4a017, transparent);
}

/* ===== Service Card Tilt on Hover ===== */
.service-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -20px rgba(212, 160, 23, 0.1);
}
