@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@300;400;500;600;700&family=Montserrat:wght@200;300;400;500;600&display=swap');

:root {
  --gold-primary: #BF953F;
  --gold-light: #FCF6BA;
  --gold-dark: #AA771C;
  --gold-accent: #D4AF37;
  --silver-primary: #C0C0C0;
  --silver-light: #E8E8E8;
  --silver-dark: #A8A8A8;
  --silver-accent: #D4D4D4;
  --bg-dark: #0A0A0A;
  --bg-darker: #080808;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-tertiary: rgba(255, 255, 255, 0.6);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: #BF953F transparent !important;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  scrollbar-width: thin;
  scrollbar-color: #BF953F transparent !important;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background-color: var(--bg-dark);
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #BF953F transparent !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant', serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-weight: 300;
}

/* Layout classes */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.h-screen {
  height: 100vh;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.overflow-hidden {
  overflow: hidden;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.md\:grid-cols-2 {
  @media (min-width: 768px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.md\:grid-cols-3 {
  @media (min-width: 768px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lg\:grid-cols-3 {
  @media (min-width: 1024px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

/* Spacing */
.p-8 {
  padding: 2rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

/* Typography */
.text-xl {
  font-size: 1.25rem;
}

.md\:text-2xl {
  @media (min-width: 768px) {
    font-size: 1.5rem;
  }
}

.text-5xl {
  font-size: 3rem;
}

.font-light {
  font-weight: 300;
}

.leading-relaxed {
  line-height: 1.625;
}

/* Colors */
.text-white\/80 {
  color: var(--text-secondary);
}

.text-white\/90 {
  color: var(--text-primary);
}

.bg-\[#0C0C0C\] {
  background-color: var(--bg-darker);
}

.bg-\[#0D0D0D\] {
  background-color: var(--bg-dark);
}

/* Background */
.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

/* Animations */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25%);
  }
}

/* Utility classes */
.fixed {
  position: fixed;
}

.w-full {
  width: 100%;
}

.z-50 {
  z-index: 50;
}

.z-40 {
  z-index: 40;
}

.z-10 {
  z-index: 10;
}

.transition-all {
  transition: all 0.3s ease;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.sm\:px-6 {
  @media (min-width: 640px) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.lg\:px-8 {
  @media (min-width: 1024px) {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.justify-between {
  justify-content: space-between;
}

.h-24 {
  height: 6rem;
}

.h-12 {
  height: 3rem;
}

.h-40 {
  height: 10rem;
}

.md\:h-56 {
  @media (min-width: 768px) {
    height: 14rem;
  }
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-4 {
  width: 1rem;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.hidden {
  display: none;
}

.md\:block {
  @media (min-width: 768px) {
    display: block;
  }
}

.md\:hidden {
  @media (min-width: 768px) {
    display: none;
  }
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-6 {
  margin-left: 1.5rem;
}

.mr-6 {
  margin-right: 1.5rem;
}

.space-x-12 > * + * {
  margin-left: 3rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.text-sm {
  font-size: 0.875rem;
}

.tracking-widest {
  letter-spacing: 0.05em;
}

.text-white {
  color: var(--text-primary);
}

.cursor-pointer {
  cursor: pointer;
}

/* Logo and Image Styles */
.logo-container {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

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

/* Hero Section Logo */
#home .logo-container img {
  max-width: 200px;
  height: auto;
}

/* Navigation Logo */
#mainNav .logo-container {
  width: auto;
  margin-left: 15px;
}

#mainNav .logo-container img {
  height: 30px;
  max-width: 100%;
}

@media (min-width: 768px) {
  #mainNav {
    background-color: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  #mainNav .logo-container {
    width: auto;
    padding: 5px 0;
  }
  
  #mainNav .flex.space-x-4 {
    display: flex !important;
  }
  
  #mainNav button {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }
  
  #mainNav button:hover {
    color: #BF953F;
  }
}

/* Footer Logo */
footer .logo-container img {
  max-width: 100px;
  height: auto;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Service Icons */
.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

/* Contact Icons */
.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

/* Responsive Image Sizes */
@media (min-width: 640px) {
  #home .logo-container img {
    max-width: 250px;
  }
  
  #mainNav .logo-container img {
    max-width: 150px;
  }
  
  footer .logo-container img {
    max-width: 120px;
  }
  
  .service-icon {
    width: 64px;
    height: 64px;
  }
  
  .contact-icon {
    width: 32px;
    height: 32px;
    margin-right: 16px;
  }
}

@media (min-width: 768px) {
  #home .logo-container img {
    max-width: 300px;
  }
  
  #mainNav .logo-container img {
    max-width: 180px;
  }
  
  footer .logo-container img {
    max-width: 140px;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
  }
}

/* Fix for Pannellum Viewer */
.panorama-viewer {
  width: 100%;
  height: 300px;
  max-width: 100%;
  overflow: hidden;
}

@media (min-width: 640px) {
  .panorama-viewer {
    height: 400px;
  }
}

@media (min-width: 768px) {
  .panorama-viewer {
    height: 500px;
  }
}

/* Gold gradient and border effects */
.gold-gradient {
  background: linear-gradient(45deg, var(--gold-primary), var(--gold-light), var(--gold-primary));
  background-size: 200% 200%;
  animation: shimmer 8s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.gold-border {
  position: relative;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
}

.gold-border::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--gold-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gold-border:hover::after {
  opacity: 1;
}

.gold-border-hover {
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  position: relative;
}

.gold-border-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--gold-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gold-border-hover:hover::before {
  opacity: 1;
}

/* Parallax and effects */
.parallax-text {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
  background-color: transparent !important;
}

::-webkit-scrollbar-track {
  background-color: transparent !important;
}

::-webkit-scrollbar-thumb {
  background-color: #BF953F !important;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Image reveal effect */
.image-reveal {
  overflow: hidden;
  position: relative;
}

@keyframes reveal {
  from {
    transform: scale(1.1);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Luxury overlay */
.luxury-overlay {
  position: relative;
}

.luxury-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.3));
  z-index: 1;
}

/* Glass effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-primary);
}

/* Pannellum viewer customization */
.pnlm-container {
  border-radius: 8px;
  overflow: hidden;
}

.pnlm-load-button {
  background: var(--gold-primary);
  color: var(--text-primary);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pnlm-load-button:hover {
  background: var(--gold-dark);
}

.pnlm-orientation-button {
  display: none;
}

.pnlm-compass {
  display: none;
}

.pnlm-zoom-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pnlm-zoom-in, .pnlm-zoom-out {
  background: var(--gold-primary);
  color: var(--text-primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pnlm-zoom-in:hover, .pnlm-zoom-out:hover {
  background: var(--gold-dark);
}

.pnlm-fullscreen-toggle-button {
  position: absolute;
  right: 20px;
  top: 20px;
  background: var(--gold-primary);
  color: var(--text-primary);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pnlm-fullscreen-toggle-button:hover {
  background: var(--gold-dark);
}

.pnlm-load-box {
  display: none;
}

.pnlm-lbar {
  display: none;
}

.pnlm-lbar-fill {
  display: none;
}

.pnlm-pointer {
  display: none;
}

.pnlm-about-msg {
  display: none;
}

.pnlm-about-msg a {
  display: none;
}

.pnlm-about-msg a:hover {
  display: none;
}

/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Focus styles */
.focus-gold {
  outline: none;
}

.focus-gold:focus {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* Group hover effects */
.group:hover .group-hover\:text-white\/90 {
  color: var(--text-primary);
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

/* Rounded corners */
.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

/* Aspect ratio */
.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Mobile menu */
#mobileMenu {
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
}

#mobileMenu button {
  color: var(--text-primary);
  transition: all 0.3s ease;
  padding: 1rem;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#mobileMenu button:hover {
  background: rgba(191, 149, 63, 0.1);
  color: var(--gold-primary);
}

/* Navigation */
#mainNav {
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  will-change: transform, background-color;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
}

#mainNav .logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#mainNav .logo-container img {
  height: 40px;
  width: auto;
}

/* Rimuovo il vecchio menu */
#mainNav .nav-buttons,
#mainNav button,
#mainNav .flex.space-x-4 {
  display: none !important;
}

/* Dot Navigation */
.dot-navigation {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.5);
  padding: 1.2rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 149, 63, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dot-navigation .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(191, 149, 63, 0.3);
  position: relative;
}

.dot-navigation .dot:hover,
.dot-navigation .dot.active {
  background: var(--gold-primary);
  transform: scale(1.2);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(191, 149, 63, 0.5);
}

.dot-navigation .dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(191, 149, 63, 0.2);
  left: -2px;
  top: -2px;
  animation: pulse 2s infinite;
}

.dot-navigation .dot.active::after {
  animation: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Nascondi dot navigation su mobile */
@media (max-width: 768px) {
  .dot-navigation {
    display: none !important;
  }
}

#mainNav.shadow-lg {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#mainNav button {
  color: var(--text-primary);
  transition: color 0.3s ease, opacity 0.3s ease;
  padding: 0.15rem 0.25rem;
  position: relative;
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  cursor: pointer;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

#mainNav button.active-nav-item {
  color: var(--gold-primary);
}

#mainNav button::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 50%;
  background-color: var(--gold-primary);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  will-change: width, transform;
}

#mainNav button:hover::after, 
#mainNav button.active-nav-item::after {
  width: 100%;
}

.hover\:text-gold:hover {
  color: var(--gold-primary) !important;
}

/* Logo Styles */
#mainNav .logo-container img {
  max-width: 12px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Hero Section */
#home {
  position: relative;
  min-height: 50vh;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  overflow: hidden;
}

#parallaxBg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  filter: brightness(0.65);
  transform-origin: center center;
  will-change: transform;
  z-index: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
  transform-style: preserve-3d;
  max-height: 80vh;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 650px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
  backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-title, .hero-subtitle {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

#home .logo-container, #hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#home .logo-container img {
  max-width: 90px;
  height: auto;
  margin: 0 auto 1.5rem auto;
  display: block;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 300;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Section Containers */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 300;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  display: none; /* Hide default underline for titles with gold-silver effect */
}

/* Service Cards */
.service-card {
  background: #090909;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(191, 149, 63, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(191, 149, 63, 0.2) 0%, transparent 60%);
  z-index: 0;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 15px rgba(191, 149, 63, 0.1);
  z-index: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.8), 0 0 10px rgba(191, 149, 63, 0.2);
  background: #080808;
}

.service-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  color: var(--gold-primary);
}

.service-title {
  font-size: var(--font-size-lg);
  font-weight: 300;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  text-align: center;
}

.service-description {
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: center;
}

/* Contact Section */
.contact-card {
  background: #090909;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(191, 149, 63, 0.5);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(191, 149, 63, 0.2) 0%, transparent 60%);
  z-index: 0;
}

.contact-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 15px rgba(191, 149, 63, 0.1);
  z-index: 0;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  background: #080808;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.8), 0 0 10px rgba(191, 149, 63, 0.2);
}

