/* Extended Utilities (Tailwind-compat) */

/* Opacity Backgrounds */
.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-primary\/5 {
    background-color: rgba(255, 94, 39, 0.05);
}

.bg-primary\/10 {
    background-color: rgba(255, 94, 39, 0.1);
}

.bg-transparent {
    background-color: transparent;
}

/* Opacity Text */
.text-white\/20 {
    color: rgba(255, 255, 255, 0.2);
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-primary\/10 {
    color: rgba(255, 94, 39, 0.1);
}

/* Borders */
.border-white\/5 {
    border-color: rgba(255, 255, 255, 0.05);
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Backdrop Blur */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Positioning */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* Gradients */
.bg-gradient-to-t {
    background: linear-gradient(to top, var(--tw-gradient-stops));
}

.bg-gradient-to-l {
    background: linear-gradient(to left, var(--tw-gradient-stops));
}

.from-black\/90 {
    --tw-gradient-from: rgba(0, 0, 0, 0.9);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.from-primary\/5 {
    --tw-gradient-from: rgba(255, 94, 39, 0.05);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 94, 39, 0));
}

.via-black\/50 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, 0.5), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-transparent {
    --tw-gradient-to: transparent;
}

/* Dimensions & specific adjustments */
.h-screen {
    height: 100vh;
}

.w-1\/2 {
    width: 50%;
}

.min-w-\[200px\] {
    min-width: 200px;
}

.min-h-\[600px\] {
    min-height: 600px;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

/* Font Sizes arbitrary */
.text-\[20rem\] {
    font-size: 20rem;
}

/* Transitions */
.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
    transition-property: transform;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.translate-y-4 {
    transform: translateY(1rem);
}

.opacity-0 {
    opacity: 0;
}

.grayscale {
    filter: grayscale(100%);
}

.hover\:grayscale-0:hover {
    filter: grayscale(0);
}

/* Missing Colors */
.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

/* Missing Spacing */
.gap-2xl {
    gap: var(--space-2xl);
}

.gap-3xl {
    gap: var(--space-3xl);
}

/* Positioning Utilities */
.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

/* Z-Index */
.z-20 {
    z-index: 20;
}

/* Pointer Events - CRITICAL FOR SLIDER BUTTONS */
.pointer-events-none {
    pointer-events: none;
}

.pointer-events-auto {
    pointer-events: auto;
}

/* Width/Height Utilities */
.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

/* Max Width */
.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-lg {
    max-width: 32rem;
}

/* Min Width/Height */
.min-w-\[160px\] {
    min-width: 160px;
}

.min-h-\[700px\] {
    min-height: 700px;
}

/* Typography */
.tracking-wider {
    letter-spacing: 0.05em;
}

.leading-none {
    line-height: 1;
}

.leading-tight {
    line-height: 1.25;
}

/* Flex Shrink */
.flex-shrink-0 {
    flex-shrink: 0;
}

/* Transform */
.hover\:scale-110:hover {
    transform: scale(1.1);
}

/* Background */
.bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.bg-black\/40 {
    background-color: rgba(0, 0, 0, 0.4);
}

.bg-black\/80 {
    background-color: rgba(0, 0, 0, 0.8);
}

.bg-black\/95 {
    background-color: rgba(0, 0, 0, 0.95);
}

/* Gradient More */
.bg-gradient-to-b {
    background: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-black\/60 {
    --tw-gradient-from: rgba(0, 0, 0, 0.6);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.via-transparent {
    --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent);
}

.to-black\/90 {
    --tw-gradient-to: rgba(0, 0, 0, 0.9);
}

/* Rounded Corners */
.rounded-2xl {
    border-radius: 1rem;
}

.rounded-sm {
    border-radius: 0.125rem;
}

/* Duration */
.duration-700 {
    transition-duration: 700ms;
}

/* Easing */
.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transition colors */
.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Negative Margins */
.-ml-2 {
    margin-left: -0.5rem;
}

.-mr-2 {
    margin-right: -0.5rem;
}

/* Divide */
.divide-y>*+* {
    border-top-width: 1px;
}

.divide-x>*+* {
    border-left-width: 1px;
}

.divide-white\/10>*+* {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Mix Blend */
.mix-blend-overlay {
    mix-blend-mode: overlay;
}

/* Object Fit */
.object-cover {
    object-fit: cover;
    max-height: 100%;
    max-width: 100%;
}

.object-contain {
    object-fit: contain;
    max-height: 100%;
    max-width: 100%;
}

/* Opacity */
.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Group Utilities */
.group {
    position: relative;
}

/* Responsive Flex Direction */
@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
}

/* Shimmer Card Effect (optional animation) */
.shimmer-card {
    position: relative;
    overflow: hidden;
}

.shimmer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Missing Arbitrary Values */
.bottom-\[2\.5rem\] {
    bottom: 2.5rem;
}

.top-\[calc\(var\(--space-lg\)\+80px\)\] {
    top: calc(var(--space-lg) + 80px);
}

.p-0 {
    padding: 0px;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-7 {
    padding: 1.75rem;
}

.p-8 {
    padding: 2rem;
}

.p-9 {
    padding: 2.25rem;
}

.p-10 {
    padding: 2.5rem;
}

.p-11 {
    padding: 2.75rem;
}

.p-12 {
    padding: 3rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-0 {
    margin-left: 0px;
}

.ml-12 {
    margin-left: 3rem;
}

.mr-12 {
    margin-right: 3rem;
}

.btn-product {
    margin: 0 auto;
    max-width: 90%;
    transform: translateY(0.6rem);
    font-size: 0.85rem;
}

/* Responsive Gaps & Padding */
@media (min-width: 768px) {
    .md\:gap-md {
        gap: var(--space-md);
    }

    .md\:gap-lg {
        gap: var(--space-lg);
    }

    .md\:gap-xl {
        gap: var(--space-xl);
    }

    .md\:gap-2xl {
        gap: var(--space-2xl);
    }

    .md\:px-xl {
        padding-left: var(--space-xl);
        padding-right: var(--space-xl);
    }
}

@media (min-width: 1024px) {
    .lg\:gap-3xl {
        gap: var(--space-3xl);
    }
}

/* ==========================================
   Mobile Menu
   ========================================== */

/* Mobile Menu Toggle Button */
[data-menu-toggle] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-menu-toggle]:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-menu-toggle]:active {
    transform: scale(0.95);
}

[data-menu-toggle] svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* Mobile Menu Dropdown */
[data-mobile-menu] {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-mobile-menu].active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}