/* ============================================
   DUBAI TOURS - HEADER STYLES
   Updated Colors: Deep Blue (#003B73), Sky Blue (#0074D9), Gold (#FFD700)
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    padding-top: 80px;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.main-header {
    /*background: linear-gradient(135deg, #003B73 0%, #0074D9 100%);*/
    background-color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.3s ease-in-out;
}

.main-header.scroll-down {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.45);
}

.main-header.scroll-up {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.45);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    gap: 20px;
}

/* ============================================
   LOGO STYLES
   ============================================ */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #FFD700;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    user-select: none;
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    flex-shrink: 0;
}

.logo svg path {
    fill: #FFD700;
}

.logo span {
    letter-spacing: 1.5px;
}

/* ============================================
   NAVIGATION MENU
   ============================================ */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #003B73;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #FFD700;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   ACTION BUTTONS
   ============================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Icon Buttons (WhatsApp & Call) */
.btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.btn-icon:hover::before {
    transform: scale(1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #20BD5B;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-call {
    background-color: #FFD700;
    color: #003B73;
}

.btn-call:hover {
    background-color: #FFC700;
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

/* Book Now Button */
.btn-book {
    background-color: #FFD700;
    color: #003B73;
    padding: 13px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-book:hover {
    background-color: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.btn-book svg {
    flex-shrink: 0;
}

/* ============================================
   MOBILE TOGGLE BUTTON
   ============================================ */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: #FFD700;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

.float-btn:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.float-btn:active {
    transform: scale(1.1);
}

/* WhatsApp Floating Button */
.float-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20BD5B 100%);
    color: #fff;
    animation-delay: 0.2s;
}

.float-whatsapp:hover {
    background: linear-gradient(135deg, #20BD5B 0%, #1DA851 100%);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

.float-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
}

/* Call Floating Button */
.float-call {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #003B73;
    animation-delay: 0.4s;
}

.float-call:hover {
    background: linear-gradient(135deg, #FFC700 0%, #FFB700 100%);
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.6);
}

.float-call::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #FFD700;
    animation: ring 1.5s infinite;
}

/* Tooltip */
.float-tooltip {
    position: absolute;
    right: 80px;
    background: #003B73;
    color: #FFD700;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #003B73;
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
    .nav-links {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 14px;
        color: #fff;
    }
    
    .btn-book span {
        display: none;
    }
    
    .btn-book {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-content {
        padding: 12px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #003B73 0%, #001f3f 100%);
        padding: 100px 0 35px;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.6);
        overflow-y: auto;
        z-index: 999;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 280px;
        width: calc(100vw - 280px);
        height: 100vh;
        background: rgba(0, 0, 0, 0.85);
        z-index: -1;
        animation: fadeIn 0.3s ease-out;
        backdrop-filter: blur(3px);
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding: 0 30px;
    }

    .nav-link {
        padding: 20px 15px;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        width: 100%;
        font-size: 17px;
        position: relative;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 0;
        background: #FFD700;
        transition: height 0.3s ease;
        border-radius: 0 3px 3px 0;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        height: 100%;
    }

    .nav-link::after {
        content: '→';
        font-size: 20px;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
        color: #FFD700;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #FFD700;
        background: rgba(255, 215, 0, 0.1);
        padding-left: 25px;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        opacity: 1;
        transform: translateX(0);
    }

    .logo {
        font-size: 20px;
    }

    .logo svg {
        width: 30px;
        height: 30px;
    }

    .btn-icon {
        width: 46px;
        height: 46px;
    }

    .btn-icon svg {
        width: 22px;
        height: 22px;
    }

    .floating-buttons {
        right: 20px;
        bottom: 20px;
        gap: 12px;
    }

    .float-btn {
        width: 58px;
        height: 58px;
    }

    .float-btn svg {
        width: 26px;
        height: 26px;
    }

    .float-tooltip {
        right: 73px;
        font-size: 13px;
        padding: 8px 14px;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }

    .header-actions {
        gap: 10px;
    }

    .btn-icon {
        width: 42px;
        height: 42px;
    }

    .btn-icon svg {
        width: 20px;
        height: 20px;
    }

    .btn-book {
        width: 42px;
        height: 42px;
    }

    .btn-book svg {
        width: 18px;
        height: 18px;
    }

    .logo {
        font-size: 18px;
    }

    .logo svg {
        width: 28px;
        height: 28px;
    }

    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .float-btn {
        width: 52px;
        height: 52px;
    }

    .float-btn svg {
        width: 24px;
        height: 24px;
    }

    .float-tooltip {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.logo-img {
    height: 100px;
    width: auto;
}

@media (max-width: 575px) {
    .logo-img {
        height: 80px;
    }



}

@media (max-width: 767px) {
    .logo-img {
        height: 70px;
    }


}

@media (max-width: 991px) {
    .logo-img {
        height: 60px;
    }


}