/* Global Variables & Reset */
:root {
    --primary-color: #0F4C75;
    /* Deep Ocean Blue */
    --secondary-color: #3282B8;
    /* Bright Blue */
    --accent-color: #BBE1FA;
    /* Soft Light Blue */
    --text-dark: #1B262C;
    /* Very Dark Blue/Black */
    --text-light: #F0F5F9;
    /* Off-white */
    --background-color: #ffffff;
    --card-bg: #ffffff;
    --transition-speed: 0.3s;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --padding-container: 2rem;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-container);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 76, 117, 0.2);
    background-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.section-padding {
    padding: 5rem 0;
}

/* Header */
header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 160px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    /* Add gap to separate Image, Arrival text, and Holidays span */
    gap: 15px;
}

.logo img {
    height: 140px;
    /* Adjust based on navbar height */
    width: auto;
    /* Margin removed in favor of flex gap */
}



.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Move content to bottom */
    padding-bottom: 8vh;
    /* Scale with viewport height */
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-buttons {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    z-index: 1001;
    width: 100%;
    justify-content: center;
}



.hero-explore-btn {
    font-size: 0.8rem;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid white;
    color: white;
    animation: pulse-zoom 2s infinite ease-in-out;
    backdrop-filter: blur(5px);
}

@keyframes pulse-zoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-explore-btn:hover {
    animation: none;
    transform: scale(1.05);
    background: white;
    color: var(--primary-color);
    border-color: white;
    transition: 0.3s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
}

/* Features/Services */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Featured Packages (Home) */
.featured-packages {
    background-color: var(--text-light);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: scale(1.02);
}

.package-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.package-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-info .btn {
    margin-top: auto;
    align-self: flex-start;
}

.package-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        position: absolute;
        width: 100%;
        background: transparent;
        z-index: 1000;
    }

    .hamburger {
        color: white;
    }

    nav {
        height: 70px;
        /* Compact height */
    }

    .nav-links {
        display: none;
        /* Add JS for toggle later */
        position: absolute;
        top: 70px;
        /* Match new header height */
        left: 0;
        transform: none;
        /* Reset desktop centering */
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        color: var(--text-dark);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}