
/* ==================================================
   HARSHIL TOURS AND TRAVELS
   PREMIUM RESPONSIVE HEADER
   Theme: Navy Blue | White | Gold
================================================== */

:root {
    --navy: #071c32;
    --navy-light: #102c47;
    --gold: #d9a441;
    --gold-light: #edc66e;
    --white: #ffffff;
    --text: #18283a;
    --muted: #7b8795;
    --border: #e9edf2;

    --font: "Poppins", sans-serif;
    --container: 1440px;

    --shadow:
        0 18px 45px rgba(7, 28, 50, 0.13);
}

/* Reset */

.site-header,
.site-header * {
    box-sizing: border-box;
}

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: var(--white);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

.site-header a {
    color: inherit;
    text-decoration: none;
}

.site-header button {
    font-family: inherit;
}

.site-header button,
.site-header a {
    -webkit-tap-highlight-color: transparent;
}

.header-container {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
}

/* ==================================================
   TOP CONTACT BAR
================================================== */

.top-bar {
    background: var(--navy);
    color: var(--white);
}

.top-bar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.top-contact-link svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: currentColor;
}

.top-contact-link:hover {
    color: var(--gold-light);
}

.top-divider {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.24);
}

.established {
    color: #e5c985;
    font-size: 11px;
    letter-spacing: 0.35px;
}

.top-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.follow-label {
    color: #c4ced9;
    font-size: 11px;
}

/* Social icons */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: var(--white);
    border-radius: 50%;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.social-icon svg {
    display: block;
    width: 17px;
    height: 17px;
}

.social-icon:hover {
    color: var(--navy);
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Instagram outline */

.social-icon[aria-label="Instagram"] svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.social-icon[aria-label="Instagram"] .icon-dot {
    fill: currentColor;
    stroke: none;
}

/* Facebook logo */

.social-icon[aria-label="Facebook"] svg {
    fill: currentColor;
}

/* WhatsApp logo */

.social-icon[aria-label="WhatsApp"] svg {
    fill: currentColor;
    stroke: none;
}

/* ==================================================
   MAIN NAVIGATION
================================================== */

.navbar {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

/* Logo */

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.brand img {
    display: block;
    width: 185px;
    height: 74px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transition: transform 0.3s ease;
}

.brand:hover img {
    transform: scale(1.025);
}

/* Navigation container */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.3vw, 22px);
    min-width: 0;
}

/* Navigation links */

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-link::after {
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    background: var(--gold);
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: #a77721;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

/* ==================================================
   SERVICES DROPDOWN
================================================== */

.nav-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.25s ease;
}

.dropdown-toggle:hover,
.nav-dropdown.open > .dropdown-toggle {
    color: #a77721;
}

.chevron {
    display: block;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.nav-dropdown.open .chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -16px;
    z-index: 1001;

    width: 270px;
    max-width: calc(100vw - 32px);
    max-height: min(70vh, 480px);
    overflow-y: auto;

    padding: 9px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);

    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}

.dropdown-menu a:hover {
    padding-left: 17px;
    color: #9b6d1b;
    background: #fbf7ed;
}

/* Desktop hover and keyboard support */

