/* Custom CSS */

:root {
    --primary-color: hsla(75, 10.17%, 46.27%, 1); /* #6B7F3D */
    --primary-hover: hsla(75, 10.17%, 36.27%, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
}

/* Navbar */
.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Hero Section */
.hero-section {
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Page Headers (for subpages) */
.page-header {
    background-color: #212529; /* bg-dark */
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

/* Destinations */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.destination-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.destination-card:hover, .what-we-do-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.what-we-do-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card img {
    height: 250px;
    object-fit: cover;
}

.badge {
    background-color: var(--primary-color) !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Form */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem hsla(75, 10.17%, 46.27%, 0.25);
}

/* Custom Accordion */
.bg-warm {
    background-color: #f7f6f2;
}

.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.8) !important;
}
.custom-accordion .accordion-item:first-of-type {
    border-top: 1px solid rgba(0,0,0,0.8) !important;
}
.custom-accordion .accordion-button {
    font-weight: 400;
}
.custom-accordion .accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    text-align: center;
    transition: transform 0.3s ease;
    color: #333;
}
.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: none;
    content: '-';
    transform: none;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #000;
    box-shadow: none;
}

#destinationImage {
    transition: opacity 0.3s ease-in-out;
}

/* Footer */
footer a:hover {
    color: rgb(0, 0, 0) !important;
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #8cb83f;
    color: white;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background-color: #0a5c36;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.chat-message {
    max-width: 85%;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    text-align: right;
    margin-left: auto;
}

.user-message > div {
    background-color: #8cb83f;
    color: white;
}

@media (max-width: 576px) {
    .chatbot-window {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        z-index: 1060;
    }
}

.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    /* Animation handled by JS */
}

.gallery-img {
    height: 300px;
    width: 400px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
