

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid #2c5530;
  box-shadow: 0 10px 40px rgba(44, 85, 48, 0.2);
  border-radius: 16px;
  padding: 24px;
  font-family: 'Inter', Arial, sans-serif;
  color: #333;
  max-width: 600px;
  margin: 0 auto;
  animation: slideUp 0.4s ease-out;
}

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

.cookie-consent-banner .cc-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-consent-banner .cc-text {
  text-align: center;
}

.cookie-consent-banner .cc-text strong {
  display: block;
  font-size: 20px;
  color: #2c5530;
  margin-bottom: 8px;
}

.cookie-consent-banner .cc-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.cookie-consent-banner .cc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-consent-banner .cc-btn {
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cookie-consent-banner .cc-accept-all {
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
  font-size: 18px;
  padding: 16px 32px;
}

.cookie-consent-banner .cc-accept-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
}

.cookie-consent-banner .cc-accept-all span {
  font-size: 20px;
  margin-right: 8px;
}

.cookie-consent-banner .cc-manage {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
  font-size: 14px;
  padding: 10px 20px;
}

.cookie-consent-banner .cc-manage:hover {
  background: #f5f7f5;
  border-color: #999;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.cookie-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  margin: 0;
  font-size: 22px;
  color: #2c5530;
  font-family: 'Playfair Display', serif;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.cookie-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-modal-description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 24px;
}

