/* Animation keyframes */
@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, 10px) rotate(5deg); }
  50% { transform: translate(0, 20px) rotate(0deg); }
  75% { transform: translate(-10px, 10px) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* Hero and content responsive styles */
@media (min-width: 992px) {
  .hero-card {
    display: block !important;
  }
  
  .hero-content {
    flex-direction: row !important;
    justify-content: space-between !important;
  }
  
  .hero-text-content {
    max-width: 55% !important;
  }
}

/* Responsive styles for packages grid */
@media (max-width: 992px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .hero-content {
    text-align: center !important;
    align-items: center !important;
  }
  
  .hero-text-content {
    max-width: 90% !important;
  }
}

@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: 1fr !important;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }
  
  .hero-text {
    font-size: 1rem !important;
  }
  
  .hero-features {
    justify-content: center !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 300px !important;
  }
  
  .hero-actions .btn {
    width: 100% !important;
  }
}

/* Make the quick booking form visible on larger screens */
@media (min-width: 992px) {
  .hero-content {
    text-align: center !important;
  }
  
  .hero-text-content {
    max-width: 800px !important;
    margin: 0 auto !important;
  }
}

/* Package card hover effects */
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

/* Minified Tiles Styles */
.minified-tiles-container {
  margin-top: 2rem;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.minified-tiles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}

.minified-tiles-header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.view-all-link {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: var(--secondary-color);
}

.minified-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.minified-tile {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.minified-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.minified-tile-image {
  position: relative;
  height: 120px;
  overflow: hidden;
}

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

.minified-tile:hover .minified-tile-image img {
  transform: scale(1.05);
}

.minified-tile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
}

.minified-tile-details {
  padding: 0.8rem;
}

.minified-tile-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #333;
  line-height: 1.3;
}

.minified-tile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #666;
}

/* Responsive styles for minified tiles */
@media (max-width: 992px) {
  .minified-tiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .minified-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .minified-tiles-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation styles for minified tiles */
.minified-tiles-container {
  margin-top: 3rem !important;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.minified-tiles-container.show {
  opacity: 1;
  transform: translateY(0);
}

.minified-tiles-grid {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.minified-tiles-grid.show {
  opacity: 1;
}

.minified-tile {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.minified-tile.show {
  opacity: 1;
  transform: translateY(0);
}

.minified-tile-badge {
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.minified-tile.show .minified-tile-badge {
  opacity: 1;
  transform: translateX(0);
}

.minified-tile-details {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  transition-delay: 0.1s;
}

.minified-tile.show .minified-tile-details {
  opacity: 1;
  transform: translateY(0);
}

/* Tour type button styles */
.tour-type-btn {
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.tour-type-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.4s ease;
}

.tour-type-btn:hover::before {
  width: 200%;
  height: 200%;
  opacity: 0.1;
}

.tour-type-btn.active {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.tour-type-btn.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--primary-color);
  transition: all 0.3s ease;
}

.packages-cta {
  text-align: center;
  padding-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tour-type-btn {
    width: 100%;
  }
}

/* Additional styles moved from index.html */
@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, 10px) rotate(5deg); }
  50% { transform: translate(0, 20px) rotate(0deg); }
  75% { transform: translate(-10px, 10px) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

@media (min-width: 992px) {
  .hero-card {
    display: block !important;
  }
  
  .hero-content {
    flex-direction: row !important;
    justify-content: space-between !important;
  }
  
  .hero-text-content {
    max-width: 55% !important;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 92vh !important;
    min-height: 500px !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-text {
    font-size: 0.95rem !important;
  }
  
  .hero-features {
    gap: 0.5rem !important;
  }
  
  .hero-feature {
    padding: 6px 12px !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
  }
  
  .hero-actions .btn {
    width: 100% !important;
  }
}

/* Responsive styles for packages grid */
@media (max-width: 992px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .hero-content {
    text-align: center !important;
    align-items: center !important;
  }
  
  .hero-text-content {
    max-width: 90% !important;
  }
}

@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: 1fr !important;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }
  
  .hero-text {
    font-size: 1rem !important;
  }
  
  .hero-features {
    justify-content: center !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 300px !important;
  }
  
  .hero-actions .btn {
    width: 100% !important;
  }
}

/* Make the quick booking form visible on larger screens */
@media (min-width: 992px) {
  .hero-content {
    text-align: center !important;
  }
  
  .hero-text-content {
    max-width: 800px !important;
    margin: 0 auto !important;
  }
}

/* Hover effects for package cards */
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

/* Tour type button active state */
.tour-type-btn.active {
  background-color: var(--white);
  color: #0b5262;
} 