/* styles.css */

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0A0A0A; 
}
::-webkit-scrollbar-thumb {
    background: #8F734A; 
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #0A0A0A;
    background-image: url('styles_assets_dark_texture.png');
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: multiply;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scrolled State */
.nav-scrolled {
    background-color: rgba(10, 10, 10, 0.90);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(143, 115, 74, 0.1) !important;
}

.nav-scrolled #nav-brand, .nav-scrolled #nav-links a {
    color: #EAE5D9 !important;
}

.nav-scrolled #nav-links a:hover {
    color: #8F734A !important;
}

/* Body Lock for Mobile Menu */
body.menu-open {
    overflow: hidden;
}

/* Navbar Scrolled state for Mobile button */
.nav-scrolled #mobile-menu-btn {
    color: #EAE5D9 !important;
}

/* Noise overlay changed to just a micro-grunge addition if needed, or left almost invisible */
.noise-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Preloader Hide Class */
.preloader-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Lightbox Classes */
#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
#lightbox.active #lightbox-img {
    transform: scale(1);
}

/* Custom Cursor */
body.custom-cursor-active {
    cursor: none;
}
body.custom-cursor-active a, 
body.custom-cursor-active button, 
body.custom-cursor-active .cursor-pointer,
body.custom-cursor-active .hoverable {
    cursor: none;
}
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background-color: #8F734A;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease-out, opacity 0.3s;
    transform: translate(-50%, -50%);
}
.custom-cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(143, 115, 74, 0.4);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}
.custom-cursor-active.hovering .custom-cursor {
    transform: translate(-50%, -50%) scale(0) !important;
}
.custom-cursor-active.hovering .custom-cursor-follower {
    width: 60px; height: 60px;
    border-color: #8F734A;
    background-color: rgba(143, 115, 74, 0.1);
}

/* Concierge Modal */
#concierge-modal {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}
#concierge-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.input-elegant {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(143, 115, 74, 0.4);
    color: #EAE5D9;
    padding: 12px 0;
    width: 100%;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
}
.input-elegant:focus {
    border-bottom-color: #8F734A;
}
.input-elegant::placeholder {
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}
/* Style datetime and select */
.input-elegant::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
}
select.input-elegant {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
select.input-elegant option {
    background-color: #0A0A0A;
    color: #EAE5D9;
}

/* Elegant Soft Frames for Images - Flatter and more editorial */
.soft-frame {
    border-radius: 2px;
    box-shadow: 0 4px 20px -5px rgba(0,0,0,0.03); /* Estremamente delicato */
    transition: transform 0.6s ease-out, box-shadow 0.6s ease-out;
    background-color: transparent;
}
.soft-frame:hover {
    box-shadow: 0 8px 30px -5px rgba(0,0,0,0.06);
}
.soft-frame img {
    border-radius: 4px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Authentic Warm Grading for Food */
.warm-grading {
    filter: brightness(1.05) contrast(1.05) saturate(1.1) sepia(0.05);
    transition: filter 0.6s ease;
}
.warm-grading:hover {
    filter: brightness(1.1) contrast(1.1) saturate(1.2) sepia(0);
}

/* Soft Cinematic Video Filter (Dark & Moody) */
.cinematic-video {
    filter: contrast(1.1) saturate(1.05) brightness(0.65) sepia(0.2) hue-rotate(-5deg);
}
