/* Base Styles - Common across all pages */

/* Global Styles */
body {
    background-color: #000;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Three-Part Floating Navigation */
.navbar-floating-container {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    pointer-events: none;
}

.navbar-floating-container > * {
    pointer-events: auto;
}

.navbar-logo .navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    margin: 0;
}

/* Main Navigation (Center) */
.navbar-main {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 500px;
    display: flex;
    justify-content: center;
}

.navbar-main.scrolled {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-main .navbar-nav {
    flex-direction: row;
    gap: 0.5rem;
    margin: 0;
}

.navbar-main .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.navbar-main .navbar-nav .nav-link:hover {
    color: #333;
    background: rgba(255, 255, 255, 0.9);
}

.navbar-main .navbar-nav .nav-link.active {
    background: #BAF631;
    color: #333;
    font-weight: 600;
}

/* Right Side Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.language-selector.scrolled {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.language-selector .dropdown-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.language-selector .dropdown-toggle:hover {
    color: #fff;
}

.language-selector .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin-top: 0.5rem;
}

.navbar-action-btn {
    background: #BAF631;
    color: #333;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.navbar-action-btn:hover {
    background: #A8E02C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(186, 246, 49, 0.4);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    color: #BAF631;
    transform: translateY(-1px);
}

.mobile-menu-toggle:focus {
    outline: none;
}

.mobile-menu-toggle.menu-open {
    color: #BAF631;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border-radius: 25px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: menuSlideIn 0.3s ease-out;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    text-align: center;
    border: 1px solid transparent;
}

.mobile-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.mobile-menu .nav-link.active {
    background: #BAF631;
    color: #333;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(186, 246, 49, 0.3);
}

/* Mobile Language Selector */
.mobile-language-selector {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-language-selector .dropdown-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-language-selector .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.mobile-language-selector .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin-top: 0.5rem;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar-floating-container {
        top: 20px;
        left: 12px;
        right: 12px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(25px);
        border-radius: 24px;
        padding: 0.1rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        pointer-events: auto;
    }

    .navbar-floating-container > * {
        pointer-events: auto;
    }

    .navbar-main {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .navbar-actions {
        gap: 0.5rem;
    }

    .language-selector {
        display: none;
    }

    .navbar-action-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .navbar-logo {
        background: transparent;
        border: none;
        padding: 0;
    }
}

/* Main Content Spacing */
#main-content {
    margin-top: 0;
    padding-top: 0;
}

/* FOOTER STYLES */
.footer-container {
    margin: 20px;
    margin-top: 2rem;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(186, 246, 49, 0.05) 0%, 
        rgba(186, 246, 49, 0.02) 25%, 
        transparent 50%, 
        rgba(186, 246, 49, 0.02) 75%, 
        rgba(186, 246, 49, 0.05) 100%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 4rem 3rem 3rem 3rem;
}

.footer-content h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #BAF631 0%, #A8E02C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-content .list-unstyled li {
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-content .list-unstyled a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.5rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-content .list-unstyled a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #BAF631;
    transition: width 0.3s ease;
}

.footer-content .list-unstyled a:hover {
    color: #fff;
    padding-left: 1rem;
    transform: translateX(5px);
}

.footer-content .list-unstyled a:hover::before {
    width: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #BAF631;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(186, 246, 49, 0.4);
    border-color: #BAF631;
}

.social-links a i {
    font-size: 1.2rem;
}

/* Contact Info */
.footer-content address {
    font-style: normal;
    line-height: 2;
}

.footer-content address a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.footer-content address a:hover {
    color: #BAF631;
}

.footer-content address i {
    color: #BAF631;
    width: 20px;
    text-align: center;
}

/* Footer Bottom Section */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1.5rem 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #BAF631;
}

/* Floating Action Buttons Container */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.floating-actions > * {
    pointer-events: auto;
}

/* WhatsApp Floating Bubble */
.whatsapp-floating {
    background: linear-gradient(135deg, #BAF631 0%, #BAF631 100%);
    color: #000000;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: visible;
    transform: scale(1);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-floating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.whatsapp-floating:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.6);
    animation: none;
}

.whatsapp-floating:hover::before {
    transform: scale(1);
}

.whatsapp-floating:hover .whatsapp-close {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-floating.closing {
    animation: closeWhatsapp 0.3s ease forwards;
}

.whatsapp-floating.hidden {
    display: none !important;
}

/* WhatsApp Close Button */
.whatsapp-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4757;
    color: #fff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.5);
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    font-weight: bold;
}

.whatsapp-close:hover {
    background: #ff3742;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.7);
}

/* Always show close button on mobile */
@media (max-width: 768px) {
    .whatsapp-close {
        opacity: 1;
        transform: scale(1);
    }
}

/* Back to Top Button */
.back-to-top {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: #BAF631;
    color: #333;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(186, 246, 49, 0.4);
    border-color: #BAF631;
}

/* Animations */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

@keyframes closeWhatsapp {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Toast Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        margin: 10px;
        margin-top: 2rem;
        border-radius: 20px;
    }

    .footer-content {
        padding: 3rem 2rem 2.5rem 2rem;
    }

    .footer-content .col-md-4 {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .footer-content .col-md-4:last-child {
        margin-bottom: 0;
    }

    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-divider {
        margin: 2rem 0 1rem 0;
    }

    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .whatsapp-floating {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .whatsapp-close {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        top: -8px;
        right: -8px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        margin: 8px;
        margin-top: 2rem;
        border-radius: 18px;
    }

    .footer-content {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }

    .footer-content h5 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .footer-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .footer-content .col-md-4 {
        margin-bottom: 2rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }

    .social-links a i {
        font-size: 1.1rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-divider {
        margin: 1.5rem 0 1rem 0;
    }

    .floating-actions {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .whatsapp-floating {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .whatsapp-close {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        top: -6px;
        right: -6px;
    }
}

@media (min-width: 1400px) {
    .footer-content {
        padding: 5rem 3rem 4rem 3rem;
    }
}