/*
================================================================================
Project: RomeStays

▄████▄ ██  ██ ██▄  ▄██ ▄████▄ ████▄  ██████ ██  ██
██▄▄██ ██  ██ ██ ▀▀ ██ ██▄▄██ ██  ██ ██▄▄   ██▄▄██
██  ██ ▀████▀ ██    ██ ██  ██ ████▀  ██▄▄▄▄  ▀██▀

File: assets/css/styles.css
Description: Foglio di stile principale del sito RomeStays

Copyright © 2026 Aumatex srls.
Tutti i diritti riservati.

L'uso non autorizzato, la copia, la modifica o la distribuzione è proibita.
================================================================================
*/

:root {
    color-scheme: light;
}

body {
    background-color: #FAF9F6;
    color: #454339;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #C5A059;
    border-radius: 4px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(69, 67, 57, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(231, 226, 190, 0.1);
}

.hero-overlay {
    background: linear-gradient(
        to right,
        rgba(69, 67, 57, 0.9) 0%,
        rgba(69, 67, 57, 0.45) 50%,
        rgba(69, 67, 57, 0.1) 100%
    );
}

.on-image {
    text-shadow: 0 10px 30px rgba(69, 67, 57, 0.45);
}

.menu-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu-panel {
    background: rgba(250, 249, 246, 0.98);
    box-shadow: 0 30px 80px rgba(69, 67, 57, 0.2);
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(69, 67, 57, 0.08);
}

.menu-item:hover {
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 14px 28px rgba(69, 67, 57, 0.12);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0), rgba(197, 160, 89, 0.8), rgba(197, 160, 89, 0));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.btn-premium {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-premium:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.25);
}

.panel-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.panel-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(69, 67, 57, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
}

.drawer-open {
    overflow: hidden;
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
}

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
}

.cookie-enter {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
}

.cookie-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.focus-ring:focus-visible {
    outline: 2px solid #C5A059;
    outline-offset: 2px;
}

.language-chip {
    border: 1px solid rgba(69, 67, 57, 0.2);
}

.noise-bg {
    background-image: radial-gradient(rgba(69, 67, 57, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
}

.range-bar {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(69, 67, 57, 0.15);
    overflow: hidden;
}

.range-bar__fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.2) 0%, rgba(197, 160, 89, 0.6) 50%, rgba(197, 160, 89, 0.2) 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    will-change: transform;
}

.marquee-item {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(69, 67, 57, 0.7);
    font-size: 12px;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.6);
}

.faq-item {
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.faq-item[open] {
    background: rgba(231, 226, 190, 0.35);
    border-color: rgba(197, 160, 89, 0.35);
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.12);
    color: #C5A059;
    transition: transform 0.4s ease, background 0.4s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: rgba(197, 160, 89, 0.2);
}

.faq-content {
    overflow: hidden;
    height: 0;
    opacity: 0;
}