.contact-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  color: var(--gold-primary);
}

.contact-link {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0.5rem 0;
  font-size: var(--font-size-sm);
}

.contact-link:hover {
  color: var(--gold-primary);
  transform: translateX(5px);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1rem 0 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.gallery-item .image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-item .image-before,
.gallery-item .image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.gallery-item .image-before {
  opacity: 0;
}

.gallery-item.show-before .image-before {
  opacity: 1;
}

.gallery-item.show-before .image-after {
  opacity: 0;
}

.before-after-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(191, 149, 63, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.before-after-btn:hover {
  background: rgba(191, 149, 63, 1);
  transform: scale(1.1);
}

.before-after-btn svg {
  width: 16px;
  height: 16px;
}

/* Modifica anche il badge di indicazione "Prima" per renderlo più visibile */
.before-after-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.show-before .before-after-badge {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Rimuovo l'effetto di zoom al passaggio del mouse */
/*.gallery-item:hover img {
  transform: scale(1.05);
}*/

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: var(--font-size-base);
}

/* Footer */
footer {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(191, 149, 63, 0.1);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 1rem;
}

.footer-logo img {
  max-width: 60px;
  height: auto;
}

.footer-text {
  color: var(--text-secondary);
  font-size: var(--font-size-xs);
}

/* Animations */
.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

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

.duration-800 {
  transition-duration: 800ms;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.translate-y-4 {
  transform: translateY(1rem);
}

.translate-y-0 {
  transform: translateY(0);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive adjustments */
@media (min-width: 640px) {
  #mainNav .logo-container img {
    max-width: 14px;
  }
  
  #mainNav button {
    font-size: 0.6rem;
  }

  .hero-title {
    font-size: calc(var(--font-size-3xl) * 1.1);
  }

  .hero-subtitle {
    font-size: calc(var(--font-size-lg) * 1.1);
  }

  #home .logo-container img {
    max-width: 100px;
  }

  .section-container {
    padding: 4rem 1.5rem;
  }

  .section-title {
    font-size: calc(var(--font-size-2xl) * 1.1);
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 768px) {
  #mainNav .logo-container img {
    max-width: 16px;
  }
  
  #mainNav button {
    font-size: 0.65rem;
  }

  .hero-title {
    margin-bottom: 1.5rem;
  }

  #home .logo-container, #hero-logo {
    margin-top: 6rem;
    margin-bottom: 2.5rem;
  }

  .section-container {
    padding: 8rem 2rem;
  }

  .section-title {
    font-size: calc(var(--font-size-2xl) * 1.2);
    margin-bottom: 2.5rem;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .service-card, .contact-card {
    padding: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
  }

  .hero-content {
    transform: translateY(2rem);
    padding-top: 3rem;
    background-color: transparent;
    padding: 2rem;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: calc(var(--font-size-3xl) * 1.4);
  }

  .hero-subtitle {
    font-size: calc(var(--font-size-lg) * 1.3);
  }

  #home .logo-container img {
    max-width: 140px;
  }

  .section-container {
    padding: 6rem 2rem;
  }

  .section-title {
    font-size: calc(var(--font-size-2xl) * 1.3);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile menu */
#mobileMenu {
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
}

