/* === RESETEO === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #000;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* === HERO CON VIDEO === */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ===== MENÚ NEGRO FIJO ===== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #000; /* Fondo negro sólido */
    padding: 0 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 36px; /* ajusta el tamaño a tu gusto */
    width: auto; /* mantiene proporción */
    display: block;
}

.top-nav nav ul {
    font-size: 14px;
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.top-nav nav a {
    color: #888;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.4s;
}

.top-nav nav a:hover {
    color: #ffff;
}

/* ===== TEXTO SOBRE VIDEO ===== */
.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

.hero-content h1 {
    font-family: "Inter", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.8;
    text-shadow: 1px 1px 3px darkslategrey;
}

.hero-content p {
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    opacity: 0.01;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    width: 2px;
    height: 50px;
    background: white;
    z-index: 2; /* sobre el video */
    margin: 2rem auto;
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.2;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* === MAIN CONTENT === */
main {
    margin-top: 100px;
    padding: 40px 0;
}

.intro-section {
    text-align: center;
    padding: 40px 0 120px;
    border-bottom: 1px solid #1a1a1a;
}

.intro-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* === GRID PORTFOLIO === */
.portfolio-section {
    padding: 80px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 60px;
    text-align: center;
    color: #888;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 6px;
    margin-bottom: 80px;
}

.portfolio-item {
    background-color: #111;
    border: 1px solid #1a1a1a;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-item:hover {
    border-color: #333;
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* === FOOTER === */
footer {
    padding: 80px 0;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    justify-content: center;
    display: flex;
    padding-top: 200px;
    border-top: 1px solid #1a1a1a;
    font-size: 12px;
    color: #444;
    letter-spacing: 1px;
}

/* === BURGER MENU === */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: fixed;
    top: 25px;
    right: 40px;
}

.burger-line {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === MOBILE NAV === */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(17, 17, 17, 0.8) 100%
    );
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-top: 100px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    gap: 24px; /* <-- ajusta este valor para más o menos espacio */
    padding: 0 40px;
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    color: #888;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 20px 0;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.mobile-nav a::before {
    content: "· ";
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mobile-nav a:hover::before {
    opacity: 0.8;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .intro-section {
        padding: 60px 0 80px;
    }

    .intro-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .container {
        padding: 0 15px;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }

    .burger-menu {
        display: none !important;
    }
}

/* ===== HERO VIDEO ===== */
.hero-section {
    position: relative;
    height: calc(85vh - 20px); /* Pantalla completa menos menú */
    margin-top: 80px; /* Espacio para que no tape menú */
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

/* Línea decorativa encima del menú fijo */
.top-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #362961; /* color cálido */
    z-index: 2000; /* encima del menú */
}

html {
    scroll-behavior: smooth;
}

#scrollFade {
    opacity: 0;
    transition: opacity 1s ease-out;
}
#scrollFade.visible {
    opacity: 1;
}

/* === SECCIONES VERTICALES A PANTALLA COMPLETA === */
.full-section {
    min-height: 80vh; /* ocupa toda la altura visible */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente */
    align-items: center; /* centra horizontalmente */
    text-align: center;
    padding: 40px;
    background-color: #000000; /* o el color que prefieras */
    border-bottom: 1px solid #1a1a1a; /* separador sutil entre secciones */
}

.full-section h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: #fff;
}

.full-section p {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 700px;
}

#about {
    padding-top: 0px; /* espacio arriba */
    padding-bottom: 260px; /* espacio abajo */
}

#about {
    scroll-margin-top: 210px; /* ajusta el valor */
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a0a0a;
    padding: 100px 20px;
    color: #fff;
}

.contact-container {
    background: #242f4a; /* gris medio */
    padding: 10px 20px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-container h2 {
    text-transform: none;
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    text-align: left;
    font-size: 14px;
    color: #bbb;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #111;
    color: #fff;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 100px;
}

.contact-form button {
    background-color: #c7c7c7;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #ccc;
}

#contact {
    scroll-margin-top: 220px; /* ajusta según la altura de tu barra */
}

