/* Variables de colores */
:root {
    --primary-color: #0d2839;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --success-color: #27ae60;
    --transition: all 0.3s ease;
}

/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
    transition: var(--transition);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-weight: 400;
    font-size: 1.2rem;
    color: white !important;
    margin-right: 2rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.7rem 1.2rem !important;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: white !important;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.nav-link.active::after {
    width: 80%;
}

/* Logo container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Hero Section */
.hero-section, .hero-section * {
    all: unset;
}

/* Cards */
.card {
    transition: var(--transition);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card-body {
    padding: 2.5rem;
}

/* Botones */
.btn {
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #fff;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Secciones */
section {
    padding: 100px 0;
}

section h2 {
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 2.5rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 40px;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

footer a:hover {
    color: var(--accent-color);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    .logo-image {
        width: 36px;
        height: 36px;
    }
    .navbar-brand {
        font-size: 1rem;
    }
    .nav-link {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem;
    }
    #mainCarousel .carousel-caption {
        padding: 1rem;
    }
    #mainCarousel h1, #mainCarousel h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    #mainCarousel .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    #mainCarousel .btn {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
    #mainCarousel .carousel-item img {
        height: 180px;
    }
    section {
        padding: 40px 0;
    }
    footer {
        padding: 40px 0 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .logo-image {
        width: 28px;
        height: 28px;
    }
    .navbar-brand {
        font-size: 0.95rem;
    }
    #mainCarousel .carousel-caption {
        padding: 0.5rem;
    }
    #mainCarousel h1, #mainCarousel h2 {
        font-size: 1rem;
    }
    #mainCarousel .lead {
        font-size: 0.95rem;
    }
    #mainCarousel .btn {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
    #mainCarousel .carousel-item img {
        height: 120px;
    }
    section h2 {
        font-size: 1.3rem;
    }
    .card-body {
        padding: 1.2rem;
    }
    footer {
        font-size: 0.9rem;
    }
}

/* Utilidades */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

.whatsapp-button:focus {
    outline: none;
    text-decoration: none;
}

.whatsapp-button i {
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Modales */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 1.5rem 2rem;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.4rem;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition);
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
}

.modal-body li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.modal-body li:last-child {
    border-bottom: none;
}

.modal-body li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Iconos en las cards */
.card .fa-chart-line,
.card .fa-users,
.card .fa-cogs {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

#servicios {
    scroll-margin-top: 90px;
}

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(52, 73, 94, 0.6));
    z-index: 1;
}

#mainCarousel {
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto;
}

#mainCarousel .carousel-inner {
    width: 100vw;
    max-width: 100vw;
}

#mainCarousel .carousel-item {
    height: 100%;
}

#mainCarousel .carousel-item img {
    width: 100vw;
    max-width: 100vw;
    height: 600px;
    object-fit: cover;
}

#mainCarousel .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    text-align: center;
    width: 100%;
    height: 100%;
}

#mainCarousel h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#mainCarousel .lead {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#mainCarousel .btn {
    padding: 0.85rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#mainCarousel .btn-light {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
}

#mainCarousel .btn-light:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
}

#mainCarousel .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

#mainCarousel .carousel-control-prev,
#mainCarousel .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

#mainCarousel .carousel-indicators {
    margin-bottom: 1rem;
}

#mainCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

@media (max-width: 768px) {
    .banner-section {
        height: 60vh;
    }

    #mainCarousel h1 {
        font-size: 2.5rem;
    }

    #mainCarousel .lead {
        font-size: 1.1rem;
    }

    #mainCarousel .carousel-item img {
        height: 220px;
    }
}

@media (max-width: 992px) {
    #mainCarousel .carousel-item img {
        height: 400px;
    }
}

@media (max-width: 576px) {
    #mainCarousel .carousel-item img {
        height: 220px;
    }
} 