:root {
    --white: #FFFFFF;
    --black: #000000;
    --primary: #ccff00;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --accent: #6E00FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    display: inline;
    background: linear-gradient(to top, #000000 100%, transparent 40%);
    border: 5px solid #000000;
    border-radius: 8px;
    padding: 0 5px;

}



.logo .ai {
    color: #CCFF00;
}

.logo .huella {
    position: relative;
    display: inline-block;
}

.logo .huella::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover .huella::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--black);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
}



/* --- Estilos Generales --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.6;
}

/* --- Hero Section --- */

.hero {
    display: flex;
    align-items: center;
    min-height: 100vh; /* Cubre toda la pantalla */
    background-color: #ffffff;
    padding: 0 5%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-green {
    color: #CCFF00;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    background-color: #CCFF00;
    color: #000000;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: pulse1 2s ease-in-out infinite;
}

.hero-cta:hover {
    background-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(204, 255, 0, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* --- RESPONSIVE (MÓVIL) --- */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 80px 20px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image img {
        max-height: 50vh;
    }
}


/* About Section */
.section {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.about-card {
    flex: 1 1 300px;
    min-width: 280px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.about-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.service-content p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-price {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    display: block;
    font-size: 1.1rem;
}

/* Estilos para tarjetas de servicios */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.service-card-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card {
    height: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card-link:hover .service-card {
    box-shadow: none;
}

.service-price {
    display: block;
    font-weight: bold;
    color: var(--accent);
    margin-top: 0.5rem;
}

/* Portfolio Section proximamente
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(110, 0, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}


/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.contact-info {
    flex: 1 1 300px;
    min-width: 280px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.contact-details i {
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--accent);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1 1 400px;
    min-width: 280px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary);
    color: var(--black);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.submit-btn:hover {
    background-color: var(--accent);
    color: var(--white);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo .ai {
    color: var(--primary);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
}

.copyright {
    margin-top: 2rem;
    color: #aaa;
    font-size: 0.8rem;
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse1 {
    0% {
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(204, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
    }
}
/* Responsive */

@media (max-width: 768px) {
    .logo-text {
        font-size: 3.5rem;
    }
    
    .tagline {
        letter-spacing: 3px;
    }
    
    .cta-button {
        padding: 10px 25px;
    }
}

@media (max-width: 992px) {
    .hero {
        text-align: center;
        justify-content: center;
        background-position: 60% center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .about-card {
        flex: 1 1 100%;
    }
    
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .submit-btn {
        max-width: 100%;
    }
}

/* Efecto para pantallas grandes */
@media (min-width: 1200px) {
    .hero-background img {
        width: 100%;
        height: 100%;
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
        text-align: center;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        height: 200px;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}


