@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-yellow: #f8cf3d;
    --golden-orange: #db9316;
    --dark-blue: #0a356d;
    --forest-green: #29662b;
    --bright-yellow: #ffd811;
    --brown: #864f0e;
    --dark-navy: #0e1e35;
    --light-green: #689d22;
    --sky-blue: #3a87b3;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-cream: #fcf9f2;
}

html {
    overflow-x: hidden !important;
    max-width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden !important;
    max-width: 100%;
    position: relative;
}

.main-content {
    flex: 1;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Prevent media elements from exceeding container widths */
img, video, iframe, embed, object {
    max-width: 100%;
}

/* Vector Background Patterns */
.bg-dark-navy { background-color: var(--dark-navy) !important; }
.bg-dark-blue { background-color: var(--dark-blue) !important; }
.bg-cream { 
    background-color: var(--bg-cream) !important;
}
.bg-illustration {
    background-image: url('../img/illustration.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 250px auto;
}
.bg-white {
    background-color: #ffffff !important;
}
.text-primary-yellow { color: var(--primary-yellow) !important; }
.text-golden-orange { color: var(--golden-orange) !important; }
.text-forest-green { color: var(--forest-green) !important; }
.text-dark-navy { color: var(--dark-navy) !important; }
.bg-forest-green { background-color: var(--forest-green) !important; }

/* Top Info Bar */
.top-bar {
    background-color: #0b1a2e;
    font-size: 0.85rem;
}
.top-bar a, .top-bar span {
    color: #b0c4de;
    text-decoration: none;
}
.top-bar a:hover {
    color: var(--primary-yellow);
}
.top-bar .social-icons a {
    margin-left: 10px;
    color: #b0c4de;
}
.top-bar .social-icons a:hover {
    color: var(--primary-yellow);
}

/* Navbar */
.navbar {
    background-color: var(--dark-navy);
    padding-top: 15px;
    padding-bottom: 15px;
}
.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-brand img {
    height: 100px;
    margin-right: 10px;
}
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: color 0.3s;
}
.nav-link:hover, .footer-links a:hover {
    color: var(--primary-yellow) !important;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 999;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark-navy);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
}
.mobile-bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--forest-green);
}
.mobile-bottom-nav .nav-item:hover, .mobile-bottom-nav .nav-item:hover i {
    color: var(--primary-yellow);
}

@media (max-width: 991px) {
    body {
        padding-bottom: 60px; /* space for mobile nav */
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 160px;
    }
    .hero-title-top {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .hero-content {
        /* Padding handled by parent */
    }
    .hero-content .mt-4 {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .hero-content .btn {
        width: 100%;
        margin-right: 0 !important;
    }
}
.btn-book-now {
    background-color: var(--primary-yellow);
    color: var(--dark-navy);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 8px 20px;
    border: none;
    transition: background-color 0.3s;
}
.btn-book-now:hover {
    background-color: var(--bright-yellow);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-color: var(--dark-navy);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px; /* Avoid 1px gap */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}
.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}
.custom-shape-divider-bottom .shape-fill {
    fill: #ffffff;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(14, 30, 53, 0.4);
    z-index: 1;
}
.hero-content {
    color: #ffffff;
    max-width: 800px;
    position: relative;
    z-index: 2;
}
.hero-title-top {
    font-size: 2.5rem;
    font-style: italic;
    font-family: 'Georgia', serif;
    color: var(--primary-yellow);
    margin-bottom: 0;
}
.hero-title-main {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 500px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}
.btn-hero-primary {
    background-color: var(--primary-yellow);
    color: var(--dark-navy);
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 25px;
    border: none;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-hero-primary:hover {
    background-color: var(--bright-yellow);
}
.btn-hero-secondary {
    background-color: var(--forest-green);
    color: white;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 25px;
    border: none;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-hero-secondary:hover {
    background-color: #1e4f20;
    color: white;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.loader-content {
    text-align: center;
}
.loader-logo {
    height: 80px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}
.loader-spinner {
    width: 40px; height: 40px;
    border: 4px solid var(--bg-cream);
    border-top: 4px solid var(--primary-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utilities */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}
.section-title .title-icon {
    display: inline-block;
    color: var(--primary-yellow);
    font-size: 1.2rem;
    position: relative;
}
.section-title .title-icon::before,
.section-title .title-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background-color: var(--primary-yellow);
}
.section-title .title-icon::before { left: -75px; }
.section-title .title-icon::after { right: -75px; }

.section-title h2 {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-navy);
    letter-spacing: 1.5px;
    font-size: 2rem;
    margin-top: 5px;
}
.section-title h5 {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: var(--forest-green);
    font-size: 1.1rem;
    margin-top: -5px;
}

/* Why Choose Us Section */
.why-choose-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.why-item {
    flex: 1;
    padding: 0 15px;
}
.why-icon {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 15px;
}
.why-item h6 {
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 10px;
}
.why-item p {
    font-size: 0.85rem;
    color: #666;
}

/* What We Offer You Grid */
.destinations-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 25px; /* space for scrollbar */
}
/* Custom Scrollbar for Destinations Row Removed */
.destination-col {
    flex: 0 0 20%;
    max-width: 20%;
}
.dest-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.3s;
}
.dest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.dest-img-container {
    height: 150px;
    overflow: hidden;
    position: relative;
}
.dest-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dest-icon {
    position: absolute;
    bottom: -3px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--forest-green);
    font-size: 1.2rem;
    z-index: 2;
}
.dest-card-body {
    padding: 30px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dest-card-body h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-navy);
}
.dest-card-body p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}
.explore-link {
    color: var(--forest-green);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
}
.explore-link:hover {
    color: var(--dark-navy);
}

