
/* =========================================
   LALITH TOURS AND TRAVELS
   HEADER - TEAL & CORAL THEME
========================================= */

:root {
    --primary: #087E83;
    --primary-dark: #075F64;
    --coral: #FF7867;
    --background: #F7FAF9;
    --dark: #173D46;
    --white: #FFFFFF;
    --border: #E5EEEC;
    --header-shadow: 0 5px 22px rgba(23, 61, 70, 0.08);
}

/* =========================================
   MAIN HEADER
========================================= */

.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background: var(--white);
    font-family: 'Poppins', sans-serif;
}

/* =========================================
   TOP BAR
========================================= */

.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 9px 0;
    font-size: 12px;
}

.header-container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.top-bar-inner,
.top-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-contact {
    gap: 18px;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.top-contact-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex-shrink: 0;
}

.top-divider {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.35);
}

.established,
.follow-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* =========================================
   NAVBAR
========================================= */

.navbar {
    width: 100%;
    position: relative;
    background: var(--white);
    box-shadow: var(--header-shadow);
}

.nav-inner {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* =========================================
   LOGO & BRAND
========================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    color: var(--dark);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.brand-tagline {
    color: var(--primary);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* =========================================
   NAVIGATION MENU
========================================= */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.nav-link,
.dropdown-toggle {
    position: relative;
    color: var(--dark);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-link[aria-current="page"] {
    color: var(--primary);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 5px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}

/* =========================================
   SERVICES DROPDOWN
========================================= */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    padding: 12px 0;
    background: transparent;
    cursor: pointer;
}

.chevron {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -18px;

    min-width: 235px;
    max-height: 75vh;
    max-height: 75dvh;

    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 10px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;

    box-shadow: 0 12px 35px rgba(23, 61, 70, 0.13);

    display: none;
    z-index: 1100;
}

/* Open dropdown on desktop hover, keyboard focus or click */

@media (min-width: 901px) {

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Dropdown Links */

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        padding-left 0.25s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: #EAF5F3;
    color: var(--primary);
    padding-left: 17px;
}

/* =========================================
   WHATSAPP ENQUIRY BUTTON
========================================= */

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 16px;

    background: var(--primary);
    color: var(--white);

    border-radius: 7px;
    text-decoration: none;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;

    box-shadow: 0 5px 13px rgba(8, 126, 131, 0.18);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.nav-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.cta-arrow {
    font-size: 14px;
}

@media (hover: hover) {
    .nav-cta:hover {
        background: var(--coral);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 7px 17px rgba(255, 120, 103, 0.25);
    }
}

/* =========================================
   MOBILE MENU TOGGLE
========================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;
    padding: 9px;

    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 7px;

    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;

    background: var(--primary);
    border-radius: 5px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* Hamburger animation */

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   KEYBOARD ACCESSIBILITY
========================================= */

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

/* =========================================
   TABLET & MOBILE NAVIGATION
========================================= */

@media (max-width: 900px) {

    .nav-inner {
        min-height: 76px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);

        overflow-y: auto;
        overscroll-behavior: contain;

        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;

        padding: 12px 4% 22px;

        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 12px 20px rgba(23, 61, 70, 0.10);

        z-index: 1050;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 13px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
    }

    .nav-link::after {
        display: none;
    }

    /* Mobile Services Dropdown */

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
    }

    .dropdown-menu {
        position: static;

        display: none;
        min-width: 0;
        width: 100%;

        max-height: none;
        overflow: visible;

        padding: 5px 10px;

        border: none;
        border-radius: 0;
        box-shadow: none;

        background: var(--background);
    }

    /* Mobile dropdown opens only with .active */

    .nav-dropdown .dropdown-menu {
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 11px 12px;
        font-size: 12px;
    }

    .nav-cta {
        margin-top: 15px;
        width: 100%;
        padding: 14px;
    }
}

/* =========================================
   MOBILE SCREEN
========================================= */

@media (max-width: 600px) {

    .header-container {
        width: 92%;
    }

    .top-bar {
        padding: 8px 0;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .top-contact {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .top-contact-link {
        font-size: 11px;
    }

    .established {
        font-size: 10px;
    }

    .top-social,
    .top-divider {
        display: none;
    }

    .nav-inner {
        min-height: 70px;
    }

    .brand {
        gap: 7px;
    }

    .brand-logo {
        width: 49px;
        height: 49px;
    }

    .brand-name {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .brand-tagline {
        font-size: 8px;
        letter-spacing: 1.4px;
    }

    .menu-toggle {
        width: 39px;
        height: 39px;
    }
}

/* =========================================
   VERY SMALL SCREENS
========================================= */

@media (max-width: 360px) {

    .brand {
        gap: 5px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-tagline {
        font-size: 7px;
        letter-spacing: 1.1px;
    }

    .menu-toggle {
        width: 37px;
        height: 37px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .site-header *,
    .site-header *::before,
    .site-header *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}




/* =========================================
   LALITH HAMBURGER - RESPONSIVE VISIBILITY
========================================= */

/* Desktop: completely hide hamburger */
@media screen and (min-width: 901px) {
    #lalith-menu-toggle {
        display: none !important;
    }
}

/* Mobile and tablet: show hamburger */
@media screen and (max-width: 900px) {
    #lalith-menu-toggle {
        display: inline-flex !important;
    }
}
/* =========================================
   LALITH HAMBURGER - FORCE VISIBLE LINES
========================================= */

@media screen and (max-width: 900px) {

    #lalith-menu-toggle {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #FFFFFF !important;
        border: 1px solid #E5EEEC !important;
        position: relative;
        z-index: 9999 !important;
    }

    #lalith-menu-toggle span {
        display: block !important;
        width: 25px !important;
        height: 1px !important;
        min-height: 5px !important;
        background-color: #075F64 !important;
        border-radius: 5px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media screen and (min-width: 901px) {
    #lalith-menu-toggle {
        display: none !important;
    }
}

@media screen and (max-width: 900px) {
  #lalith-menu-toggle {
    gap: 0.000005px !important;
  }

  #lalith-menu-toggle span {
    height: 0.5px !important;
    min-height: 3px !important;
  }
}