/* Estilos específicos para la página Index */

/* Solución para el menú de navegación */
.page-index .main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.page-index .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.page-index .logo-container {
    display: flex;
    flex-direction: column;
}

.page-index .main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    height: 100%;
}

.page-index .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 0;
    margin: 0;
    height: 100%;
}

.page-index .nav-item {
    position: relative;
    margin: 0 5px;
}

.page-index .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-weight: 600;
    color: var(--black);
    transition: all 0.3s ease;
    border-radius: 8px;
    text-decoration: none;
}

.page-index .nav-link:hover {
    color: var(--primary-blue);
    background-color: rgba(0, 168, 196, 0.1);
}

.page-index .nav-link.active {
    color: var(--primary-blue);
    background-color: rgba(0, 168, 196, 0.1);
}

.page-index .contact-btn {
    margin-left: 30px;
}

/* Asegurarse de que los botones tengan el estilo correcto */
.page-index .btn-primary {
    background-color: var(--primary-orange);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    box-shadow: 0 5px 15px rgba(233, 79, 16, 0.3);
    display: inline-block;
}

.btn-primary {
    background-color: #E94F10;
    color: white !important;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.tagline {
    color: #555;
}

/* Estilos para la nueva sección hero moderna */
.hero-modern {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: white;
    text-align: center;
    padding-top: 80px;
    margin-top: 80px;
}

/* Estilo restaurado y mejorado para el fondo del hero */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(1.1) contrast(1.2);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: -1;
}

.hero-content-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: inherit;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.5);
    color: white;
}

.text-highlight {
    color: #E94F10;
    position: relative;
    display: inline-block;
}

.text-highlight:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #E94F10;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.hero-title:hover .text-highlight:after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-separator {
    width: 80px;
    height: 4px;
    background-color: #E94F10;
    margin: 30px auto;
    position: relative;
}

.hero-separator:before, .hero-separator:after {
    content: '';
    position: absolute;
    top: 0;
    width: 4px;
    height: 4px;
    background-color: #E94F10;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-separator:before {
    left: -10px;
    animation-delay: 0.5s;
}

.hero-separator:after {
    right: -10px;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 1);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: inherit;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-feature:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
    border-color: #E94F10;
}

.hero-feature i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #E94F10;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #E94F10;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #E94F10;
    box-shadow: 0 5px 15px rgba(233, 79, 16, 0.3);
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(233, 79, 16, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: white;
    color: #0056b3;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.hero-scroll-indicator i {
    margin-top: 10px;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Estilos para la sección Sobre Nosotros */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.feature {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #212121;
}

.feature p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.about-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Estilos para la sección de Servicios */
.services-overview-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-overview-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #0056b3;
    transition: all 0.3s ease;
}

.service-overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-overview-card:hover::before {
    height: 10px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: #0056b3;
    transition: all 0.3s ease;
}

.service-overview-card:hover .service-icon {
    background-color: #0056b3;
}

.service-overview-card:hover .service-icon i {
    color: white;
}

.service-overview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #212121;
}

.service-overview-card p {
    color: #666;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Estilos para la sección de Misión, Visión y Valores */
.mission-vision-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.mission-vision-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.mission-box, .vision-box {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-box h2, .vision-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0056b3;
    position: relative;
    padding-bottom: 15px;
}

.mission-box h2:after, .vision-box h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0056b3;
}

.mission-box p, .vision-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.motto {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background-color: #0056b3;
    border-radius: 10px;
    color: white;
}

.motto h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.values-section {
    margin-top: 60px;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.value-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-item i {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 1.1rem;
    color: #333;
}

/* Estilos para la sección de contacto mejorada */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    min-width: 300px;
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #212121;
}

.contact-card p {
    color: #555;
    margin-bottom: 10px;
}

.contact-card .contact-detail {
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #212121;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0056b3;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.map-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #212121;
    text-align: center;
}

.map-container {
    margin-top: 40px;
}
