﻿
/* =====================================================
   NAMASTE PHUKET — MASTER STYLESHEET
   Domira-inspired responsive header
===================================================== */

:root {
    --np-font: "__Syne_c1a642", "__Syne_Fallback_c1a642", sans-serif;
    --np-black: #101010;
    --np-white: #ffffff;
    --np-text: #171717;
    --np-muted: #a6adb2;
    --np-border: #e8e8e8;
    --np-accent: #e85b3f;
    --np-header-height: 150px;
    --np-header-scrolled-height: 150px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--np-font);
    color: var(--np-text);
    background: #ffffff;
}

button,
input,
select,
textarea {
    font: inherit;
}

.np-site-wrapper {
    width: 100%;
    min-height: 100vh;
}

    .np-site-wrapper a {
        text-decoration: none;
    }

    .np-site-wrapper button {
        -webkit-tap-highlight-color: transparent;
    }

    .np-site-wrapper ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

/* =====================================================
   STICKY HEADER
===================================================== */

.np-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    isolation: isolate;
    width: 100%;
    height: var(--np-header-height);
    background: transparent;
   
    box-shadow: none;
    transition: height 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .np-header.np-header-scrolled {
        height: var(--np-header-scrolled-height);
        background: #ffffff;
        border-bottom-color: #eeeeee;
        box-shadow: 0 8px 30px rgba(20, 25, 35, 0.075);
    }

.np-header-inner {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2vw, 34px);
}

/* =====================================================
   LOGO
===================================================== */

.np-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #111111;
    white-space: nowrap;
}

.np-logo-text {
    font-family: var(--np-font);
    font-size: clamp(36px, 3.35vw, 64px);
    font-weight: 700;
    letter-spacing: -2.8px;
    line-height: 1;
    transition: font-size 0.3s ease, letter-spacing 0.3s ease;
}

.np-header-scrolled .np-logo-text {
    font-size: clamp(30px, 2.6vw, 43px);
    letter-spacing: -2px;
}

/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.np-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: 100%;
}

.np-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.15vw, 42px);
    height: 100%;
}

.np-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.np-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: #151515;
    font-family: var(--np-font);
    font-size: clamp(16px, 1.28vw, 23px);
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.25s ease;
}

    .np-nav-link:hover,
    .np-nav-item.np-dropdown-open > .np-nav-link {
        color: #686868;
    }

.np-chevron {
    font-size: 13px;
    color: #171717;
    transition: transform 0.3s ease;
}

.np-dropdown-open .np-chevron {
    transform: rotate(180deg);
}

/* =====================================================
   DROPDOWN MENU
===================================================== */

.np-dropdown-menu {
    position: absolute;
    top: calc(100% - 18px);
    left: -20px;
    z-index: 10000;
    min-width: 235px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.11);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

    .np-dropdown-menu li {
        width: 100%;
    }

    .np-dropdown-menu a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 45px;
        padding: 11px 13px;
        color: #222222;
        font-family: var(--np-font);
        font-size: 14px;
        font-weight: 500;
        border-radius: 7px;
        transition: background 0.2s ease, padding 0.2s ease;
    }

        .np-dropdown-menu a:hover {
            background: #f5f5f5;
            padding-left: 18px;
            color: #111111;
        }

@media (min-width: 1101px) {
    .np-has-dropdown:hover > .np-dropdown-menu,
    .np-has-dropdown:focus-within > .np-dropdown-menu,
    .np-has-dropdown.np-dropdown-open > .np-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* =====================================================
   HOTLINE
===================================================== */

.np-header-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex-shrink: 0;
}

.np-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #faf8f4;
    color: #171717;
    font-size: 27px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

    .np-phone-icon:hover {
        background: #171717;
        color: #ffffff;
        transform: rotate(-8deg);
    }

.np-phone-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.np-phone-label {
    color: #6f767b;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.np-phone-number {
    color: #171717;
    font-size: clamp(16px, 1.25vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

    .np-phone-number:hover {
        color: #666666;
    }

/* =====================================================
   MOBILE HAMBURGER
===================================================== */

.np-menu-toggle {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

    .np-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        margin: 5px 0;
        background: #111111;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .np-menu-toggle.np-menu-active span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .np-menu-toggle.np-menu-active span:nth-child(2) {
        opacity: 0;
    }

    .np-menu-toggle.np-menu-active span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

/* =====================================================
   MAIN CONTENT
===================================================== */

.np-main-content {
    width: 100%;
    margin-top:-45px;
    min-height: 1px;
}

/* =====================================================
   FOOTER
===================================================== */

.np-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #101010;
    color: #ffffff;
    padding: 70px 20px 0;
}

.np-footer-container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.np-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 1.05fr 1.2fr;
    gap: clamp(25px, 3.2vw, 58px);
    align-items: start;
}

