/* Compiled CSS variables */
:root {
    --primary-color: #0E2849;
    --secondary-color: #F57C00;
    --accent-color: #00695C;
    --light-bg: #F8F9FA;
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Open Sans', sans-serif;
}

/* General Styles */
body {
    font-family: var(--font-sans);
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #c26100;
    /* Darkened by 10% approx */
    border-color: #c26100;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: var(--font-serif);
    font-weight: 900;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: #333;
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Hero Section */
/* Hero Section */
/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Ken Burns Effect Layer */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Animation triggers when slide is active */
.carousel-item.active .hero-bg {
    animation: kenBurns 20s infinite alternate linear;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(14, 40, 73, 0.3), rgba(14, 40, 73, 0.8));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    padding-bottom: 5rem;
}

/* Typography & Text Animations */
.hero-section h1 {
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(40px);
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(40px);
    max-width: 800px;
}

.hero-section .btn {
    opacity: 0;
    transform: translateY(40px);
    padding: 15px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.4);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.6);
}

/* Staggered Entrance Animations */
.carousel-item.active .animated-title {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

.carousel-item.active .animated-text {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.8s;
}

.carousel-item.active .animated-btn {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* About Section */
.about-section {
    background-color: white;
    padding: 5rem 0;
}

.about-section .img-fluid {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Destinations / Cards */
.destination-card {
    border: none;
    border-top: 4px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
    height: 100%;
    background-color: white;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.destination-card .card-body {
    padding: 2rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer ul li a:hover {
    color: var(--secondary-color);
}

footer .social-icons a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease-in-out;
}

footer .social-icons a:hover {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Custom Header Styles */
.custom-header {
    background-color: #EAE3D2;
    /* Beige background */
    padding: 10px 0;
    position: relative;
    z-index: 1030;
    /* Above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    /* Ensure enough height for links */
}

.logo-container {
    position: relative;
}

.header-logo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid #EAE3D2;
    /* Increased border thickness */
    position: absolute;
    top: -40px;
    /* Moved up */
    left: -30px;
    /* Moved left */
    z-index: 1040;
    background-color: white;
    /* Fallback */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Spacer for the logo so content doesn't get hidden behind the absolute logo */
.logo-spacer {
    width: 150px;
    height: 1px;
}

.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-nav li {
    padding: 0 15px;
    border-right: 1px solid #ccc;
    line-height: 1.2;
}

.header-nav li:last-child {
    border-right: none;
}

.header-nav a {
    color: #004d40;
    /* Teal/Green text */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--secondary-color);
}

@media (max-width: 991px) {
    .header-nav {
        display: none;
        /* Hide custom nav on mobile for now, or use hamburger */
    }

    .custom-header {
        display: none;
        /* Hide custom header on mobile, fallback to something else? Or simple styling */
    }

    /* Revert to simple mobile view if needed, but for now implementing the request */
    /* For this task I will prioritize the desktop view as per the screenshot */
    .header-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-nav li {
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 10px 0;
        width: 100%;
    }

    .header-logo {
        width: 80px;
        height: 80px;
        position: static;
        top: auto;
        border: none;
        box-shadow: none;
    }

    .logo-spacer {
        width: 0;
    }

    .custom-header {
        display: block;
    }

    .header-nav {
        display: block;
        width: 100%;
    }

    .header-inner {
        flex-wrap: wrap;
    }
}