html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: #222;
    background: #ffffff;
    overflow-x: hidden;
}

.font-display {
    font-family: "Playfair Display", serif;
}

/* ---------- PRELOADER ---------- */

#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 55px;
    height: 55px;
    border: 2px solid #eee;
    border-top-color: #d4af37;
    border-right-color: #331b4f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- NAVBAR ---------- */

.nav-link {
    position: relative;
    color: #331b4f;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #d4af37;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #d4af37;
}

/* ---------- HERO ---------- */

.hero-image {
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.gold-line {
    width: 65px;
    height: 2px;
    background: #d4af37;
}

/* ---------- REVEAL ---------- */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- COLLECTION ---------- */

.collection-card img {
    transition: transform 0.7s ease;
}

.collection-card:hover img {
    transform: scale(1.06);
}

.collection-overlay {
    background: linear-gradient(to top,
            rgba(15, 8, 22, 0.78),
            rgba(15, 8, 22, 0.05));
}

/* ---------- BUTTON ---------- */

.btn-gold {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.22);
}

/* ---------- FEATURE CARDS ---------- */

.feature-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(51, 27, 79, 0.1);
}

.feature-icon {
    transition: transform 0.35s ease, background 0.35s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08);
    background: #331b4f;
    color: #d4af37;
}

/* ---------- TESTIMONIAL ---------- */

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* ---------- COUNTER ---------- */

.counter {
    font-variant-numeric: tabular-nums;
}

/* ---------- FLOATING WHATSAPP ---------- */

.whatsapp-float {
    animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.25);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ---------- IMAGE PLACEHOLDER ---------- */

.image-placeholder {
    background: linear-gradient(135deg,
            rgba(51, 27, 79, 0.06),
            rgba(212, 175, 55, 0.08));
}

/* ---------- SCROLLBAR ---------- */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #331b4f;
    border-radius: 10px;
}

::selection {
    background: #331b4f;
    color: #fff;
}