/* ===================================================
   Trip-X360 — Component Styles
   Navbar · Footer · Floating Buttons
   =================================================== */

/* ===================== NAVBAR ===================== */
.navbar-custom {
    padding: 15px 0;
    transition: all var(--transition-base);
    z-index: 1050;
    background: transparent;
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.65rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-base);
}

.navbar-custom.scrolled .navbar-brand {
    color: var(--primary);
}

.navbar-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-base);
}

.navbar-custom.scrolled .navbar-logo {
    height: 38px;
}

.navbar-custom .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 18px !important;
    transition: all var(--transition-base);
    position: relative;
    letter-spacing: 0.3px;
}

.navbar-custom.scrolled .nav-link {
    color: var(--dark);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
    border-radius: 1px;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: calc(100% - 36px);
}

.navbar-custom .nav-link:hover {
    color: var(--white);
}

.navbar-custom.scrolled .nav-link:hover {
    color: var(--primary);
}

.navbar-custom .nav-link.active {
    color: var(--white);
    font-weight: 600;
}

.navbar-custom.scrolled .nav-link.active {
    color: var(--primary);
}

.navbar-custom .btn-cta {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 8px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-accent);
}

.navbar-custom .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 111, 0, 0.35);
    color: var(--white);
}

/* Navbar toggler */
.navbar-custom .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 4px 10px;
}

.navbar-custom.scrolled .navbar-toggler {
    border-color: var(--primary);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2821, 101, 192, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .navbar-custom {
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        padding: 10px 0;
    }

    .navbar-custom .navbar-collapse {
        background: var(--dark);
        margin-top: 10px;
        border-radius: var(--radius-md);
        padding: 15px;
    }

    .navbar-custom .nav-link {
        padding: 10px 15px !important;
    }

    .navbar-custom .nav-link::after {
        display: none;
    }

    .navbar-custom .btn-cta {
        margin-top: 10px;
        display: inline-block;
    }
}


/* ===================== FOOTER ===================== */
.footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer h5 {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--accent);
    transition: transform var(--transition-base);
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links li a:hover::before {
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 4px;
    width: 18px;
    text-align: center;
}

.footer-newsletter .input-group {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 12px 16px;
    font-size: 0.9rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    box-shadow: none;
    color: var(--white);
}

.footer-newsletter .btn {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--accent);
}

/* ============= FLOATING BUTTONS ============= */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    border: none;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--whatsapp);
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-call {
    background: var(--primary);
}

.btn-call:hover {
    box-shadow: 0 6px 25px rgba(21, 101, 192, 0.4);
}

.btn-scroll-top {
    background: var(--gradient-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.btn-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    box-shadow: 0 6px 25px rgba(255, 111, 0, 0.4);
    transform: translateY(-3px) scale(1.05);
}

/* Floating buttons label tooltip */
.floating-btn .btn-label {
    position: absolute;
    right: 65px;
    background: var(--dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.floating-btn:hover .btn-label {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767.98px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .floating-btn .btn-label {
        display: none;
    }
}
