body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Custom Scrollbar Hide */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 15s linear infinite;
}

/* Cursor Styles - Reactive */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    /* Removed will-change to prevent loose rasterization */
    /* Removed background/border - using SVG now */
}

/* Hide Native Cursor on Desktop globally */
@media (min-width: 768px) {

    *,
    *::before,
    *::after {
        cursor: none !important;
    }
}

/* Border Beam Animations */
@keyframes beam-h {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes beam-v {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.border-beam-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    z-index: 10;
}

.beam-line {
    position: absolute;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.beam-t {
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    animation: beam-h 4s linear infinite;
    animation-delay: 0s;
}

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    .animate-scroll {
        animation: scroll 30s linear infinite;
        display: flex;
        /* Ensure flex for side-by-side children */
        width: fit-content;
        /* Fit content for the sliding */
    }

    .scale-up {
        animation: scaleUp 0.3s ease-out forwards;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.beam-r {
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: beam-v 4s linear infinite;
    animation-delay: 1s;
}

.beam-b {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    animation: beam-h 4s linear infinite reverse;
    animation-delay: 2s;
}

.beam-l {
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: beam-v 4s linear infinite reverse;
    animation-delay: 3s;
}

/* Graceful Scroll Reveal */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Font Overrides */
.font-geist {
    font-family: 'Geist', sans-serif !important;
}

.font-roboto {
    font-family: 'Roboto', sans-serif !important;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif !important;
}

.font-poppins {
    font-family: 'Poppins', sans-serif !important;
}

.font-playfair {
    font-family: 'Playfair Display', serif !important;
}

.font-instrument-serif {
    font-family: 'Instrument Serif', serif !important;
}

.font-merriweather {
    font-family: 'Merriweather', serif !important;
}

.font-bricolage {
    font-family: 'Bricolage Grotesque', sans-serif !important;
}

.font-jakarta {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.font-manrope {
    font-family: 'Manrope', sans-serif !important;
}

.font-space-grotesk {
    font-family: 'Space Grotesk', sans-serif !important;
}

.font-work-sans {
    font-family: 'Work Sans', sans-serif !important;
}

.font-pt-serif {
    font-family: 'PT Serif', serif !important;
}

.font-geist-mono {
    font-family: 'Geist Mono', monospace !important;
}

.font-space-mono {
    font-family: 'Space Mono', monospace !important;
}

.font-quicksand {
    font-family: 'Quicksand', sans-serif !important;
}

.font-nunito {
    font-family: 'Nunito', sans-serif !important;
}

/* Inline Styles moved here */
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* =========================================
   COLLECTIONS PAGE STYLES
   ========================================= */



/* Expand Transition */
.collection-grid {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-grid.open {
    grid-template-rows: 1fr;
}

.collection-inner {
    overflow: hidden;
}

/* =========================================
   ENQUIRY PAGE STYLES
   ========================================= */

body.page-enquiry {
    background-color: #050505;
    color: white;
    overflow: hidden;
    /* Lock scroll on body for split layout */
}

/* Custom Cursor for Enquiry Page */
body.page-enquiry #cursor {
    /* SVG handles shape/color */
    width: 20px;
    height: 20px;
}

body.page-enquiry #cursor.is-active {
    transform: scale(3.5);
    mix-blend-mode: difference;
}

/* Custom Scrollbar for Enquiry Form Panel */
.lenis.lenis-smooth::-webkit-scrollbar {
    width: 6px;
}

.lenis.lenis-smooth::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.lenis.lenis-smooth::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.lenis.lenis-smooth::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Form Animations */
.step-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.step-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Animated Background Pattern */
.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Input Reset */
body.page-enquiry input,
body.page-enquiry textarea,
body.page-enquiry select {
    appearance: none;
    border-radius: 0;
    outline: none;
}

body.page-enquiry input:focus,
body.page-enquiry textarea:focus,
body.page-enquiry select:focus {
    outline: none;
}

/* Auto-fill fix */
body.page-enquiry input:-webkit-autofill,
body.page-enquiry textarea:-webkit-autofill,
body.page-enquiry select:-webkit-autofill {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px #262626 inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Range Slider */
body.page-enquiry input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -10px;
}

body.page-enquiry input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #333333;
    border-radius: 2px;
}