/* ==========================================================================
   MarleyTur - Modern Global Styles (Bootstrap 5 Compatible)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #22c55e;
    --primary-hover: #16a34a;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1ebd59;
    --accent-blue: #0ea5e9;
    --dark-bg: #0b132b;
    --card-dark: rgba(15, 23, 42, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(rgba(11, 19, 43, 0.85), rgba(11, 19, 43, 0.92)), url('../img/fundo.jpeg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.8rem;
    color: #ffffff;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Navbar */
.navbar-transparente {
    padding: 10px 0;
    background: rgba(11, 19, 43, 0.90) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    padding: 0;
    text-decoration: none;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    max-height: 48px;
    object-fit: contain;
    margin-right: 12px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.navbar-brand:hover .brand-logo-img {
    transform: scale(1.08) rotate(-2deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.brand-highlight {
    color: var(--primary-color);
    font-weight: 800;
}

.brand-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #94a3b8;
}

.navbar-light .navbar-nav .nav-link {
    color: #e2e8f0 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(34, 197, 94, 0.1);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 6px 10px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

.divisor {
    width: 1px;
    height: 24px;
    background: var(--glass-border);
    margin: auto 10px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    color: #ffffff !important;
    border-radius: 50%;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulseWhatsApp 2.2s infinite;
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-float:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .tooltip-text {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer */
footer {
    background: rgba(7, 12, 28, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px 0;
    position: relative;
}

footer h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-color);
}

footer img {
    height: 85px;
    width: auto;
    max-height: 85px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

footer .footer-text,
footer .navbar-nav li,
footer .navbar-nav a {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .navbar-nav a:hover {
    color: var(--primary-color);
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer .social-icons a:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .divisor {
        display: none;
    }

    .navbar-collapse {
        background: rgba(11, 19, 43, 0.98);
        padding: 20px;
        border-radius: 12px;
        margin-top: 12px;
        border: 1px solid var(--glass-border);
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float i {
        font-size: 28px;
    }

    .whatsapp-float .tooltip-text {
        display: none;
    }
}