/* Contact info & social icons */
.contact-info {
    margin-top: 30px;
    font-size: 14px;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons i {
    font-size: 22px;
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #bbb;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .contact-container {
        padding: 40px 30px;
    }
}
#AI\ Generated {
    scroll-margin-top: 330px;
}

/* ===== Services layout ===== */

.services-grid {
    display: flex;
    justify-content: flex-start;
    gap: 80px; /* espacio entre columnas */
    color: #b3b3b3; /* mismo gris que la letra pequeña */
    font-family: inherit; /* usa la tipografía de la página */
    text-align: left;
    padding-top: 40px; /* <-- separa el contenido del título */
    padding-bottom: 40px;
}

.services-column {
    flex: 1;
    min-width: 300px;
}

.service-item {
    margin-bottom: 79px;
}

.service-item h3 {
    font-weight: 600; /* negrita */
    font-size: calc(1rem + 2px); /* 2 puntos más grande que el texto */
    margin-bottom: 10px;
    color: #b3b3b3;
}

.service-item p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #b3b3b3;
}

#services {
    scroll-margin-top: 81px; /* ajusta según la altura de tu barra */
}

/* Responsivo */
@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        gap: 40px;
    }
}
#scrollFade {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s ease-out,
        transform 1.2s ease-out;
    color: #b3b3b3;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 1vw, 2.5rem);
    text-align: center;
    margin: 0;
    position: relative;
    will-change: opacity, transform;
}

.intro-subtitle {
    margin-top: 200px; /* opcional, si quieres más espacio desde #scrollFade */
}
.quote-section {
    width: 100%;
    padding: 120px 20px 60px 20px; /* espacio arriba y abajo */
    text-align: center;
    background-color: #000; /* mismo fondo que tu web */
}

/* --- CONTACT SECTION (Two-Column Minimalist Style) --- */
#contact {
    background:
    /* patrón de líneas diagonales semi-transparente */
        repeating-linear-gradient(
            45deg,
            rgba(128, 128, 128, 0.45) 0,
            rgba(128, 128, 128, 0.15) 20px,
            rgba(34, 30, 77, 0.01) 20px,
            rgba(34, 30, 77, 0.01) 40px
        ),
        /* degradado violeta hacia la derecha */
            linear-gradient(to left, rgba(34, 30, 77, 0.9) 10%, #362961 100%);

    background-blend-mode: overlay;
    padding: 100px 0;
    color: #f1f1f1;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-left,
.contact-right {
    flex: 1;
}

.contact-left h2 {
    font-size: 1.4rem;
    text-transform: none;
    margin-bottom: 2px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #f5f5f5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    opacity: 0.5;
    border: 4px solid #444;
    padding: 12px;
    color: #f1f1f1;
    font-size: 0.9rem;
    border-radius: 0;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #888;
}

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

.contact-form button {
    background: transparent;
    border: 1px solid #666;
    color: #f1f1f1;
    padding: 12px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #e0b316;
    color: #111;
    border-color: #f1f1f1;
}

/* --- RIGHT SIDE --- */
.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.contact-text {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
    color: #ccc;
}

.social-links {
    display: flex;
    justify-content: center; /* centrados horizontalmente */
    align-items: center; /* centrados verticalmente */
    margin-top: 80px; /* separa del formulario */
    gap: 80px; /* espacio entre iconos */
}

.social-links a {
    color: #f1f1f1;
    font-size: 2.3rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #888;
}

/* --- RESPONSIVE --- */
@media (max-width: 800px) {
    .contact-form {
        width: 100%; /* o 100%, según tu diseño */
        padding: 20px; /* reduce espacio interior */
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%; /* que ocupen todo el ancho */
        font-size: 14px; /* texto un poco más pequeño */
    }

    .contact-form textarea {
        height: 150px; /* ajusta altura del cuadro de mensaje */
    }

    .contact-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .contact-right {
        align-items: center;
        text-align: center;
    }

    .contact-text {
        max-width: none;
    }

    .contact-left,
    .contact-right {
        width: 70%; /* cada parte ocupa todo el ancho */
        text-align: center;
    }

        #contact {
        scroll-margin-top: 81px; /* ajusta según la altura de tu barra */
    }
}
