/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Bebas+Neue&family=Sora:wght@300;400;600&family=Space+Mono&display=swap');

body {
    background-color: #0F0F14;
    color: #FFF9EF;
    overflow-x: hidden;
}

/* Subtle Paper Texture Overlay */
.paper-texture::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 100;
    background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%220.03%22/%3E%3C/svg%3E');
}

/* Taste-Skill Liquid Glass */
.liquid-glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(15, 15, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Taste-Skill Staggered Reveal */
@keyframes fadeInUpBounce {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.stagger-item {
    opacity: 0;
    animation: fadeInUpBounce 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Taste-Skill Magnetic Transition */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    will-change: transform;
}


/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0F0F14;
    border-left: 1px solid #333;
}
::-webkit-scrollbar-thumb {
    background: #C62A2A;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF6B35;
}

/* Hide scrollbar for specific elements */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Expanding sections transition */
.expandable-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
}
.expandable-content > div {
    overflow: hidden;
}
.expanded .expandable-content {
    grid-template-rows: 1fr;
}
.expanded .expand-arrow {
    transform: rotate(90deg);
}

/* Hero Van Animation */
@keyframes drive {
    0% { transform: translateX(-150px); }
    100% { transform: translateX(calc(100vw + 150px)); }
}
.van-container {
    animation: drive 12s linear infinite;
    will-change: transform;
}
.van-container:hover {
    animation-play-state: paused;
}

/* Brand Badge Hover Effect */
.brand-badge {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.brand-badge:hover {
    transform: translateY(-4px);
    border-color: #D4C4A8;
    box-shadow: 0 4px 15px rgba(212, 196, 168, 0.1);
}

/* Market Pulse Add Animation */
@keyframes fadeInSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.pulse-entry {
    animation: fadeInSlideDown 0.5s ease-out forwards;
}

/* Order Desk Overlay */
.backdrop-blur-layer {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(15, 15, 20, 0.7);
    transition: opacity 0.3s ease;
}

/* Modal utility */
.modal-enter {
    opacity: 0;
    pointer-events: none;
}
.modal-enter-active {
    opacity: 1;
    pointer-events: auto;
}

/* Glow effects */
.hover-glow:hover {
    text-shadow: 0 0 10px rgba(198, 42, 42, 0.8), 0 0 20px rgba(198, 42, 42, 0.4);
}
.border-glow:focus-within {
    box-shadow: 0 0 8px rgba(198, 42, 42, 0.5);
    border-color: #C62A2A;
}

/* Abstract Dotted Line Background */
.dotted-path {
    background-image: linear-gradient(to right, #666 50%, transparent 50%);
    background-size: 20px 2px;
    background-repeat: repeat-x;
    background-position: center;
}

/* Input Styles */
input, select, textarea {
    background-color: transparent;
    border-bottom: 1px solid #D4C4A8;
    color: #FFF9EF;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus {
    border-color: #C62A2A;
}

/* Data Table Styles */
.data-table th, .data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(212, 196, 168, 0.2);
}
.data-table th {
    font-family: 'Space Mono', monospace;
    color: #D4C4A8;
    font-size: 0.875rem;
}
