/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}

:root {
--primary: #0f4c81;
--secondary: #ff7e47;
--accent: #00b4d8;
--light: #f8f9fa;
--dark: #212529;
}

body {
overflow-x: hidden;
background-color: var(--light);
}

/* Preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--primary);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
transition: opacity 0.5s ease;
}

.preloader.fade-out {
opacity: 0;
}

.plane-loader {
font-size: 3rem;
color: white;
animation: takeOff 2s ease-in-out infinite;
}

/* Header Styles */
.header {
position: relative;
height: 100vh;
width: 100%;
overflow: hidden;
}

.destination-slideshow {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.destination-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
opacity: 0;
transition: opacity 1.5s ease-in-out;
}

.destination-slide.active {
opacity: 1;
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(15, 76, 129, 0.3), rgba(15, 76, 129, 0.7));
z-index: 1;
}

/* Navigation Styles */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 25px 5%;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 100;
transition: all 0.4s ease;
}

.navbar.scrolled {
position: fixed;
background-color: rgba(15, 76, 129, 0.95);
backdrop-filter: blur(10px);
padding: 15px 5%;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.logo {
display: flex;
align-items: center;
color: white;
text-decoration: none;
font-size: 1.8rem;
font-weight: 700;
}

.logo-icon {
margin-right: 10px;
font-size: 1.8rem;
transform: rotate(-45deg);
transition: transform 0.5s ease;
}

.logo:hover .logo-icon {
transform: rotate(0deg);
}

.nav-links {
display: flex;
list-style: none;
}

.nav-links li {
margin-left: 30px;
position: relative;
}

.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
font-size: 1.1rem;
transition: all 0.3s ease;
position: relative;
padding: 5px 0;
}

.nav-links a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: var(--secondary);
transition: width 0.3s ease;
}

.nav-links a:hover::after {
width: 100%;
}

.nav-links a:hover {
color: var(--secondary);
}

.cta-button {
background-color: var(--secondary);
color: white;
padding: 12px 25px;
border-radius: 30px;
font-weight: 600;
transition: all 0.3s ease;
border: none;
cursor: pointer;
font-size: 1rem;
display: inline-flex;
align-items: center;
}

.cta-button:hover {
background-color: #ff6a2e;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(255, 126, 71, 0.3);
}

.cta-button i {
margin-left: 8px;
}

.mobile-menu-btn {
display: none;
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
z-index: 101;
}

/* Header Content */
.header-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
width: 90%;
max-width: 1200px;
z-index: 2;
color: white;
}

.header-content h1 {
font-size: 4.5rem;
margin-bottom: 20px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
line-height: 1.2;
}

.header-content p {
font-size: 1.3rem;
max-width: 700px;
margin: 0 auto 40px;
opacity: 0.9;
}

.search-container {
background-color: rgba(255, 255, 255, 0.9);
border-radius: 10px;
padding: 30px;
max-width: 900px;
margin: 0 auto;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.search-tabs {
display: flex;
margin-bottom: 20px;
border-bottom: 1px solid #eee;
}

.search-tab {
padding: 10px 20px;
cursor: pointer;
font-weight: 600;
color: var(--dark);
position: relative;
}

.search-tab.active {
color: var(--primary);
}

.search-tab.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 3px;
background-color: var(--primary);
}

.search-form {
display: flex;
flex-wrap: wrap;
gap: 15px;
}

.form-group {
flex: 1;
min-width: 200px;
}

.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: var(--dark);
text-align: left;
}

.form-control {
width: 100%;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}

.search-btn {
background-color: var(--primary);
color: white;
border: none;
padding: 12px 30px;
border-radius: 5px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease;
align-self: flex-end;
}

.scroll-down {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
color: white;
font-size: 1.5rem;
animation: bounce 2s infinite;
cursor: pointer;
z-index: 10;
}

/* Mobile Navigation */
.mobile-nav {
position: fixed;
top: 0;
left: -100%;
width: 80%;
max-width: 350px;
height: 100vh;
background-color: var(--primary);
z-index: 1000;
transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
padding: 80px 30px 30px;
overflow-y: auto;
}

.mobile-nav.active {
left: 0;
}

.mobile-nav-links {
list-style: none;
}

.mobile-nav-links li {
margin-bottom: 20px;
}

.mobile-nav-links a {
color: white;
text-decoration: none;
font-size: 1.2rem;
display: block;
padding: 10px;
border-radius: 5px;
transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
background-color: rgba(255, 255, 255, 0.1);
}

.mobile-cta {
margin-top: 30px;
}

.overlay-mobile {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 999;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}

.overlay-mobile.active {
opacity: 1;
visibility: visible;
}

/* Animations */
@keyframes takeOff {
0% {
transform: translateY(0) rotate(0deg);
}
50% {
transform: translateY(-50px) rotate(10deg);
}
100% {
transform: translateY(0) rotate(0deg);
}
}

@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0) translateX(-50%);
}
40% {
transform: translateY(-20px) translateX(-50%);
}
60% {
transform: translateY(-10px) translateX(-50%);
}
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

/* Responsive Styles */
@media (max-width: 1200px) {
.header-content h1 {
font-size: 3.5rem;
}
}

@media (max-width: 992px) {
.nav-links {
display: none;
}

.mobile-menu-btn {
display: block;
}

.header-content h1 {
font-size: 3rem;
}

.header-content p {
font-size: 1.1rem;
}

.search-container {
padding: 20px;
}
}

@media (max-width: 768px) {
.header-content h1 {
font-size: 2.5rem;
}

.search-tabs {
flex-wrap: wrap;
}

.search-tab {
flex: 1 0 50%;
text-align: center;
}

.logo {
font-size: 1.5rem;
}

.logo-icon {
font-size: 1.5rem;
}
}

@media (max-width: 576px) {
.header-content h1 {
font-size: 2rem;
}

.header-content p {
font-size: 1rem;
}

.search-container {
padding: 15px;
}

.form-group {
min-width: 100%;
}
}

.hotel-feature .hotel-image:hover img {
transform: scale(1.05);
}

.hotel-card:hover img {
transform: scale(1.1);
}

.hotel-card:hover h4 {
color: #b8860b;
}

a:hover {
padding-right: 10px;
}

a:hover span {
margin-left: 5px;
}
