/* ========================================================================
   Camere Signature — Trilussa Palace
   Shared stylesheet for the room landing pages
   (/camere/* + /en/rooms/*). Token set aligned with the Rooftop section
   (rooftop/assets/css/styles.css) per design handoff 2026-07.
   ======================================================================== */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/assets/fonts/cormorant-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('/assets/fonts/cormorant-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
}

:root {
    --bg-night:      #1a1410;
    --bg-cream:      #f7f1e8;
    --bg-cream-soft: #efe7d8;
    --text-dark:     #2c2419;
    --text-on-dark:  #e8dcc8;
    --muted-dark:    #8a7a5e;
    --muted-light:   #b8a886;
    --border-cream:  #d8c8a8;
    --border-night:  #4a3e2c;
    --gold:          #c9a961;
    --gold-dark:     #a98a3f;
    --gold-bright:   #e0c47c;
    --radius-sm: 4px;
    --font-serif: 'Didot', 'Bodoni 72', 'Bodoni Moda', 'Times New Roman', Times, serif;
    --font-script: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg-cream);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
main { display: block; }

/* ─── Buttons ──────────────────────────────────────────────── */
.cam-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.cam-btn:hover { background: var(--gold-bright); }
.cam-btn--outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    padding: 15px 36px;
}
.cam-btn--outline:hover { background: rgba(201, 169, 97, .14); color: var(--gold-bright); }
.cam-btn:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

.cam-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.cam-hero {
    position: relative;
    isolation: isolate;
    min-height: 84vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 96px 24px;
    color: var(--text-on-dark);
    overflow: hidden;
}
.cam-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.cam-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cam-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgba(26, 20, 16, .42), rgba(26, 20, 16, .62));
}
.cam-hero--cinema::before {
    background: linear-gradient(rgba(26, 20, 16, .46), rgba(26, 20, 16, .64));
}
.cam-hero__inner { max-width: 920px; }

.cam-eyebrow {
    margin: 0 0 20px;
    font-size: 12px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold-bright);
}
.cam-hero h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: clamp(50px, 8.5vw, 104px);
    line-height: 1.02;
}
.cam-script {
    margin: 20px 0 8px;
    font-family: var(--font-script);
    font-style: italic;
    font-size: clamp(24px, 3.2vw, 34px);
    color: var(--gold-bright);
}
.cam-tagline {
    margin: 0 auto;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted-light);
}
.cam-hero--cinema .cam-tagline { max-width: 580px; }

/* ─── Intro ────────────────────────────────────────────────── */
.cam-intro {
    padding: 96px 24px 64px;
    text-align: center;
    background: var(--bg-cream);
}
.cam-intro__inner { max-width: 780px; margin: 0 auto; }
.cam-intro h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(34px, 4.6vw, 48px);
    letter-spacing: .02em;
}
.cam-intro__script {
    margin: 12px 0 24px;
    font-family: var(--font-script);
    font-style: italic;
    font-size: 24px;
    color: var(--gold-dark);
}
.cam-intro__text {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted-dark);
}

/* ─── Gallery ──────────────────────────────────────────────── */
.cam-gallery {
    padding: 0 24px 48px;
    background: var(--bg-cream);
}
.cam-gallery__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.cam-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.cam-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cam-gallery__item--wide  { grid-column: span 4; height: clamp(240px, 40vw, 520px); }
.cam-gallery__item--tall  { grid-column: span 2; height: clamp(240px, 40vw, 520px); }
.cam-gallery__item--small { grid-column: span 2; height: clamp(160px, 26vw, 340px); }

@media (max-width: 700px) {
    .cam-gallery__item--wide,
    .cam-gallery__item--tall  { grid-column: span 6; height: clamp(220px, 56vw, 380px); }
    .cam-gallery__item--small { grid-column: span 6; height: clamp(180px, 48vw, 320px); }
}

/* ─── Amenities ("Servizi e comfort") ─────────────────────── */
.cam-comfort {
    padding: 56px 24px 96px;
    background: var(--bg-cream);
}
.cam-comfort__inner { max-width: 1080px; margin: 0 auto; }
.cam-comfort h2 {
    margin: 0;
    text-align: center;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(30px, 4vw, 40px);
}
.cam-comfort__script {
    margin: 10px 0 44px;
    text-align: center;
    font-family: var(--font-script);
    font-style: italic;
    font-size: 22px;
    color: var(--gold-dark);
}
.cam-comfort__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0 56px;
}
.cam-comfort__row {
    border-top: 1px solid var(--border-cream);
    padding: 18px 4px;
}
.cam-comfort__label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.cam-comfort__desc {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-dark);
}

/* ─── Booking band ─────────────────────────────────────────── */
.cam-band {
    background: var(--bg-night);
    color: var(--text-on-dark);
    padding: 88px 24px;
    text-align: center;
}
.cam-band__inner { max-width: 920px; margin: 0 auto; }
.cam-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(36px, 7vw, 88px);
}
.cam-stat__value {
    font-family: var(--font-serif);
    font-size: 34px;
    color: var(--gold-bright);
}
.cam-stat__label {
    margin-top: 6px;
    font-size: 11.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted-light);
}
.cam-band__divider {
    height: 1px;
    background: var(--border-night);
    margin: 56px auto;
    max-width: 520px;
}
.cam-band h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: clamp(30px, 4.4vw, 46px);
}
.cam-band__script {
    margin: 14px 0 10px;
    font-family: var(--font-script);
    font-style: italic;
    font-size: 23px;
    color: var(--gold-bright);
}
.cam-band__text {
    margin: 0 auto;
    max-width: 520px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--muted-light);
}
.cam-band .cam-ctas { margin-top: 34px; }

/* ─── Footer ───────────────────────────────────────────────── */
.cam-footer {
    background: var(--bg-night);
    border-top: 1px solid var(--border-night);
    padding: 26px 24px;
    color: var(--muted-light);
}
.cam-footer__inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cam-footer__logo { height: 36px; width: auto; display: block; }
.cam-footer__legal {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    letter-spacing: .08em;
}
.cam-footer__legal a {
    color: var(--muted-light);
    text-decoration: none;
    transition: color .15s ease;
}
.cam-footer__legal a:hover { color: var(--text-on-dark); }
