/* =========================================================
   HIMACHALRIDE
   COMMON HEADER + FOOTER + SOCIAL + WHATSAPP
========================================================= */


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 99999;

    background: rgba(15, 38, 32, 0.22);

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow: none;

    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* =========================================================
   HEADER SCROLLED
========================================================= */

.site-header.scrolled {
    background: rgba(10, 32, 27, 0.92);

    border-bottom-color:
        rgba(255, 255, 255, 0.14);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);

    backdrop-filter:
        blur(18px) saturate(140%);

    -webkit-backdrop-filter:
        blur(18px) saturate(140%);
}


/* =========================================================
   HEADER INNER
========================================================= */

.header-inner {
    width: 100%;
    max-width: none;

    min-height: 82px;

    margin: 0;

    padding: 0 56px;

    display: flex;
    align-items: center;

    gap: 28px;

    position: relative;

    z-index: 2;

    transition:
        min-height 0.3s ease;
}


.site-header.scrolled .header-inner {
    min-height: 70px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    white-space: nowrap;

    text-decoration: none;
}


/* =========================================================
   LOGO
========================================================= */

.brand-logo {
    display: block;

    width: 180px;
    height: 64px;

    max-width: 180px;
    max-height: 64px;

    object-fit: contain;

    object-position: left center;

    flex-shrink: 0;
}


/* =========================================================
   BRAND MARK
========================================================= */

.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(255, 255, 255, 0.55);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.07);

    color: #ffffff;

    font-family:
        "Manrope",
        sans-serif;

    font-weight: 800;

    font-size: 13px;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.brand:hover .brand-mark {
    background:
        rgba(255, 255, 255, 0.13);

    border-color:
        rgba(255, 255, 255, 0.75);

    transform:
        rotate(-4deg);
}


/* =========================================================
   BRAND NAME
========================================================= */

.brand-name {
    color: #ffffff;

    font-family:
        "Manrope",
        sans-serif;

    font-weight: 800;

    font-size: 21px;

    letter-spacing: -0.7px;

    text-decoration: none;
}


.brand-name span {
    color: #e5bd6b;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 24px;
}


.main-nav a {
    position: relative;

    color:
        rgba(255, 255, 255, 0.90);

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}


.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -8px;

    height: 1px;

    background: #e5bd6b;

    transform:
        scaleX(0);

    transform-origin: center;

    transition:
        transform 0.25s ease;
}


.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
}


.main-nav a:hover::after,
.main-nav a.active::after {
    transform:
        scaleX(1);
}


/* =========================================================
   BOOK NOW
========================================================= */

.header-book-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.96);

    color: #123f36;

    padding: 12px 20px;

    border-radius: 999px;

    border: 1px solid
        rgba(255, 255, 255, 0.25);

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.12);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.header-book-btn:hover {
    background: #e5bd6b;

    color: #123f36;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 22px
        rgba(0, 0, 0, 0.16);
}


/* =========================================================
   MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    border: 0;

    background: transparent;

    cursor: pointer;

    padding: 5px;
}


.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px 0;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    overflow: hidden;

    background-color: #123f36;

    background-image:
        linear-gradient(
            to bottom,
            rgba(18, 63, 54, 0.72),
            rgba(7, 39, 32, 0.95)
        ),
        url("../images/destinations/mountain-silhouette.webp");

    background-repeat: no-repeat;

    background-position:
        center center,
        center bottom;

    background-size:
        cover,
        cover;

    color:
        rgba(255, 255, 255, 0.76);

    padding: 30px 0 0;

    min-height: 0;
}


.site-footer > * {
    position: relative;

    z-index: 2;
}


/* =========================================================
   FOOTER INNER
========================================================= */

