main {
  padding-top: 210px;
}

.bg-caved {
  background-color: #003366;
}

.bg-caved-50 {
  background-color: rgba(0, 51, 102, 0.50) !important;
}

.border-caved-dark {
  border-color: #002b57 !important;
}

.border-caved {
  border-color: #003366 !important;
}

.footer-brandmark {
  position: relative;
  overflow: hidden;
}

.btn-caved {
  background-color: #003366 !important;
  border-color: #003366 !important;
  color: white !important;
}

.btn-caved:hover {
  background-color: rgb(50, 210, 242) !important;
  border-color: rgb(50, 210, 242) !important;
}

.btn-maps-switch:hover {
  border-color: #003366 !important;
}

.footer-brandmark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/img/svg/caved-srl-logo-stacked.svg");
  background-size: auto 700px;
  background-repeat: no-repeat;
  background-position: top left;
  transform: rotate(-10deg);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  margin-top: -10%;
  margin-left: -10%;
}

.footer-brandmark > * {
  position: relative;
  z-index: 1;
}

.text-caved {
  color: #003366 !important;
}

.bg-caved-dark {
  background-color: #002b57;
}

.text-caved-dark {
  color: #002b57 !important;
}

.fill-caved-dark {
  fill: #002b57 !important;
}

.image-wrapper {
  overflow: hidden;
}

.image-wrapper .animated-image {
  transition: transform 0.6s ease;
}

.image-wrapper .animated-image:hover {
  transform: scale(1.1);
}

.animated-image-nowrap {
  transition: transform 0.6s ease;
}

.animated-image-nowrap:hover {
  transform: scale(1.1);
}

.fraunces {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 0;
}

.map-container {
  position: relative;
  min-height: 500px;
}

.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f8f9fa;
  min-height: 500px;
  padding: 40px 20px;
  z-index: 5;
}

.map-placeholder h4 {
  color: #333;
  font-weight: 600;
}

.map-placeholder p {
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

.map-placeholder svg {
  opacity: 0.7;
}

.map-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  pointer-events: none;
}

.map-fullscreen-btn {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(5px);
  background-color: #003366 !important;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
}

.map-fullscreen-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.map-fullscreen-btn:active {
  transform: scale(0.98);
}

.map-fullscreen-btn svg {
  fill: white;
}

@media (max-width: 768px) {
  .map-fullscreen-btn {
    padding: 12px;
  }
  
  .map-overlay {
    bottom: 10px;
    right: 10px;
  }
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 3px solid #003366;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner.hide {
  transform: translateY(100%);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
}

.cookie-banner-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: white;
}

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

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cookie-banner-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: underline !important;
  font-size: 0.85rem;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

.cookie-banner-link:hover {
  color: white !important;
}

.cookie-banner-reject,
.cookie-banner-accept {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-banner-reject {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.cookie-banner-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.cookie-banner-accept {
  background-color: #003366;
  border: 1px solid #003366;
  color: white;
}

.cookie-banner-accept:hover {
  background-color: rgb(50, 210, 242);
  border-color: rgb(50, 210, 242);
  color: white;
}


/* Responsive */
@media (min-width: 576px) {  }

@media (min-width: 768px) { 

  main {
    padding-top: 195px;
  }

}

@media (max-width: 768px) {

  .cookie-banner {
    padding: 15px;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-banner-text {
    margin-bottom: 15px;
  }
  
  .cookie-banner-title {
    font-size: 1.1rem;
  }
  
  .cookie-banner-message {
    font-size: 0.85rem;
  }
  
  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-banner-link {
    order: 3;
    width: 100%;
    text-align: center;
    padding: 8px 0;
  }
  
  .cookie-banner-reject,
  .cookie-banner-accept {
    width: 100%;
    padding: 12px 20px;
  }
  
  .cookie-banner-accept {
    order: 1;
  }
  
  .cookie-banner-reject {
    order: 2;
  }
}

.carousel-item {
  height: 500px; 
  width: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.carousel-caption {
    position: absolute;
    right: 16%;
    top: 35% !important;
    left: 16%;
    bottom: auto !important;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    z-index: 2;
}

@media (min-width: 992px) { 

    main {
        padding-top: 95px;
    } 

 }

@media (min-width: 1200px) {  }

@media (min-width: 1400px) { 
  main {
        padding-top: 115px;
  }
 }