/* Font Imports - Premium Fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Montserrat:wght@300;600&display=swap');

/* Hero Section Styles */
.teva-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url('images/TT_03900tab.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.teva-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.teva-hero-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  padding: 2rem;
}

.teva-hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.teva-hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 3rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Compact Search Card */
.teva-compact-search-card {
  background: white;
  border-radius: 2.5rem;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 auto;
  max-width: 900px;
}

.teva-compact-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
}

.teva-search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.teva-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  fill: #6b7280;
}

.teva-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.teva-search-input:focus {
  outline: none;
  border-color: #2C3E20;
  box-shadow: 0 0 0 2px rgba(44, 62, 32, 0.2);
}

.teva-search-input[type="date"] {
  padding-left: 1rem;
}

.teva-search-input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
}

select.teva-search-input {
  padding-left: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}

.teva-search-button {
  background-color: #2C3E20;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.teva-search-button:hover {
  background-color: #2C3E20;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.teva-search-button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Tablet Responsive Styles */
@media (max-width: 768px) {
  .teva-compact-search-form {
    flex-wrap: wrap;
  }
  
  .teva-search-field {
    min-width: calc(50% - 0.25rem);
  }
  
  .teva-search-button {
    width: 100%;
    justify-content: center;
  }
  
  .teva-hero-title {
    font-size: 2.5rem;
  }
}

/* Mobile Minimal Styles */
@media (max-width: 480px) {
  .teva-hero {
    height: 80vh;
  }
  
  .teva-hero-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .teva-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Hide the search card on mobile */
  .teva-compact-search-card {
    display: none;
  }

  /* Keep these styles in case you want to show the search card differently later */
  .teva-compact-search-form {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
  }

  .teva-search-field {
    width: 100%;
    min-width: 100%;
  }

  .teva-search-input {
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    font-size: 0.85rem;
    border-radius: 1.2rem;
  }

  .teva-search-icon {
    left: 0.8rem;
    width: 1rem;
    height: 1rem;
  }

  .teva-search-button {
    width: 100%;
    padding: 0.7rem;
    border-radius: 1.2rem;
    margin-top: 0.25rem;
  }

  .teva-search-input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
  }
  
  select.teva-search-input {
    background-position: right 0.5rem center;
  }
}

.teva-destinations-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.teva-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.teva-section-title {
  font-size: 3.2rem;
  font-family: 'Playfair Display', serif;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.teva-section-subtitle {
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
  color: #7f8c8d;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.5px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.teva-filters-container {
  margin-bottom: 50px;
  padding: 0;
}

.filter-title {
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  color: #34495e;
  position: relative;
  padding-left: 28px;
}

.filter-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 18px;
  width: 18px;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.filter-option:hover input ~ .checkmark {
  border-color: #3C4F2A;
}

.filter-option input:checked ~ .checkmark {
  background-color: #3C4F2A;
  border-color: #3C4F2A;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-option input:checked ~ .checkmark:after {
  display: block;
}

.teva-destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.teva-destination-card {
  position: relative;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.teva-destination-card:hover {
  transform: translateY(-5px);
}

.teva-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.teva-destination-card:hover .teva-card-bg {
  transform: scale(1.08);
}

.teva-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
}

.teva-destination-name {
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.teva-explore-btn {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: all 0.4s ease;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.teva-explore-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
}

.teva-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.page-btn {
  padding: 6px 12px;
  background: transparent;
  color: #3C4F2A;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  min-width: 32px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.page-btn:hover:not(.active) {
  color: #3C4F2A;
  background: rgba(52, 152, 219, 0.1);
}

.page-btn.active {
  color: white;
  background: #3C4F2A;
  cursor: default;
}

.page-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .teva-destination-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .teva-section-title {
    font-size: 2.4rem;
  }
  
  .teva-section-subtitle {
    font-size: 1.2rem;
  }
  
  .filter-options {
    flex-direction: column;
    gap: 10px;
  }
}

/* CSS */
.teva-ecotravels-cta {
    padding: 2rem;
    display: flex;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.teva-cta-card {
    width: 100%;
    max-width: 1200px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('images/IMG_9262.JPG') center/cover no-repeat;
}

.teva-cta-content-wrapper {
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    color: white;
}

.teva-cta-text-content {
    max-width: 60%;
}

.teva-cta-main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.teva-cta-subheading {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.5;
}

.teva-cta-links-container {
    list-style: none;
    text-align: right;
}

.teva-cta-link-item {
    margin-bottom: 1rem;
}

.teva-cta-link-item a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.teva-cta-link-item a:hover {
    color: #ffcc00;
}

.teva-cta-action-strip {
    background-color: #9CAF7A;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.teva-cta-prompt-text {
    color: #fafdff; /* Cream */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0;
}

.teva-cta-primary-button {
    background-color: #2C3E20; /* Dark Green */
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.teva-cta-primary-button:hover {
    background-color: #6B7A4F; /* Moss Green */
}

/* Responsive styles */
@media (max-width: 768px) {
    .teva-cta-content-wrapper {
        flex-direction: column;
        padding: 2rem;
    }
    
    .teva-cta-text-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .teva-cta-main-heading {
        font-size: 2rem;
    }
    
    .teva-cta-links-container {
        text-align: left;
    }
    
    .teva-cta-action-strip {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .teva-cta-prompt-text {
        margin-bottom: 0.5rem;
    }
}

  .teva-destination-card {
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .no-results-message {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    display: none;
  }

  .highlight {
    background-color: rgba(255, 255, 0, 0.3);
  }