﻿/* =====================================================
   NAMASTE PHUKET
   PREMIUM HEADER + FOOTER
   NAVY BLUE | CHAMPAGNE GOLD | WHITE
===================================================== */

:root {
    --np-navy: #092844;
    --np-deep: #061c32;
    --np-gold: #c99b43;
    --np-gold-light: #f2cf7d;
    --np-white: #ffffff;
    --np-text: #d3dce5;
    --np-font: 'DM Sans', sans-serif;
    --np-heading: 'Syne', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--np-font);
}

.np-site-wrapper {
    width: 100%;
    overflow: clip;
}

.np-main-content {
    width: 100%;
    min-height: 300px;
}


/* =====================================================
   HEADER
===================================================== */

.np-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(9,40,68,.09);
    box-shadow: 0 4px 25px rgba(0,0,0,.045);
    transition: background .35s ease, box-shadow .35s ease;
}

    .np-header.np-header-scrolled {
        background: rgba(255,255,255,.99);
        box-shadow: 0 8px 30px rgba(9,40,68,.12);
    }


/* HEADER INNER */

.np-header-inner {
    max-width: 1500px;
    width: calc(100% - 70px);
    min-height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* LOGO */

.np-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
    .np-logo img {
        width: 271px;
        height: 93px;
        object-fit: contain;
        display: block;
        transition: .3s ease;
        margin-top: -14px;
    }

    .np-logo:hover img {
        transform: scale(1.035);
    }


/* =====================================================
   NAVIGATION
===================================================== */

.np-navigation {
    display: flex;
    align-items: center;
}

.np-nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.np-nav-item {
    position: relative;
}

.np-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 13px;
    border: none;
    background: transparent;
    color: #17344f;
    font-family: var(--np-font);
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: .3s ease;
}

    .np-nav-link::after {
        content: "";
        position: absolute;
        bottom: 5px;
        left: 13px;
        width: 0;
        height: 2px;
        background: var(--np-gold);
        transition: width .3s ease;
    }

    .np-nav-link:hover {
        color: var(--np-gold);
    }

        .np-nav-link:hover::after {
            width: calc(100% - 26px);
        }

.np-chevron {
    font-size: 12px;
    transition: transform .3s ease;
}

.np-has-dropdown.np-dropdown-open .np-chevron {
    transform: rotate(180deg);
}


/* =====================================================
   DROPDOWN
===================================================== */

.np-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 290px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(9,40,68,.08);
    border-top: 3px solid var(--np-gold);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .3s ease;
    z-index: 1000;
}

.np-has-dropdown:hover .np-dropdown-menu,
.np-has-dropdown.np-dropdown-open .np-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.np-dropdown-menu > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 10px;
    text-decoration: none;
    border-radius: 7px;
    transition: .3s ease;
}

    .np-dropdown-menu > a:hover {
        background: #f7f4ed;
    }

.np-dropdown-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f6eddb;
    color: var(--np-gold);
    border-radius: 7px;
    font-size: 17px;
}

.np-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .np-dropdown-content strong {
        color: var(--np-navy);
        font-size: 14px;
    }

    .np-dropdown-content small {
        color: #788491;
        font-size: 14px;
    }

.np-dropdown-arrow {
    margin-left: auto;
    color: var(--np-gold);
    font-size: 14px;
}


/* =====================================================
   HEADER RIGHT
===================================================== */

.np-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.np-header-phone {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--np-navy);
    text-decoration: none;
}

.np-phone-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7eddb;
    color: var(--np-gold);
    border-radius: 50%;
    font-size: 17px;
    transition: .3s ease;
}

.np-header-phone:hover .np-phone-icon {
    background: var(--np-gold);
    color: #ffffff;
}

.np-phone-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .np-phone-info small {
        font-size: 14px;
        font-weight: 700;
        color: #7d8792;
    }

    .np-phone-info strong {
        font-size: 14px;
        color: var(--np-navy);
    }


