/* Global Styles */
body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    background-image: url('../images/Website.png');
}

/* Banner Section */
#banner {
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow-x: hidden;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/main-bg.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 1.4s cubic-bezier(0.10, 0.1, 0.1, 1);
    z-index: 1;
}

.loaded .background-image {
    transform: scale(1);
}

.foreground-image-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 67%;
    overflow: hidden;
    transform: scale(1.2);
    transform-origin: bottom center;
    transition: transform 1.4s cubic-bezier(0.25, 0.1, 0.1, 1);
    z-index: 3;
}

.foreground-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
}

.loaded .foreground-image-container {
    transform: scale(1);
}

.text-line-1 {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, 100%);
    text-align: center;
    background: radial-gradient(34.66% 109.42% at 98.15% 121.74%, rgb(111 71 133 / 0%) 0%, rgb(255 255 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.1, 0.1, 1), transform 1.4s cubic-bezier(0.25, 0.1, 0.1, 1);
    z-index: 2;
    font-size: 5.2rem;
    font-weight: 600;
    line-height: 0.8;
    text-shadow: 0 2px 10px rgba(194, 194, 194, 0.5);
}

.loaded .text-line-1 {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Canvas */
#canvas-container {
    position: relative;
    width: 100%;
    height: 100%;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Header Section */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 10;
}

