/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #EEC983;
    --primary-hover: #d4b06e;
    --secondary-color: #000000;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --accent-gradient: linear-gradient(135deg, #EEC983 0%, #c4a05e 100%);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: #fcfcfc;
}

/* Loader */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-logo {
    width: 100px; /* Ajusta según necesidad */
    height: auto;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--secondary-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.8) !important;
    transition: color 0.3s ease;
}

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

/* Hero Section Parallax */
.hero-section {
    position: relative;
    background-image: url('../img/mevo_banner.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Cortina oscura */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: transform 0.1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f8f9fa;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 201, 131, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Badge */
.badge.bg-danger {
    background-color: var(--primary-color) !important;
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Custom Share Buttons */
.share-btn-custom {
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.share-btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Shake Animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s;
}

/* Site Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 2rem 0;
    margin-top: auto;
    font-size: 0.9rem;
    border-top: 3px solid var(--primary-color);
}

.site-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    gap: 1rem;
}

.footer-copyright {
    text-align: left;
    font-weight: 600;
    flex: 0 0 auto; /* No grow */
}

.footer-legal {
    flex: 1; /* Takes available space */
    text-align: center;
    margin-bottom: 0;
    padding: 0 1rem;
    line-height: 1.4;
    font-size: 0.85rem; /* Sligthly smaller for long text */
}

.footer-payment {
    flex: 0 0 auto;
    text-align: right;
}

.footer-payment img {
    height: 30px; /* Adjust size as needed */
    width: auto;
}

/* Mobile Responsiveness */
@media (max-width: 991px) { /* Increased breakpoint for 3 items */
    .site-footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-copyright, .footer-legal, .footer-payment {
        text-align: center;
        width: 100%;
        padding: 0;
        white-space: normal;
    }
    
    .footer-payment { order: 2; margin: 0.5rem 0; }
    .footer-copyright { order: 3; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.whatsapp-float i {
    line-height: 0;
}
