/* Variables globales */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --text-color: #1a1a1a;
    --background-color: #ffffff;
    --transparent-black: rgba(0, 0, 0, 0.7);
    --transparent-white: rgba(255, 255, 255, 0.1);
    --glass-effect: rgba(255, 255, 255, 0.05);
    --glass-card: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.15);
    --nav-height: 80px;
    --nav-bg-transparent: rgba(18, 18, 18, 0.95);
    --nav-bg-solid: rgba(18, 18, 18, 1);
    --mobile-menu-bg: rgba(18, 18, 18, 1);
    --gradient-1: linear-gradient(215deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 50%);
    --gradient-2: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 50%);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--nav-bg-transparent);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--nav-bg-solid);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    max-height: 30px;
    width: auto;
    transition: opacity 0.3s ease;
    margin-bottom: 3px;
}

.logo img:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    margin: 0 2rem;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    z-index: 1000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 0%, transparent 30%),
        radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: rotate 60s linear infinite;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-image:hover {
    opacity: 1;
    transform: translateY(-10px);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.hero-text {
    text-align: center;
    color: var(--secondary-color);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    padding: 0 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0;
    margin-bottom: 2rem;
    display: block;
    animation: fadeInUp 0.8s ease-out forwards 0.3s;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text h1 {
    font-size: 7rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards 0.5s;
}

.hero-description {
    font-size: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out forwards 0.7s;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards 0.9s;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: skewX(-15deg);
}

.cta-button:hover::before {
    transform: translateX(200%) skewX(-15deg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--gradient-1)),
        linear-gradient(var(--gradient-2)),
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px;
    opacity: 0.3;
    animation: patternFade 2s ease-out forwards;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 60%),
        radial-gradient(circle at bottom left, rgba(255,255,255,0.05), transparent 60%);
    opacity: 0;
    animation: gradientFade 2s ease-out forwards;
}

/* Servicios */
.services {
    padding: 5rem 5%;
    background: linear-gradient(215deg, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0.98) 100%);
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
    color: var(--secondary-color);
    z-index: 2;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Sobre Nosotros */
.about {
    padding: 5rem 5%;
    background-color: var(--background-color);
    text-align: center;
    position: relative;
}

.about h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    color: var(--primary-color);
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Contacto */
.contact {
    padding: 5rem 5%;
    background-color: var(--background-color);
    position: relative;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-weight: 500;
}

.whatsapp-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: var(--background-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.submit-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info {
    color: var(--text-color);
    padding-top: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--nav-bg-solid);
    color: var(--secondary-color);
    padding: 1.5rem 5%;
    backdrop-filter: blur(15px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-section h3 {
    margin: 0;
    font-size: 1.2rem;
}

.footer-section p {
    margin: 0;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    margin: 0;
}

.social-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--transparent-white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100vw;
        padding: 2rem 0;
        background-color: var(--nav-bg-solid);
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        color: var(--secondary-color);
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .nav-links a:hover {
        opacity: 1;
    }

    .menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--secondary-color);
        z-index: 1000;
    }

    .menu-btn i {
        transition: transform 0.3s ease;
    }

    .menu-btn.active i {
        transform: rotate(90deg);
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .contact-btn {
        display: none;
    }

    .logo {
        z-index: 1001;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero-text h1 {
        font-size: 3rem;
        background: linear-gradient(to right, #fff, rgba(255,255,255,0.9));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }

    .hero-image {
        height: 300px;
    }

    .hero-description {
        font-size: 1.5rem;
        padding: 0 1rem;
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
}

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

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

@keyframes patternFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.3;
    }
}

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

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

.about-content, .contact-form {
    animation: fadeInUp 0.6s ease-out;
}

/* Ajuste para el scroll */
html {
    scroll-padding-top: var(--nav-height);
} 