@media screen and ( max-width: 1200px ) {

    .site-header.is-sticky .site-header__wrapper {
        padding: 5px 15px;
    }

    .site-header__wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 15px;
    }

    /* Hide the desktop split nav — replaced entirely by .site-nav-mobile */
    .site-nav--left,
    .site-nav--right {
        display: none;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    .nav-spacer {
        display: none;
    }

    .site-branding {
        order: 1;
        flex: 1;
        display: flex;
        justify-content: flex-start;
        padding: 0;
    }

    .site-title img {
        height: 60px;
    }

    /* Dark overlay behind the drawer, click-to-close */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 90;
    }

    .nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* The slide-in drawer itself — hidden off-screen to the right by default */
    .site-nav-mobile {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 82vw);
        background: rgb(30 34 40 / 0.98);
        box-shadow: -12px 0 32px rgba(0, 0, 0, 0.3);
        padding: 24px 20px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 100;
    }

    /* JS adds .is-open to slide the drawer into view */
    .site-nav-mobile.is-open {
        transform: translateX(0);
    }

    .site-nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin-left: auto;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
        cursor: pointer;
        color: #fff;
        font-size: 20px;
        line-height: 1;
    }

    /* Drawer's link list — stacked vertically, no borders (unlike desktop) */
    .site-nav-mobile .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        border: none;
        padding: 0;
        gap: 4px;
    }

    .site-nav-mobile .site-nav__list li a {
        display: block;
        padding: 10px 4px;
        font-size: 14px;
        color: #ddd;
    }

    .site-nav-mobile .site-nav__item-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Mobile ONLY: turn the caret button back into a real, clickable
       toggle (on desktop it's decorative/pointer-events:none — see above).
       JS listens for clicks on this button to expand/collapse the
       accordion sub-menu. */
    /*.site-nav-mobile .site-nav__caret-btn {
        position: static;
        !*display: flex;
        align-items: center;
        justify-content: center;*!
        width: 36px;
        height: 36px;
        !*padding: 0 5px 0 12px;*!
        background: transparent;
        border: 1px solid #333; !* remove the debug blue border once confirmed working *!
        color: #ddd;
        cursor: pointer;
        pointer-events: auto;
    }

    .site-nav-mobile .site-nav__caret-btn {
        position: static;
        !*display: flex;
        align-items: center;
        justify-content: center;*!
        width: 36px;
        height: 36px;
        background: transparent;
        border: 1px solid #333;
    }*/
    .site-nav-mobile .site-nav__caret-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 36px;
        height: 36px;
        padding: 0;

        position: static;

        background: transparent;
        border: none;

        color: #ddd;
        cursor: pointer;
        pointer-events: auto;
    }

    /*.site-nav-mobile .site-nav__caret {
        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 16px;
        line-height: 1;

        transition: transform 0.25s ease;
    }*/
    .site-nav-mobile .site-nav__caret {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        line-height: 1;
        transition: transform 0.25s ease;
    }

    /*.site-nav-mobile .site-nav__caret {
        font-size: 16px;
        transition: transform 0.25s ease;
    }*/
    /* Flip chevron when JS adds .is-open to the parent <li> */
    /*.site-nav-mobile .menu-item-has-children.is-open .site-nav__caret {
        transform: rotate(180deg);
    }*/
    .menu-item-has-children:hover .site-nav__caret {
        transform: rotate(180deg);
    }

    .menu-item-has-children.is-open .site-nav__caret {
        transform: rotate(180deg);
    }

    /* The hover-bridge trick isn't needed on mobile (no hover, tap-driven) */
    .site-nav-mobile .menu-item-has-children::after {
        display: none;
    }

    /* Sub-menu becomes an inline accordion instead of a floating card:
       starts collapsed (max-height: 0) and JS sets an explicit pixel
       height via style.maxHeight to animate it open/closed */
    .site-nav-mobile .sub-menu {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    /* Override the desktop light-card hover styling — the drawer is dark,
       so sub-menu items need a subtle light overlay instead of a
       light-gray background */
    .site-nav-mobile .sub-menu__item a {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        color: #ccc;
        padding: 8px 4px;
        border-radius: 4px;
        background: transparent;
    }

    .site-nav-mobile .site-nav__list .menu-item-has-children .sub-menu__item a {
        display: flex;
        padding: 12px 0;
    }

    .site-nav-mobile .sub-menu__item a:hover,
    .site-nav-mobile .sub-menu__item a:active,
    .site-nav-mobile .sub-menu__item a:focus-visible {
        background: rgba(255, 255, 255, 0.08);
        color: #ccc;
    }

    .site-nav-mobile .sub-menu__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 20px; /* matches title's line-height so icon centers against it */
        flex-shrink: 0;
        margin-top: 0;
    }

    .site-nav-mobile .sub-menu__icon ion-icon {
        font-size: 13px;
        display: block;
    }

    .site-nav-mobile .sub-menu__title {
        color: #fff;
        line-height: 20px; /* matches .sub-menu__icon height exactly */
    }

    .site-nav-mobile .sub-menu__desc {
        color: #999;
    }

    .sub-menu__item:not(:last-child) {
        border-bottom: 1px solid #2d2d2d;
    }

}

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

    /* GLOBAL CLASSES */
    .heading-secondary {
        font-size: 28px;
        font-weight: 500;
    }

    .page-header {
        height: 60vh;
    }

    .page-header__content {
        top: 30%;
        left: 4%;
        width: 90%;
    }

    .page-header__content h1 {
        font-size: 28px;
        line-height: 1.4;
    }

    .hero-contact {
        right: 4%;
        bottom: 2%;
    }

    /* VIDEO WRAPPER [HOME PAGE] */
    .section-video__wrapper {
        height: 40vh;
    }

    .section-video__play {
        width: 65px;
        height: 65px;
    }

    .section-video__text {
        top: calc(50% + 55px);
        font-size: 24px;
    }

    .video-modal {
        padding: 20px;
    }

    .video-modal__content {
        width: 100%;
    }

    .section-hero {
        height: 50vh;
    }
	
	.hero__headline h1 {
		font-size: 20px;
	}

    /* SECTION ABOUT [HOME PAGE] */
    /*.section-about {
        padding: 60px 0 0;
    }

    .about__content {
        width: 100%;
    }

    .vinnajagat-awards {
        margin: 20px 0;
        gap: 10px;
    }

    .about__content h2 {
        font-size: 28px;
    }

    .about__content h2 span {
        font-size: 35px;
    }

    .vinnajagat-awards img {
        height: 70px;
    }*/

    /* SECTION PACKAGES [HOME PAGE] */
    .section-packages {
        padding: 70px 0;
    }

    .packages__content .package__text h2 {
        font-size: 28px;
        font-weight: 400;
        margin-bottom: 8px;
    }

    .packages__content .package__text p {
        line-height: 1.5;
        margin-bottom: 10px;
    }
	
	.section-swimming {
        padding: 60px 0 0;
    }

    .section-restaurant {
        padding: 60px 0 0;
    }

    .section-indoor-games {
        padding: 60px 0 0;
    }

    .section-water-park {
        padding: 60px 0 0;
    }

    .section-science-park {
        padding: 60px 0 0;
    }

    .section-heritage-park {
        padding: 60px 0 0;
    }

    .section-page-content {
        padding: 0 0 60px;
    }

    .page-text-content {
        font-size: 15px;
    }

    /* SECTION PACKAGES [HOME PAGE] */
    .packages__content .package__item,
    .packages__wrapper > .package__item,
    .packages__wrapper > .package__item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 25px;
    }

    .package__img {
        height: auto;
    }

    .packages__wrapper {
        gap: 50px;
    }

    /* SECTION PACKAGES [PACKAGES PAGE] */
    .bg-color--gray .packages__wrapper {
        row-gap: 60px;
    }

    .package__text {
        padding: 0;
    }

    .package__text span {
        margin-bottom: 0;
    }

    .package__text h2 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .page-activity .package__text h2 a,
    .page-package .package__text h2 a {
        font-size: 25px;
    }

    .package__text p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .package__btn-box {
        margin-top: 10px;
    }

    .package__text .details-btn {
        margin-right: 7px;
        padding: 5px 8px;
    }

    /* SINGLE PACKAGE DETAILS [SINGLE PACKAGE PAGE] */
    .section-package-detail {
        padding: 70px 0;
    }

    /* SINGLE ACTIVITY DETAILS [SINGLE ACTIVITY PAGE] */
    .section-activity-detail {
        padding: 70px 0;
    }

    /* SINGLE ACTIVITY + PACKAGE DETAILS [SINGLE - {ACTIVITY + PACKAGE} PAGE] */
    .activity-detail__main-img,
    .package-detail__main-img {
        height: 220px;
    }

    /* SECTION GALLERY [HOME PAGE] */
    .gallery__item figure {
        height: 160px;
    }

    /* SECTION MAP */
    .section-map {
        padding: 70px 0 0;
    }

    /* SITE FOOTER */
    .site-footer {
        padding: 60px 0 30px;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__intro-text h3 {
        font-size: 19px;
    }

    .footer__intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 35px;
        margin-bottom: 35px;
    }

    .footer__copyright {
        text-align: left;
        padding-top: 20px;
    }

}
