:root {
	--primary-yellow: #ffb300;
	--dark-navy: #151f29;
	--light-bg: #f5f7fa;
	--white: #ffffff;
	--card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: "Segoe UI", Arial, sans-serif;
}

body {
	background: var(--light-bg);
	color: #333;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* NAVBAR */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 40px;
	background: linear-gradient(var(--dark-navy) 0%, #2a3248 100%);
	color: white;
}
.navbar img{
	    height: 100px;
}
.footer-col img{
	    height: 80px;
}


.navbar a.signin-btn {
	background: var(--primary-yellow);
	color: #000;
	text-decoration: none;
	padding: 10px 25px;
	border-radius: 7px;
	transition: 0.3s;
	font-weight: 600;
}

.navbar a.signin-btn:hover {
	background: #e6a100;
	transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
	min-height: 50vh;
	padding: 41px 0px;
	background: url('https://media.istockphoto.com/id/463453019/photo/aeroplane-coming-in-to-land-at-sunset.jpg?s=612x612&w=0&k=20&c=uCZ0LFMO-2DGC7cQpm7gdHTXR7-Vq1k3mtNvwd7YRco=') center/cover;
	color: white;
	text-align: left;
	background-position: center;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.hero .container {
	position: relative;
	z-index: 2;
}

.tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 5px;
}

.tabs::-webkit-scrollbar {
	display: none;
}

.tabs {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.tabs button {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	padding: 12px 25px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: 0.3s;
	flex-shrink: 0;
}

.tabs button:hover {
	background: rgba(255, 255, 255, 0.2);
}

.tabs .active {
	background: var(--primary-yellow);
	color: #000;
}

.hero-text h1 {
	font-size: clamp(28px, 5vw, 48px);
	margin-bottom: 15px;

}

.hero-text p {

	margin-bottom: 20px;

}

/* SEARCH WRAPPER */
.search-wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 20px auto;
}

/* Trip Type Radio Buttons */
.trip-type {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.trip-type label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

.trip-type input[type="radio"] {
    accent-color: #ffb300; /* Matches your yellow theme */
    width: 18px;
    height: 18px;
}

/* The Grid System */
.search-box {
    display: grid;
    /* 4 main fields + small swap icon + button */
    grid-template-columns: 1fr auto 1fr 0.8fr 1fr auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 8px;
}

/* Individual Field Styling */
.field {
    padding: 5px 15px;
    display: flex;
    flex-direction: column;
}

/* Vertical dividers between fields */
.field:not(:last-child) {
    border-right: 1px solid #eee;
}

.field span {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
    display: block;
}

/* Editable Input Styling */
.field input {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    width: 100%;
    background: transparent;
}

.field input::placeholder {
    color: #333;
}

/* Swap Icon */
.swap {
    color: #ffb300;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
}

/* Search Button */
.search-btn {
    background: #ffb300;
    color: #000;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.search-btn:hover {
    background: #e6a100;
}

.search-box {
    display: grid;
    /* This allows fields to wrap or stretch naturally */
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    align-items: center;
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 8px;
}

/* Ensure the swap icon and button don't stretch weirdly */
.swap {
    width: 30px;
    text-align: center;
    flex-grow: 0;
}

.search-btn {
    grid-column: span 1; /* Keeps button in its own cell */
    white-space: nowrap;
}

/* Mobile responsive tweak */
@media (max-width: 768px) {
    .search-box {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVE TABLET & MOBILE */
@media (max-width: 1024px) {
    .search-box {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
        gap: 20px;
    }
    .swap { display: none; } /* Hide swap icon on mobile */
    .field:not(:last-child) { border-right: none; border-bottom: 1px solid #eee; }
    .search-btn { grid-column: span 2; }
}

@media (max-width: 600px) {
    .search-box {
        grid-template-columns: 1fr; /* 1 column on phones */
    }
    .search-btn { grid-column: span 1; }
    .trip-type { flex-direction: column; gap: 10px; }
}

/* DEALS SECTION */

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 55px;
}

.section-header h2 {
	font-size: clamp(24px, 4vw, 36px);
}

.filter-tabs {
	display: flex;
	background: white;
	border-radius: 6px;
	box-shadow: var(--card-shadow);
	overflow-x: auto;
}

.filter-tabs::-webkit-scrollbar {
	height: 4px;
}

.filter-tabs::-webkit-scrollbar-thumb {
	background: var(--primary-yellow);
	border-radius: 4px;
}

.tab {
	border: none;
	padding: 12px 20px;
	background: white;
	cursor: pointer;
	transition: 0.3s;
	white-space: nowrap;
}

.tab:hover {
	background: #f8f9fa;
}

.tab.active {
	background: var(--primary-yellow);

}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.deal-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}



.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;   /* ⚠️ important */
    transition: transform 0.3s ease;
}

.deal-card:hover img {
    transform: scale(1.05);
}


.badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #1e3a5f;
	color: white;
	padding: 5px 15px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.card-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.card-content h3 {
	margin-bottom: 10px;
	font-size: 18px;
}

.card-content p {
	color: #666;
	font-size: 14px;
	line-height: 1.5;
	flex-grow: 1;
}

.see-more {
	background: var(--primary-yellow);
	border: none;
	color: white;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: bold;
	cursor: pointer;
	margin-top: 15px;
	align-self: flex-end;
	transition: 0.3s;
}

.see-more:hover {
	background: #e6a100;
	transform: translateX(5px);
}

.tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	overflow-x: auto;
	/* Horizontal scroll on mobile */
	white-space: nowrap;
	scrollbar-width: none;
	/* Hide scrollbar Firefox */
}

.tabs::-webkit-scrollbar {
	display: none;
}

/* Hide scrollbar Chrome/Safari */




/* SLIDER STYLING */
.slideshow-container {
	max-width: 1150px;
    position: relative;
    margin: auto;
    margin-top: 40px;
}

/* Hide the images by default */
.mySlides {
	display: none;
}

/* Next & previous buttons */
.prev,
.next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
}

