/* Variables globales */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Carrusel */
.carrusel {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 60px;
    overflow: hidden;
}

.carrusel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carrusel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carrusel-slide.active {
    opacity: 1;
}

.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrusel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.carrusel-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carrusel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.carrusel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 3;
    transition: background-color 0.3s ease;
}

.carrusel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carrusel-control.prev {
    left: 20px;
}

.carrusel-control.next {
    right: 20px;
}

.carrusel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90%;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: var(--white);
}

/* Botón de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Header y Navegación */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.logo img {
    max-width: 280px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin-left: auto;
    padding-left: 200px; /* Espacio para el logo */
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}

.banner-content {
    max-width: 800px;
    padding: 2rem;
}

.banner h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Beneficios */
.beneficios {
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.beneficios h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.beneficio-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.beneficio-card:hover {
    transform: translateY(-5px);
}

.beneficio-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Quiénes Somos */
.nosotros {
    padding: 5rem 2rem;
}

.nosotros h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.nosotros-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.nosotros-text h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0;
}

.nosotros-text ul {
    list-style-position: inside;
    margin-top: 1rem;
}

.nosotros-imagen img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Cotizador */
.cotizador {
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.cotizador h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.cotizador-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #c0392b;
}

/* Testimonios */
.testimonios {
    padding: 5rem 2rem;
}

.testimonios h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonio-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin: 1rem;
    max-width: 400px;
}

.testimonio-card:hover {
    transform: translateY(-5px);
}

.testimonio-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.testimonio-card p {
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
}

.testimonios-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
}

/* Galería */
.galeria {
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.galeria h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.galeria-overlay p {
    color: var(--white);
    margin: 0;
    text-align: center;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

/* Contacto */
.contacto {
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.contacto h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
}

.info-item p {
    margin: 0;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    color: var(--white);
}

.contacto-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contacto-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contacto-form .form-group {
    margin-bottom: 1.5rem;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contacto-form textarea {
    height: 150px;
    resize: vertical;
}

.contacto-form .submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contacto-form .submit-button:hover {
    background-color: #c0392b;
}

.mapa {
    grid-column: 1 / -1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .banner h2 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1.2rem;
    }

    .nosotros-content {
        grid-template-columns: 1fr;
    }

    .contacto-container {
        grid-template-columns: 1fr;
    }

    .carrusel-content h2 {
        font-size: 2rem;
    }

    .carrusel-content p {
        font-size: 1.2rem;
    }

    .carrusel-dots {
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .logo {
        position: static;
        transform: none;
        margin-right: 0;
    }

    .logo img {
        max-width: 140px;
    }

    .nav-menu {
        padding-left: 0;
        margin-left: 0;
    }

    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 120px;
    }
} 