
@font-face {
  font-family: "Costa Std Demi";
  /* Mantém seu padrão atual, mas adiciona fallback relativo caso você use /fonts */
  src:
    url("/Costa_Std.otf") format("opentype"),
    url("../fonts/Costa_Std.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-main), var(--font-fallback);
}


:root {
  --azul-brand: #0072bc;
  --azul-navy: #003c7e;
  --dourado-shalimar: #a38b5d;

  --branco: #ffffff;
  --cinza-texto: #4a4a4a;
  --cinza-claro: #f4f7fe;
  --cinza-medio: #e0e5f2;
  --preto-suave: #1a1a1a;

  --sombra-suave: 0 8px 25px rgba(0, 60, 126, 0.06);
  --sombra-media: 0 12px 35px rgba(0, 60, 126, 0.10);
  --sombra-hover: 0 18px 45px rgba(0, 60, 126, 0.18);

  --radius-card: 18px;
  --radius-btn: 50px;

  --transicao: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

  --font-main: "Costa Std Demi", "Convergence", sans-serif;
  --font-fallback: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.details-header {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--branco);
  animation: fadeIn 1.5s ease;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 60, 126, 0.6);
  z-index: -1;
}

.header-content-details {
  z-index: 1;
  padding: 20px;
}

.tag-header {
  display: inline-block;
  background-color: var(--azul-brand);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.header-content-details h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 10px;
  font-family: var(--font-main);
}

.subtitle-header {
  font-size: 1.2rem;
  opacity: 0.9;
}

.main-details-container {
  max-width: 1200px;
  margin: -50px auto 50px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
  animation: fadeInUp 1.2s ease;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--branco);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--sombra-media);
}

.details-image {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  animation: fadeIn 1.5s ease;
}

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

.details-image:hover img {
  transform: scale(1.03);
}

.details-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-header h2 {
  color: var(--azul-navy);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.divider {
  width: 60px;
  height: 4px;
  background-color: var(--dourado-shalimar);
  margin-bottom: 25px;
}

.description-text {
  font-size: 1.1rem;
  color: var(--cinza-texto);
  line-height: 1.8;
  margin-bottom: 30px;
}

.benefits-list {
  list-style: none;
  margin-bottom: 30px;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--azul-navy);
  font-weight: 500;
}

.benefits-list li img {
  width: 20px;
  margin-right: 10px;
}

.action-area {
  background-color: var(--cinza-claro);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.call-to-action {
  font-weight: bold;
  color: var(--azul-navy);
  margin-bottom: 15px;
}

.btn-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dourado-shalimar);
  color: var(--branco);
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s;
  width: 100%;
  max-width: 300px;
  border: none;
  cursor: pointer;
}

.btn-reserve:hover {
  background-color: #8f7749;
  transform: translateY(-2px);
}

.btn-reserve img {
  width: 24px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.action-area small {
  display: block;
  margin-top: 10px;
  color: #999;
  font-size: 0.8rem;
}

.see-more-section {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.see-more-section h3 {
  color: var(--azul-navy);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.more-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.more-item-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  background: var(--cinza-medio);
  transition: transform 0.3s, box-shadow 0.3s;
}

.more-item-card .card-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.more-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}

.more-item-card span {
  display: block;
  padding: 15px;
  font-weight: bold;
  color: var(--azul-navy);
  background-color: var(--branco);
  text-align: center;
  font-size: 1rem;
}

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

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

@media (max-width: 768px) {
  .header-content-details h1 {
    font-size: 2.5rem;
  }

  .main-details-container {
    margin-top: 0;
    padding: 20px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .details-image {
    min-height: 250px;
  }

  .btn-reserve {
    font-size: 1rem;
    padding: 12px 20px;
  }
}


/* Modal Base */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
      font-family: var(--font-main), var(--font-fallback);
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    box-shadow: var(--sombra-media);
}

.modal-content h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--azul-navy);
}

/* Fechar (X) */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--cinza-texto);
      font-family: var(--font-main), var(--font-fallback);
}

/* Inputs */
.modal-content input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--cinza-medio);
    border-radius: 8px;
    font-size: 1rem;
      font-family: var(--font-main), var(--font-fallback);
}

.form-row {
    display: flex;
    gap: 10px;
}

/* Botões */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit {
    background-color: var(--dourado-shalimar);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: #8a734a;
}

.btn-outline {
    background: transparent;
    color: var(--azul-brand);
    border: 2px solid var(--azul-brand);
    padding: 10px 20px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--azul-brand);
    color: white;
}

/* Animação */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}



/* Pulse effect */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(163, 139, 93, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(163, 139, 93, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(163, 139, 93, 0);
    }
}

.btn-reserve {
    animation: pulse 2s infinite;
}


.more-item-card {
    position: relative;
    height: 220px; /* Aumentado */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.more-item-card .card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.more-item-card:hover .card-img {
    transform: scale(1.05);
}

.more-item-card span {
    position: relative;
    z-index: 2;
    color: var(--branco);
    padding: 18px;
    font-weight: bold;
    font-size: 1.1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    width: 100%;
}


/* --- Localidades e distâncias --- */
.locations-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.locations-title {
    font-size: 1.7rem;
    color: var(--azul-navy);
    margin-bottom: 30px;
    font-weight: 600;
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: left;
}

.location-card {
    width: 90px;
    text-align: center;
    position: relative;
}

.location-img {
    width: 100%;
    height: 90px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.tooltip-distance {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: var(--azul-brand);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.location-img:hover .tooltip-distance {
    opacity: 1;
    transform: translateY(0);
}

.location-card p {
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cinza-texto);
}