/* HEADER BUTTON */

.np-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient( 135deg, #dcb45e, #bd8a32 );
    border-radius: 5px;
    color: #092844;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: .3s ease;
}

    .np-header-cta:hover {
        background: var(--np-navy);
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(9,40,68,.2);
    }


/* =====================================================
   MOBILE TOGGLE
===================================================== */

.np-menu-toggle {
    width: 46px;
    height: 46px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: var(--np-navy);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .np-menu-toggle span {
        width: 21px;
        height: 2px;
        background: #ffffff;
        border-radius: 5px;
        transition: .3s ease;
    }

    .np-menu-toggle.np-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .np-menu-toggle.np-active span:nth-child(2) {
        opacity: 0;
    }

    .np-menu-toggle.np-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


/* =====================================================
   FOOTER MAIN
===================================================== */

.np-footer {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    padding: 65px 0 0;
    background: var(--np-deep);
    color: #ffffff;
}


/* BACKGROUND IMAGE */

.np-footer-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('../image/logo/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* NAVY OVERLAY */

.np-footer-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 90deg, rgba(3,24,43,.96) 0%, rgba(5,35,60,.89) 50%, rgba(3,24,43,.96) 100% );
}


/* CONTAINER */

.np-footer-container {
    width: calc(100% - 70px);
    max-width: 1800px;
    margin: auto;
}


/* =====================================================
   FOOTER GRID
===================================================== */

.np-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr 1.05fr 1.20fr;
    gap: 40px;
    align-items: start;
}

.np-footer-column {
    min-width: 0;
}


/* =====================================================
   FOOTER LOGO
===================================================== */

.np-footer-logo {
    display: inline-flex;
    margin-bottom: 23px;
}

    .np-footer-logo img {
        display: block;
        width: 290px;
        max-width: 100%;
        height: 115px;
        object-fit: contain;
        object-position: left center;
    }


/* =====================================================
   COMPANY DETAILS
===================================================== */

.np-footer-info-block {
    margin-bottom: 17px;
}

    .np-footer-info-block strong {
        display: block;
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 7px;
    }

    .np-footer-info-block p,
    .np-footer-info-block a {
        color: var(--np-text);
        font-size: 15px;
        line-height: 1.7;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .np-footer-info-block a {
        display: inline-block;
        text-decoration: none;
        transition: .3s ease;
    }

        .np-footer-info-block a:hover {
            color: var(--np-gold-light);
        }


/* =====================================================
   FOOTER HEADING
===================================================== */

.np-footer-title {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-family: var(--np-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 9px 0 29px;
    padding-bottom: 13px;
}

    .np-footer-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 45px;
        height: 2px;
        background: var(--np-gold);
    }


/* =====================================================
   QUICK LINKS
===================================================== */

.np-company-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .np-company-links ul li {
        margin-bottom: 17px;
    }

        .np-company-links ul li a {
            display: inline-block;
            color: #d3dce5;
            font-size: 15px;
            line-height: 1.5;
            text-decoration: none;
            transition: .3s ease;
        }

            .np-company-links ul li a:hover {
                color: var(--np-gold-light);
                transform: translateX(5px);
            }


/* =====================================================
   SELLER PROFILE
===================================================== */

.np-seller-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 23px;
}

.np-seller-image {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient( 135deg, var(--np-gold), var(--np-gold-light) );
    border: 2px solid var(--np-gold-light);
    color: var(--np-navy);
    font-size: 27px;
}

