:root {
    --primary-color: #2c3e50;
    --secondary-color: #7f8c8d;
    --accent-color: #a4be35;
    /* Verde del logo */
    --accent-hover: #8da42d;
    --dark-premium: #1a1a1a;
    --light-bg: #f8f9fa;
    --bg-mio: #E0E0E0;
    --whatsapp-color: #aec64d;
    /* Versión más suave del verde accent */
    --whatsapp-hover: #a4be35;
    --instagram-color: #de6f91;
    /* Versión más suave del rosa Instagram */
    --instagram-hover: #E1306C;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    background-color: var(--bg-mio);
}

.nav-item {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    /* 700 es negrita, 900 es ultra negrita */
}

/* Typography & Colors */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-dark-premium {
    background-color: var(--dark-premium) !important;
}

.bg-whatsapp {
    background-color: var(--whatsapp-color) !important;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent-color);
    color: #1a1a1a;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(164, 190, 53, 0.4);
}

/* Navbar */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.transition-nav {
    transition: all 0.3s ease;
}

.nav-link {
    letter-spacing: 0.5px;
}

.hover-accent:hover {
    color: var(--accent-color) !important;
    transition: color 0.3s ease;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 60px;
    right: 40px;
    border-radius: 50Px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-logo {
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover) !important;
    transform: scale(1.1);
    color: white;
}

/* Instagram Floating Button */
.instagram-float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 110px;
    /* Arriba del de WhatsApp */
    right: 40px;
    border-radius: 50Px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.instagram-bg {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.instagram-float:hover {
    background-color: var(--instagram-hover) !important;
    transform: scale(1.1);
    color: white;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Utility Classes */
.transition-fast {
    transition: all 0.2s ease-in-out;
}

.text-sm {
    font-size: 0.9rem;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('../images/BGInicio.jpeg') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    position: relative;
}

/* Cards Hover Effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
}

.card-hover:hover {
    transform: translateY(-5px);
    color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Step by Step Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px dashed var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}

/* Custom Page Headers with Image Background */
.page-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 100px 0;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45); /* Overlay más suave para lucir mejor la foto */
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Ocultar botones flotantes en móviles */
@media (max-width: 767.98px) {
    .whatsapp-float.d-flex,
    .instagram-float.d-flex,
    a.whatsapp-float,
    a.instagram-float {
        display: none !important;
    }
}
