
.max-w-booking{
    max-width: 50rem;
}
.booking-bg-image {
    position: relative;
    background: url('../img/Manmap.jpg') center/cover no-repeat;
}

.booking-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0.8; /* 👈 reduce image opacity */
    z-index: 0;
}

.booking-bg-image > * {
    position: relative;
    z-index: 1;
}
.drip-bg{
   background-color: #0D2137 !important; 
}
.trip-type{
    background-color: #fff;
}
.trip-type button.active{
    --tw-text-opacity: 1;
    background-color: rgb(234 88 12 / var(--tw-text-opacity, 1));
    color: #fff;
}

.trip-type button{
    --tw-text-opacity: 1;
    background-color: #fff;
    color: #0D2137;
}
.one-way-trip
{
    width: 50%;
    text-align: center;
}

.one-way-round-trip
{
    width: 49%;
    text-align: center;
}
.text-color{
    color: rgb(234 88 12 / var(--tw-text-opacity, 1));
}
.ratio-type-select{
    width: 100%;
}
.ratio-type-select li{
    float: left;
    margin-right: 15px;
    background-color: #fff;
    color: #0D2137;
}
.service-option{
    background-color: #fff;
}

/* Complete width utilities set */
.w-25 { width: 25% !important; }
.w-33 { width: 33.333% !important; }
.w-50 { width: 50% !important; }
.w-66 { width: 66.666% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }

/* With min and max width */
.w-100 {
    width: 100%;
    min-width: 0; /* Allows shrinking if needed */
    max-width: 100%;
}

/* Fixed width variants */
.w-100vw {
    width: 100vw !important;
}

.w-100pct {
    width: 100% !important;
}


/* Mobile menu animation */
.mobile-menu-enter {
    opacity: 0;
    transform: translateX(100%);
}
.mobile-menu-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 300ms, transform 300ms;
}
.mobile-menu-exit {
    opacity: 1;
    transform: translateX(0);
}
.mobile-menu-exit-active {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 300ms, transform 300ms;
}
.parsley-required{
    color: red;
}
    /* Lazy loading styles */
.lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.lazy-img.loaded {
    opacity: 1;
}
.lazy-bg {
    background-color: #f3f4f6; /* Fallback color */
}

/* Mobile-first CSS fixes */
:root {
    --vh: 1vh;
}

/* Fix for iOS Safari 100vh issue */
.min-h-screen {
    min-height: calc(var(--vh, 1vh) * 100);
}


/* Hero image container with modern aspect-ratio */
.hero-aspect-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
}

@supports not (aspect-ratio: 4/3) {
    .hero-aspect-container {
        height: 0;
        padding-bottom: 75%;
    }
}

.hero-aspect-container > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder styling for images */
.img-placeholder {
    display: block;
    background: linear-gradient(110deg, #f3f4f6 8%, #f9fafb 18%, #f3f4f6 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    border-radius: inherit;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

/* Image transition */
.lazy-img {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.lazy-img.loaded {
    opacity: 1;
}

/* Fix for mobile font loading */
.font-loading {
    visibility: visible;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.d-blank-section{
    margin-top: 10rem;   
}
/* Mobile-specific optimizations */
@media (max-width: 768px) {
    
    .d-blank-section{
        margin-top: 8rem;   
    }
    /* Prevent horizontal scrolling */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix for mobile viewport */
    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Ensure buttons are tappable on mobile */
    button, 
    a[role="button"],
    .cursor-pointer {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent text reflow on mobile */
    h1, h2, h3, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Fix for flex containers on mobile */
    .flex-wrap {
        flex-wrap: wrap;
    }
    
    /* Optimize grid for mobile */
    .grid {
        grid-template-columns: 1fr;
        grid-gap: 1rem;
    }
    
    
    /* Fix for iOS elastic scrolling */
    .overflow-hidden {
        -webkit-overflow-scrolling: touch;
    }
}

/* Fixed button heights to prevent shifts */
button, a[role="button"] {
    min-height: 48px;
}

/* Reserve space for icons */
.material-symbols-outlined {
    display: inline-block;
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Fallback for material icons */
@supports not (font-family: 'Material Symbols Outlined') {
    .material-symbols-outlined::before {
        content: '✓';
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
}

/* Prevent text wrapping that causes shifts */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Fixed grid gaps */
.grid {
    grid-gap: 1.5rem;
    gap: 1.5rem;
}

/* Ensure cards have consistent heights */
.flex-col {
    min-height: 0;
}

/* Prevent hover effects from causing layout shifts on mobile */
@media (hover: hover) {
    .hover\:-translate-y-1:hover {
        transform: translateY(-0.25rem);
        transition: transform 0.2s ease-in-out;
    }
}

/* Web font optimization */
@font-face {
    font-display: swap;
}


/* Android specific fixes */
@supports not (-webkit-touch-callout: none) {
    /* Fix for Chrome on Android */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .lazy-img,
    .hero-image,
    .transition-transform,
    .transition-colors {
        transition: none !important;
        animation: none !important;
    }
    
    .img-placeholder {
        animation: none !important;
    }
}
