/* Sortibeclevercrat – Italian Luxury / Warm Editorial styles */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: #FFFDF8; color: #2B211C; -webkit-font-smoothing: antialiased; }
.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ---------- Hero: cinematic Rome sunset ---------- */
.hero-rome-sunset-frame { position: absolute; inset: 0; overflow: hidden; }
.hero-rome-sunset-zoom { position: absolute; inset: -8% 0 0 0; animation: heroSlowZoom 32s ease-in-out infinite alternate; }
.hero-rome-sunset-image { width: 100%; height: 115%; object-fit: cover; will-change: transform; transform: scale(1.12); }
.hero-rome-sunset-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(43,33,28,.35) 0%, rgba(156,74,54,.35) 45%, rgba(43,33,28,.85) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(255,170,90,.45), transparent 60%);
  mix-blend-mode: normal;
}
@keyframes heroSlowZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

.fade-up { opacity: 0; transform: translateY(26px); animation: fadeUp 1.2s cubic-bezier(.2,.7,.2,1) forwards; }
.delay-1 { animation-delay: .2s; } .delay-2 { animation-delay: .45s; } .delay-3 { animation-delay: .7s; } .delay-4 { animation-delay: .95s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Venue cards (layered 3D) ---------- */
.venue-card { transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; will-change: transform; }
.venue-card:hover { box-shadow: 0 30px 60px -25px rgba(156,74,54,.45); }
.venue-card .venue-card-image { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.venue-card:hover .venue-card-image { transform: scale(1.06); }

.layered-card-stack { position: relative; }
.layered-card-stack::before, .layered-card-stack::after {
  content: ""; position: absolute; inset: 0; border-radius: 1.5rem; z-index: -1; transition: transform .6s ease;
}
.layered-card-stack::before { background: #68704A; transform: rotate(-4deg) translate(-10px, 10px); opacity: .9; }
.layered-card-stack::after { background: #F4EBDD; transform: rotate(3deg) translate(12px, 6px); border: 1px solid rgba(156,74,54,.2); }
.layered-card-stack:hover::before { transform: rotate(-6deg) translate(-16px, 14px); }
.layered-card-stack:hover::after { transform: rotate(5deg) translate(18px, 8px); }

/* ---------- Roman columns (CSS 3D architecture) ---------- */
.roman-colonnade { display: flex; gap: 1.6rem; justify-content: center; perspective: 900px; }
.roman-column { display: flex; flex-direction: column; align-items: center; transform: rotateY(-18deg); transform-style: preserve-3d; animation: columnFloat 7s ease-in-out infinite; }
.roman-column:nth-child(2) { animation-delay: -2s; transform: rotateY(-8deg); }
.roman-column:nth-child(3) { animation-delay: -4s; transform: rotateY(4deg); }
.roman-column-capital { width: 74px; height: 16px; border-radius: 4px; background: linear-gradient(180deg, #FFFDF8, #e8d9c2); box-shadow: 0 4px 0 #d9c6a9; }
.roman-column-echinus { width: 58px; height: 10px; background: #efe2cd; border-radius: 0 0 30px 30px; }
.roman-column-shaft { width: 46px; height: 190px; background: repeating-linear-gradient(90deg, #f7efe2 0 5px, #e2d1b6 5px 7px, #fbf5ea 7px 11px); box-shadow: inset -10px 0 18px rgba(156,74,54,.18), inset 8px 0 14px rgba(255,255,255,.6); }
.roman-column-base { width: 66px; height: 14px; background: linear-gradient(180deg, #efe2cd, #d9c6a9); border-radius: 3px; }
.roman-column-plinth { width: 80px; height: 12px; background: #c9b190; border-radius: 2px; }
@keyframes columnFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Catalog list view ---------- */
.list-view { grid-template-columns: 1fr !important; }
@media (min-width: 768px) {
  .list-view .venue-card { display: grid; grid-template-columns: 340px 1fr; }
  .list-view .venue-card .venue-card-media { aspect-ratio: auto; height: 100%; min-height: 240px; }
}

/* ---------- Tabs ---------- */
.tab-btn[aria-selected="true"] { background: #9C4A36; color: #FFFDF8; border-color: #9C4A36; }

/* ---------- Cookie banner ---------- */
#cookieBanner { transform: translateY(130%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
#cookieBanner.show { transform: translateY(0); }

/* ---------- Lightbox ---------- */
.lightbox { display: none; }
.lightbox.open { display: flex; }

.ornament-divider { display: flex; align-items: center; gap: .9rem; color: #9C4A36; }
.ornament-divider::before, .ornament-divider::after { content: ""; height: 1px; width: 48px; background: currentColor; opacity: .5; }

.prose-legal h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.85rem; color: #9C4A36; margin: 2.2rem 0 .8rem; }
.prose-legal p, .prose-legal li { line-height: 1.8; color: #4a3d35; margin-bottom: .9rem; }
.prose-legal ul { list-style: disc; padding-left: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-rome-sunset-zoom, .roman-column, .fade-up { animation: none !important; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}