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

:root {
    --primary: #1e3c72;
    --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --secondary-gradient: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --shadow-glow: 0 8px 25px -5px rgba(30, 60, 114, 0.5);
}

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;
}

/* 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(--primary-gradient) !important;
    border: none !important;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    border-radius: 50px;
    animation: pulseGlow 2.5s infinite;
}
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 60, 114, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(30, 60, 114, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 60, 114, 0);
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -5px rgba(30, 60, 114, 0.7);
    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);
}

/* --- Premium Photo Aesthetics --- */
/* 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));
}