.np-footer-column {
    min-width: 0;
}

.np-footer-logo {
    display: inline-block;
    margin-bottom: 27px;
    color: #ffffff;
    font-family: var(--np-font);
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    white-space: nowrap;
    transition: color 0.25s ease;
}

    .np-footer-logo:hover {
        color: #d8d8d8;
    }

.np-footer-heading {
    margin: 20px 0 27px;
    color: #ffffff;
    font-family: var(--np-font);
    font-size: clamp(20px, 1.55vw, 25px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.np-footer-company .np-footer-heading {
    margin-top: 0;
}

.np-footer-address {
    margin-bottom: 17px;
}

.np-footer-label {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.np-footer-address p {
    margin: 8px 0 0;
    color: var(--np-muted);
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.np-footer-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    margin-top: 14px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
}

    .np-footer-detail a {
        color: var(--np-muted);
        overflow-wrap: anywhere;
        transition: color 0.25s ease;
    }

        .np-footer-detail a:hover {
            color: #ffffff;
        }

.np-footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.np-footer-links li a {
    display: inline-block;
    color: var(--np-muted);
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.25s ease, transform 0.25s ease;
}

    .np-footer-links li a:hover {
        color: #ffffff;
        transform: translateX(4px);
    }

/* SELLER PROFILE */

.np-seller-profile {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 17px;
}

.np-seller-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f2f0ec;
    color: #202020;
    font-size: 28px;
}

.np-seller-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .np-seller-info h4 {
        margin: 0;
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.5;
    }

.np-online-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #eeeeee;
    font-size: 13px;
}

.np-online-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 50%;
    background: #00d084;
    box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.16);
}

/* NEWSLETTER */

.np-footer-newsletter .np-footer-heading {
    margin-bottom: 25px;
}

.np-newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    border-bottom: 1px solid #2b2b2b;
}

    .np-newsletter-form input {
        width: 100%;
        min-width: 0;
        height: 48px;
        padding: 0;
        border: 0;
        outline: none;
        color: #ffffff;
        background: transparent;
        font-family: var(--np-font);
        font-size: 14px;
    }

        .np-newsletter-form input::placeholder {
            color: var(--np-muted);
            opacity: 1;
        }

    .np-newsletter-form button {
        flex-shrink: 0;
        padding: 10px 0 10px 8px;
        border: 0;
        background: transparent;
        color: #ffffff;
        font-family: var(--np-font);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: color 0.25s ease;
    }

        .np-newsletter-form button:hover {
            color: var(--np-accent);
        }

.np-newsletter-message {
    min-height: 0;
    margin: 10px 0 0;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.6;
}

