/* ===== Base & Utilities ===== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ===== Scroll Reveal Animations ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.revealed:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.revealed:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal.revealed:nth-child(4) { transition-delay: 0.3s; }

/* ===== Hero Blobs ===== */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.blob-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.25) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    animation: float-blob 8s ease-in-out infinite;
}

.blob-2 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: -3%;
    animation: float-blob 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 15%;
    animation: float-blob 6s ease-in-out infinite;
}

@keyframes float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 240, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(123, 45, 139, 0.08);
}

#navbar.scrolled .font-heading {
    color: #7B2D8B !important;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #E8A838;
    transition: width 0.3s ease;
}

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

/* ===== Product Card Image Hover ===== */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #faf0fb;
}

::-webkit-scrollbar-thumb {
    background: #d794d7;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c064c0;
}

/* ===== Selection ===== */
::selection {
    background: #E8A838;
    color: #311139;
}

/* ===== Focus Styles ===== */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 4px rgba(232, 168, 56, 0.15);
}

/* ===== Button Ripple Effect ===== */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 640px) {
    .hero-blob {
        display: none;
    }
}
