/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Space Grotesk", sans-serif;
}

body {
    overflow-x: hidden;
}

/* Header fijo */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F9F6EE;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    height: 30px;
    transition: all 0.3s ease;
}

.phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.phone i {
    color: #7c5c3b;
    font-size: 1.3rem;
}

.phone:hover {
    color: #7c5c3b;
    transform: scale(1.05);
}

.phone-input-container {
    display: flex;
    align-items: center;
}

.country-code {
    padding: 12px 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.phone-hint {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.8rem;
}

/* Ajuste para el input de teléfono */
.phone-input-container .form-control {
    border-radius: 0 5px 5px 0;
    flex: 1;
}

/* Carrusel */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    opacity: 0;
    transition: all 0.8s ease;
    transition-delay: 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.slide-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.slide-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #7c5c3b;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    border: 2px solid #7c5c3b;
}

.btn:hover {
    background-color: #f9f9f9;
    color: #7c5c3b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sección de experiencia */
.experience-section {
    padding: 80px 5%;
    background-color: #fff;
    position: relative;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.experience-content {
    flex: 1;
    min-width: 300px;
}

.experience-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.experience-title span {
    color: #7c5c3b;
    display: block;
}

.experience-subtitle {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.experience-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.experience-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #7c5c3b;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1rem;
    color: #666;
}

/* Animaciones */
.experience-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.experience-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sección de formulario */
.contact-section {
    padding: 80px 5%;
    background-color: #f9f9f9;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #7c5c3b;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #7c5c3b;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #7c5c3b;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #7c5c3b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animación al aparecer */
.contact-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-container.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de scroll en header */
header.scrolled {
    padding: 15px 10%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

header.scrolled .logo {
    height: 40px;
}


/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px 5%;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-text {
        font-size: 1.2rem;
    }

    .phone {
        font-size: 1rem;
    }

    .contact-container {
        padding: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .experience-title {
        font-size: 2.2rem;
    }

    .experience-subtitle {
        font-size: 1.5rem;
    }

    .experience-stats {
        gap: 15px;
    }

    .stat-item {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 2rem;
    }

    .slide-text {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .contact-container {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .experience-title {
        font-size: 1.8rem;
    }

    .stat-item {
        min-width: 100%;
    }
}