/* =========================================================
   Le Camere di Anna e Grazia — Shared Stylesheet
   Tema: Carta da Zucchero
   ========================================================= */

/* NAV */
#main-nav { transition: background 0.35s ease, box-shadow 0.35s ease; }
#main-nav.scrolled { background: rgba(255,255,255,0.97) !important; box-shadow: 0 1px 20px rgba(0,0,0,0.10); }
#main-nav.scrolled a { color: #1B2D3E; }
#main-nav.scrolled a:hover { color: #4E7FA0; }
#main-nav.scrolled .btn-gold, #main-nav.scrolled .btn-gold:hover { color: #fff !important; }
#main-nav.scrolled #mobile-menu-btn span { background-color: #1B2D3E; }
#main-nav.scrolled span.text-white { color: #1B2D3E !important; }
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* LANG TOGGLE */
.lang-toggle-btn { display: inline-flex; align-items: center; gap: 0.4rem; border: 1.5px solid rgba(255,255,255,0.45); color: #fff; font-weight: 600; font-size: 0.75rem; padding: 0.4rem 0.85rem; border-radius: 999px; background: transparent; cursor: pointer; transition: all 0.2s ease; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.04em; }
.lang-toggle-btn:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
#main-nav.scrolled .lang-toggle-btn { border-color: rgba(27,45,62,0.45); color: #1B2D3E; }
#main-nav.scrolled .lang-toggle-btn:hover { background: rgba(27,45,62,0.08); border-color: #1B2D3E; }

/* HERO SLIDESHOW */
.hero-slideshow { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #1B2D3E; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: slideFade 18s infinite; filter: brightness(0.42); }
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
@keyframes slideFade {
  0%   { opacity: 0; transform: scale(1); }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  44%  { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; }
}

/* HERO OVERLAY */
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(27,45,62,0.93) 0%, rgba(27,45,62,0.78) 30%, rgba(27,45,62,0.35) 60%, transparent 80%); }
@media (max-width: 767px) { .hero-overlay { background: rgba(27,45,62,0.80); } }

