/*
Theme Name: Selling Dream
Author: Tushar Jivnani
Version: 1.0
*/

/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Poppins,sans-serif;
background:#F4F8FB;
color:#222;
}


/* CONTAINER */

.container{
width:100%;
max-width:1200px;
margin:auto;
padding:0 20px;
}


/* HEADER */

.site-header{
background:#fff;
padding:15px 20px;
position:relative;
z-index:1000;
width:100%;
border-bottom:1px solid #eee;
}

.header-inner{
display:flex;
justify-content:space-between;
align-items:center;
}

.custom-logo{
height:45px;
width:auto;
}


/* AUTH BUTTONS */

.auth-buttons{
display:flex;
gap:12px;
}

.login-btn{
padding:8px 18px;
border:1px solid #F5A623;
border-radius:25px;
color:#F5A623;
text-decoration:none;
font-weight:500;
}

.signup-btn{
padding:8px 18px;
background:#F5A623;
border-radius:25px;
color:#fff;
text-decoration:none;
font-weight:500;
}


/* HERO SECTION */

.home-hero{

margin-top:20px;

background: linear-gradient(
rgba(0,0,0,0.6),
rgba(0,0,0,0.4)
),
url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920');

background-size:cover;
background-position:center;
background-repeat:no-repeat;

min-height:100vh;

display:flex;
align-items:center;
justify-content:center;

text-align:center;
color:white;

padding:120px 20px;

}


.hero-content{
max-width:900px;
margin:auto;
}


/* HERO BADGE */

.hero-badge{
display:inline-block;
padding:8px 18px;
border:1px solid rgba(255,255,255,0.5);
border-radius:30px;
margin-bottom:20px;
font-size:14px;
}


/* TITLE */

.home-title{
font-size:48px;
font-weight:700;
margin-bottom:15px;
}

.home-title span{
color:#F5A623;
}


/* SUBTITLE */

.home-subtitle{
font-size:18px;
line-height:1.6;
max-width:700px;
margin:auto;
margin-bottom:40px;
opacity:0.9;
}


/* STATS */

.hero-stats{
display:flex;
justify-content:center;
gap:60px;
margin-top:30px;
margin-bottom:40px;
}

.hero-stats div{
text-align:center;
}

.hero-stats h3{
font-size:34px;
color:#F5A623;
margin-bottom:5px;
}

.hero-stats p{
font-size:14px;
opacity:0.9;
}


/* HERO BUTTONS */

.hero-buttons{
display:flex;
justify-content:center;
gap:20px;
margin-top:30px;
}

.primary-btn{
padding:14px 30px;
background:#F5A623;
border-radius:40px;
color:white;
text-decoration:none;
font-weight:600;
}

.secondary-btn{
padding:14px 30px;
border:1px solid white;
border-radius:40px;
color:white;
text-decoration:none;
font-weight:600;
}


/* RESULTS PAGE */

.results-section{
padding:80px 0;
}