@media (min-width: 961px) {
    .nav-dropdown:hover > .dropdown-menu,
    .nav-dropdown:focus-within > .dropdown-menu,
    .nav-dropdown.open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* ==================================================
   ENQUIRY BUTTON
================================================== */

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex: 0 0 auto;
    min-height: 45px;
    padding: 0 16px;

    color: var(--navy) !important;
    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );
    border: 1px solid var(--gold);
    border-radius: 7px;

    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;

    box-shadow: 0 4px 12px rgba(217, 164, 65, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.nav-cta svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.cta-arrow {
    font-size: 15px;
    transition: transform 0.25s ease;
}

.nav-cta:hover {
    background: linear-gradient(
        135deg,
        #f5d991,
        var(--gold-light)
    );
    box-shadow: 0 7px 20px rgba(217, 164, 65, 0.27);
    transform: translateY(-2px);
}

.nav-cta:hover .cta-arrow {
    transform: translate(2px, -2px);
}

/* ==================================================
   HAMBURGER BUTTON
================================================== */

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 10px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    flex: 0 0 2px;
    background: var(--navy);
    border-radius: 5px;
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.menu-toggle:hover {
    background: #f7f8fa;
    border-color: #d7bd82;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==================================================
   TABLET AND MOBILE
================================================== */

@media (max-width: 1200px) and (min-width: 961px) {
    .header-container {
        width: calc(100% - 40px);
    }

    .nav-inner {
        gap: 16px;
    }

    .brand img {
        width: 150px;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-link,
    .dropdown-toggle {
        font-size: 11.5px;
    }

    .nav-cta {
        min-height: 42px;
        padding-inline: 11px;
        font-size: 11px;
    }
}

/* Switch to hamburger before the desktop links become crowded */

@media (max-width: 960px) {
    .header-container {
        width: calc(100% - 36px);
    }

    .nav-inner {
        min-height: 76px;
        gap: 16px;
    }

    .brand img {
        width: 165px;
        height: 64px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    /* Mobile navigation panel */

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1000;

        display: flex;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;

        width: 100%;
        max-height: calc(100vh - 112px);
        max-height: calc(100dvh - 112px);
        overflow-x: hidden;
        overflow-y: auto;

        padding: 12px 22px 22px;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);

        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

        overscroll-behavior: contain;
    }

    .nav-menu.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 47px;
        padding: 12px 4px;
        font-size: 14px;
        white-space: normal;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        padding-left: 9px;
        background: #fbf8f0;
        border-radius: 6px;
    }

    /* Mobile Services dropdown */

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
        min-height: 47px;
        padding: 12px 4px;
        font-size: 14px;
    }

    .dropdown-menu {
        position: static;

        display: none;
        width: 100%;
        max-width: none;
        max-height: none;
        overflow: visible;

        margin: 0 0 8px;
        padding: 5px 8px;

        background: #f7f8fa;
        border: 0;
        border-radius: 8px;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .nav-dropdown.open > .dropdown-menu {
        display: block;
        animation: submenu-reveal 0.22s ease both;
    }

    .dropdown-menu a {
        min-height: 43px;
        padding: 11px 10px;
        font-size: 13px;
    }

    .dropdown-menu a:hover {
        padding-left: 15px;
        background: #eee7d8;
    }

    /* Mobile CTA */

    .nav-cta {
        display: flex;
        width: 100%;
        min-height: 48px;
        margin-top: 12px;
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ==================================================
   SMALL MOBILE PHONES
================================================== */

@media (max-width: 600px) {
    .header-container {
        width: calc(100% - 28px);
    }

    .top-bar-inner {
        min-height: 36px;
        justify-content: center;
    }

    .top-contact {
        justify-content: center;
        gap: 8px;
    }

    .top-contact-link {
        gap: 7px;
        font-size: 11px;
    }

    .top-contact-link svg {
        width: 14px;
        height: 14px;
    }

    .top-divider,
    .established,
    .top-social {
        display: none;
    }

    .nav-inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand {
        max-width: calc(100% - 54px);
    }

    .brand img {
        width: 145px;
        height: 56px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .nav-menu {
        padding: 10px 16px 20px;
        max-height: calc(100vh - 104px);
        max-height: calc(100dvh - 104px);
    }
}

/* Extra-small phones */

@media (max-width: 360px) {
    .header-container {
        width: calc(100% - 22px);
    }

    .top-contact-link {
        font-size: 10px;
    }

    .nav-inner {
        min-height: 64px;
    }

    .brand img {
        width: 128px;
        height: 50px;
    }

    .nav-menu {
        padding-inline: 13px;
    }

    .nav-link,
    .dropdown-toggle {
        font-size: 13px;
    }

    .dropdown-menu a {
        font-size: 12px;
    }
}

/* ==================================================
   ANIMATIONS
================================================== */

@keyframes submenu-reveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility: keyboard focus */

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Respect reduced-motion preferences */

@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;
    }
}



/* Logo and company name side by side */
.site-header .brand--combined {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
    text-decoration: none;
}

.site-header .brand-logo {
    display: block;
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
    object-fit: contain;
}

.site-header .brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    line-height: 1;
}

.site-header .brand-name {
    color: #101D35;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.05;
}

.site-header .brand-tagline {
    color: #C8A45D;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.4;
    white-space: nowrap;
}

/* Tablet */
@media (max-width: 900px) {
    .site-header .brand--combined {
        gap: 9px;
    }

    .site-header .brand-logo {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
    }

    .site-header .brand-name {
        font-size: 25px;
    }

    .site-header .brand-tagline {
        font-size: 8px;
        letter-spacing: 1.2px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .site-header .brand--combined {
        gap: 8px;
    }

    .site-header .brand-logo {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

    .site-header .brand-name {
        font-size: 22px;
        letter-spacing: 0.8px;
    }

    .site-header .brand-tagline {
        font-size: 7px;
        letter-spacing: 1px;
    }
}












