/* =========================================================
MK-TECH SOLUTIONS - TAXI BOOKING WEBSITE
Main Header & Global Styles
========================================================= */

/* =========================
ROOT VARIABLES
========================= */

:root {
--primary: #142b45;
--primary-dark: #0d1f35;
--secondary: #f5a623;
--secondary-dark: #df9010;


--white: #ffffff;
--background: #f5f7fa;

--text: #263648;
--muted: #788797;
--border: #e8edf2;

--font-family: 'Inter', sans-serif;

--container-width: 1200px;


}

/* =========================
GLOBAL RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: var(--font-family);
background: var(--background);
color: var(--text);
font-size: 14px;
line-height: 1.6;
}

a {
text-decoration: none;
color: inherit;
}

button {
font-family: inherit;
}

img {
max-width: 100%;
display: block;
}

.container {
width: 100%;
max-width: var(--container-width);
margin: 0 auto;
padding: 0 20px;
}

/* =========================================================
TOP BAR
========================================================= */

.top-bar {
width: 100%;
background: var(--primary-dark);
color: rgba(255, 255, 255, 0.85);
font-size: 12px;
}

.top-bar-inner {
min-height: 39px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}

.top-contact {
display: flex;
align-items: center;
gap: 28px;
}

.top-contact span {
display: inline-flex;
align-items: center;
gap: 8px;
}

.top-contact i {
color: var(--secondary);
font-size: 13px;
}

.top-contact a {
transition: color 0.2s ease;
}

.top-contact a:hover {
color: var(--secondary);
}

.top-social {
display: flex;
align-items: center;
gap: 17px;
}

.top-social a {
width: 25px;
height: 25px;
display: flex;
justify-content: center;
align-items: center;
color: var(--white);
transition: all 0.2s ease;
}

.top-social a:hover {
color: var(--secondary);
transform: translateY(-2px);
}

/* =========================================================
MAIN HEADER
========================================================= */

.main-header {
width: 100%;
background: var(--white);
position: relative;
z-index: 1000;
box-shadow: 0 3px 15px rgba(15, 35, 55, 0.06);
}

.header-inner {
min-height: 82px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;
}

/* =========================
LOGO
========================= */

.site-logo {
display: inline-flex;
align-items: center;
gap: 11px;
flex-shrink: 0;
}

.logo-icon {
width: 47px;
height: 47px;
border-radius: 12px;
background: var(--primary);
color: var(--secondary);
display: flex;
align-items: center;
justify-content: center;
font-size: 23px;
}

.logo-text {
display: flex;
flex-direction: column;
line-height: 1.2;
}

.logo-text strong {
color: var(--primary);
font-size: 22px;
font-weight: 800;
letter-spacing: -0.7px;
}

.logo-text small {
color: var(--muted);
font-size: 9px;
font-weight: 700;
letter-spacing: 2px;
margin-top: 4px;
}

/* =========================================================
NAVIGATION
========================================================= */

.main-navigation {
display: flex;
align-items: center;
gap: 29px;
}

.main-navigation > a {
position: relative;
display: inline-flex;
align-items: center;
color: var(--primary);
font-size: 13px;
font-weight: 600;
padding: 31px 0;
transition: color 0.2s ease;
}

.main-navigation > a:not(.nav-booking-btn)::after {
content: "";
position: absolute;
left: 0;
bottom: 21px;
width: 0;
height: 2px;
background: var(--secondary);
transition: width 0.25s ease;
}

.main-navigation > a:not(.nav-booking-btn):hover,
.main-navigation > a.active {
color: var(--secondary-dark);
}

.main-navigation > a:not(.nav-booking-btn):hover::after,
.main-navigation > a.active::after {
width: 100%;
}

/* =========================
BOOKING BUTTON
========================= */

.main-navigation .nav-booking-btn {
background: var(--secondary);
color: var(--primary-dark);
padding: 13px 20px;
border-radius: 6px;
display: inline-flex;
align-items: center;
gap: 9px;
font-size: 13px;
font-weight: 800;
transition: all 0.25s ease;
box-shadow: 0 4px 10px rgba(245, 166, 35, 0.15);
}

.main-navigation .nav-booking-btn:hover {
background: var(--secondary-dark);
color: var(--white);
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(245, 166, 35, 0.25);
}

/* =========================================================
MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
display: none;
width: 43px;
height: 43px;
border: none;
border-radius: 7px;
background: var(--primary);
color: var(--white);
font-size: 19px;
cursor: pointer;
align-items: center;
justify-content: center;
}

/* =========================================================
RESPONSIVE HEADER
========================================================= */

@media (max-width: 1050px) {


.main-navigation {
    gap: 18px;
}

.main-navigation > a {
    font-size: 12px;
}

.logo-text strong {
    font-size: 20px;
}


}

@media (max-width: 850px) {


.header-inner {
    min-height: 73px;
}

.menu-toggle {
    display: flex;
}

.main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 12px 22px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 10px 20px rgba(15, 35, 55, 0.10);
    border-top: 1px solid var(--border);
}

.main-navigation.show {
    display: flex;
}

.main-navigation > a {
    padding: 13px 5px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.main-navigation > a:not(.nav-booking-btn)::after {
    display: none;
}

.main-navigation .nav-booking-btn {
    justify-content: center;
    margin-top: 13px;
    padding: 13px;
}


}

@media (max-width: 576px) {


.container {
    padding-left: 15px;
    padding-right: 15px;
}

.top-bar-inner {
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.top-contact {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.top-social {
    display: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
}

.logo-text strong {
    font-size: 19px;
}

.logo-text small {
    font-size: 8px;
}

.header-inner {
    min-height: 68px;
}


}






/* =========================================================
CUSTOMER PROFILE ICON & DROPDOWN
STARLINK TRANSFERS LTD
========================================================= */

.customer-profile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* PROFILE ICON BUTTON */

.customer-profile-btn {
    width: 43px;
    height: 43px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.customer-profile-btn:hover,
.customer-profile-wrapper.active .customer-profile-btn {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(245, 166, 35, 0.25);
}

/* PROFILE DROPDOWN */

.customer-profile-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 270px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(13, 31, 53, 0.16);
    padding: 10px;
    z-index: 2000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

/* SHOW DROPDOWN */

.customer-profile-wrapper.active .customer-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* PROFILE HEADER */

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
}

.profile-user-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.profile-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-user-info strong {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.profile-user-info small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

/* DIVIDER */

.profile-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 7px 0;
}

/* DROPDOWN LINKS */

.profile-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.profile-dropdown-link i {
    width: 18px;
    color: var(--secondary-dark);
    font-size: 15px;
    text-align: center;
}

.profile-dropdown-link:hover {
    background: #f5f7fa;
    color: var(--secondary-dark);
    padding-left: 16px;
}

/* LOGOUT LINK */

.profile-logout-link {
    color: #d64545;
}

.profile-logout-link i {
    color: #d64545;
}

.profile-logout-link:hover {
    background: #fff1f1;
    color: #c52f2f;
}


/* =========================================================
PROFILE RESPONSIVE STYLING
========================================================= */

@media (max-width: 850px) {

    .customer-profile-wrapper {
        width: 100%;
        justify-content: flex-end;
        padding: 12px 5px 5px;
        border-bottom: 1px solid var(--border);
    }

    .customer-profile-btn {
        width: 42px;
        height: 42px;
    }

    .customer-profile-dropdown {
        top: calc(100% + 5px);
        right: 0;
        width: min(290px, calc(100vw - 40px));
    }

}

@media (max-width: 576px) {

    .customer-profile-dropdown {
        width: min(280px, calc(100vw - 30px));
    }

}