#mobileMenu button {
  color: var(--text-primary);
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  background: transparent;
}

#mobileMenu button:hover {
  background: rgba(191, 149, 63, 0.1);
  color: var(--gold-primary);
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Print styles */
@media print {
  body {
    background: white;
    color: black;
  }

  .gold-gradient {
    background: none;
    color: black;
  }

  .gold-border,
  .gold-border-hover {
    border: 1px solid black;
  }

  .luxury-overlay {
    display: none;
  }

  #mainNav,
  #mobileMenu,
  .hover-lift,
  .animate-float,
  .animate-bounce {
    display: none;
  }
}

/* Responsive Spacing */
.sm\:py-4 {
  @media (min-width: 640px) {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.sm\:py-8 {
  @media (min-width: 640px) {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.sm\:py-12 {
  @media (min-width: 640px) {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.sm\:py-32 {
  @media (min-width: 640px) {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.sm\:mb-6 {
  @media (min-width: 640px) {
    margin-bottom: 1.5rem;
  }
}

.sm\:mb-8 {
  @media (min-width: 640px) {
    margin-bottom: 2rem;
  }
}

.sm\:mb-12 {
  @media (min-width: 640px) {
    margin-bottom: 3rem;
  }
}

.sm\:mb-20 {
  @media (min-width: 640px) {
    margin-bottom: 5rem;
  }
}

/* Responsive Typography */
.sm\:text-lg {
  @media (min-width: 640px) {
    font-size: 1.125rem;
  }
}

.sm\:text-xl {
  @media (min-width: 640px) {
    font-size: 1.25rem;
  }
}

.sm\:text-2xl {
  @media (min-width: 640px) {
    font-size: 1.5rem;
  }
}

.sm\:text-4xl {
  @media (min-width: 640px) {
    font-size: 2.25rem;
  }
}

.sm\:text-5xl {
  @media (min-width: 640px) {
    font-size: 3rem;
  }
}

/* Responsive Grid */
.sm\:grid-cols-2 {
  @media (min-width: 640px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sm\:gap-6 {
  @media (min-width: 640px) {
    gap: 1.5rem;
  }
}

.sm\:gap-8 {
  @media (min-width: 640px) {
    gap: 2rem;
  }
}

/* Responsive Layout */
.sm\:space-y-6 {
  @media (min-width: 640px) {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.sm\:space-y-8 {
  @media (min-width: 640px) {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

.sm\:space-x-8 {
  @media (min-width: 640px) {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

/* Responsive Icons */
.sm\:w-5 {
  @media (min-width: 640px) {
    width: 1.25rem;
  }
}

.sm\:h-5 {
  @media (min-width: 640px) {
    height: 1.25rem;
  }
}

.sm\:w-6 {
  @media (min-width: 640px) {
    width: 1.5rem;
  }
}

.sm\:h-6 {
  @media (min-width: 640px) {
    height: 1.5rem;
  }
}

.sm\:w-8 {
  @media (min-width: 640px) {
    width: 2rem;
  }
}

.sm\:h-8 {
  @media (min-width: 640px) {
    height: 2rem;
  }
}

/* Responsive Margins */
.sm\:mr-4 {
  @media (min-width: 640px) {
    margin-right: 1rem;
  }
}

.sm\:mr-6 {
  @media (min-width: 640px) {
    margin-right: 1.5rem;
  }
}

.sm\:ml-8 {
  @media (min-width: 640px) {
    margin-left: 2rem;
  }
}

.sm\:ml-12 {
  @media (min-width: 640px) {
    margin-left: 3rem;
  }
}

/* Responsive Flex */
.sm\:flex-row {
  @media (min-width: 640px) {
    flex-direction: row;
  }
}

.sm\:items-center {
  @media (min-width: 640px) {
    align-items: center;
  }
}

/* Responsive Visibility */
.sm\:block {
  @media (min-width: 640px) {
    display: block;
  }
}

.sm\:hidden {
  @media (min-width: 640px) {
    display: none;
  }
}

/* Responsive Text Colors */
.sm\:text-white\/80 {
  @media (min-width: 640px) {
    color: rgba(255, 255, 255, 0.8);
  }
}

.sm\:text-white\/90 {
  @media (min-width: 640px) {
    color: rgba(255, 255, 255, 0.9);
  }
}

/* Responsive Background Colors */
.sm\:bg-\[#0D0D0D\] {
  @media (min-width: 640px) {
    background-color: #0D0D0D;
  }
}

/* Responsive Transitions */
.sm\:transition-all {
  @media (min-width: 640px) {
    transition-property: all;
  }
}

.sm\:duration-300 {
  @media (min-width: 640px) {
    transition-duration: 300ms;
  }
}

.sm\:duration-500 {
  @media (min-width: 640px) {
    transition-duration: 500ms;
  }
}

/* Responsive Hover Effects */
.sm\:hover\:bg-\[#0A0A0A\]\/90:hover {
  @media (min-width: 640px) {
    background-color: rgba(10, 10, 10, 0.9);
  }
}

.sm\:hover\:text-white:hover {
  @media (min-width: 640px) {
    color: white;
  }
}

/* Responsive Focus States */
.sm\:focus-gold:focus {
  @media (min-width: 640px) {
    outline: none;
    box-shadow: 0 0 0 2px var(--gold-primary);
  }
}

/* Responsive Backdrop Blur */
.sm\:backdrop-blur-md {
  @media (min-width: 640px) {
    backdrop-filter: blur(12px);
  }
}

.sm\:backdrop-blur-lg {
  @media (min-width: 640px) {
    backdrop-filter: blur(16px);
  }
}

/* Print Styles */
@media print {
  body {
    background-color: white;
    color: black;
  }

  .gold-gradient {
    background: none;
    color: black;
  }

  .gold-border,
  .gold-border-hover {
    border: 1px solid black;
  }

  .luxury-overlay {
    display: none;
  }

  #mainNav,
  #mobileMenu,
  .hover-lift,
  .animate-float,
  .animate-bounce {
    display: none;
  }
}

/* Responsive adjustments */
@media (min-width: 640px) {
  #mainNav .logo-container img {
    max-width: 50px;
  }
  
  #mainNav button {
    font-size: 0.6rem;
  }
}

@media (min-width: 768px) {
  #mainNav .logo-container img {
    max-width: 60px;
  }
  
  #mainNav button {
    font-size: 0.65rem;
  }
}

/* Gold-Silver Gradient Effect */
.gold-silver-title {
  background: linear-gradient(
    45deg, 
    #916f1a 0%,
    #a57e1e 5%, 
    #c1952a 10%, 
    #d4af37 15%,
    #e6c235 20%, 
    #f8e484 25%, 
    #ffeca0 30%,
    #fffdf0 35%, 
    #ffeca0 40%, 
    #f8e484 45%,
    #e6c235 50%,  
    #d4af37 55%, 
    #c1952a 60%, 
    #d4af37 65%, 
    #e6c235 70%, 
    #f8e484 75%,
    #ffeca0 80%,
    #e6c235 85%,
    #d4af37 90%,
    #c1952a 95%, 
    #916f1a 100%
  );
  background-size: 400% 400%;
  animation: shimmerGoldSilver 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

@keyframes shimmerGoldSilver {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gold-silver-title::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 2px;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg, 
    #916f1a 0%,
    #a57e1e 5%,
    #c1952a 10%,
    #d4af37 15%,
    #e6c235 25%,
    #f8e484 35%,
    #ffeca0 45%,
    #fffdf0 50%,
    #ffeca0 55%,
    #f8e484 65%,
    #e6c235 75%,
    #d4af37 85%,
    #c1952a 90%,
    #916f1a 100%
  );
  animation: shimmerLine 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  background-size: 400% 100%;
  box-shadow: 0 0 8px rgba(244, 215, 98, 0.5);
}

@keyframes shimmerLine {
  0% {
    background-position: 0% 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

/* Gallery Slider */
.gallery-slider, .panorama-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.gallery-track, .panorama-track {
  display: flex;
  transition: transform 0.5s ease;
  touch-action: pan-x;
}

.gallery-item {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  height: auto;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .gallery-item {
    flex: 0 0 calc(50% - 0.5rem);
    margin-right: 1rem;
  }
  
  .gallery-item:last-child {
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .gallery-item {
    flex: 0 0 calc(33.333% - 0.667rem);
  }
}

.panorama-item {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-right: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.panorama-item:last-child {
  margin-right: 0;
}

@media (min-width: 768px) {
  .panorama-item {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (min-width: 1024px) {
  .panorama-item {
    flex: 0 0 calc(33.333% - 0.667rem);
  }
}

.gallery-controls, .panorama-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
}

.gallery-prev, .gallery-next, .panorama-prev, .panorama-next {
  background: rgba(10, 10, 10, 0.7);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.gallery-prev:hover, .gallery-next:hover, .panorama-prev:hover, .panorama-next:hover {
  background: rgba(191, 149, 63, 0.8);
}

/* Panorama Viewer */
.panorama-viewer {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .panorama-viewer {
    height: 400px;
  }
}

@media (min-width: 1024px) {
  .panorama-viewer {
    height: 500px;
  }
}

/* Stili specifiche per il form di contatto */
#contactForm input, 
#contactForm textarea {
  background-color: rgba(191, 149, 63, 0.2) !important;
  border: 1px solid rgba(191, 149, 63, 0.3) !important;
  color: white !important;
}

#contactForm input::placeholder, 
#contactForm textarea::placeholder {
  color: rgba(191, 149, 63, 0.7) !important;
}

#contactForm button[type="submit"] {
  background-color: #BF953F !important;
  color: black !important;
  font-weight: bold !important;
}

#contactForm button[type="submit"]:hover {
  background-color: #FCF6BA !important; 
  color: #333333 !important;
}

/* CSS per gestire il menu correttamente su mobile e desktop */
@media (max-width: 768px) {
  /* Assicuriamo che il contenuto principale non abbia margini superiori eccessivi */
  body {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 60px !important; /* Spazio per il footer */
  }
  
  #home {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Nascondi topbar su mobile */
  #mainNav, 
  .top-bar, 
  header:not(.hero-content),
  nav:first-child, 
  .top-bar,
  .navigation-top, 
  .site-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
    z-index: -999 !important;
  }

  /* Garantisci che il logo centrale nella home sia visibile ma più piccolo */
  #home .logo-container,
  #hero-logo,
  .hero-content .logo-container,
  body .logo-container,
  .hero-content img,
  #home img.logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 auto 1rem auto !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }

  #home .logo-container img,
  #hero-logo img,
  .hero-content .logo-container img,
  body .logo-container img,
  .hero-content img.logo,
  #home img.logo,
  img[alt*="logo"],
  img[src*="logo"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 60% !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
  }
  
  /* Assicurati che il footer sia visibile su mobile */
  #main-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    background-color: black !important;
    padding: 12px 0 !important; /* Ridotto da 16px a 12px */
    border-top: 1px solid rgba(191, 149, 63, 0.3) !important;
  }
  
  /* Rendi i pulsanti Impressum e Datenschutz più visibili */
  #main-footer button {
    color: rgba(191, 149, 63, 0.8) !important; /* Colore oro più visibile */
    font-size: 12px !important;
    padding: 5px !important;
    margin: 0 5px !important;
  }

  /* Correggi i modali per mobile */
  #impressumContainer, #datenschutzContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  #impressumContainer .min-h-screen, #datenschutzContainer .min-h-screen {
    min-height: auto !important;
    padding-top: 1rem !important;
    padding-bottom: 5rem !important; /* Spazio per scorrere oltre il footer */
  }
  
  #impressumContainer .transform, #datenschutzContainer .transform {
    max-height: 80vh !important;
    margin: 0.5rem auto !important;
    width: 92% !important;
    padding: 1.5rem !important;
    overflow-y: auto !important;
  }
  
  #impressumContainer button, #datenschutzContainer button {
    top: 10px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(25, 25, 25, 0.95) !important;
    border: 1px solid rgba(191, 149, 63, 0.8) !important;
    border-radius: 5px !important;
    z-index: 9999 !important; /* Assicura che sia sopra tutto */
    position: fixed !important; /* Mantiene il pulsante sempre visibile */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Migliorare la leggibilità del sottotitolo hero su mobile */
  .hero-subtitle {
    font-size: 1.3rem !important;
    color: rgba(255, 255, 255, 1) !important; /* Bianco puro invece dell'effetto oro */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important; /* Ombra più marcata */
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.02em !important;
    padding: 0.25rem 0.5rem !important;
    background-color: rgba(0, 0, 0, 0.5) !important; /* Sfondo scuro leggermente più opaco */
    display: inline-block !important;
    border-radius: 4px !important;
    margin: 0 auto 1.5rem auto !important;
  }

  /* Cambio da effetto oro a bianco puro */
  .hero-subtitle.gold-effect,
  .hero-title.gold-effect {
    background: none !important; /* Rimuove il gradiente oro */
    color: #FFFFFF !important; /* Bianco puro */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important; /* Ombra più marcata */
    font-weight: 500 !important;
  }
  
  /* Migliorare anche il titolo hero su mobile */
  .hero-title {
    font-size: 2.2rem !important;
    color: #FFFFFF !important; /* Bianco puro */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    padding: 0.25rem 0.5rem !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: inline-block !important;
    border-radius: 4px !important;
    margin-bottom: 1rem !important;
  }

  /* Mouse scroll per versione mobile - corretto posizionamento */
  .scroll-icon-container {
    bottom: 5rem !important; /* Ridotto per essere più visibile */
    z-index: 999 !important; /* Aumentato ulteriormente per mobile */
    position: fixed !important; 
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
  
  .scroll-mouse {
    width: 24px !important;
    height: 36px !important;
    border-width: 2px !important;
  }
  
  .scroll-mouse:before {
    width: 4px !important;
    height: 7px !important;
  }
  
  .scroll-text {
    font-size: 11px !important;
    margin-top: 6px !important;
  }

  /* Assicurati che i testi siano centrati */
  .hero-title, .hero-subtitle {
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Assicurati che l'indicatore di scroll sia centrato */
  .hero-scroll-icon {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Stile per il pulsante menu su mobile */
@media (min-width: 768px) {
  #mobileMenuButton,
  .mobile-menu-button,
  button[aria-label="Menu"],
  .hamburger-menu,
  .hamburger-icon {
    display: none;
    visibility: hidden;
  }
}

/* Ripristino stili modali */
#impressumContainer, #datenschutzContainer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35, 35, 35, 0.97);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

#impressumContainer .transform, #datenschutzContainer .transform {
  background: linear-gradient(155deg, rgba(45, 45, 45, 0.95), rgba(35, 35, 35, 0.98));
  border: 2px solid #BF953F;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  padding: 1.8rem;
  position: relative;
  margin: 1rem auto;
  max-height: 90vh;
  box-shadow: 0 0 20px rgba(191, 149, 63, 0.25);
  overflow: hidden;
}

#impressumContainer h3, #datenschutzContainer h3 {
  font-size: 25px;
  color: #BF953F;
  font-weight: 300;
  text-shadow: 0 0 10px rgba(191, 149, 63, 0.15);
}

#impressumContainer h4, #datenschutzContainer h4 {
  color: #BF953F;
  font-size: 16px;
  margin-bottom: 8px;
}

#impressumContainer p, #datenschutzContainer p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

#impressumContainer button, #datenschutzContainer button {
  color: #BF953F;
  transition: all 0.3s ease;
  background-color: rgba(38, 38, 38, 0.9);
  border: 1px solid #BF953F;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  border-radius: 3px;
  cursor: pointer;
}

/* Stili migliorati per Pannellum */
.panorama-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.panorama-track {
  display: flex;
  transition: transform 0.5s ease;
  padding: 0;
  margin: 0;
  width: 100%;
}

.panorama-track::-webkit-scrollbar {
  height: 6px;
}

.panorama-track::-webkit-scrollbar-track {
  background: rgba(30, 30, 30, 0.5);
  border-radius: 10px;
}

.panorama-track::-webkit-scrollbar-thumb {
  background: rgba(191, 149, 63, 0.5);
  border-radius: 10px;
}

.panorama-track::-webkit-scrollbar-thumb:hover {
  background: rgba(191, 149, 63, 0.8);
}

.panorama-item {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-right: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .panorama-item {
    flex: 0 0 calc(50% - 0.5rem);
  }
  
  .panorama-item:last-child {
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .panorama-item {
    flex: 0 0 calc(33.333% - 0.667rem);
  }
}

.panorama-item p {
  text-align: center;
  margin-top: 10px;
  color: #BF953F;
  font-size: 16px;
  font-weight: 300;
}

.panorama-viewer {
  width: 100%;
  height: 250px;
  transition: all 0.3s ease;
  cursor: grab;
  border: 2px solid rgba(191, 149, 63, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.panorama-viewer:active {
  cursor: grabbing;
}

@media (min-width: 768px) {
  .panorama-viewer {
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .panorama-viewer {
    height: 350px;
  }
}

.panorama-prev, .panorama-next {
  background: rgba(10, 10, 10, 0.7);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.panorama-prev {
  left: 10px;
}

.panorama-next {
  right: 10px;
}

.panorama-prev:hover, .panorama-next:hover {
  background: rgba(191, 149, 63, 0.8);
}

/* Personalizzazione dei controlli Pannellum */
.pnlm-controls-container {
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 4px !important;
  padding: 5px !important;
}

.pnlm-zoom-controls {
  padding: 4px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 4px !important;
}

.pnlm-zoom-in, .pnlm-zoom-out {
  background-color: rgba(191, 149, 63, 0.6) !important;
  color: white !important;
}

.pnlm-fullscreen-toggle-button {
  background-color: rgba(191, 149, 63, 0.6) !important;
}

.pnlm-load-button {
  background-color: rgba(191, 149, 63, 0.8) !important;
  color: white !important;
}

/* Mouse Scroll Icon - versione desktop */
.scroll-icon-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: -999 !important;
}

.scroll-mouse {
  width: 28px !important;
  height: 44px !important;
  border: 2px solid #BF953F !important;
  border-radius: 20px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  box-shadow: 0 0 10px rgba(191, 149, 63, 0.4) !important;
}

.scroll-mouse:before {
  content: '' !important;
  width: 5px !important;
  height: 9px !important;
  background: #BF953F !important;
  margin-top: 6px !important;
  border-radius: 4px !important;
  animation: scroll-down 2s infinite !important;
  box-shadow: 0 0 6px rgba(191, 149, 63, 0.6) !important;
}

.scroll-text {
  color: #BF953F !important;
  font-size: 12px !important;
  margin-top: 8px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-weight: 300 !important;
  text-shadow: 0 0 5px rgba(191, 149, 63, 0.5) !important;
}

@keyframes scroll-down {
  0% {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  50% {
    transform: translateY(12px) !important;
    opacity: 0.3 !important;
  }
  100% {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}

/* Mouse Scroll Icon integrato nella hero section */
.hero-scroll-icon {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 16rem;
  margin-bottom: 3rem;
  animation: bounce 2s infinite;
}

.hero-scroll-icon .scroll-mouse {
  width: 36px;
  height: 60px;
  border: 3px solid #BF953F;
  border-radius: 25px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  box-shadow: 0 0 15px rgba(191, 149, 63, 0.7);
}

.hero-scroll-icon .scroll-mouse:before {
  content: '';
  width: 6px;
  height: 10px;
  background: #BF953F;
  margin-top: 8px;
  border-radius: 4px;
  animation: scroll-down 1.5s infinite;
  box-shadow: 0 0 10px rgba(191, 149, 63, 0.8);
}

.hero-scroll-icon .scroll-text {
  color: #BF953F;
  font-size: 14px;
  margin-top: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(191, 149, 63, 0.7);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes scroll-down {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(18px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-scroll-icon {
    margin-top: 0.8rem;
    animation: bounce 2s infinite;
  }
  
  .hero-scroll-icon .scroll-mouse {
    width: 28px;
    height: 45px;
    border-width: 2.5px;
  }
  
  .hero-scroll-icon .scroll-mouse:before {
    width: 5px;
    height: 8px;
  }
  
  .hero-scroll-icon .scroll-text {
    font-size: 12px;
    margin-top: 8px;
    font-weight: 500;
  }
}

.zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(191, 149, 63, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.zoom-btn:hover,
.zoom-btn:active {
  background: rgba(191, 149, 63, 1);
  transform: scale(1.1);
}

.zoom-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .zoom-btn,
  .before-after-btn {
    width: 40px !important;
    height: 40px !important;
  }
  
  .zoom-btn svg,
  .before-after-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  /* Nascondi completamente il pulsante di zoom su mobile */
  .zoom-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  .modal-image-container {
    touch-action: pan-x !important; /* Consenti solo lo scrolling orizzontale */
  }
}

/* Modale per visualizzazione immagini */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  z-index: 1000 !important; /* Assicura che sia sopra tutto il resto */
}

.modal-content {
  position: relative;
  width: 840px; /* 800px + 20px di padding su ogni lato */
  height: 640px; /* 600px + 20px di padding su ogni lato */
  max-width: 90%;
  max-height: 90vh;
  padding: 0;
  margin: 0 auto;
  border: 2px solid #BF953F;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.95);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(191, 149, 63, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  background: #121212;
  border: none;
  margin: 0;
  border-radius: 8px;
}

.modal-before-image,
.modal-after-image {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: 8px;
  transition: opacity 0.5s ease;
  touch-action: pan-x !important;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #BF953F;
  border: 2px solid #BF953F;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  z-index: 100;
}

.modal-close:hover {
  background-color: rgba(191, 149, 63, 0.3);
  transform: scale(1.1);
}

.modal-btn,
.before-after-modal-btn,
.modal-close {
  position: absolute;
  z-index: 100;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #BF953F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BF953F;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-prev {
  left: 20px;
  bottom: 20px;
  transform: none;
}

.modal-next {
  right: 20px;
  bottom: 20px;
  transform: none;
}

.before-after-modal-btn {
  left: 20px;
  top: 15px;
  transform: none;
}

.before-after-modal-btn:hover {
  background: rgba(191, 149, 63, 0.3);
  transform: scale(1.1);
}

.modal-prev:hover, .modal-next:hover {
  background: rgba(191, 149, 63, 0.3);
  transform: scale(1.1);
}

.modal-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 10;
}

.modal-toggle-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #BF953F;
  border: 1px solid #BF953F;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-toggle-btn:hover {
  background: rgba(191, 149, 63, 0.3);
}

/* Versione mobile del modale */
@media (max-width: 768px) {
  .image-modal {
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  
  .modal-content {
    width: 92%;
    max-width: 92%;
    height: 85vh; /* Aumentato leggermente l'altezza */
    margin: auto;
    border: 1px solid #BF953F;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    aspect-ratio: unset; /* Rimuove il vincolo di aspect ratio */
    position: relative;
  }
  
  .modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #121212;
    -webkit-overflow-scrolling: touch; /* Garantisce uno scrolling fluido su iOS */
    user-select: none; /* Impedisce selezione di testo */
    -webkit-user-select: none;
  }
  
  .modal-before-image,
  .modal-after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 180%; /* Immagine più larga per permettere scrolling completo */
    height: 100%;
    object-fit: cover;
    transform: translateX(0); /* Inizialmente mostra la parte sinistra */
    transition: transform 0.2s ease-out;
  }
  
  /* Pulsanti del modale su mobile */
  .modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    z-index: 102;
  }
  
  /* Controlli riposizionati per il layout verticale */
  .modal-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 102;
  }
  
  .modal-prev,
  .modal-next {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
  }
  
  /* Posizione fissa per il pulsante toggle in basso al centro */
  .modal-toggle-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    padding: 5px 12px;
    white-space: nowrap;
    z-index: 102;
  }
  
  /* Visualizzatore ottimizzato per mobile */
  .before-after-modal-btn {
    left: 10px;
    top: 10px;
    transform: none;
    z-index: 102;
  }
  
  /* Indicatore di swipe per la galleria mobile */
  .modal-swipe-indicator {
    position: absolute;
    top: 40%; /* Più in alto rispetto al centro */
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #BF953F;
    color: #BF953F;
    z-index: 101;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }
  
  .modal-swipe-indicator.active {
    opacity: 0.9;
    animation: fade-out 3s forwards;
  }
  
  @keyframes fade-out {
    0%, 70% { opacity: 0.9; }
    100% { opacity: 0; }
  }
  
  .swipe-icon {
    margin-right: 8px;
  }
  
  .swipe-text {
    font-size: 14px;
    white-space: nowrap;
  }
  
  /* Tooltip per i pulsanti */
  .modal-btn-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #BF953F;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(191, 149, 63, 0.5);
  }
  
  .before-after-modal-btn:hover .modal-btn-tooltip {
    opacity: 1;
  }
  
  /* Indicatore di posizione per lo scrolling spostato più in basso */
  .scroll-position-indicator {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 101;
    pointer-events: none;
  }
  
  .scroll-position-bar {
    width: 60%;
    height: 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    overflow: hidden;
  }
  
  .scroll-position-handle {
    height: 100%;
    width: 33.33%; /* Inizialmente 1/3 della larghezza */
    background: #BF953F;
    border-radius: 2px;
    transition: transform 0.1s ease-out;
  }
  
  /* Aumenta il tap target per i controlli su mobile */
  .zoom-btn,
  .before-after-btn,
  .modal-prev,
  .modal-next,
  .modal-close,
  .before-after-modal-btn {
    width: 40px !important;
    height: 40px !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .zoom-btn svg,
  .before-after-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Stile per il video-loader */
.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 5;
  border-radius: 8px;
  backdrop-filter: blur(2px);
}

.video-loader .spinner {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-loader .spinner::before,
.video-loader .spinner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.video-loader .spinner::before {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(191, 149, 63, 0.2) 0%, rgba(191, 149, 63, 0) 70%);
  animation: pulse 1.5s ease-in-out infinite;
}

.video-loader .spinner::after {
  width: 12px;
  height: 12px;
  background-color: #BF953F;
  box-shadow: 0 0 10px 2px rgba(191, 149, 63, 0.5);
  animation: orbit 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(12px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(12px) rotate(-360deg);
  }
}

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1/1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: #0a0a0a;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.video-container.paused video {
  opacity: 0.5;
}

.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 5;
  border-radius: 8px;
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}

.video-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Stili per i pulsanti di controllo video */
.video-controls {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 10;
}

.video-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(191, 149, 63, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.video-btn:hover {
  background-color: rgba(191, 149, 63, 1);
  transform: scale(1.1);
}

.video-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gestione visibilità dei pulsanti */
.video-btn.hidden {
  display: none;
}

/* Overlay scuro quando il video è in pausa */
.video-paused-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(191, 149, 63, 0.5));
}

.video-container.paused .video-paused-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .video-controls {
    bottom: 10px;
  }
  
  .video-btn {
    width: 40px;
    height: 40px;
  }
  
  .video-btn svg {
    width: 20px;
    height: 20px;
  }
  
  /* Dimensioni ridotte del logo su mobile */
  .video-logo {
    width: 80px;
    height: 80px;
  }
}

.video-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  z-index: 10;
}

.video-error p {
  margin: 10px 0;
  font-size: 1.2em;
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 2rem;
}

.top-bar .logo {
  height: 40px;
  width: auto;
}

/* Dot Navigation */
.dot-navigation {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.5);
  padding: 1.2rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 149, 63, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dot-navigation .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(191, 149, 63, 0.3);
  position: relative;
}

.dot-navigation .dot:hover,
.dot-navigation .dot.active {
  background: var(--gold-primary);
  transform: scale(1.2);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(191, 149, 63, 0.5);
}

.dot-navigation .dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(191, 149, 63, 0.2);
  left: -2px;
  top: -2px;
  animation: pulse 2s infinite;
}

.dot-navigation .dot.active::after {
  animation: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Nascondi dot navigation su mobile */
@media (max-width: 768px) {
  .dot-navigation {
    display: none !important;
  }
}

/* Mobile Menu Button */
.menu-button {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0 1rem;
  }
  
  .dot-navigation {
    display: none;
  }
  
  .menu-button {
    display: block;
  }
}