.np-seller-details {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .np-seller-details strong {
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
    }

    .np-seller-details span {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #d4dce4;
        font-size: 14px;
    }

        .np-seller-details span i {
            width: 10px;
            height: 10px;
            display: inline-block;
            background: #10c981;
            border-radius: 50%;
            box-shadow: 0 0 9px rgba(16,201,129,.7);
        }


/* SELLER CONTACT */

.np-seller-contact p {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
}

.np-seller-contact strong {
    color: #ffffff;
}

.np-seller-contact a {
    color: var(--np-text);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: .3s ease;
}

    .np-seller-contact a:hover {
        color: var(--np-gold-light);
    }


/* =====================================================
   NEWSLETTER
===================================================== */

.np-footer-newsletter .np-footer-title {
    margin-bottom: 37px;
}

.np-newsletter-form {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid rgba(255,255,255,.35);
    padding-bottom: 9px;
    transition: .3s ease;
}

    .np-newsletter-form:focus-within {
        border-color: var(--np-gold-light);
    }

    .np-newsletter-form input {
        width: 100%;
        min-width: 0;
        height: 43px;
        border: none;
        outline: none;
        background: transparent;
        color: #ffffff;
        font-family: var(--np-font);
        font-size: 15px;
        padding: 0 5px;
    }

        .np-newsletter-form input::placeholder {
            color: #c4d0dc;
            font-size: 15px;
        }

    .np-newsletter-form button {
        flex-shrink: 0;
        background: transparent;
        border: none;
        color: #ffffff;
        font-family: var(--np-font);
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        padding: 10px 5px 10px 15px;
        transition: .3s ease;
    }

        .np-newsletter-form button:hover {
            color: var(--np-gold-light);
        }

.np-newsletter-message {
    min-height: 20px;
    font-size: 14px;
    color: var(--np-gold-light);
    margin: 10px 0;
}

.np-footer-privacy {
    color: #cbd5df;
    font-size: 14px;
    line-height: 1.9;
    margin-top: 22px;
}

    .np-footer-privacy a {
        color: #ffffff;
        font-size: 14px;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: .3s ease;
    }

        .np-footer-privacy a:hover {
            color: var(--np-gold-light);
        }


/* =====================================================
   OVERSIZED BRANDING
===================================================== */

.np-footer-brand {
    width: 100%;
    overflow: hidden;
    padding: 5px 0 0;
}

.np-footer-brand-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    white-space: nowrap;
    font-family: var(--np-heading);
    font-size: clamp(80px, 13.5vw, 225px);
    font-weight: 800;
    letter-spacing: -10px;
    line-height: .92;
    text-align: center;
    user-select: none;
}

    .np-footer-brand-text span:first-child {
        background: linear-gradient( 180deg, #ffffff 0%, #d9e0e7 55%, #8594a4 100% );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .np-footer-brand-text span:last-child {
        background: linear-gradient( 180deg, #ffe6a0 0%, #e2b24e 55%, #a87927 100% );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }


/* =====================================================
   DIVIDER
===================================================== */

.np-footer-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient( 90deg, var(--np-gold), #ffe6a0, var(--np-gold) );
    box-shadow: 0 0 8px rgba(201,155,67,.3);
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.np-footer-bottom {
    min-height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

    .np-footer-bottom p {
        margin: 0;
        color: #ffffff;
        font-size: 14px;
        line-height: 1.6;
    }

.np-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

    .np-footer-bottom-links a {
        color: #ffffff;
        font-size: 14px;
        text-decoration: none;
        transition: .3s ease;
    }

        .np-footer-bottom-links a:hover {
            color: var(--np-gold-light);
        }

    .np-footer-bottom-links span {
        width: 1px;
        height: 17px;
        background: var(--np-gold);
    }


/* =====================================================
   BACK TO TOP
===================================================== */

.np-back-to-top {
    position: fixed;
    right: 28px;
    bottom: 25px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--np-gold);
    border-radius: 50%;
    background: #ffffff;
    color: var(--np-navy);
    font-size: 19px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .3s ease;
}

    .np-back-to-top.np-show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .np-back-to-top:hover {
        background: var(--np-gold);
        color: #ffffff;
        transform: translateY(-5px);
    }


/* =====================================================
   RESPONSIVE HEADER
===================================================== */

@media(max-width:1200px) {

    .np-header-inner {
        width: calc(100% - 40px);
        gap: 15px;
    }

    .np-logo img {
        width: 155px;
    }

    .np-nav-link {
        padding: 13px 9px;
        font-size: 14px;
    }

    .np-header-right {
        gap: 12px;
    }

    .np-header-cta {
        padding: 13px 14px;
    }
}


/* TABLET HEADER */

@media(max-width:991px) {

    .np-header-inner {
        min-height: 85px;
    }

    .np-logo img {
        width: 170px;
        height: 75px;
    }

    .np-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .np-header-right {
        margin-left: auto;
    }

    .np-header-cta {
        display: none;
    }

    .np-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: block;
        padding: 0 20px;
        background: #ffffff;
        border-top: 1px solid #eee;
        box-shadow: 0 15px 25px rgba(0,0,0,.1);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height .4s ease, visibility .4s ease, padding .4s ease;
    }

        .np-navigation.np-menu-open {
            max-height: 80vh;
            overflow-y: auto;
            visibility: visible;
            padding: 12px 20px 22px;
        }

    .np-nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .np-nav-item {
        width: 100%;
        border-bottom: 1px solid #edf0f3;
    }

    .np-nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 16px 8px;
        font-size: 15px;
        text-align: left;
    }

        .np-nav-link::after {
            display: none;
        }

    .np-dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 10px 12px;
        background: #f8fafc;
    }

    .np-has-dropdown.np-dropdown-open .np-dropdown-menu {
        display: block;
    }

    .np-dropdown-menu > a {
        padding: 13px;
    }
}


/* =====================================================
   RESPONSIVE FOOTER
===================================================== */

@media(max-width:1200px) {

    .np-footer-container {
        width: calc(100% - 50px);
    }

    .np-footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 45px 35px;
    }

    .np-footer-logo img {
        width: 260px;
    }
}


