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

:root {
    /* Premium Ocean & Gold Theme */
    --bs-primary: #122a54;
    --bs-primary-rgb: 18, 42, 84;
    --primary: #122a54;
    --primary-gradient: linear-gradient(135deg, #122a54 0%, #1e3c72 50%, #2a5298 100%);
    --secondary-gradient: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    --accent-gold: #d4af37;
    --accent-gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 12px 40px 0 rgba(18, 42, 84, 0.2);
    --shadow-glow: 0 8px 25px -5px rgba(212, 175, 55, 0.4);
}

body, h1, h2, h3, h4, h5, h6, p, a, span {
    font-family: 'Outfit', sans-serif !important;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-soft) !important;
    border-radius: 20px !important;
}

.glass-panel-dark {
    background: linear-gradient(135deg, rgba(18, 42, 84, 0) 0%, rgba(0, 0, 0, 0) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05) !important;
    border-radius: 24px !important;
    color: #ffffff !important;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.glass-panel-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(212, 175, 55, 0.1) !important;
}

/* Gradient Texts & Backgrounds */
.text-gradient {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: var(--primary-gradient) !important;
}

/* Buttons */
.btn-primary {
    background: var(--accent-gold-gradient) !important;
    color: #122a54 !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: var(--shadow-glow) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border-radius: 50px;
    animation: pulseGlow 2.5s infinite;
}
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.6) !important;
    color: #000 !important;
    animation: none; /* Stop pulse on hover */
}

/* Hover Animations for Cards (e.g. Services, Destinations, Blog) */
.service-content-inner, .destination-img, .gallery-item, .blog-item, .guide-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px !important;
    overflow: hidden;
}

.service-content-inner:hover, .blog-item:hover, .guide-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

/* -------------------------------------------------------------------------- */
/* Typography & Gradients */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-gradient-gold {
    background: var(--accent-gold-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent;
    display: inline-block;
    text-shadow: 0px 4px 15px rgba(212, 175, 55, 0.2);
}

/* ----------------------------------------------------------------------- */
/* --- Premium Photo Aesthetics --- */
/* Cinematic Hero Ken Burns */
@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}
.carousel-item img {
    animation: kenburns 20s ease-in-out infinite alternate;
    object-fit: cover;
}


/* Floating Elements */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.floating-icon {
    animation: float 4s ease-in-out infinite;
}

/* Typography Dropshadow for Hero */
.hero-text-shadow {
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.7);
}

