/* Ultra-luxury animations */
@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

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

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

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
    50% { transform: translate(8px, -15px) rotate(5deg); opacity: 0.8; }
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(201, 162, 39, 0); }
}

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

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

@keyframes drawCheck {
    0% { stroke-dashoffset: 120; }
    100% { stroke-dashoffset: 0; }
}

@keyframes ringExpand {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

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

.animate-fade-up {
    animation: fadeUp 1s ease-out both;
}

.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }
.animate-delay-4 { animation-delay: 0.6s; }

.hero-bg-animated {
    animation: kenBurns 22s ease-in-out infinite alternate;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.5;
    animation: floatSlow 6s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 40%; left: 25%; width: 4px; height: 4px; animation-delay: 1s; }
.hero-particles span:nth-child(3) { top: 70%; left: 15%; animation-delay: 2s; }
.hero-particles span:nth-child(4) { top: 20%; right: 20%; animation-delay: 0.5s; }
.hero-particles span:nth-child(5) { top: 55%; right: 10%; width: 8px; height: 8px; animation-delay: 1.5s; }
.hero-particles span:nth-child(6) { bottom: 20%; right: 30%; animation-delay: 2.5s; }

.hero-image-frame {
    position: relative;
    animation: floatY 5s ease-in-out infinite;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--gold), var(--burgundy), var(--gold));
    z-index: -1;
    opacity: 0.6;
    animation: pulseGold 3s ease-in-out infinite;
}

.hero-image-frame img {
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 60px rgba(92, 21, 44, 0.25);
}

.navbar-scrolled {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    box-shadow: 0 8px 32px rgba(92, 21, 44, 0.15) !important;
}

.navbar-luxury .navbar-brand img {
    transition: transform 0.4s ease, max-height 0.4s ease;
}

.navbar-scrolled .navbar-brand img {
    max-height: 58px !important;
}

.service-card,
.luxury-card,
.contact-info-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.icon-wrap i {
    transition: transform 0.4s ease;
}

.service-card:hover .icon-wrap i {
    transform: scale(1.15) rotate(-5deg);
}

.btn-luxury-shine {
    position: relative;
    overflow: hidden;
}

.btn-luxury-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.6s ease;
}

.btn-luxury-shine.is-hover::after,
.btn-luxury-shine:hover::after {
    left: 120%;
}

.text-shimmer {
    background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.gold-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.gold-ornament::before,
.gold-ornament::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Thank you page */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #5c152c 0%, #7b1e3a 40%, #3d0f1f 100%);
}

.thank-you-confetti span {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    border-radius: 2px;
    animation: confettiFall linear infinite;
}

.thank-you-card {
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 2rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,245,240,0.95));
    border-radius: 28px;
    border: 2px solid rgba(201, 162, 39, 0.5);
    box-shadow: 0 40px 100px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.8);
    animation: scaleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.thank-you-icon-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.thank-you-icon-wrap .ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    border-radius: 50%;
    animation: ringExpand 2s ease-out infinite;
}

.thank-you-icon-wrap .icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--burgundy-dark);
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.45);
}

.thank-you-card h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1rem;
}

.thank-you-card .lead {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.page-header-animated {
    position: relative;
    overflow: hidden;
}

.page-header-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-luxury {
    background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
    border-radius: var(--radius);
    padding: 3rem 0;
    color: #fff;
}

.stat-item h3 {
    color: var(--gold-light);
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