.header.scrolled {
    background-image: url('../images/bg/Why-Choose.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    padding: 0;
}

.header.scrolled .header-blur {
    background: #ffffff29;
    backdrop-filter: blur(5px);
    padding: 13px;
}

.header .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.header.scrolled .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.header-logo {
    width: 6rem;
}

.header.scrolled .header-logo {
    width: 4rem;
}

.desktop-menu {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.5rem;
    border-radius: 55px;
    gap: 2rem;
}

.header.scrolled .desktop-menu {
    gap: 1rem;
    padding: 0.5rem 2.5rem;
}

.desktop-button-container .gradient-button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.header.scrolled .desktop-button-container .gradient-button {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.mobile-header-controls .mobile-book-now {
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header.scrolled .mobile-header-controls .mobile-book-now {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

button#menu-toggle {
    background: rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 50%;
    border: 1px solid #f0f0f0;
}

/* Menu Styles */
.menu-link {
    color: white;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.menu-link:hover {
    color: #c084fc;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.1, 1);
    z-index: 20;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Banner Footer */
.banner-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.banner-footer-left {
    position: absolute;
    bottom: 1.5rem;
    z-index: 9;
    left: 2rem;
}

.banner-footer-right {
    position: absolute;
    bottom: 1rem;
    z-index: 9;
    right: 2rem;
}

/* Header Slider */
.header-slider {
    position: relative;
    width: 30rem;
    height: 7rem;
    bottom: 3rem;
    perspective: 1000px;
}

.header-slider-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.header-slide {
    position: absolute;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-in-out;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    overflow: hidden;
    color: #fff;
    padding: 15px;
    will-change: transform, opacity;
    z-index: 0;
}

.header-slide.active {
    opacity: 1;
    transform: scale(1) rotateY(0deg) translateZ(0);
    z-index: 2;
    position: relative;
}

.header-slide.leaving {
    opacity: 0;
    transform: scale(0.95) translateY(-15px);
    z-index: 1;
}

.header-slide.next {
    opacity: 1;
    transform: scale(0.9) rotate(-9deg) translateZ(10px);
    z-index: 1;
    left: -40px;
    bottom: 20px;
}

.contet-block {
    opacity: 0;
    transition: opacity 3s ease 1s;
}

.header-slide.active .contet-block {
    opacity: 1;
}

/* Why Choose Us Section */
#mobile-gallery-card {
    background-image: url('../images/mobile-gallery-card.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

#why_choose {
    background-image: url('../images/bg/Why-Choose.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

#why_choose .slider-move .why-choose-slider {
    left: 15rem;
}

#featureList li.active {
    color: white;
}

/* Itinerary Section */
#single-blg-btn,
#itinerary {
    background-image: url('../images/bg/Itinerary.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

.itenary-image-1 {
    position: absolute;
    left: -1rem;
    top: -2rem;
    transform: rotate(17deg);
}

img.itenary-image-mobile {
    transform: scale(1.3) rotate(12deg);
}

.itenary-image-2 {
    position: absolute;
    left: 4rem;
    bottom: -5rem;
}

/* Camera Capture Section */
#camera_capture {
    background-image: url('../images/bg/before_after.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* Integration Section */
#Integration {
    background-image: url('../images/bg/Integration.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* Blog Section */
#blog,
#single-blog {
    background-image: url('../images/bg/Blog.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* FAQ Section */
#faq {
    background-image: url('../images/bg/FAQ.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* Footer Section */
footer {
    background-image: url('../images/bg/Footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* Slider Navigation */
.slider-nav .slick-slide {
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;
}

.slider-nav .slick-track {
    display: flex !important;
    justify-content: end !important;
    align-items: flex-end !important;
}

.slider-nav .slick-center {
    transform: scale(1);
    z-index: 2;
    margin-bottom: 10px;
}

.slider-nav img {
    width: auto;
    margin: 0 auto;
    border: 1px solid white;
    border-radius: 5px;
}

.slider-nav .slick-center img {
    border: 4px solid #EFDCFF;
    border-radius: 5px;
}

.slider_wrapper {
    overflow: hidden;
}

/* Pagination */
.page-numbers {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-numbers:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-numbers.current {
    background: linear-gradient(262deg, #FF00FB -6.51%, #6A00FF 113.43%);
    font-weight: bold;
}

.page-numbers.next {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Utility Classes */
.gradient-button {
    background: linear-gradient(262deg, #FF00FB -6.51%, #6A00FF 113.43%);
}

.opacity-button {
    background: rgba(255, 255, 255, 0.3);
}

.explore-bttn {
    background: rgba(255, 255, 255, 0.3);
}

.linear-gradient {
    background: linear-gradient(262deg, #FF00FB -6.51%, #6A00FF 113.43%);
}

.radieal-gradient-text {
    background: radial-gradient(34.66% 109.42% at 98.15% 121.74%, rgb(111 71 133 / 0%) 0%, rgb(255 255 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.linear-gradient-text {
    background: linear-gradient(180deg, #FFFFFF 0%, #CFB1DC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient {
    background: rgba(208, 187, 217, 1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-bg-button {
    background: rgba(255, 255, 255, 0.16);
}

.gradient-border {
    border-color: rgba(116, 82, 116, 1);
}

ul li.point-active {
    color: white;
    font-weight: 600;
}

/* Parallax */
.parallax-container {
    overflow: hidden !important;
    position: relative;
    will-change: transform;
}

.parallax-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Animations */
.jump {
    animation: jump 1s infinite alternate;
}

@keyframes jump {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (min-width: 1024px) {

    /* lg: Same as md */
    .text-line-1 {
        font-size: 4.5rem;
        top: 27%;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    .header .header-blur {
        padding: 0;
    }

    .header.scrolled .header-logo {
        width: 4rem;
    }

    .mobile-header-controls .mobile-book-now {
        display: none !important;
    }

    #why_choose .slider-move .why-choose-slider {
        left: 15rem;
    }

    #itinerary .slider-move .why-choose-slider {
        left: 15rem;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {

    /* md: Existing styles */
    .text-line-1 {
        font-size: 3.5rem;
        top: 25%;
    }

    #why_choose .slider-move .why-choose-slider {
        left: 15rem;
    }

    #itinerary .slider-move .why-choose-slider {
        left: 15rem;
    }
}

@media (max-width: 767px) and (min-width: 576px) {

    /* sm: Existing styles */
    body {
        background-image: url('../images/Mobilefullbg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .background-image {
        background-image: url('../images/mobile-main-bg.png');
        background-size: cover;
        background-position: center;
    }

    .text-line-1 {
        font-size: 5.5rem;
        line-height: 1;
        top: 25%;
        width: 100%;
    }

    .header {
        padding: 0;
    }

    .header .header-blur {
        padding: 1rem;
    }

    .header.scrolled .header-logo {
        width: 6rem;
    }

    .header-slider {
        width: 100%;
        height: 27rem;
    }

    .header-slide {
        left: 1rem;
        bottom: 0;
    }

    .header-slide.next {
        left: -50px;
        bottom: 54px;
    }

    .header-slider-wrap {
        padding: 13rem 0 4rem 0;
    }

    .banner-footer-left {
        text-align: center;
        width: 100%;
    }

    #why_choose .slider-move .why-choose-slider {
        left: 0;
    }

    #why_choose .slick-list {
        padding-left: 20px !important;
    }

    #why_choose .slick-list .slick-slide {
        margin: 0 15px !important;
    }

    #itinerary .slider-move .why-choose-slider {
        left: 0;
    }

    #itinerary .slick-list {
        padding-left: 20px !important;
    }

    #itinerary .slick-list .slick-slide {
        margin: 0 15px !important;
    }

    #faq,
    footer,
    #blog,
    #single-blog,
    #Integration,
    #single-blg-btn,
    #why_choose,
    #mobile-gallery-card {
        background-image: none;
    }

    .parallax-container .simpleParallax {
        height: 100%;
    }


}

@media (max-width: 575px) {

    /* xs: Same as sm with iPhone 12 Pro optimizations */
    body {
        background-image: url('../images/Mobilefullbg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-top: env(safe-area-inset-top);
        /* iOS safe area */
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .background-image {
        background-image: url('../images/mobile-main-bg.png');
        background-size: cover;
        background-position: center;
    }

    .text-line-1 {
        font-size: 2.8rem;
        /* Reduced for iPhone 12 Pro */
        line-height: 1.1;
        top: 28%;
        width: 90%;
        margin: 0 auto;
    }

    .foreground-image-container {
        height: 50%;
        /* Reduced to prevent overflow */
    }

    .foreground-image {
        object-fit: cover;
    }

    .header {
        padding: 0.5rem;
        top: env(safe-area-inset-top);
        /* Respect iPhone notch */
    }

    .header .header-blur {
        padding: 0.5rem;
    }

    .header.scrolled .header-logo {
        width: 5rem;
    }

    .header-slider {
        width: 100%;
        height: 25rem;
    }

    .header-slide {
        left: 0.5rem;
        bottom: 0;
    }

    .header-slide.next {
        left: -40px;
        bottom: 50px;
    }

    .header-slider-wrap {
        padding: 12rem 0 3rem 0;
    }

    .banner-footer-left {
        text-align: center;
        width: 100%;
        bottom: 2rem;
    }

    .gradient-button,
    .opacity-button {
        font-size: 1.25rem;
        /* Reduced for better proportionality */
        padding: 0.75rem 1rem;
    }

    #why_choose .slider-move .why-choose-slider {
        left: 0;
    }

    #why_choose .slick-list {
        padding-left: 15px !important;
    }

    #why_choose .slick-list .slick-slide {
        margin: 0 10px !important;
    }

    #itinerary .slider-move .why-choose-slider {
        left: 0;
    }

    #itinerary .slick-list {
        padding-left: 15px !important;
    }

    #itinerary .slick-list .slick-slide {
        margin: 0 10px !important;
    }

    .mobile-itinerary-card {
        padding: 0.5rem;
    }

    .itenary-image-mobile {
        transform: scale(1.2) rotate(12deg);
        object-fit: cover;
    }

    #faq,
    footer,
    #blog,
    #single-blog,
    #Integration,
    #single-blg-btn,
    #why_choose,
    #mobile-gallery-card {
        background-image: none;
    }

    .parallax-container .simpleParallax {
        height: 100%;
    }

    button#menu-toggle {
        padding: 12px;
    }

    button#menu-toggle img {
        width: 1.2rem;
        height: 1.2rem;
    }


}