.footer-inner {
    width:
        min(1240px, calc(100% - 48px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(210px, 1.35fr)
        minmax(120px, 0.75fr)
        minmax(120px, 0.75fr)
        minmax(150px, 1fr)
        minmax(300px, 1.65fr);

    column-gap: 38px;

    align-items: start;

    padding-bottom: 28px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
    min-width: 0;
}


.footer-brand .brand-logo {
    display: block;

    width: 165px;

    height: auto;

    max-width: 100%;

    object-fit: contain;

    object-position: left center;

    margin: 0 0 10px;
}


.footer-brand p {
    max-width: 280px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 6px;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 13px;

    line-height: 1.4;
}


.footer-column h3 {
    margin: 0 0 4px;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.2;

    font-weight: 700;
}


.footer-column a {
    color:
        rgba(255, 255, 255, 0.76);

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-column a:hover {
    color: #e5bd6b;

    transform:
        translateX(2px);
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.footer-social p {
    max-width: 220px;

    margin: 0 0 7px;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 12.5px;

    line-height: 1.45;
}


.footer-social-links {
    display: flex;

    align-items: center;

    gap: 8px;
}


.footer-social-links a {
    width: 34px;
    height: 34px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    color:
        rgba(255, 255, 255, 0.90) !important;

    border:
        1px solid
        rgba(255, 255, 255, 0.28);

    border-radius: 50%;

    text-decoration: none;

    transform: none !important;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.footer-social-links a svg {
    display: block;

    width: 16px;
    height: 16px;

    fill: currentColor;
}


.footer-social-links a:hover {
    color: #123f36 !important;

    background: #e5bd6b;

    border-color: #e5bd6b;

    transform:
        translateY(-2px) !important;
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    column-gap: 22px;

    row-gap: 4px;

    align-items: start;

    min-width: 0;
}


/*
   Contact heading + phone numbers + WhatsApp
   span across both location columns.
*/

.footer-contact > h3,
.footer-contact > a {
    grid-column: 1 / -1;
}


.footer-contact > h3 {
    margin-bottom: 1px;
}


.footer-contact > a {
    line-height: 1.25;
}


/* =========================================================
   LOCATIONS
========================================================= */

.footer-contact .footer-location {
    min-width: 0;

    margin: 8px 0 0;

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.footer-location strong {
    display: block;

    color: #ffffff;

    font-size: 12px;

    line-height: 1.2;

    font-weight: 700;
}


.footer-location span {
    display: block;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 11.7px;

    line-height: 1.38;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width:
        min(1240px, calc(100% - 48px));

    min-height: 42px;

    margin: 0 auto;

    padding: 9px 0;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.13);

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 11.5px;

    line-height: 1.35;
}


.footer-bottom > span:first-child {
    text-align: left;
}


.footer-bottom > span:last-child {
    text-align: right;
}


.footer-developer {
    text-align: center;

    white-space: nowrap;

    color:
        rgba(255, 255, 255, 0.58);
}


.footer-developer strong {
    color:
        rgba(255, 255, 255, 0.90);

    font-weight: 700;

    margin-left: 3px;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        padding-left: 40px;
        padding-right: 40px;
    }


    .main-nav {
        gap: 20px;
    }


    .main-nav a {
        font-size: 13px;
    }


    .footer-inner {
        grid-template-columns:
            minmax(190px, 1.2fr)
            minmax(110px, 0.8fr)
            minmax(110px, 0.8fr)
            minmax(140px, 0.9fr)
            minmax(260px, 1.4fr);

        column-gap: 24px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    /* HEADER */

    .header-inner {
        width: 100%;

        min-height: 76px;

        height: 76px;

        padding:
            8px 24px;

        box-sizing: border-box;
    }


    .site-header.scrolled .header-inner {
        min-height: 70px;

        height: 70px;
    }


    .brand {
        height: 60px;

        min-width: 0;

        gap: 8px;
    }


    .brand-logo {
        width: 150px;

        height: 60px;

        max-width: 150px;

        max-height: 60px;

        object-fit: contain;

        flex-shrink: 0;
    }


    /* MOBILE NAV */

    .main-nav {
        display: none;

        position: absolute;

        top:
            calc(100% + 6px);

        left: 12px;

        right: 12px;

        width: auto;

        padding: 20px;

        background:
            rgba(12, 42, 35, 0.97);

        border:
            1px solid
            rgba(255, 255, 255, 0.14);

        border-radius: 14px;

        box-shadow:
            0 15px 40px
            rgba(0, 0, 0, 0.22);

        backdrop-filter: blur(18px);

        -webkit-backdrop-filter: blur(18px);

        flex-direction: column;

        align-items: flex-start;

        gap: 16px;
    }


    .main-nav.is-open {
        display: flex;
    }


    .main-nav a {
        color:
            rgba(255, 255, 255, 0.90);

        font-size: 15px;
    }


    .main-nav a::after {
        bottom: -4px;
    }


    .menu-toggle {
        width: 44px;

        height: 44px;

        display: flex;

        align-items: center;

        justify-content: center;

        margin-left: auto;

        padding: 5px;

        flex-shrink: 0;
    }


    .menu-toggle span {
        width: 25px;

        height: 2px;

        margin: 4px 0;
    }


    .header-book-btn {
        display: none;
    }


    /* FOOTER */

    .footer-inner {
        width:
            min(820px, calc(100% - 40px));

        grid-template-columns:
            1.25fr
            1fr
            1fr;

        column-gap: 28px;

        row-gap: 24px;

        padding-bottom: 24px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-brand .brand-logo {
        width: 160px;
    }


    .footer-brand p {
        max-width: 360px;
    }


    .footer-contact {
        grid-column: span 1;

        grid-template-columns:
            1fr
            1fr;

        column-gap: 18px;
    }


    .footer-bottom {
        width:
            min(820px, calc(100% - 40px));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .site-header {
        height: auto;

        min-height: 0;
    }


    .header-inner {
        width: 100%;

        min-height: 72px;

        height: 72px;

        padding:
            6px 18px;

        box-sizing: border-box;
    }


    .site-header.scrolled .header-inner {
        min-height: 68px;

        height: 68px;
    }


    .brand {
        height: 58px;

        min-width: 0;

        gap: 8px;
    }


    .brand-logo {
        width: 145px;

        height: 58px;

        max-width: 145px;

        max-height: 58px;

        object-fit: contain;

        flex-shrink: 0;
    }


    .brand-mark {
        width: 36px;

        height: 36px;

        font-size: 12px;
    }


    .brand-name {
        font-size: 18px;
    }


    .menu-toggle {
        width: 42px;

        height: 42px;

        margin-left: auto;

        display: flex;

        align-items: center;

        justify-content: center;
    }


    .menu-toggle span {
        width: 24px;

        height: 2px;

        margin: 4px 0;
    }


    .main-nav {
        left: 10px;

        right: 10px;

        top:
            calc(100% + 6px);

        padding: 18px;

        border-radius: 12px;

        gap: 16px;
    }


    /* FOOTER */

    .site-footer {
        padding-top: 26px;
    }


    .footer-inner {
        width:
            calc(100% - 36px);

        grid-template-columns:
            1fr 1fr;

        column-gap: 22px;

        row-gap: 22px;

        padding-bottom: 22px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-brand .brand-logo {
        width: 155px;

        height: auto;

        max-width: 155px;
    }


    .footer-brand p {
        max-width: 310px;

        font-size: 12.5px;

        line-height: 1.45;
    }


    .footer-column {
        gap: 5px;

        font-size: 13px;
    }


    .footer-column h3 {
        font-size: 13.5px;

        margin-bottom: 3px;
    }


    .footer-social {
        grid-column: 1 / -1;
    }


    .footer-social p {
        max-width: 300px;
    }


    .footer-contact {
        grid-column: 1 / -1;

        grid-template-columns:
            1fr
            1fr;

        column-gap: 18px;
    }


    .footer-contact > h3,
    .footer-contact > a {
        grid-column: 1 / -1;
    }


    .footer-location {
        min-width: 0;
    }


    .footer-location span {
        font-size: 12px;

        line-height: 1.4;
    }


    .footer-social-links a {
        width: 35px;

        height: 35px;
    }


    .footer-bottom {
        width:
            calc(100% - 36px);

        min-height: 0;

        padding: 10px 0;

        grid-template-columns: 1fr;

        gap: 5px;

        text-align: center;

        font-size: 11px;
    }


    .footer-bottom > span:first-child,
    .footer-bottom > span:last-child,
    .footer-developer {
        text-align: center;
    }


    .footer-developer {
        white-space: normal;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .header-inner {
        padding-left: 14px;

        padding-right: 14px;
    }


    .brand-logo {
        width: 138px;

        height: 55px;

        max-width: 138px;

        max-height: 55px;
    }


    .menu-toggle {
        width: 40px;

        height: 40px;
    }


    .footer-inner {
        width:
            calc(100% - 30px);

        grid-template-columns: 1fr;

        gap: 20px;

        padding-bottom: 20px;
    }


    .footer-brand,
    .footer-social,
    .footer-contact {
        grid-column: auto;
    }


    .footer-contact {
        grid-template-columns: 1fr;
    }


    .footer-contact > h3,
    .footer-contact > a {
        grid-column: 1;
    }


    .footer-contact .footer-location {
        grid-column: 1;

        margin-top: 6px;
    }


    .footer-bottom {
        width:
            calc(100% - 30px);
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .brand-logo {
        width: 130px;

        height: 52px;

        max-width: 130px;

        max-height: 52px;
    }


    .footer-inner {
        width:
            calc(100% - 28px);

        gap: 18px;
    }


    .footer-bottom {
        width:
            calc(100% - 28px);
    }

}