.flight-card{
background:white;
padding:25px;
border-radius:14px;
margin-bottom:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.flight-top{
display:flex;
justify-content:space-between;
margin-bottom:15px;
}

.flight-price{
font-size:20px;
font-weight:600;
color:#F5A623;
}

.flight-bottom{
display:flex;
justify-content:space-between;
align-items:center;
}

.book-btn{
background:#F5A623;
color:white;
border:none;
padding:10px 18px;
border-radius:8px;
cursor:pointer;
}


/* DASHBOARD */

.dashboard-container{
max-width:900px;
margin:120px auto;
padding:30px;
background:white;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.booking-card{
padding:15px;
border:1px solid #eee;
border-radius:8px;
margin-bottom:10px;
}

.ticket-btn{
display:inline-block;
margin-top:10px;
padding:8px 16px;
background:#0a7cff;
color:white;
border-radius:6px;
text-decoration:none;
}


/* AUTH PAGES */

.auth-container{
max-width:400px;
margin:120px auto;
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 30px rgba(0,0,0,0.1);
}

.auth-container h2{
text-align:center;
margin-bottom:20px;
}

.auth-container input{
width:100%;
padding:12px;
margin-bottom:15px;
border:1px solid #ddd;
border-radius:6px;
}

.auth-container button{
width:100%;
padding:12px;
background:#F5A623;
border:none;
border-radius:6px;
color:white;
font-weight:600;
cursor:pointer;
}


/* FOOTER */

footer{
background:#0E5A8A;
color:white;
text-align:center;
padding:20px;
margin-top:60px;
}


/* MOBILE */

@media(max-width:768px){

.home-title{
font-size:36px;
}

.hero-stats{
flex-direction:column;
gap:20px;
}

.hero-buttons{
flex-direction:column;
gap:15px;
}

}
/* HAMBURGER MENU */

.menu-toggle{
display:none;
font-size:26px;
cursor:pointer;
}

/* MOBILE */

@media(max-width:768px){

.menu-toggle{
display:block;
}

.main-nav{
display:none;
position:absolute;
top:70px;
left:0;
width:100%;
background:white;
padding:20px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.main-nav.active{
display:block;
}

.main-nav ul{
flex-direction:column;
gap:15px;
}

.hero-stats{
flex-direction:column;
gap:20px;
}

.hero-buttons{
flex-direction:column;
gap:15px;
}

}
/* HAMBURGER MENU */

.menu-toggle{
font-size:28px;
cursor:pointer;
display:none;
}

/* MOBILE MENU */

@media (max-width:768px){

.menu-toggle{
display:block;
}

.main-nav{
display:none;
position:absolute;
top:70px;
left:0;
width:100%;
background:#fff;
padding:20px;
}

.main-nav.active{
display:block;
}

}
.flight-search-box{
background:#fff;
padding:25px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
max-width:700px;
margin:40px auto;
}

.flight-search-box input,
.flight-search-box select{
width:100%;
padding:10px;
margin-bottom:10px;
border:1px solid #ddd;
border-radius:6px;
}

.flight-search-box button{
background:#f5a623;
border:none;
padding:12px 20px;
color:white;
border-radius:6px;
font-weight:600;
cursor:pointer;
}

.suggest-item{
padding:8px;
cursor:pointer;
background:white;
border-bottom:1px solid #eee;
}

.suggest-item:hover{
background:#f3f3f3;
}
.flight-title{
text-align:center;
font-size:42px;
margin-top:30px;
}

.flight-search-box{
background:#fff;
padding:30px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
max-width:700px;
margin:30px auto;
}

.flight-search-box label{
font-weight:600;
display:block;
margin-top:10px;
}

.flight-search-box input,
.flight-search-box select{
width:100%;
padding:10px;
margin-top:5px;
margin-bottom:10px;
border:1px solid #ddd;
border-radius:6px;
}

.flight-search-box button{
background:#f5a623;
border:none;
padding:12px 20px;
color:white;
border-radius:6px;
font-weight:600;
cursor:pointer;
width:100%;
}

.flight-search-box button:hover{
background:#e08f1d;
}
/* ============================= */
/* FLIGHT SEARCH PAGE */
/* ============================= */

.flight-hero{
padding:60px 20px;
background:#f4f8fb;
}

.flight-title{
text-align:center;
font-size:42px;
margin-bottom:30px;
font-weight:700;
}

.flight-card{
background:#fff;
max-width:800px;
margin:auto;
padding:30px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}


/* trip toggle */

.trip-toggle{
display:flex;
gap:20px;
margin-bottom:20px;
font-weight:600;
}

.trip-toggle input{
margin-right:6px;
}


/* form layout */

.form-row{
display:flex;
gap:15px;
margin-bottom:15px;
flex-wrap:wrap;
}

.form-group{
flex:1;
display:flex;
flex-direction:column;
}

.form-group label{
font-weight:600;
margin-bottom:5px;
}

.form-group input,
.form-group select{
padding:10px;
border:1px solid #ddd;
border-radius:6px;
font-size:15px;
}


/* airport suggestions */

.suggestions-box{
position:absolute;
background:#fff;
border:1px solid #eee;
border-radius:6px;
width:100%;
max-height:200px;
overflow-y:auto;
z-index:10;
}

.suggest-item{
padding:10px;
cursor:pointer;
border-bottom:1px solid #eee;
}

.suggest-item:hover{
background:#f4f8fb;
}


/* traveller box */

.traveller-box{
padding:12px;
border:1px solid #ddd;
border-radius:6px;
cursor:pointer;
font-weight:600;
background:#fafafa;
}


/* search button */

.search-btn{
margin-top:10px;
width:100%;
padding:14px;
background:#f5a623;
border:none;
color:#fff;
font-size:16px;
font-weight:600;
border-radius:8px;
cursor:pointer;
transition:0.3s;
}

.search-btn:hover{
background:#e18f19;
}


/* ============================= */
/* TRAVELLER MODAL */
/* ============================= */

.traveller-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:none;
align-items:center;
justify-content:center;
z-index:1000;
}

.traveller-content{
background:#fff;
padding:25px;
border-radius:10px;
width:320px;
}

.counter-row{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.counter{
display:flex;
align-items:center;
gap:8px;
}

.counter button{
width:30px;
height:30px;
border:none;
background:#f5a623;
color:#fff;
border-radius:4px;
cursor:pointer;
}

.counter input{
width:40px;
text-align:center;
border:1px solid #ddd;
border-radius:4px;
}


.class-select{
margin-top:10px;
}

.class-select select{
width:100%;
padding:8px;
border:1px solid #ddd;
border-radius:6px;
}


.done-btn{
margin-top:15px;
width:100%;
padding:10px;
border:none;
background:#0f5a8a;
color:#fff;
border-radius:6px;
cursor:pointer;
}


/* ============================= */
/* MOBILE */
/* ============================= */

@media(max-width:768px){

.form-row{
flex-direction:column;
}

.flight-card{
padding:20px;
}

.flight-title{
font-size:32px;
}

}
/* FLIGHT RESULTS */

.results-section{
max-width:900px;
margin:40px auto;
}

.flight-result{
display:flex;
align-items:center;
justify-content:space-between;
background:#fff;
padding:20px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
margin-bottom:15px;
}

.airline-info{
display:flex;
align-items:center;
gap:12px;
}

.airline-logo{
width:45px;
height:45px;
}

.flight-time{
font-size:18px;
font-weight:600;
}

.flight-route{
font-size:14px;
color:#666;
}

.flight-price{
font-size:20px;
font-weight:700;
color:#f5a623;
}

.book-btn{
background:#f5a623;
color:#fff;
padding:10px 18px;
border-radius:6px;
text-decoration:none;
font-weight:600;
}
.airline{
display:flex;
align-items:center;
gap:10px;
font-weight:600;
}

.airline-logo{
width:40px;
height:40px;
object-fit:contain;
}
/* FLIGHT RESULTS */

.flight-card{
display:flex;
align-items:center;
justify-content:space-between;
background:#fff;
padding:20px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
margin-bottom:15px;
flex-wrap:wrap;
}

.flight-left{
display:flex;
align-items:center;
gap:10px;
}

.airline{
display:flex;
align-items:center;
gap:10px;
font-weight:600;
}

.airline-logo{
width:45px;
height:45px;
}

.flight-middle{
flex:1;
text-align:center;
}

.flight-time{
display:flex;
align-items:center;
justify-content:center;
gap:25px;
}

.time-block strong{
font-size:18px;
}

.time-block p{
font-size:14px;
color:#666;
}

.flight-line{
font-size:13px;
color:#999;
}

.flight-right{
text-align:right;
}

.flight-price{
font-size:22px;
font-weight:700;
color:#f5a623;
margin-bottom:8px;
}

.book-btn{
background:#f5a623;
color:#fff;
border:none;
padding:10px 20px;
border-radius:6px;
font-weight:600;
cursor:pointer;
}

.book-btn:hover{
background:#e18f19;
}
.booking-steps{
display:flex;
justify-content:space-between;
margin-bottom:30px;
}

.step{
flex:1;
text-align:center;
position:relative;
font-weight:600;
color:#999;
}

.step::before{
content:'';
display:block;
width:35px;
height:35px;
line-height:35px;
margin:auto;
border-radius:50%;
background:#ddd;
color:#fff;
}

.step.active::before{
background:#f5a623;
}

.step span{
display:block;
margin-top:6px;
font-size:14px;
}
.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
}

.popup-box{
background:#fff;
padding:25px;
border-radius:10px;
width:90%;
max-width:400px;
position:relative;
}

.popup-box h2{
margin-bottom:15px;
}

.popup-box input,
.popup-box select{
width:100%;
padding:10px;
margin-bottom:10px;
border:1px solid #ddd;
border-radius:6px;
}

.popup-box button{
background:#f5a623;
color:#fff;
border:none;
padding:12px;
width:100%;
border-radius:6px;
font-weight:600;
cursor:pointer;
}

.close-btn{
position:absolute;
top:10px;
right:15px;
font-size:22px;
cursor:pointer;
}
.contact-section {
  background: #0f4c75;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-section p {
  margin-bottom: 30px;
  color: #ddd;
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

.contact-item {
  background: #1b6ca8;
  padding: 20px;
  border-radius: 10px;
}

.contact-item a {
  color: #ffd166;
  text-decoration: none;
  font-weight: bold;
}
/* ================= MOBILE MENU FIX ================= */

.menu-toggle {
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

/* Hide menu by default */
.main-nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Show when active */
.main-nav.active {
  display: block;
}

/* Remove bullets */
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each item */
.main-nav li {
  border-bottom: 1px solid #eee;
}

/* Links styling */
.main-nav a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hover effect */
.main-nav a:hover {
  background: #f5f5f5;
}

/* Desktop fix */
@media(min-width:768px){
  .main-nav {
    display: block !important;
    position: static;
    box-shadow: none;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav ul {
    display: flex;
    gap: 20px;
  }

  .main-nav li {
    border: none;
  }
}