/* The Top Destinations Area */
.top-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}
.top-dest-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}
.top-dest-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.top-dest-info {
    padding: 10px;
}
.top-dest-info h6 {
    margin: 0 0 5px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-navy);
}
.top-dest-info p {
    margin: 0;
    font-size: 0.75rem;
    color: #888;
}

/* Photo Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 15px;
}
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.btn-blue {
    background-color: #0073e6;
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 4px;
}
.btn-blue:hover {
    background-color: #005bb5;
    color: white;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}
.stars {
    color: var(--primary-yellow);
    margin-bottom: 15px;
    text-align: center;
}
.testimonial-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
    text-align: center;
}
.author {
    display: flex;
    align-items: center;
    justify-content: center;
}
.author img.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}
.author-info h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.9rem;
}
.author-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
}
.flag-icon {
    width: 16px;
    height: 11px;
    margin-right: 5px;
}

/* Our Story Block */
.our-story-section {
    background: linear-gradient(90deg, #f0f4f8 50%, #ffffff 50%);
}
.story-content {
    padding: 60px 40px;
    background: #f0f4f8;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.story-content h2 {
    font-weight: 700;
    color: var(--dark-navy);
    text-transform: uppercase;
}
.story-content h5 {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: var(--forest-green);
    margin-bottom: 20px;
}
.story-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}
.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Section */
.footer-main {
    background-color: var(--dark-navy);
    background-image: url('../img/footer_bg.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: #ffffff;
    padding: 50px 0 30px;
}
.footer-text {
    font-size: 0.9rem;
    color: #b0c4de;
    max-width: 300px;
}
.newsletter-box h5 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.newsletter-box p {
    font-size: 0.9rem;
    color: #b0c4de;
}
.subscribe-form .form-control {
    border-radius: 5px 0 0 5px;
    border: none;
    padding: 10px 15px;
}
.subscribe-form .btn {
    border-radius: 0 5px 5px 0;
    background-color: var(--primary-yellow);
    color: var(--dark-navy);
    font-weight: 700;
}
.footer-links h5 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-yellow);
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links ul li a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links ul li a:hover {
    color: var(--primary-yellow);
}
.footer-contact h5 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-yellow);
}
.footer-contact p {
    font-size: 0.9rem;
    color: #b0c4de;
    margin-bottom: 10px;
    display: flex;
}
.footer-contact p i {
    color: var(--primary-yellow);
    margin-right: 10px;
    margin-top: 3px;
    width: 15px;
}
.sub-footer {
    background-color: var(--forest-green);
    color: white;
    padding: 15px 0;
    font-size: 0.85rem;
}
.sub-footer a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}
.sub-footer a:hover {
    text-decoration: underline;
}

/* WhatsApp Floating Widget */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(37,211,102,0.4);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}
.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #FFF;
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 991px) {
    .whatsapp-float {
        bottom: 80px; /* sit above the bottom nav */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}
