/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --primary: #0b2240;        /* Deep Navy Blue (from Logo) */
  --primary-light: #173b6c;  /* Lighter Navy */
  --accent: #d4af37;         /* Warm Gold (Cathedral Stone) */
  --accent-light: #e5c158;   /* Bright Gold */
  --bg-light: #faf8f5;       /* Warm Ivory/Cream */
  --bg-white: #ffffff;
  --text-dark: #1e2530;      /* Near Black for readability */
  --text-muted: #5e6b7e;     /* Grey for secondary text */
  --border-color: #e2e8f0;
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1200px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
}

p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent);
}

.section-header p {
  font-size: 1.15rem;
}

/* Button Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-transform: uppercase;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn--primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--bg-white);
}

.btn--outline:hover {
  background-color: var(--bg-white);
  color: var(--primary);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background-color: rgba(11, 34, 64, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav__link:hover {
  color: var(--bg-white);
}

.nav__link:hover::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  right: 24px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 3px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-btn.active, .lang-btn:hover {
  color: var(--accent);
}

.lang-flag {
  width: 36px;
  height: 24px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

/* Mobile Toggle Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--bg-white);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  height: 95vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--bg-white);
  overflow: hidden;
  background-color: var(--primary);
  margin-top: 0;
  padding: 0;
}

/* Fullscreen Background Slider / Image / Video */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-image: url('522110207.jpg');
  background-size: cover;
  background-position: center;
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 34, 64, 0.4), rgba(11, 34, 64, 0.85));
  z-index: 2;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 40px;
}

.hero__title {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__sub {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 600px;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero__container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__logo-wrapper {
  flex-shrink: 0;
  width: 280px;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  background-color: var(--bg-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about__text-block h3 {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-style: italic;
}

.about__text-block p {
  margin-bottom: 20px;
  text-align: justify;
}

.about__welcome {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 30px;
  display: block;
}

.about__image-block {
  position: relative;
  padding: 20px;
}

.about__img-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
}

.about__img-container img {
  width: 100%;
  transition: var(--transition-smooth);
}

.about__img-container:hover img {
  transform: scale(1.05);
}

/* Small floating element to give premium aesthetic */
.about__floating-badge {
  position: absolute;
  bottom: -10px;
  left: -10px;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 20px 30px;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(11, 34, 64, 0.25);
  border-left: 4px solid var(--accent);
  z-index: 10;
}

.about__floating-badge span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}

.about__floating-badge p {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--bg-white);
  margin: 0;
  font-weight: 600;
}

/* ==========================================================================
   ROOMS & GALLERY (MASONRY LAYOUT)
   ========================================================================== */
.rooms {
  background-color: var(--bg-light);
}

.rooms__split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.rooms__text-block p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-dark);
  margin: 0;
}

.rooms__image-block {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 380px;
  background-color: #eaeaea;
}

.rooms__featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}

.rooms__image-block:hover .rooms__featured-img {
  transform: scale(1.04);
}