/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
	color: #f2f2f2;
	font-size: 15px;
	padding: 8px 12px;
	position: absolute;
	bottom: 8px;
	width: 100%;
	text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

.active,
.dot:hover {
	background-color: #717171;
}

/* Fading animation */
.fade {
	animation-name: fade;
	animation-duration: 1.5s;
}

@keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
	.slider-container {
		height: 300px;
	}

	.hero-text h1 {
		font-size: 28px;
	}

	.airplane-img {
		width: 70%;
		bottom: 10px;
		right: -10%;
		transform: rotate(-5deg);
	}

	.slide-overlay {
		background: rgba(74, 141, 255, 0.8);
		width: 100%;
	}
}

/* FOOTER */
.footer {
	background: #1a2233;
	color: #bbb;
	padding: 60px 0 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 30px;
}

.footer-col h4 {
	color: white;
	margin-bottom: 20px;
	font-size: 18px;
}

.footer-col ul {
	list-style: none;
}

.footer-col li {
	margin-bottom: 10px;
}

.footer-col a {
	color: #bbb;
	text-decoration: none;
	font-size: 14px;
	transition: 0.3s;
}

.footer-col a:hover {
	color: var(--primary-yellow);
}

.footer-contact {
	margin-bottom: 10px;
	font-size: 14px;
}

.footer-contact i {
	color: var(--primary-yellow);
	margin-right: 8px;
}

.social-icons {
	margin-top: 20px;
	display: flex;
	gap: 15px;
}

.social-icons a {
	color: white;
	font-size: 20px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	transition: 0.3s;
}

.social-icons a:hover {
	background: var(--primary-yellow);
	color: #000;
	transform: translateY(-3px);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
	.search-box {
		grid-template-columns: 1fr 50px 1fr;
		gap: 12px;
	}

	.search-box .field:nth-child(4),
	.search-box .field:nth-child(5) {
		grid-column: 1 / -1;
	}

	.swap {
		grid-row: 1;
	}

	.search-btn {
		grid-column: 1 / -1;
		padding: 18px;
	}
}

@media (max-width: 768px) {
	.navbar {
		padding: 15px 20px;
	}

	.navbar img {
		height: 70px;
	}

	.navbar a.signin-btn {
		padding: 8px 20px;
		font-size: 14px;
	}

	.hero {
		padding: 40px 20px;
		min-height: 70vh;
	}

	.tabs {
		gap: 8px;
	}

	.tabs button {
		padding: 10px 18px;
		font-size: 14px;
	}

	.search-wrapper {
		padding: 20px;
	}

	.section-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.filter-tabs {
		width: 100%;
	}

	.deals-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 16px;
	}

	.footer-grid {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		gap: 30px;
	}
}

@media (max-width: 640px) {
	.search-box {
		grid-template-columns: 1fr;
		padding: 15px;
	}

	.swap {
		display: none;
	}

	.search-btn {
		grid-column: 1;
	}

	.trip-type {
		flex-direction: column;
		gap: 12px;
	}

	.deals-grid {
		grid-template-columns: 1fr;
	}

	.deal-card {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.navbar {
		padding: 12px 15px;
	}
.mySlides{
	    height: 103px;
}
	.navbar img {
		height: 50px;
	}

	.navbar a.signin-btn {
		padding: 6px 15px;
		font-size: 13px;
	}

	.hero {
		padding: 30px 15px;
	}

	.search-wrapper {
		padding: 15px;
	}

	.field {
		padding: 8px;
	}

	.field span {
		font-size: 11px;
	}

	.field strong {
		font-size: 14px;
	}

	.search-btn {
		padding: 15px;
		font-size: 15px;
	}

	

	.footer {
		padding: 40px 0 20px;
	}

	.footer-grid {
		gap: 25px;
	}
	nav a{
		    text-align: end;
			font-size: 10px;
	}
}
nav a{
	color: var(--primary-white);
}
 .deal-card {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.deals-grid {
    
    gap: 13px;
    min-height: 400px; /* Keeps the section height stable */
    align-items: start;
 } 
.social-icons img{
	display: none;
    /* justify-content: end;
    position: absolute;
    height: 15%;
   
    right: 0px;
    -webkit-box-pack: end; */
}
.tab-content {
            animation: fadeIn 0.5s;
            /* Smooth transition */
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .tab.active {
            background-color: #ffb300;
            /* Yellow background */
            color: #000;
            /* Black text */
        }


		.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 6;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* Semi-transparent black */
}

/* The background overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: visible;
  opacity: 1;
  transition: all 0.3s ease;
}

/* The popup box */
.popup-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

/* THE MAGIC LOGIC: Hides the popup when you click the button */
#popup-toggle:checked + .overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* The Button Styling */
.close-button {
  display: inline-block;
  background-color: #007BFF;
  color: #ffffff;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  font-family: sans-serif;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.close-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}


		