/* ROOM CARDS */
.room-card { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.07); transition: transform 0.3s ease, box-shadow 0.3s ease; border-top: 4px solid #4E7FA0; }
.room-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(27,45,62,0.14); }
.room-card-img { position: relative; height: 240px; overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-card-img img { transform: scale(1.04); }
.room-card-badge { position: absolute; top: 1rem; left: 1rem; background: #4E7FA0; color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 999px; }
.room-card-body { padding: 1.5rem; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #444; padding: 0.25rem 0; }
.feature-list li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #4E7FA0; flex-shrink: 0; }

/* REVIEW CARD */
.review-card { background: #fff; border-radius: 0.875rem; padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid #C8DDE9; transition: transform 0.3s ease, box-shadow 0.3s ease; color: #1B2D3E; }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(27,45,62,0.1); }

/* SCORE BADGE */
.score-badge { background: #1B2D3E; color: #fff; font-size: 2.2rem; font-weight: 800; padding: 0.8rem 1.3rem; border-radius: 8px; display: inline-block; line-height: 1; font-family: 'Plus Jakarta Sans', sans-serif; }

/* AMENITY */
.amenity { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid #DCE9F0; font-size: 0.875rem; color: #374151; }
.amenity:last-child { border-bottom: none; }
.amenity-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(78,127,160,0.12); display: flex; align-items: center; justify-content: center; color: #4E7FA0; flex-shrink: 0; }

/* GLASS DARK */
.glass-dark { background: rgba(27,45,62,0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.09); }

/* BUTTONS */
.btn-gold { display: inline-flex; align-items: center; gap: 0.5rem; background: #4E7FA0; color: #fff; font-weight: 600; font-size: 0.9rem; padding: 0.85rem 2rem; border-radius: 999px; text-decoration: none; transition: background 0.25s ease, transform 0.2s ease; }
.btn-gold:hover { background: #3D6B8A; transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; border: 2px solid #4E7FA0; color: #4E7FA0; font-weight: 600; font-size: 0.9rem; padding: 0.8rem 1.75rem; border-radius: 999px; text-decoration: none; transition: all 0.25s ease; }
.btn-outline:hover { background: #4E7FA0; color: #fff; transform: translateY(-2px); }
.btn-white-outline { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1.5px solid rgba(255,255,255,0.65); color: #fff; font-weight: 600; font-size: 0.8rem; padding: 0.85rem 2rem; border-radius: 999px; text-decoration: none; transition: all 0.25s ease; text-transform: uppercase; letter-spacing: 0.08em; }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 0.6rem; background: #25d366; color: #fff; font-weight: 700; font-size: 0.95rem; padding: 0.95rem 2.25rem; border-radius: 999px; text-decoration: none; transition: background 0.25s ease, transform 0.2s ease; }
.btn-whatsapp:hover { background: #128c7e; transform: translateY(-2px); }

/* WHATSAPP FLOAT */
.wa-float { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 9999; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* PAGE BANNER */
.page-banner { position: relative; height: 380px; overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(27,45,62,0.50) 0%, rgba(27,45,62,0.78) 100%); }
.page-banner .banner-content { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; text-align: left; padding: 2rem 2rem 2.5rem; }
@media (min-width: 768px) { .page-banner .banner-content { padding: 3rem 4rem 3.5rem; } }

/* BREADCRUMB */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: #888; flex-wrap: wrap; }
.breadcrumb a { color: #888; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #4E7FA0; }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: #4E7FA0; font-weight: 500; }

/* GOLD DIVIDER */
.gold-divider { width: 60px; height: 3px; background: #4E7FA0; border-radius: 999px; }

/* SECTION LABEL */
.section-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: #4E7FA0; display: block; margin-bottom: 0.75rem; }

/* SERVICE ICON */
.service-icon { width: 56px; height: 56px; border: 1.5px solid rgba(78,127,160,0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* INFO STRIP */
.info-strip-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; padding: 1.5rem 1rem; }
.info-strip-item .info-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #5B7F96; font-weight: 600; }
.info-strip-item .info-value { font-size: 0.9rem; font-weight: 500; }

/* CONTACT CARD */
.contact-card { background: #fff; border-radius: 1rem; padding: 1.75rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); display: flex; align-items: flex-start; gap: 1rem; transition: box-shadow 0.3s ease; border: 1px solid #DCE9F0; }
.contact-card:hover { box-shadow: 0 8px 32px rgba(27,45,62,0.1); }
.contact-icon { width: 44px; height: 44px; background: #EDF4F9; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

/* TRANSPORT CARD */
.transport-card { background: #fff; border-radius: 1rem; padding: 1.5rem; border-left: 4px solid #4E7FA0; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.2s; }
.transport-card:hover { transform: translateX(4px); }

/* FAQ */
.faq-item { border-bottom: 1px solid #C8DDE9; }
.faq-question { cursor: pointer; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.95rem; color: #1B2D3E; }
.faq-chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-answer { padding-bottom: 1.25rem; color: #555; line-height: 1.75; font-size: 0.9rem; display: none; }
.faq-answer.open { display: block; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* REVEALS */
.reveal, .reveal-left, .reveal-right { opacity: 0; }

/* PRIVACY */
.prose-policy h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: #1B2D3E; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose-policy p, .prose-policy li { font-size: 0.9rem; color: #555; line-height: 1.8; margin-bottom: 0.75rem; }
.prose-policy ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-policy a { color: #4E7FA0; text-decoration: underline; }

/* AMENITY TAG */
.amenity-tag { display: inline-flex; align-items: center; gap: 0.4rem; background: #EDF4F9; border: 1px solid #C8DDE9; border-radius: 999px; padding: 0.3rem 0.75rem; font-size: 0.78rem; color: #374151; font-weight: 500; }

/* SERVICE BLOCK */
.service-block { background: #fff; border-radius: 1.25rem; padding: 2rem; box-shadow: 0 2px 16px rgba(0,0,0,0.05); border: 1px solid #DCE9F0; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-block:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(27,45,62,0.1); }
.service-block-icon { width: 60px; height: 60px; background: #EDF4F9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.badge-free { display: inline-block; background: #d1fae5; color: #065f46; font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.badge-paid { display: inline-block; background: #dbeafe; color: #1e40af; font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }

/* RATING BAR */
.rating-bar-bg { width: 100%; height: 6px; background: #DCE9F0; border-radius: 999px; }
.rating-bar-fill { height: 100%; background: #4E7FA0; border-radius: 999px; transition: width 1s ease; }

/* ROOM DETAIL */
.room-detail-img { height: 400px; object-fit: cover; width: 100%; border-radius: 1rem; }
.gallery-thumb { height: 120px; object-fit: cover; border-radius: 0.5rem; cursor: zoom-in; transition: opacity 0.2s, transform 0.2s; }
.gallery-thumb:hover { opacity: 0.85; transform: scale(1.02); }
.room-detail-img { cursor: zoom-in; }

/* LIGHTBOX */
.lightbox { display:none; position:fixed; inset:0; z-index:10000; background:rgba(0,0,0,0.93); align-items:center; justify-content:center; padding:1rem; }
.lightbox.open { display:flex; }
.lightbox-img { max-width:92vw; max-height:88vh; object-fit:contain; border-radius:0.75rem; box-shadow:0 0 80px rgba(0,0,0,0.7); }
.lightbox-close { position:absolute; top:1rem; right:1.25rem; background:none; border:none; color:#fff; font-size:2.25rem; cursor:pointer; line-height:1; padding:0.5rem; opacity:0.7; transition:opacity 0.2s; }
.lightbox-close:hover { opacity:1; }