.rooms__gallery-strip-container {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.gallery-nav-btn {
  position: absolute;
  top: calc(50% - 6px);
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.gallery-nav-btn:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav-btn.prev {
  left: -23px;
}

.gallery-nav-btn.next {
  right: -23px;
}

@media (hover: none) and (pointer: coarse) {
  .gallery-nav-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .gallery-nav-btn {
    width: 38px;
    height: 38px;
  }
  .gallery-nav-btn.prev {
    left: -10px;
  }
  .gallery-nav-btn.next {
    right: -10px;
  }
}

.rooms__gallery-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 10px 4px;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar Customization - Hidden in favor of custom progress bar */
.rooms__gallery-strip::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* ==========================================================================
   GALLERY CUSTOM SCROLL NAV
   ========================================================================== */
.gallery-scroll-nav {
  width: 100%;
  max-width: 320px;
  margin: 20px auto 0 auto;
  display: flex;
  justify-content: center;
}

.gallery-scroll-nav__track {
  width: 100%;
  height: 4px;
  background-color: rgba(11, 34, 64, 0.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.gallery-scroll-nav__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background-color: var(--accent);
  border-radius: 2px;
  transition: transform 0.1s ease;
}

.gallery-strip__item {
  flex: 0 0 280px;
  height: 190px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #eaeaea;
  scroll-snap-align: start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-strip__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-strip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}

.gallery-strip__item:hover .gallery-strip__img {
  transform: scale(1.06);
}

.gallery-strip__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 34, 64, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-strip__item:hover .gallery-strip__overlay {
  opacity: 1;
}

.gallery-strip__icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transform: scale(0.85);
  transition: transform var(--transition-smooth);
}

.gallery-strip__item:hover .gallery-strip__icon {
  transform: scale(1);
}

@media (max-width: 992px) {
  .rooms__split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .rooms__image-block {
    height: 320px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .gallery-strip__item {
    flex: 0 0 220px;
    height: 150px;
  }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
  background-color: var(--bg-white);
}

.services__sub-header {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 50px 0 25px 0;
  position: relative;
  padding-bottom: 10px;
}

.services__sub-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

/* Services In Room Grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(11, 34, 64, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
}

.service-card__icon {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}

.service-card__title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Breakfast highlight block */
.breakfast-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  margin: 60px 0;
  box-shadow: 0 15px 35px rgba(11, 34, 64, 0.2);
}

.breakfast-info {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breakfast-info h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.breakfast-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.7;
}

.breakfast-img {
  background-image: linear-gradient(to right, rgba(11, 34, 64, 0.3), transparent), url('472646212.jpg');
  background-size: cover;
  background-position: center;
  min-height: 300px;
}

/* Styling for Service Card on Request */
.service-card--on-request {
  position: relative;
}

/* Badge for On Request */
.service-card__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--bg-light);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.service-card__phone {
  margin-top: 12px;
  font-size: 0.95rem;
}

.service-card__phone a {
  color: #8b680b; /* High-contrast bronze-gold */
  font-weight: 600;
  transition: var(--transition-fast);
}

.service-card__phone a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   ATTRACTIONS SECTION (PALERMO DETTAGLI)
   ========================================================================== */
.attractions {
  background-color: var(--bg-light);
}

.attractions__intro {
  text-align: center;
  max-width: 800px;
  margin: -30px auto 50px;
  font-size: 1.15rem;
}

/* Attractions Grid */
.attractions__tabs-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.attraction-section {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.attraction-section h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 30px;
  border-left: 4px solid var(--accent);
  padding-left: 15px;
}

.attractions-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.attraction-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 6px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.attraction-card:hover {
  border-color: var(--accent);
  background-color: var(--bg-white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.attraction-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.attraction-info {
  display: flex;
  flex-direction: column;
}

.attraction-name {
  font-size: 1.1rem;
  color: var(--primary);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 6px;
}

.attraction-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT & BOOKING SECTION
   ========================================================================== */
.contact {
  background-color: var(--bg-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

/* Left Column: Direct Contacts */
.contact__info-block {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(11, 34, 64, 0.15);
  display: flex;
  flex-direction: column;
}

.contact__info-block h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.contact__info-block p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item__icon {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 6px;
  flex-shrink: 0;
}

.contact-item__info h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-item__info p, .contact-item__info a {
  font-size: 1.05rem;
  color: var(--bg-white);
  margin: 0;
}

.contact-item__info a:hover {
  color: var(--accent);
}

/* Social Buttons */
.contact__socials {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Right Column: Form */
.contact__form-block {
  background-color: var(--bg-light);
  padding: 50px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact__form-block h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.contact__form-block h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(11, 34, 64, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230b2240' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 15px;
  display: block;
}

/* ==========================================================================
   MAP CONTAINER
   ========================================================================== */
.map-section {
  padding: 0;
  height: 450px;
  background-color: #eaeaea;
  border-top: 1px solid var(--border-color);
}

.map-container {
  width: 100%;
  height: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.1) contrast(1.05);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo img {
  height: 132px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 576px) {
  .footer__logo img {
    height: 90px;
  }
}

.footer__rights {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   LIGHTBOX (GALLERY ENLARGEMENT)
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 16, 26, 0.97);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

/* Lightbox Buttons */
.lightbox__btn {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--bg-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2010;
}

.lightbox__btn:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.lightbox__close {
  top: -60px;
  right: 0;
}

.lightbox__prev {
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   SCROLL-DRIVEN & INTERSECTION ANIMATIONS
   ========================================================================== */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scroll.visible, .slide-up-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   TESTIMONIALS SECTION (DICONO DI NOI)
   ========================================================================== */
.testimonials {
  background-color: var(--bg-light);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border-color: var(--accent);
}

.testimonial-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.testimonial-card__country {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 2px;
}

.testimonial-card__score {
  background-color: var(--primary);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card__text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-style: italic;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 992px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonial-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large Screens */
@media (max-width: 1400px) {
  .lightbox__prev { left: 20px; background-color: rgba(10, 16, 26, 0.6); }
  .lightbox__next { right: 20px; background-color: rgba(10, 16, 26, 0.6); }
  .lightbox__close { right: 20px; top: 20px; }
}

/* Desktop and Tablet */
@media (max-width: 1024px) {
  h1 { font-size: 3.2rem; }
  .section-header h2 { font-size: 2.4rem; }
  
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__image-block {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  
  .breakfast-highlight {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .breakfast-img {
    height: 300px;
  }
  
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Tablet and Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  section {
    padding: 70px 0;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
  }
  .hero__container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .hero__logo-wrapper {
    width: 160px;
  }
  .hero__content {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__title {
    font-size: 2.8rem;
  }
  .hero__sub {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }
  
  /* Navigation mobile menu */
  .nav__toggle {
    display: flex;
    position: absolute;
    right: 24px;
  }
  
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 40px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav__menu.active {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }
  
  .nav__link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }
  
  .lang-switcher {
    position: static;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 20px;
    width: 100%;
    justify-content: flex-start;
  }
  
  .lang-btn {
    font-size: 1rem;
    padding: 6px 12px;
  }
  
  /* Mobile elements adjustment */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-auto-rows: 150px;
    gap: 8px;
  }
  
  .gallery-item.wide {
    grid-column: span 2;
  }
  .gallery-item.tall {
    grid-row: span 2;
  }
  
  .services-request-grid {
    grid-template-columns: 1fr;
  }
  
  .contact__form-block {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Animation toggle hamburger */
  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* Small Screens */
@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  
  .contact__info-block {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  background: rgba(11, 34, 64, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  transform: translateY(150px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, visibility 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn--sm {
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  min-height: auto !important;
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
    padding: 16px;
  }
  
  .cookie-banner__actions {
    width: 100%;
  }
  
  .cookie-banner__actions .btn {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99; /* Higher than elements, lower than lightbox and cookies */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.back-to-top:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.back-to-top svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5px;
  fill: none;
}

/* Mobile adjust for back to top button position to avoid collisions */
@media (max-width: 576px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}
