/* Variables CSS - Paleta de Colores Naranja */
:root {
    --naranja-principal: #FF6B35;
    --naranja-oscuro: #E85A2B;
    --naranja-claro: #FF8C5A;
    --naranja-super-claro: #FFF4F0;
    --blanco: #FFFFFF;
    --gris-oscuro: #2C2C2C;
    --gris-medio: #666666;
    --gris-claro: #F5F5F5;
    --negro: #000000;
    --sombra: rgba(0, 0, 0, 0.1);
    --sombra-hover: rgba(255, 107, 53, 0.3);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gris-oscuro);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--blanco);
    box-shadow: 0 2px 10px var(--sombra);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--naranja-principal);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gris-oscuro);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--naranja-principal);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--naranja-principal);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--naranja-principal);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--naranja-principal) 0%, var(--naranja-oscuro) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(232, 90, 43, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--blanco);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--blanco);
    color: var(--naranja-principal);
}

.btn-primary:hover {
    background: var(--naranja-oscuro);
    color: var(--blanco);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--sombra-hover);
}

/* Sección Nosotros */
.nosotros {
    padding: 100px 0;
    background: var(--blanco);
}

.section-title {
    font-size: 2.5rem;
    color: var(--naranja-principal);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--naranja-principal);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gris-medio);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.nosotros-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gris-medio);
}

.nosotros-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--sombra);
}

.img-placeholder {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: var(--naranja-super-claro);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carrusel */
.galeria {
    padding: 0;
    background: var(--gris-claro);
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    background: var(--naranja-super-claro);
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    color: var(--naranja-principal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--naranja-principal);
    color: var(--blanco);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--naranja-principal);
    width: 30px;
    border-radius: 6px;
}

/* Sección Servicios */
.servicios {
    padding: 100px 0;
    background: var(--blanco);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: var(--blanco);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px var(--sombra);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--sombra-hover);
    border-color: var(--naranja-principal);
}

.servicio-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servicio-card h3 {
    color: var(--naranja-principal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.servicio-card p {
    color: var(--gris-medio);
    line-height: 1.8;
}

/* Sección Ubicación */
.ubicacion {
    padding: 100px 0;
    background: var(--gris-claro);
}

.ubicacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ubicacion-info h3 {
    color: var(--naranja-principal);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.ubicacion-info p {
    color: var(--gris-medio);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.direccion, .referencias {
    margin-bottom: 2rem;
}

.direccion h4, .referencias h4 {
    color: var(--naranja-principal);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.referencias ul {
    list-style: none;
    padding-left: 0;
}

.referencias li {
    color: var(--gris-medio);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.mapa-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--sombra);
    height: 400px;
}

.mapa-placeholder {
    width: 100%;
    height: 100%;
    background: var(--naranja-super-claro);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gris-medio);
}

.mapa-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Sección Contacto */
.contacto {
    padding: 100px 0;
    background: var(--blanco);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-info h3 {
    color: var(--naranja-principal);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contacto-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: start;
}

.contacto-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contacto-item h4 {
    color: var(--naranja-principal);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contacto-item p {
    color: var(--gris-medio);
    margin: 0.25rem 0;
}

.redes-sociales {
    margin-top: 2rem;
}

.redes-sociales h4 {
    color: var(--naranja-principal);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Formulario */
.contacto-form h3 {
    color: var(--naranja-principal);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gris-oscuro);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gris-claro);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--naranja-principal);
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 20px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer */
.footer {
    background: var(--gris-oscuro);
    color: var(--blanco);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--naranja-principal);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--blanco);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--naranja-principal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gris-medio);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--blanco);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 10px var(--sombra);
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nosotros-content,
    .ubicacion-content,
    .contacto-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .carousel-image {
        height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .servicio-card {
        padding: 1.5rem;
    }
}