.np-privacy-text {
    margin: 22px 0 0;
    color: var(--np-muted);
    font-size: 13px;
    line-height: 1.9;
}

    .np-privacy-text a {
        color: #ffffff;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

/* LARGE FOOTER BRAND */

.np-footer-brand {
    position: relative;
    height: clamp(150px, 19vw, 285px);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

    .np-footer-brand span {
        display: block;
        width: max-content;
        max-width: none;
        color: #ffffff;
        font-family: var(--np-font);
        font-size: clamp(100px, 14.4vw, 293px);
        font-weight: 600;
        letter-spacing: -0.075em;
        line-height: 0.95;
        white-space: nowrap;
        transform: translateX(-0.025em);
        background: linear-gradient( 180deg, #ffffff 0%, #ffffff 20%, #bcbcbc 58%, #101010 100% );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* COPYRIGHT */

.np-footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 25px;
    border-top: 1px solid #292929;
}

    .np-footer-bottom p {
        margin: 0;
        color: #a6adb2;
        font-size: 13px;
        line-height: 1.7;
    }

.np-footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .np-footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: #ffffff;
        background: #202020;
        border-radius: 50%;
        font-size: 14px;
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

        .np-footer-social a:hover {
            background: #ffffff;
            color: #101010;
            transform: translateY(-3px);
        }

/* BACK TO TOP */

.np-back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--np-accent);
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    font-size: 19px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

    .np-back-to-top.np-back-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .np-back-to-top:hover {
        background: var(--np-accent);
        color: #ffffff;
        transform: translateY(-4px);
    }

/* ACCESSIBILITY */

.np-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   TABLET / SMALL LAPTOP
===================================================== */

@media (max-width: 1350px) {
    :root {
        --np-header-height: 100px;
        --np-header-scrolled-height: 88px;
    }

    .np-header-inner {
        padding: 0 20px;
        gap: 18px;
    }

    .np-logo-text {
        font-size: clamp(32px, 3vw, 43px);
        letter-spacing: -2px;
    }

    .np-header-scrolled .np-logo-text {
        font-size: 34px;
    }

    .np-nav-list {
        gap: clamp(14px, 1.5vw, 23px);
    }

    .np-nav-link {
        font-size: clamp(14px, 1.25vw, 17px);
        gap: 7px;
    }

    .np-header-contact {
        gap: 12px;
    }

    .np-phone-icon {
        width: 52px;
        height: 52px;
        font-size: 21px;
    }

    .np-phone-label {
        font-size: 14px;
    }

    .np-phone-number {
        font-size: 15px;
    }

    .np-footer-grid {
        grid-template-columns: 1.15fr 0.8fr 1fr 1.15fr;
        gap: 25px;
    }
}

/* =====================================================
   TABLET / MOBILE NAVIGATION
===================================================== */

@media (max-width: 1100px) {
    :root {
        --np-header-height: 88px;
        --np-header-scrolled-height: 80px;
    }

    .np-header-inner {
        padding: 0 22px;
        gap: 14px;
    }

    .np-logo-text,
    .np-header-scrolled .np-logo-text {
        font-size: clamp(26px, 3.8vw, 35px);
        letter-spacing: -1.5px;
    }

    .np-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .np-header-contact {
        gap: 10px;
    }

    .np-phone-icon {
        width: 45px;
        height: 45px;
        font-size: 19px;
    }

    .np-phone-info {
        gap: 3px;
    }

    .np-phone-label {
        font-size: 12px;
    }

    .np-phone-number {
        font-size: 13px;
    }

    .np-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 10001;
        display: none;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 80px);
        padding: 12px 24px 22px;
        overflow-x: hidden;
        overflow-y: auto;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.10);
    }

        .np-navigation.np-navigation-open {
            display: block;
            animation: npMenuEnter 0.25s ease both;
        }

    .np-nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: auto;
    }

    .np-nav-item {
        display: block;
        width: 100%;
        height: auto;
        border-bottom: 1px solid #eeeeee;
    }

    .np-nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        min-height: 52px;
        padding: 13px 2px;
        font-size: 16px;
        text-align: left;
    }

    .np-nav-item > a.np-nav-link {
        justify-content: flex-start;
    }

    .np-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        padding: 0 0 12px 12px;
        background: #ffffff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .np-dropdown-open > .np-dropdown-menu {
        display: block;
    }

    .np-dropdown-menu a {
        min-height: 42px;
        font-size: 14px;
    }

    .np-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 30px;
    }

    .np-footer-heading {
        margin-top: 0;
        margin-bottom: 22px;
    }

    .np-footer-brand {
        margin-top: 45px;
        height: clamp(100px, 22vw, 200px);
    }

        .np-footer-brand span {
            font-size: 19vw;
        }
}

@keyframes npMenuEnter {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 600px) {
    :root {
        --np-header-height: 76px;
        --np-header-scrolled-height: 72px;
    }

    .np-header-inner {
        padding: 0 15px;
        gap: 8px;
    }

    .np-logo-text,
    .np-header-scrolled .np-logo-text {
        font-size: clamp(21px, 5.3vw, 29px);
        letter-spacing: -1.2px;
    }

    .np-menu-toggle {
        width: 39px;
        height: 39px;
        padding: 8px;
    }

    .np-header-contact {
        gap: 0;
    }

    .np-phone-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .np-phone-info {
        display: none;
    }

    .np-navigation {
        max-height: calc(100vh - 72px);
        padding: 8px 18px 18px;
    }

    .np-footer {
        padding: 42px 18px 0;
    }

    .np-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .np-footer-logo {
        font-size: 34px;
        margin-bottom: 22px;
    }

    .np-footer-heading {
        margin: 0 0 21px;
        font-size: 23px;
    }

    .np-footer-links ul {
        gap: 14px;
    }

    .np-seller-avatar {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }

    .np-footer-newsletter .np-footer-heading {
        margin-bottom: 20px;
    }

    .np-newsletter-form input,
    .np-newsletter-form button {
        font-size: 13px;
    }

    .np-privacy-text {
        font-size: 13px;
    }

    .np-footer-brand {
        margin-top: 42px;
        height: 88px;
    }

        .np-footer-brand span {
            font-size: 12vw;
            letter-spacing: -0.08em;
        }

    .np-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
        padding: 20px 0;
    }

        .np-footer-bottom p {
            font-size: 12px;
        }

    .np-back-to-top {
        width: 46px;
        height: 46px;
        right: 15px;
        bottom: 18px;
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .np-header-inner {
        padding: 0 10px;
        gap: 7px;
    }

    .np-logo-text,
    .np-header-scrolled .np-logo-text {
        font-size: 21px;
    }

    .np-menu-toggle {
        width: 35px;
        height: 35px;
    }

    .np-phone-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .np-footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .np-site-wrapper *,
    .np-site-wrapper *::before,
    .np-site-wrapper *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