/* -------------------------------------------------------------------------- */
/* High-Impact Card Reveals */
/* -------------------------------------------------------------------------- */
.national-item, .international-item, .destination-img {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

/* Dark moody tint by default */
.national-item img, .international-item img, .destination-img img {
    filter: brightness(0.7) saturate(1.1) contrast(1.1) !important;
    transition: transform 0.6s ease, filter 0.6s ease !important;
}

.national-content, .international-content, .destination-overlay {
    background: linear-gradient(to top, rgba(30, 60, 114, 0) 0%, rgba(30, 60, 114, 0) 50%, transparent 100%) !important;
    transform: translateY(40%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem !important;
}

.national-item:hover .national-content,
.international-item:hover .international-content,
.destination-img:hover .destination-overlay {
    transform: translateY(0);
    opacity: 1;
}

.national-item:hover img,
.international-item:hover img,
.destination-img:hover img {
    transform: scale(1.12) !important;
    filter: brightness(0.95) saturate(1.2) contrast(1.1) !important;
}

/* -------------------------------------------------------------------------- */
/* Custom Aesthetic Utilities */
/* -------------------------------------------------------------------------- */
/* Base Photo Enhancements */
.carousel-item img,
.about-img img,
.destination-img img,
.packages-img img,
.blog-img-inner img,
.gallery-item img {
    filter: saturate(1.15) contrast(1.05); /* Makes colors pop instantly */
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease !important;
}

/* Fix carousel text readability against popped images */
.carousel-item img {
    filter: saturate(1.15) contrast(1.05) brightness(0.85); 
}

/* Hover Effects with Depth & Rotation */
.about-img:hover img,
.destination-img:hover img,
.packages-img:hover img,
.blog-img-inner:hover img,
.gallery-item:hover img {
    transform: scale(1.12) rotate(1.5deg);
    filter: saturate(1.3) contrast(1.1) brightness(1.05);
}

/* Testimonial Avatar Enhancements */
.testimonial-img img {
    padding: 4px;
    background: linear-gradient(135deg, var(--primary), #feb47b);
    box-shadow: var(--shadow-glow);
    transition: all 0.4s ease;
}
.testimonial-item:hover .testimonial-img img {
    transform: scale(1.15) rotate(5deg);
}

/* Soft inner shadows/overlays for image wrappers to give a 3D depth effect */
.destination-img, .packages-img, .blog-img-inner, .gallery-item, .about-img {
    position: relative;
    overflow: hidden; /* Ensures the zoom doesn't break out */
}
.destination-img::after, .packages-img::after, .blog-img-inner::after, .gallery-item::after, .about-img::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.25);
    pointer-events: none;
    border-radius: inherit;
    z-index: 2;
}



/* Topbar Gradient */
.bg-primary {
    background: var(--primary-gradient) !important;
}

/* Custom rounded edges for inputs */
.form-control {
    border-radius: 30px !important;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Add extra left padding inside borderless form controls so the cursor has breathing room */
.form-control.bg-white.border-0,
.form-floating .form-control,
.form-floating .form-select {
    padding-left: 1rem !important;
}

/* Shared section blocks for consistent layout */
.section-block {
    padding: 4rem 0;
}

.section-block .section-title,
.section-block .section-about-title,
.section-block .subscribe-title,
.section-block .section-booking-title {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(19, 53, 123, 0.08);
    color: #13357b;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-block .section-title + h1,
.section-block .section-about-title + h1,
.section-block .subscribe-title + h1,
.section-block .section-booking-title + h1 {
    margin-top: 1rem;
}

/* Refined section headers */
.section-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Reduce navbar/menu height */
.navbar {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.navbar-light .navbar-nav .nav-link {
    padding: 16px 14px !important;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 12px 14px !important;
}

.navbar-light .navbar-brand img {
    max-height: 52px !important;
}

/* Glassmorphism Sticky Navbar */
.sticky-top.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: var(--shadow-soft) !important;
    border-bottom: 1px solid var(--glass-border);
}

/* About Us Stylish List */
.about-feature-item {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.about-feature-item:hover {
    transform: translateX(5px);
}
.about-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30,60,114,0.1), rgba(30,60,114,0.15));
    color: var(--primary);
    margin-right: 12px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.5);
    transition: all 0.4s ease;
}
.about-feature-item:hover .about-icon-box {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.15) rotate(15deg);
    box-shadow: var(--shadow-glow);
}
.about-feature-item i {
    margin: 0 !important;
}

/* Destination Overlays Interactive Slide */
.destination-overlay {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent) !important;
    opacity: 0.8;
}
.destination-overlay h4 {
    transform: translateY(15px);
    transition: transform 0.4s ease;
}
.destination-img:hover .destination-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.2)) !important;
}
.destination-img:hover .destination-overlay h4 {
    transform: translateY(0);
}


/* Uniform Packages Card Heights */
.packages-item .packages-content .p-4 {
    /* Set a strict maximum height so extra paragraphs do not stretch the carousel */
    height: 300px;
    overflow: hidden;
    position: relative;
}

.packages-item .packages-content .p-4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bs-light));
}

/* New Modern Hover Utilities */
.hover-scale {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.hover-scale:hover {
    transform: scale(1.03) !important;
}

.hover-shadow-dynamic {
    transition: box-shadow 0.4s ease, transform 0.4s ease !important;
}
.hover-shadow-dynamic:hover {
    box-shadow: var(--shadow-glow) !important;
    transform: translateY(-5px) !important;
}

.service-icon-float i {
    transition: transform 0.3s ease;
}
.hover-shadow-dynamic:hover .service-icon-float i {
    transform: scale(1.2) translateY(-5px);
}

/* Custom Gallery Grid Hover Effects */
.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}
.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0) !important;
}

/* -------------------------------------------------------------------------- */
/* Layout Fixes (Equal Height Cards & Bottom-aligned Buttons) */
/* -------------------------------------------------------------------------- */
.blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-item .blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-item .blog-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* -------------------------------------------------------------------------- */
/* Premium Filter Pills (Destinations, Tours, etc.) */
/* -------------------------------------------------------------------------- */
.nav-pills .nav-item a {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background: var(--accent-gold-gradient) !important;
    border: 1px solid var(--accent-gold) !important;
    box-shadow: var(--shadow-glow) !important;
}

.nav-pills .nav-item a span {
    color: #122a54 !important;
    font-weight: 800 !important;
}

.nav-pills .nav-item a:hover,
.nav-pills .nav-item a.active {
    background: var(--primary-gradient) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 8px 25px -5px rgba(18, 42, 84, 0.5) !important;
    transform: translateY(-4px) !important;
}

.nav-pills .nav-item a:hover span,
.nav-pills .nav-item a.active span {
    color: #ffffff !important;
}
