/*  HOME PAGE BACKGROUND  */
body.home-page{
  min-height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("Background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/*  HEADER  */
.page-header{
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  padding: 18px 0;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  position: relative;
  top: 0;
  z-index: 5;
}

.page-header h1{
  margin: 0;
  color: #1d2540;
}




/*  LAYOUT  */
.home-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 18px 90px;
  display: grid;
  gap: 30px;
  justify-items: center;
}

/*  HERO TEXT  */
.hero-text{
  text-align: center;
  animation: fadeIn 1.2s ease-in-out;
}

.animated-title{
  font-size: 2.4em;
  background: linear-gradient(to right, #00bcd4, #2196f3, #3f51b5);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
  border-right: 2px solid #2196f3;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3s steps(40, end), blink 0.7s step-end infinite alternate;
}

.animated-subtitle,
.animated-arabic{
  font-size: 1.1em;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

.animated-subtitle{ color: rgba(255,255,255,0.9); }
.animated-arabic{ color: #b0e0ff; direction: rtl; margin-top: 8px; }

/*  BOOKING OPTIONS  */
.booking-options h2{
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.options-container{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.option-box{
  background: rgba(255,255,255,0.92);
  padding: 20px;
  border-radius: 14px;
  width: 260px;
  text-decoration: none;
  color: #1d2540;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  transition: .25s;
}

.option-box:hover{
  transform: translateY(-5px);
}

/*  SEARCH FORM  */
.flight-search{
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-form{
  width: 100%;
  max-width: 900px;
  background: rgba(255,255,255,0.92);
  padding: 22px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.input-group{
  display: flex;
  flex-direction: column;
}

.search-btn{
  grid-column: span 3;
  background: linear-gradient(to right, #ff7e5f, #838ae8);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 13px;
  cursor: pointer;
}

/*  ANIMATIONS  */
@keyframes typing{ from{width:0;} to{width:100%;} }
@keyframes blink{ 50%{border-color:transparent;} }
@keyframes fadeIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }

/*  RESPONSIVE  */
@media (max-width: 900px){
  .search-form{ grid-template-columns: 1fr 1fr; }
  .search-btn{ grid-column: span 2; }
}

@media (max-width: 600px){
  .search-form{ grid-template-columns: 1fr; }
  .search-btn{ grid-column: span 1; }
  .animated-title{ font-size: 1.8em; }
}
