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

/* Hero Section */
.hero-industrial {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, #E0C800 100%);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://via.placeholder.com/1920x1080');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.hero-industrial .hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-industrial .animated-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
    color: var(--black);
}

.hero-industrial .highlight {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.hero-industrial .animated-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
    color: var(--black);
}

.hero-industrial .animated-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}



/* Industrial Elements */
.industrial-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

/* Gears */
.gear {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gear::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: var(--secondary-yellow);
    border-radius: 50%;
}

.gear::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 40%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.gear-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation: rotateGear 20s linear infinite;
}

.gear-2 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 15%;
    animation: rotateGear 15s linear infinite reverse;
}

.gear-3 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 25%;
    animation: rotateGear 10s linear infinite;
}

@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Circuit Lines */
.circuit-line {
    position: absolute;
    background-color: rgba(0, 168, 196, 0.3);
    z-index: 1;
}

.line-1 {
    width: 200px;
    height: 3px;
    top: 40%;
    right: 20%;
    animation: pulseLine 3s infinite;
}

.line-2 {
    width: 3px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation: pulseLine 4s infinite;
}

.line-3 {
    width: 150px;
    height: 3px;
    bottom: 30%;
    left: 15%;
    animation: pulseLine 5s infinite;
}

@keyframes pulseLine {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Circuit Dots */
.circuit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    z-index: 1;
    animation: pulseDot 2s infinite;
}

.dot-1 {
    top: 40%;
    right: 20%;
    animation-delay: 0.5s;
}

.dot-2 {
    top: 50%;
    right: 30%;
    animation-delay: 1s;
}

.dot-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 1.5s;
}

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

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

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--black);
}

.section-title .highlight {
    color: var(--primary-blue);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--secondary-yellow);
    z-index: -1;
    transform: skewX(-15deg);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--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-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-yellow);
    transition: all 0.3s ease;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 168, 196, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--black);
}

.service-card p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-yellow);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Technologies Section */
.technologies-section {
    padding: 100px 0;
    background-color: var(--gray);
    position: relative;
    overflow: hidden;
}

.technologies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 168, 196, 0.05) 0%, transparent 60%);
    z-index: 1;
}

.technologies-tabs {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: rgba(0, 168, 196, 0.1);
    color: var(--primary-blue);
}

.tab-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.tabs-content {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    flex-wrap: wrap;
}

.tab-image {
    flex: 1;
    min-width: 300px;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.tab-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.tab-info p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.tab-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.tab-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.tab-info ul li i {
    color: var(--primary-blue);
    margin-right: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

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

.industry-card {
    background-color: var(--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;
}

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

.industry-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.industry-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.industry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--black);
}

.industry-card p {
    color: var(--dark-gray);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 168, 196, 0.1);
    outline: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--black);
}

.info-item p {
    color: var(--dark-gray);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-industrial .animated-title {
        font-size: 3.5rem;
    }
    
    .hero-industrial .animated-subtitle {
        font-size: 1.2rem;
    }
    
    .tab-content-inner {
        flex-direction: column;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-industrial .animated-title {
        font-size: 2.8rem;
    }
    
    .hero-industrial .animated-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .tabs-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animaciones adicionales */
.service-card, .industry-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.animated, .industry-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto de cursor personalizado */
.page-industrial {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23FDEB1E"><circle cx="12" cy="12" r="8" fill-opacity="0.4"/><circle cx="12" cy="12" r="4" fill-opacity="0.8"/></svg>') 12 12, auto;
}
