/* -------------------------------------------------------
   Cavour Luxury Rooms — Restyle layer
   Loaded after style.css: extends/overrides specific
   components (nav logo, hero, rooms, services, footer)
   without touching the base theme file.
------------------------------------------------------- */

/* ---------- Nav: keep pinned to viewport (was position:absolute,
   so it scrolled away with the page before the 100px "nav-scroll"
   fixed state kicked in — that gap is what made the logo vanish) ---------- */
.navbar {
    position: fixed;
}

/* ---------- Nav: logo + wordmark, responsive ---------- */
.logo-wrapper .logo {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-wrapper .logo-img {
    width: clamp(50px, 6vw, 80px);
    padding: 0;
    margin: 0;
}
.logo-wrapper .brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}
.logo-wrapper .brand-wordmark .brand-name {
    font-family: 'Gilda Display', serif;
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: 1px;
    color: #e3c786;
}
.logo-wrapper .brand-wordmark .brand-place {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
}
.nav-scroll .logo-wrapper .brand-wordmark .brand-place { color: #999; }
@media screen and (max-width: 480px) {
    .logo-wrapper .brand-wordmark { display: none; }
}

/* ---------- Hero (index slider) ---------- */
.header .caption .hero-emblem {
    width: clamp(56px, 8vw, 96px);
    height: auto;
    margin: 0 auto 18px;
    display: block;
}
.header .caption .hero-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(14px, 1.6vw, 17px);
    color: #f1e6cc;
    max-width: 560px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.header .caption .hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.header .caption .hero-ctas .butn-light,
.header .caption .hero-ctas .butn-outline {
    margin: 0;
}
.butn-outline {
    display: inline-block;
}
.butn-outline a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.6);
    color: #fff;
    padding: 15px 28px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all .3s;
}
.butn-outline a:hover {
    border-color: #e3c786;
    color: #e3c786;
}

/* ---------- About collage ---------- */
.about-collage {
    position: relative;
    min-height: 380px;
}
.about-collage img {
    border-radius: 4px;
    object-fit: cover;
}
.about-collage .collage-main {
    width: 78%;
    height: 340px;
}
.about-collage .collage-accent {
    position: absolute;
    right: 0;
    bottom: -30px;
    width: 55%;
    height: 220px;
    border: 6px solid #f8f5f0;
    box-shadow: 0 20px 40px -18px rgba(0,0,0,.35);
}
.about-collage .collage-badge {
    position: absolute;
    top: 20px;
    left: -20px;
    background: #222;
    color: #f8f5f0;
    padding: 16px 20px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,.4);
}
.about-collage .collage-badge .n {
    font-family: 'Gilda Display', serif;
    font-size: 26px;
    color: #e3c786;
    line-height: 1;
}
.about-collage .collage-badge .l {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cfc7b7;
    margin-top: 4px;
}
@media screen and (max-width: 767px) {
    .about-collage { min-height: 300px; margin-bottom: 60px; }
    .about-collage .collage-badge { left: 10px; }
}

/* ---------- Room cards (replaces single-image owl slide) ---------- */
.room-cards { display: flex; flex-direction: column; gap: 40px; }
.room-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border: 1px solid #ece5d6;
    border-radius: 6px;
    overflow: hidden;
}
.room-card.rev { grid-template-columns: 1fr 1.1fr; }
.room-card.rev .room-card-gallery { order: 2; }
.room-card-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    min-height: 320px;
}
.room-card-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.room-card-gallery img.main { grid-row: 1 / 3; }
.room-card-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
}
.room-card-body h3 {
    margin: 0 0 10px;
}
.room-card-price {
    font-family: 'Gilda Display', serif;
    font-size: 15px;
    color: #666;
    margin-bottom: 16px;
}
.room-card-price b {
    font-size: 22px;
    color: #222;
}
.room-card-body p.desc {
    color: #666;
    font-size: 14.5px;
    margin-bottom: 20px;
}
.room-card-facils {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 26px;
    font-size: 13px;
    color: #666;
}
.room-card-facils span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.room-card-facils i {
    color: #e3c786;
}
.room-card-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: auto;
}
@media screen and (max-width: 860px) {
    .room-card, .room-card.rev { grid-template-columns: 1fr; }
    .room-card.rev .room-card-gallery { order: 0; }
    .room-card-body { padding: 28px; }
}

