/* ========================================
   CONTACT SECTION STYLES - The Lounge Gramado
   ======================================== */

.contact {
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url("../img/galeria-bar-folly.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(212, 175, 55, 0.02) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 1;
}

.contact .scroll-reveal {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Contact Intro */
.contact-intro {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.contact-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 15px;
  padding: 35px 25px;
  text-align: center;
  backdrop-filter: blur(15px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.05) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 15px;
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  transform: scale(1.05);
}

.contact-icon i {
  font-size: 1.4rem;
  color: var(--gold);
}

.contact-card h3 {
  /* font-family: "Playfair Display", serif; */
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* WhatsApp Section */
.contact-whatsapp {
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
  backdrop-filter: blur(20px);
  position: relative;
}

.contact-whatsapp-content {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.contact-whatsapp-text {
  flex: 1;
}

.contact-whatsapp h3 {
  /* font-family: "Playfair Display", serif; */
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-whatsapp p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #25d366, #128c7e);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
  font-size: 1.1rem;
}

.contact-whatsapp-image {
  flex: 0 0 250px;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.contact-whatsapp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.contact-whatsapp:hover .contact-whatsapp-image img {
  transform: scale(1.03);
}

/* Map Section */
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%) brightness(0.9);
  transition: filter 0.3s ease;
}

.contact-map:hover .map-container iframe {
  filter: grayscale(0%) brightness(1);
}

.map-overlay {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.map-overlay h4 {
  /* font-family: "Playfair Display", serif; */
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 3px;
  font-weight: 600;
}

.map-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact .scroll-reveal {
    padding: 0 20px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 80px;
  }

  .contact-card {
    padding: 35px 25px;
  }

  .contact-intro {
    font-size: 1.1rem;
    margin-bottom: 60px;
  }

  .contact-whatsapp {
    padding: 40px 30px;
    margin-bottom: 60px;
  }

  .contact-whatsapp-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .contact-whatsapp-image {
    flex: none;
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 0 auto;
  }

  .contact-whatsapp h3 {
    font-size: 1.8rem;
  }

  .contact-whatsapp p {
    font-size: 1rem;
  }

  .map-container {
    height: 350px;
  }

  .map-overlay {
    top: 20px;
    left: 20px;
    padding: 15px 20px;
  }

  .map-overlay h4 {
    font-size: 1.1rem;
  }

  .map-overlay p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .contact .scroll-reveal {
    padding: 0 15px;
  }

  .contact-intro {
    font-size: 1rem;
    margin-bottom: 50px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .contact-icon i {
    font-size: 1.7rem;
  }

  .contact-card h3 {
    font-size: 1.3rem;
  }

  .contact-card p {
    font-size: 0.95rem;
  }

  .contact-whatsapp {
    padding: 30px 20px;
  }

  .contact-whatsapp h3 {
    font-size: 1.6rem;
  }

  .contact-whatsapp p {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .btn-whatsapp {
    padding: 15px 30px;
    font-size: 0.95rem;
  }

  .contact-whatsapp-image {
    height: 180px;
  }

  .map-container {
    height: 300px;
  }

  .map-overlay {
    top: 15px;
    left: 15px;
    padding: 12px 15px;
  }

  .map-overlay h4 {
    font-size: 1rem;
  }

  .map-overlay p {
    font-size: 0.85rem;
  }
}

/* Animations */
@keyframes contactFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card {
  animation: contactFadeIn 0.8s ease forwards;
}

.contact-card:nth-child(1) {
  animation-delay: 0.1s;
}
.contact-card:nth-child(2) {
  animation-delay: 0.2s;
}
.contact-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .contact-whatsapp::before {
    animation: none;
  }

  .contact-card,
  .contact-whatsapp-image img,
  .btn-whatsapp {
    transition: none;
  }

  .contact-card:hover,
  .btn-whatsapp:hover {
    transform: none;
  }
}
