/* sec - 1 */

.sec-1 {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
  background-color: #000000;
}

.sec-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #00000080;
  z-index: 1;
}

.sec-1 .bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

.sec-1 .bg-slide.active {
  opacity: 1;
}

.sec-1 .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.sec-1-container {
  position: relative;
  z-index: 2;
  padding: 3rem;
  background: linear-gradient(
    178deg,
    rgb(255 255 255 / 72%),
    rgb(255 255 255 / 0%)
  );
  border-radius: 20px;
  border: 1px solid #454545;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  /* box-shadow: 0px 0px 117px -54px #000000 inset,
    inset 10px 9px 12px -9px #000000; */
  margin: 0rem 1rem;
}

.sec-1-container h1 {
  color: #181818;
  font-family: "Cormorant Garamond", serif;
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sec-1-container p {
  text-align: center;
  color: #444444;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.sec-1-container .input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.sec-1-container .input-container button {
  position: absolute;
  z-index: 1;
  left: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
}

.sec-1-container .input-container button:focus {
  outline: none;
}

.sec-1-container .input-container button svg {
  stroke: #adadad;
  width: 1.2rem;
  height: 1.2rem;
}

.sec-1-container .input-container input {
  width: 100%;
  font-size: 1rem;
  border-radius: 50px;
  outline: none;
  border: none;
  background: #ffffff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0px 0px 117px -54px #000000a8 inset,
    inset 10px 9px 12px -9px #000000bd;
  color: #111111;
  font-family: Cormorant Garamond;
  padding: 0.9rem 0.9rem 0.9rem 4rem;
  letter-spacing: 0.8px;
}

.sec-1-container .input-container ::placeholder {
  fill: #adadad;
}

.sec-1-form-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.select-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.sec-1-form-container select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  background: #ffffff70;
  border: 1px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E<path stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'></path>%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.select-wrapper.loading::after {
  content: "";
  position: absolute;
  bottom: 0px;
  height: 3px;
  width: calc(100% - 12px);
  background: linear-gradient(90deg, #686868 0%, transparent 50%, #ffffff 100%);
  background-size: 200% 100%;
  animation: lineMove 1.5s linear infinite;
  border-bottom-left-radius: 51px;
  border-bottom-right-radius: 70px;
}

@keyframes lineMove {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Hover */
.sec-1-form-container select:hover {
  border-color: #94a3b8; /* slate-400 */
}

/* Focus */
.sec-1-form-container select:focus {
  outline: none;
  border-color: #4d4d4d; /* indigo-500 */
  box-shadow: 0 0 0 4px rgba(41, 41, 41, 0.25);
}

/* Disabled */
.sec-1-form-container select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sec-1-form-container .search-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 4em;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #505050, #000000); /* Indigo gradient */
  border: 1px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(48, 48, 48, 0.3);
}

/* Hover */
.sec-1-form-container .search-btn:hover {
  background: linear-gradient(135deg, #464646, #202020);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(49, 49, 49, 0.4);
}

/* Focus */
.sec-1-form-container .search-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0);
}

/* Active (clicked) */
.sec-1-form-container .search-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(41, 41, 41, 0.25);
}

/* Disabled */
.sec-1-form-container .search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #cbd5e1;
  box-shadow: none;
}

@media (max-width: 450px) {
  .sec-1-container {
    width: 100%;
    padding: 2.5rem;
  }

  .sec-1-container h1 {
    font-size: 2.5rem;
  }
}
