/* TANGALLE TOURS SECTION */

/* Outer section wrapper - full width background */
.tangotours__section {
  width: 100%;
  background: #fffffff5;
  padding: 4rem 0;
}

/* Inner content container - constrained width */
.tangotours__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* Remove tap highlight for all interactive elements */
button,
a,
.tour-request-btn,
.tour-map-btn,
.pagination-btn,
.whatsapp-btn,
.close-modal {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tangotours__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

/* .experience-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fd8f44;
  margin-bottom: 0.5rem;
} */

.experience-title span {
  display: flex;
  align-items: center;
}

.experience-title i {
  font-size: 1.3rem;
}

.tangotours__section__header {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000;
  margin: 0;
  padding-top: 1rem;
}

.tangotours__subtitle {
  font-size: 1rem;
  color: #666;
  margin-top: 0.5rem;
  max-width: 700px;
  line-height: 1.6;
}

.tangotours__wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
  margin: 0 -20px;
}

/* SLIDER */
.tangotours__slider {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}

.tangotours__slider.dragging {
  cursor: grabbing;
  transition: none;
}

/* Tour Cards */
.tour-card {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  flex: 0 0 calc((100% - 3rem) / 3);
  overflow: hidden;
  user-select: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tour-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  pointer-events: none;
  background: #f8f9fa;
}

.tour-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.tour-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.tour-description {
  font-size: 0.7rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  text-align: justify;
}

/* Tour Actions */
.tour-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}


.tour-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  outline: none;
  white-space: nowrap;
  flex: 0 0 auto;
  width: auto;
}

.tour-map-btn {
  padding: 10px 14px;  /* Smaller padding for a compact button */
  outline: none;
  border: none;
  font-size: 0.8rem;  /* Slightly smaller text */
  color: #fff;  /* White text for contrast */
  background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);  /* Google colors */
  border-radius: 8px;
  transition: 0.3s;
  cursor: pointer;
  font-weight: 500;  /* Slightly lighter weight */
  min-width: 120px;  /* Smaller width */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tour-map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 168, 83, 0.3);
}

.tour-request-btn {
  background: #fd8f44;
  color: #fff;
}

.tour-request-btn:hover {
  background: #e07b33;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(253, 143, 68, 0.3);
}

.tour-map-btn i,
.tour-request-btn i {
  font-size: 1.1rem;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-btn.circle {
  background: #fd8f44;
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.pagination-btn.circle:hover:not(:disabled) {
  background: #e07b33;
  animation: wiggle 0.4s ease;
}

.pagination-btn.circle:active {
  background: #01bda4;
}

.pagination-btn.circle:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

@keyframes wiggle {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

/* REQUEST MODAL */
.request-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
}

.request-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  animation: slideDown 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  outline: none;
}

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

.modal-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

/* Form Styles */
#request-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  width: 100%;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fd8f44;
}

.form-group input[readonly] {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  outline: none;
}

.whatsapp-btn i {
  font-size: 1.5rem;
}

.whatsapp-btn:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:active {
  transform: translateY(0);
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  color: #fff;
  font-weight: 500;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.toast-success {
  background: #4caf50;
}

.toast-error {
  background: #f44336;
}

.toast-message {
  font-size: 0.95rem;
  color: #fff;
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 1200px) {
  .tour-card {
    flex: 0 0 calc((100% - 3rem) / 3);
  }
}

@media (max-width: 992px) {
  .tour-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
  
  .tangotours__slider {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .tangotours__container {
    padding: 0 1.5rem;
  }

  .tangotours__section__header {
    font-size: 2rem;
  }

  .tour-image {
    height: 220px;
  }

  .tour-actions {
    flex-direction: column;
    gap: 0.6rem;
  }

  .tour-map-btn,
  .tour-request-btn {
    width: 100%;
  }

  .request-modal {
    padding: 15px;
  }

  .modal-content {
    width: 100%;
    max-width: calc(100% - 30px);
    padding: 20px 15px;
    max-height: 85vh;
  }

  .modal-title {
    font-size: 1.4rem;
  }

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

@media (max-width: 576px) {
  .tour-card {
    flex: 0 0 100%;
  }
  
  .tangotours__section {
    padding: 3rem 0;
  }
  
  .tangotours__container {
    padding: 0 1rem;
  }
  
  .tangotours__section__header {
    font-size: 1.8rem;
  }

  .tangotours__subtitle {
    font-size: 0.9rem;
  }
  
  .tour-image {
    height: 200px;
  }

  .tour-name {
    font-size: 1.2rem;
  }

  .tour-description {
    font-size: 0.9rem;
  }

  .tour-map-btn,
  .tour-request-btn {
    font-size: 0.9rem;
    padding: 10px 14px;
    width: 100%;
  }

  .modal-content {
    max-width: calc(100% - 20px);
    padding: 18px 12px;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .whatsapp-btn {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .tangotours__wrapper {
    padding: 10px;
    margin: 0 -10px;
  }

  .toast {
    right: 10px;
    left: 10px;
    top: 10px;
  }
}

@media (max-width: 400px) {
  .form-row {
    gap: 8px;
  }

  .form-group input {
    padding: 9px 6px;
    font-size: 0.88rem;
  }

  .form-group label {
    font-size: 0.82rem;
  }
}