/* SMALL TABLET */

@media(max-width:767px) {

    .np-footer {
        padding-top: 45px;
    }

    .np-footer-container {
        width: calc(100% - 40px);
    }

    .np-footer-grid {
        gap: 38px 25px;
    }

    .np-footer-title {
        font-size: 20px;
    }

    .np-footer-brand-text {
        font-size: 12vw;
        letter-spacing: -3px;
    }

    .np-footer-divider {
        margin-top: 25px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:575px) {

    .np-header-inner {
        width: calc(100% - 30px);
        min-height: 75px;
    }

    .np-logo img {
        width: 145px;
        height: 65px;
    }

    .np-header-phone {
        gap: 7px;
    }

    .np-phone-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .np-phone-info small {
        font-size: 14px;
    }

    .np-phone-info strong {
        font-size: 14px;
    }

    .np-menu-toggle {
        width: 41px;
        height: 41px;
    }

    .np-footer {
        padding-top: 35px;
    }

    .np-footer-container {
        width: calc(100% - 34px);
    }

    .np-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 35px;
    }

    .np-footer-logo img {
        width: 235px;
        height: 105px;
    }

    .np-footer-title {
        margin-top: 0;
        margin-bottom: 22px;
        font-size: 20px;
    }

    .np-footer-brand {
        padding-top: 15px;
    }

    .np-footer-brand-text {
        font-size: 11.5vw;
        letter-spacing: -2px;
    }

    .np-footer-divider {
        margin-top: 25px;
    }

    .np-footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 15px;
        padding: 20px 0;
    }

    .np-footer-bottom-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .np-back-to-top {
        width: 46px;
        height: 46px;
        right: 15px;
        bottom: 15px;
    }
}


/* VERY SMALL MOBILE */

@media(max-width:360px) {

    .np-header-inner {
        width: calc(100% - 20px);
        gap: 8px;
    }

    .np-logo img {
        width: 120px;
    }

    .np-header-phone .np-phone-info {
        display: none;
    }

    .np-footer-brand-text {
        font-size: 10.5vw;
        letter-spacing: -1px;
    }

    .np-footer-logo img {
        width: 205px;
    }
}
