:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --neon-green: #39FF14;
    --bg-black: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-white: #f5f5f5;
    --text-gray: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

/* Top Bar */
.top-bar {
    background: #000;
    padding: 8px 0;
    border-bottom: 1px solid #222;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    font-size: 0.8rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    color: var(--text-gray);
}

.top-contact i {
    color: var(--neon-green);
    margin-right: 5px;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    color: var(--text-gray);
    transition: color 0.3s;
}

.top-socials a:hover {
    color: var(--neon-green);
}

/* Header & Nav */
header {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 35px; /* Altura aproximada de la top-bar */
    z-index: 1000;
    border-bottom: 1px solid #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    color: var(--neon-green);
    display: block;
    font-size: 0.7rem;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--neon-green);
}

.btn-contact {
    background: var(--neon-green);
    color: black !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: transform 0.3s !important;
}

.btn-contact:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); /* Imagen de soldadura industrial */
    background-size: cover;
    background-position: center;
    padding-top: 120px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    background: var(--neon-green);
    color: black;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 20px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: white;
    box-shadow: 0 0 20px var(--neon-green);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--text-white);
    color: var(--text-white);
    padding: 13px 33px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

/* Services / Cursos */
.services {
    padding: 100px 0;
    background: var(--bg-black);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s;
    perspective: 1000px;
    height: 300px;
}

.card:hover {
    border-color: var(--neon-green);
    transform: translateY(-10px);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    padding: 40px;
    box-sizing: border-box;
}

.card-front {
    background: var(--card-bg);
}

.card-back {
    transform: rotateY(180deg);
    background: var(--card-bg);
    border: 1px solid #333;
}

.card-back h3 {
    margin-bottom: 15px;
}

.card-back p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.card-image-placeholder {
    width: 100%;
    height: 100px;
    background: linear-gradient(45deg, #1a1a1a, #333);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-family: 'Michroma';
    font-size: 0.8rem;
}

.card-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #111;
}

.flex-about {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-gray);
}

.statistic {
    font-size: 1.1rem;
    color: var(--neon-green);
    margin-bottom: 30px;
    font-weight: bold;
    background: rgba(57, 255, 20, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--neon-green);
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.check-list li::before {
    content: '✓';
    color: var(--neon-green);
    font-weight: bold;
    margin-right: 15px;
    border: 1px solid var(--neon-green);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.about-image {
    flex: 1;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    border-left: 5px solid var(--neon-green);
}

/* Private Section */
.private {
    padding: 100px 0;
    background: var(--bg-black);
}

.private-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.option {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #333;
    text-align: center;
    transition: all 0.3s;
}

.option:hover {
    border-color: var(--neon-green);
    transform: translateY(-10px);
}

.option-icon {
    font-size: 2rem;
    color: var(--neon-green);
    margin-bottom: 10px;
}

.option h3 {
    margin-bottom: 15px;
}

.option p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--bg-black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-black);
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    border-bottom: 4px solid var(--neon-green);
}

.contact-box h2 {
    text-align: center;
    margin-bottom: 15px;
}

.contact-box p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.form-group {
    margin-bottom: 20px;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    background: #0a0a0a;
    border: 1px solid #444;
    color: white;
    border-radius: 4px;
    outline: none;
}

input:focus, select:focus {
    border-color: var(--neon-green);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo {
    font-family: 'Michroma';
    font-size: 1.1rem;
    max-width: 300px;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.company-info {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 10px;
}

.company-info p {
    margin-bottom: 5px;
}

.footer-contact {
    text-align: center;
    max-width: 300px;
}

.footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-contact iframe {
    border-radius: 10px;
    border: 1px solid #333;
}

.footer-copy {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-top: 20px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.socials a:hover {
    color: var(--neon-green);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        gap: 15px;
    }

    .top-contact {
        display: none; /* Ocultamos el email en móvil para dejar espacio a los iconos */
    }

    header {
        top: 35px;
    }

    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .flex-about {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary {
        margin-right: 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-contact iframe {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }
}
