/* Base Styles */
:root {
  --primary-color: #ff0000;
  --secondary-color: #f2f2f2;
  --text-color: #333;
  --text-light: #f2f2f2;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}


/* Hero Slideshow Container */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
}

/* Slides */
.slide_banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide_banner.active {
  opacity: 1;
}

/* Slide Content */
.slide-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 2;
  text-align: center;
}



/* Hero Header */
.hero-header {
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Search Panel */
.search-panel {
  width: 100%;
  padding: 1.5rem !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  margin-bottom: 2rem;
}

/* Tabs Container */
.tabs-container {
  position: relative;
  margin-bottom: 1.5rem;
}

/* Desktop Tabs */
.tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--secondary-color);
  padding-bottom: 0.5rem;
}

.tabs::-webkit-scrollbar {
  height: 6px;
}

.tabs::-webkit-scrollbar-track {
  background: var(--secondary-color);
  border-radius: 3px;
}

.tabs::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 3px;
}

/* Tab Buttons */
.tab {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--secondary-color);
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.tab i {
  margin-right: 0.5rem;
}

.tab:hover {
  background: #e0e0e0;
}

.tab.active {
  background: var(--primary-color);
  color: white;
}

/* Mobile Tab Dropdown */
.mobile-tab-dropdown {
  display: none;
  position: relative;
  margin-bottom: 1rem;
}

.mobile-tab-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
}

.banner-moblie-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  z-index: 100;
  padding: 0.75rem;
  max-height: 60vh;
  overflow-y: auto;
}

.banner-moblie-menu .tab {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  text-align: left;
}

.banner-moblie-menu .tab:last-child {
  margin-bottom: 0;
}

.mobile-tab-dropdown.active .banner-moblie-menu {
  display: block;
}

/* Tab Contents */
.tab-contents {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* Form Elements */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
}

.col-md-4 {
  width: 100%;
  flex: 1 1 100%;
  min-width: 0;
}

/* Inputs and Selects */
input,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background: white;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

select {
  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 1rem center;
  background-size: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 767px) {
  .tabs {
    display: none;
  }
  
  .mobile-tab-dropdown {
    display: block;
  }
  
  .hero-slideshow {
    height: auto;
    min-height: 100vh;
  }
  
  .search-panel {
    padding: 1rem !important;
  }
}

@media (min-width: 768px) {
  .mobile-tab-dropdown {
    display: none;
  }
  
  .tabs {
    display: flex;
  }
  
  .col-md-4 {
    flex: 1 1 calc(33.333% - 1rem);
  }
  
  .search-form {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Down Hint */
.scroll-down {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 2;
}

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