/* ========================================
   RECREACIÓN EXACTA DEL ESTILO DE FRAMER
   ======================================== */

/* ESTILOS GLOBALES - Configuración base de toda la página */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

/* VARIABLES DE COLOR - Cambiar colores principales aquí */
body {
    --font-family-primary: "Roboto Condensed";  /* Fuente para títulos */
    --font-family-secondary: "Inter";           /* Fuente para textos */
    --color-white: rgb(255, 255, 255);          /* Color blanco */
    --color-black: rgb(0, 0, 0);                /* Color negro (fondo) */
    --color-gray: rgb(153, 153, 153);           /* Color gris (textos secundarios) */
    
    font-family: var(--font-family-secondary);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--color-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
}

/* TÍTULO PRINCIPAL "TOTO CORDOBA" - Configuración del nombre principal */
.title-container {
    position: relative;
    width: 100vw;
    text-align: center;
    padding: 60px 10px 30px;
    margin-bottom: 0;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

/* ESTILO DEL NOMBRE PRINCIPAL - Responsivo y simple */
.main-title {
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: clamp(2.5rem, 12vw, 10rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    max-width: none;
}

/* NAVEGACIÓN PRINCIPAL - Menú sticky que se mantiene visible */
.navigation-container {
    position: sticky;                            /* Se mantiene visible al hacer scroll */
    top: 20px;                                  /* Distancia desde arriba */
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
    padding: 0 40px;
    margin-bottom: 40px;
}

/* ESTILO DE LA BARRA DE NAVEGACIÓN - Fondo y efectos */
.navigation {
    background: rgba(0, 0, 0, 0.8);             /* Fondo semi-transparente */
    backdrop-filter: blur(10px);                /* Efecto de desenfoque */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil */
    border-radius: 100px;                       /* Bordes redondeados */
    padding: 12px 24px;                         /* Espaciado interno */
}

.nav-items-container {
    display: flex;
    gap: 32px;                                  /* Espacio entre links */
    align-items: center;
}

.nav-item-wrapper {
    position: relative;
}

/* ENLACES DE NAVEGACIÓN - Estilo de los links del menú */
.nav-link {
    text-decoration: none;
    color: var(--color-gray);                   /* Color gris por defecto */
    transition: color 0.2s ease;               /* Animación suave */
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);                  /* Color blanco al pasar mouse o activo */
}

/* TEXTO DE NAVEGACIÓN - Tipografía de los links */
.nav-text {
    font-family: var(--font-family-secondary);  /* Inter */
    font-size: 14px;                            /* Tamaño de fuente */
    font-weight: 400;                           /* Grosor normal */
    margin: 0;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    width: 100%;
    padding-top: 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* SECCIÓN VIDEO PANTALLA COMPLETA */
.video-fullscreen-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* CONTENIDO SOBRE EL VIDEO */
.video-overlay-content {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 0 20px;
}

.video-subtitle {
    font-family: var(--font-family-secondary);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-gray);
    margin-bottom: 16px;
}

.video-description {
    font-family: var(--font-family-primary);
    font-size: 48px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.1;
    margin: 0;
}


/* About Section */
.about-section {
    padding: 120px 0;
}

.section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.text-wrapper {
    max-width: 500px;
}

.section-subtitle {
    font-family: var(--font-family-secondary);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-family-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-description {
    font-family: var(--font-family-secondary);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 32px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.copy-email-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: var(--font-family-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: fit-content;
}

.copy-email-btn:hover {
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-link {
    color: var(--color-gray);
    text-decoration: none;
    font-family: var(--font-family-secondary);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--color-white);
}

.images-content {
    position: relative;
}

.image-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 400px;
}

.about-image-left,
.about-image-right {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
}

.about-image-left {
    margin-top: -40px;
}

.about-image-right {
    margin-top: 40px;
}

/* Logos Section */
.logos-section {
    padding: 80px 0;
    overflow: hidden;
}

.logos-container {
    width: 100%;
    position: relative;
}

.logos-scroll {
    display: flex;
    gap: 80px;
    animation: scrollLogos 30s linear infinite;
}

.logo-item {
    font-family: var(--font-family-primary);
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-family: var(--font-family-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-white);
}

.stat-label {
    font-family: var(--font-family-secondary);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Services Section */
.services-section {
    padding: 120px 0;
}

.services-container {
    max-width: 600px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-dot {
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: 50%;
}

.service-name {
    font-family: var(--font-family-secondary);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-white);
}

/* Portfolio Section */
.portfolio-section {
    padding: 120px 0;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-image {
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.project-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-category {
    font-family: var(--font-family-secondary);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.project-title {
    font-family: var(--font-family-primary);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

.project-year {
    font-family: var(--font-family-secondary);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray);
}

/* ESTILOS PARA ENLACES DE PROYECTO - Permitir clickear en las tarjetas */
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.project-link:hover .project-preview {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.15) 100%);
}

/* Contact Section */
.contact-section {
    padding: 120px 0 80px;
}

.contact-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-family-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.contact-description {
    font-family: var(--font-family-secondary);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 40px;
}

.contact-email {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.email-text {
    font-family: var(--font-family-secondary);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.copy-feedback {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    color: var(--color-black);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
}

/* Responsive Design - Exact Framer breakpoints */

/* Tablet (1200px and below) */
@media (max-width: 1200px) {
    .title-container {
        top: 60px;
        padding: 0 0px;
    }
    
    .navigation-container {
        top: 15px;
        padding: 0 30px;
    }
    
    .main-title {
        font-size: clamp(2rem, 10vw, 6rem);
    }
    
    .content-container {
        padding: 0 0px;
    }
    
    .section-layout {
        gap: 60px;
    }
    
    .hero-description {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Mobile (810px and below) */
@media (max-width: 810px) {
    .title-container {
        padding: 40px 5px 20px;
    }
    
    .navigation-container {
        top: 10px;
        padding: 0 20px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .main-title {
        font-size: clamp(2rem, 10vw, 6rem);
        line-height: 0.8;
    }
    
    .content-container {
        padding: 0 20px;
    }
    
    .content-wrapper {
        padding-top: 140px;
    }
    
    .section-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-description {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-title {
        font-size: 36px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-items-container {
        gap: 20px;
    }
    
    .nav-text {
        font-size: 12px;
    }
    
    .logos-scroll {
        gap: 60px;
    }
    
    .logo-item {
        font-size: 20px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .title-container {
        padding: 30px 2px 15px;
    }
    
    .main-title {
        font-size: clamp(1.8rem, 8vw, 4rem);
        line-height: 0.75;
        letter-spacing: -0.01em;
    }

    .video-description {
        font-size: 24px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .email-text {
        font-size: 18px;
    }
    
    .nav-items-container {
        gap: 16px;
    }
    
    .navigation {
        padding: 8px 16px;
    }
    
    .service-name {
        font-size: 16px;
    }
    
    .project-title {
        font-size: 20px;
    }
}

/* Animation Classes */
[data-framer-appear-id] {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.appear {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--color-white);
    color: var(--color-black);
}

::-moz-selection {
    background: var(--color-white);
    color: var(--color-black);
}