/* ---------- Services / extra cards ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.svc-card {
    background: #fff;
    border: 1px solid #ece5d6;
    border-radius: 6px;
    padding: 34px 26px;
    text-align: center;
    transition: all .3s;
}
.svc-card:hover {
    border-color: #e3c786;
    transform: translateY(-4px);
}
.svc-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #e3c786;
    border: 1px solid rgba(227,199,134,.5);
}
.svc-card h4 {
    font-family: 'Gilda Display', serif;
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
}
.svc-card p {
    color: #666;
    font-size: 13.5px;
    margin: 0;
}
/* dark section variant (e.g. homepage .bg-blck) */
.bg-blck .svc-card {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
}
.bg-blck .svc-card h4 { color: #fff; }
.bg-blck .svc-card p { color: #b9b3a4;
}
@media screen and (max-width: 767px) {
    .svc-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer logo ---------- */
.footer-about .footer-logo {
    width: clamp(56px, 9vw, 72px);
    height: auto;
    margin-bottom: 18px;
    display: block;
}

/* =========================================================
   Mockup alignment pass — typography, spacing, buttons,
   hero overlay brought closer to the approved visual direction
========================================================= */

/* ---------- Typography scale ---------- */
.section-subtitle {
    letter-spacing: 4px;
    font-size: 13px;
}
.section-title {
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: .5px;
    margin-bottom: 28px;
}
.about p,
.room-card-body p.desc,
.rooms-page p {
    line-height: 1.85;
    color: #6b6459;
}
.room-card-body h3 {
    font-size: clamp(24px, 2.4vw, 30px);
    letter-spacing: .3px;
}
.room-card-body h3 a { color: #222; }
.room-card-price {
    font-size: 16px;
    letter-spacing: .3px;
}
.svc-card h4 {
    font-size: 19px;
    letter-spacing: .3px;
}
.header .caption h4 {
    font-size: clamp(30px, 5vw, 46px);
    font-family: 'Gilda Display', serif;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

/* ---------- Spacing / breathing room ---------- */
.about .row,
.rooms2 .row { row-gap: 20px; }
.room-cards { gap: 56px; }
.room-card-body { padding: 52px 48px; }
.room-card-body p.desc { margin-bottom: 26px; }
.room-card-facils { margin-bottom: 32px; gap: 14px 28px; }
.svc-grid { gap: 32px; }
.svc-card { padding: 42px 30px; }
.about-collage { min-height: 420px; }
@media screen and (max-width: 860px) {
    .room-card-body { padding: 32px 28px; }
}

/* ---------- Buttons: flat gold-fill / outline, mockup style ---------- */
.butn-dark a,
.butn-light a {
    border-radius: 2px;
    padding: 15px 30px;
    font-family: 'Barlow', sans-serif;
    letter-spacing: 2px;
    font-size: 12.5px;
    font-weight: 600;
    transition: all .3s;
}
.butn-dark a {
    background: #e3c786;
    color: #26210f;
    border: 1px solid #e3c786;
}
.butn-dark a:after { display: none; }
.butn-dark a:hover {
    background: #d4b56e;
    border-color: #d4b56e;
}
.butn-dark a:hover span { color: #26210f; }
.butn-light a {
    background: transparent;
    border: 1px solid rgba(255,255,255,.55);
}
.butn-light a:after { display: none; }
.butn-light a:hover {
    border-color: #e3c786;
    background: transparent;
}
.butn-light a:hover span { color: #e3c786; }
.room-card-actions .link-btn {
    letter-spacing: 2px;
    color: #6b6459;
}
.room-card-actions .link-btn i { margin-left: 6px; }

/* ---------- Hero: cinematic gradient overlay, lighter than flat dark ---------- */
.header .item.bg-img:before {
    background: linear-gradient(180deg, rgba(10,8,4,.15) 0%, rgba(10,8,4,.35) 55%, rgba(10,8,4,.6) 100%) !important;
    opacity: 1 !important;
}

/* ---------- Inner-page banner (About/Contact): fill instead of "contain"
   the global .bg-img rule shrinks the photo and leaves a grey box beside it;
   the homepage hero has its own cover override, this one didn't. ---------- */
.banner-header.bg-img {
    background-size: cover !important;
    background-position: center !important;
}
.banner-header:before {
    background: linear-gradient(180deg, rgba(10,8,4,.25) 0%, rgba(10,8,4,.55) 100%) !important;
    opacity: 1 !important;
}
.header .caption .hero-subtitle {
    color: #f4ecd9;
    font-weight: 300;
}

/* =========================================================
   Guide / editorial article page (e.g. "Dove Alloggiare a
   Catanzaro") — reuses site tokens instead of a bespoke
   stylesheet, so it reads as part of the same site.
========================================================= */
.guide-article {
    max-width: 760px;
    margin: 0 auto;
}
.guide-article .lead {
    font-size: 18px;
    line-height: 1.8;
    color: #55504a;
}
.guide-article h2 {
    font-family: 'Gilda Display', serif;
    font-size: 30px;
    color: #222;
    margin: 56px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3c786;
}
.guide-article h2:first-of-type { margin-top: 0; }
.guide-article h3 {
    font-family: 'Gilda Display', serif;
    font-size: 21px;
    color: #222;
    margin: 34px 0 12px;
}
.guide-article p, .guide-article li {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: #666;
}
.guide-article p { margin: 0 0 18px; }
.guide-article strong { color: #3a352e; font-weight: 600; }
.guide-article a { color: #a8632a; text-decoration: underline; text-underline-offset: 2px; }
.guide-article a:hover { color: #e3c786; }
.guide-article ul { padding-left: 20px; margin: 0 0 20px; }
.guide-article li { margin-bottom: 8px; }

.guide-box {
    background: #f8f5f0;
    border-left: 3px solid #e3c786;
    border-radius: 0 6px 6px 0;
    padding: 20px 24px;
    margin: 26px 0;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: #55504a;
    line-height: 1.8;
}
.guide-box strong { color: #222; }

.guide-cta {
    background: #1c1811;
    color: #f2ede1;
    border-radius: 8px;
    padding: 30px 32px;
    margin: 40px 0;
    font-family: 'Barlow', sans-serif;
}
.guide-cta p { color: #d9d2c2; margin: 0; font-size: 15.5px; }
.guide-cta p + p { margin-top: 10px; }
.guide-cta strong { color: #fff; font-size: 17px; font-family: 'Gilda Display', serif; }
.guide-cta a { color: #e3c786; font-weight: 600; }

.guide-figure { margin: 32px 0; }
.guide-figure svg { width: 100%; height: auto; border-radius: 6px; display: block; }
.guide-figure img { width: 100%; height: auto; border-radius: 6px; display: block; object-fit: cover; }
.guide-figure figcaption {
    font-family: 'Barlow', sans-serif; font-size: 13px; color: #999;
    text-align: center; margin-top: 10px;
}

.guide-table-wrap { overflow-x: auto; margin: 26px 0; }
.guide-article table {
    border-collapse: collapse; width: 100%; min-width: 480px;
    font-family: 'Barlow', sans-serif; font-size: 14.5px;
}
.guide-article th, .guide-article td {
    border: 1px solid #e6ddcd; padding: 12px 14px; text-align: left; color: #55504a;
}
.guide-article th {
    background: #f8f5f0; color: #222; font-weight: 600;
    font-family: 'Barlow Condensed', sans-serif; letter-spacing: .5px; text-transform: uppercase; font-size: 13px;
}

.guide-rooms {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0 10px;
}
.guide-room-card {
    border: 1px solid #ece5d6; border-radius: 8px; overflow: hidden; background: #fff;
}
.guide-room-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.guide-room-card .b { padding: 18px 20px; }
.guide-room-card h4 {
    font-family: 'Gilda Display', serif; font-size: 18px; color: #222; margin: 0 0 6px;
}
.guide-room-card p { font-size: 14px; margin: 0 0 12px; }
.guide-room-card a.link-btn { font-size: 12.5px; letter-spacing: 2px; }
@media screen and (max-width: 600px) {
    .guide-rooms { grid-template-columns: 1fr; }
}

.guide-faq h3 {
    border-top: 1px solid #e6ddcd; padding-top: 20px; margin-top: 26px;
}
.guide-faq h3:first-child { border-top: none; padding-top: 0; margin-top: 0; }
