/**
 * Layout & Structure Styles
 * Acme Tours Version 2.0 (ennn)
 */

.v2-header-navbar {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 0.4rem 0;
    transition: transform var(--ease-normal);
}

.v2-brand-logo {
    max-height: 82px;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: max-height 0.3s ease;
}

@media (max-width: 767.98px) {
    .v2-brand-logo {
        max-height: 68px;
    }
}

.v2-nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
}

.v2-nav-link:hover, .v2-nav-link.active {
    color: var(--brand-navy) !important;
}

/* Responsive Header Scaling to prevent wrapping into two lines */
@media (min-width: 992px) and (max-width: 1399px) {
    .v2-nav-link {
        padding: 0.5rem 0.4rem !important;
        font-size: 0.8rem;
    }
    #v2FlagsDropdown {
        padding: 0.25rem 0.5rem !important;
    }
    #v2FlagsDropdown span {
        font-size: 0.75rem !important;
    }
    .v2-header-navbar .btn-outline-success {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
}

/* Floating Actions */
.v2-whatsapp-fab {
    position: fixed;
    bottom: 63px;
    right: 277px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    background-color: var(--brand-emerald);
    color: #ffffff !important;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    transition: transform var(--ease-fast);
}

.v2-whatsapp-fab:hover {
    transform: scale(1.1);
}

.v2-scroll-top-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    background-color: var(--brand-navy);
    color: #ffffff !important;
    border-radius: var(--radius-pill);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--ease-normal);
}

.v2-scroll-top-fab.visible {
    opacity: 1;
    visibility: visible;
}
