/* Estilos personalizados para Certio */

/* Ajustes generales */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Mejoras en la navegación */
.navbar-brand {
    font-size: 1.5rem;
}

.nav-link.active {
    font-weight: 600;
}

/* Espaciado en secciones */
section {
    scroll-margin-top: 76px; /* Altura del navbar */
}

/* Cards con hover effect */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Mejoras en botones */
.btn {
    transition: all 0.2s ease-in-out;
}

/* Footer Moderno */
.footer-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%) !important;
}

.footer-brand img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-brand img:hover {
    transform: scale(1.05);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd 0%, #0dcaf0 100%);
}

.footer-links li,
.footer-contact li {
    transition: transform 0.2s ease;
}

.footer-links li:hover,
.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #0d6efd;
    text-decoration: none;
    transform: translateX(3px);
}

.footer-link i {
    font-size: 0.9rem;
    width: 20px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social-link:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 6px;
}

.footer-newsletter .form-control::placeholder {
    color: #adb5bd;
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0d6efd;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.footer-newsletter .btn-primary {
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-modern {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li:hover,
    .footer-contact li:hover {
        transform: none;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-newsletter form {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Hero section */
.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
}

/* Hero section con carrusel de fondo */
.hero-section {
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel .carousel-inner {
    height: 100%;
}

.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.75) 0%, rgba(10, 88, 202, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    z-index: 3;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Ajustes responsive para hero section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
}

/* Sección de Precios */
.pricing-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.pricing-card-free {
    border-top: 4px solid #0d6efd;
}

.pricing-card-basic {
    border-top: 4px solid #0dcaf0;
}

.pricing-card-professional {
    border-top: 4px solid #198754;
}

.pricing-card-institutional {
    border-top: 4px solid #dc3545;
}

.pricing-price {
    margin: 1rem 0;
}

.pricing-card .list-unstyled li {
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-card .badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bg-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

/* Efecto especial para el plan más popular */
.pricing-card-professional {
    border: 2px solid #ffc107;
}

.pricing-card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
}

/* Mejoras en botones de precios */
.pricing-card .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    .pricing-price .display-4 {
        font-size: 1.75rem;
    }
}