.cookie-category {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-category-header strong {
  font-size: 16px;
  color: #333;
}

.cookie-toggle-disabled {
  background: #e5e5e5;
  color: #666;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.cookie-toggle-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

.cookie-toggle {
  display: none;
}

.cookie-toggle-slider {
  position: relative;
  width: 50px;
  height: 26px;
  background: #ccc;
  border-radius: 26px;
  transition: all 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-toggle:checked + .cookie-toggle-slider {
  background: #2c5530;
}

.cookie-toggle:checked + .cookie-toggle-slider::before {
  transform: translateX(24px);
}

.cookie-category-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

.cookie-modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal-footer .cc-save-preferences {
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: white;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-modal-footer .cc-save-preferences:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.cookie-modal-footer .cc-reject-all {
  background: transparent;
  color: #999;
  padding: 10px 20px;
  border: none;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: underline;
}

.cookie-modal-footer .cc-reject-all:hover {
  color: #666;
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    padding: 20px;
    max-width: calc(100% - 24px);
  }

  .cookie-consent-banner .cc-text strong {
    font-size: 18px;
  }

  .cookie-consent-banner .cc-text p {
    font-size: 13px;
  }

  .cookie-consent-banner .cc-accept-all {
    font-size: 16px;
    padding: 14px 24px;
  }

  .cookie-modal-content {
    max-height: 95vh;
    margin: 10px;
  }

  .cookie-modal-header h3 {
    font-size: 18px;
  }

  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cookie-toggle-label {
    flex-direction: row;
  }
}


/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

        /* Body background */
       body {
  position: relative !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  margin: 0 !important;
}

body::before {
  content: "" !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url(https://images.pexels.com/photos/9670594/pexels-photo-9670594.jpeg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: blur(2px) !important; /* <-- intensità del blur */
  z-index: -1 !important; /* manda dietro il contenuto */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #2c5530;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1e3a21;
}

  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }
        
        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1.5rem 0;
            transition: all 0.3s ease;
        }
        
        .header.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }
        
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #2c5530;
            text-decoration: none;
        }
        
        .logo img {
            height: 40px;
            margin-right: 10px;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        
        .nav-menu a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }
        
        .nav-menu a:hover {
            color: #2c5530;
        }
        
        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #2c5530;
            transition: width 0.3s ease;
        }
        
        .nav-menu a:hover::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #333;
            cursor: pointer;
        }

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Header Styles */
.header {
  /*   position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    margin-top: -50px !important;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5530;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    display: block;
}

.nav-menu a:hover {
    color: #2c5530;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2c5530, #4caf50);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(44, 85, 48, 0.1);
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5530, #4caf50);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a21, #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5530;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(128, 128, 128, 0.493), rgba(85, 84, 84, 0.4)), url('img/home/piscina-la-valle-biolino-bagnone.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.5), rgba(160, 160, 160, 0.4));
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8), 2px 2px 6px rgba(0, 0, 0, 0.9);
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 4px rgba(0, 0, 0, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2c5530, #4caf50);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.7;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 85, 48, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c5530, #4caf50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.feature-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Rooms Section */
.rooms {
    padding: 6rem 0;
    background: #f8f9fa;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.room-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.room-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-content {
    padding: 2rem;
}

.room-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.room-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.room-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.room-feature i {
    color: #2c5530;
}

/* Discover More Button */
.discover-more-container {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.btn-discover-more {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #2c5530, #4caf50);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-discover-more:hover {
    background: linear-gradient(135deg, #1e3a21, #2e7d32);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4);
}

.btn-discover-more i {
    transition: transform 0.3s ease;
}

.btn-discover-more:hover i {
    transform: translateX(5px);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.services-image:hover img {
    transform: scale(1.05);
}

.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.services-list li:hover {
    background: #e8f5e8;
    border-left-color: #2c5530;
    transform: translateX(5px);
}

.services-list i {
    color: #2c5530;
    font-size: 1.3rem;
    min-width: 20px;
}

.services-list span {
    color: #333;
    font-weight: 500;
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: #f8f9fa;
    text-align: center;
}

.map-section h2 {
    color: #2c5530;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.map-section p {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.map-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c5530, #1e3a21);
    color: white;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4caf50;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
    text-align: center;
    color: white;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4caf50;
}

/* Footer */
.footer {
    background: #1e3a21;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin: 0;
    margin-bottom: 0 !important;
}

.footer p {
    margin: 0;
    opacity: 0.8;
    color: white;
}

/* Fix per spazio bianco sotto il footer */
.footer + * {
    margin-top: 0 !important;
}

.elfsight-app-1613a0d0-b358-4be7-be72-fba89846142a {
    margin: 0 !important;
    padding: 0 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .services-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 1rem 0;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hero */
    .hero {
        background-attachment: scroll;
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Sections */
    .section {
        padding: 4rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-grid,
    .services-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid,
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-section h2 {
        font-size: 2rem;
    }
    
    .map-container {
        padding: 0 1rem;
    }

    .feature-card,
    .room-card {
        margin: 0 1rem;
    }
    
    .room-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .map-section h2 {
        font-size: 1.8rem;
    }
    
    .map-container {
        padding: 0 0.5rem;
    }

    .feature-card,
    .room-card {
        margin: 0;
    }
    
    .room-content {
        padding: 1.5rem;
    }
    
    .services-list li {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-btn,
    .cta-buttons,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
    
    .hero {
        height: auto;
        background: none;
        color: #333;
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
    
    .feature-icon {
        background: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero {
        background-attachment: scroll;
    }
}



/* viva il caoooss  */

 /* Mobile Menu Styles */
        .mobile-menu-btn {
            display: none !important;
            background: rgba(0, 0, 0, 0.8) !important;
            color: white !important;
            border: none !important;
            padding: 10px 15px !important;
            font-size: 18px !important;
            cursor: pointer !important;
            position: fixed !important;
            top: 20px !important;
            right: 20px !important;
            z-index: 1001 !important;
            border-radius: 5px !important;
            transition: background-color 0.3s ease !important;
        }
        
        .mobile-menu-btn:hover {
            background: rgba(0, 0, 0, 0.9) !important;
        }
        
        @media (max-width: 768px) {
            body {
                background-attachment: scroll !important;
            }
            
            .mobile-menu-btn {
                display: block !important;
            }
            
            .nav-menu {
                position: fixed !important;
                top: 80px !important;
                left: -100% !important;
                width: 100% !important;
                height: calc(100vh - 80px) !important;
                background: rgba(255, 255, 255, 0.98) !important;
                flex-direction: column !important;
                justify-content: flex-start !important;
                align-items: center !important;
                padding-top: 2rem !important;
                transition: left 0.3s ease !important;
                backdrop-filter: blur(10px) !important;
                z-index: 1000 !important;
                overflow-y: auto !important;
                display: flex !important;
            }
            
            .nav-menu.active {
                left: 0 !important;
            }
            
            .nav-menu li {
                margin: 0rem 0 !important;
                list-style: none !important;
            }
            
            .nav-menu a {
                font-size: 1.2rem !important;
                padding: 1rem !important;
                display: block !important;
                width: 100% !important;
                text-align: center !important;
                color: #333 !important;
                text-decoration: none !important;
            }
            
            .nav-menu a:hover {
                background: rgba(0, 0, 0, 0.1) !important;
            }
        }