/* =========================================
   CONFIGURACIÓN GLOBAL
========================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --bg-dark:#0a0a0a;
    --accent:#ffffff;
    --gray:#888;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Evita que imágenes y videos se rompan */
img,
video{
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   HEADER
========================================= */

header{
    padding: 20px 50px;
    position: absolute;
    width: 100%;
    z-index: 100;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
    flex-wrap: wrap;
}

.logo{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img{
    width: 70px;
}

nav ul{
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li a{
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.7;
    transition: 0.3s;
}

nav ul li a:hover,
.active{
    opacity: 1;
    border-bottom: 1px solid white;
}

/* =========================================
   HERO
========================================= */

.hero{
    height: 100vh;

    background:
    linear-gradient(rgba(0,0,0,0.6),
    rgba(0,0,0,0.6)),
    url('Camara1.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    padding-left: 10%;
}

.hero-content h1{
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 1;
    margin: 20px 0;
}

.hero-content em{
    font-style: italic;
    font-weight: 400;
}

.btn-primary{
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-primary:hover{
    background: white;
    color: black;
}

/* =========================================
   SLIDER
========================================= */

.slider-section{
    padding: 100px 0;
    text-align: center;
    background: #050505;
}

.slider-container{
    max-width: 1000px;
    margin: auto;
}

.slider{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slide{
    overflow: hidden;
    border-radius: 30px;
    transition: 0.5s;
}

.card-side{
    width: 250px;
    opacity: 0.5;
    transform: scale(1.5);
}

.card-main{
    width: 350px;
    transform: scale(1.5);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.slider-controls{
    margin-top: 40px;
}

button{
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
}

/* =========================================
   CONTENEDORES
========================================= */

.container,
.pricing-container,
.contact-container{
    max-width: 1100px;
    margin: auto;
    padding-top: 150px;
}

/* =========================================
   NOSOTROS
========================================= */

.content-page .container{
    display: flex;
    align-items: center;
    gap: 50px;
    padding-bottom: 50px;
}

.text-block,
.image-block{
    flex: 1;
}

.image-block img{
    border-radius: 10px;
    filter: grayscale(50%);
    transition: 0.5s;
}

.image-block img:hover{
    filter: grayscale(0%);
}

/* =========================================
   PRECIOS
========================================= */

.pricing-section h2{
    text-align: center;
    margin-top: 150px;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.pricing-container{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 50px;
}

.price-card{
    width: 300px;
    border: 1px solid #333;
    padding: 40px;
    text-align: center;
    transition: 0.3s;
}

.price-card:hover{
    transform: translateY(-10px);
    border-color: white;
}

.featured{
    background: #111;
}

.price{
    font-size: 2rem;
    margin: 20px 0;
}

.price-card ul{
    list-style: none;
    color: #aaa;
}

.price-card ul li{
    margin-bottom: 10px;
}

/* =========================================
   CONTACTO
========================================= */

.contact-section h2{
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}

form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

input,
textarea,
select{
    background-color: black;
    color: white;
    border: none;
    border-bottom: 1px solid #444;
    padding: 15px;
}

select option{
    background-color: black;
    color: white;
}

input:focus,
textarea:focus{
    outline: none;
    border-color: white;
}

.footer-contacto{
    text-align:center;
    padding:40px 20px;
    background:#111;
    color:white;
    margin-top:60px;
}

.footer-contacto p{
    font-size:14px;
    letter-spacing:2px;
    margin-bottom:10px;
    opacity:0.7;
}

.footer-contacto a{
    color:#d4af37;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
}

.footer-contacto a:hover{
    opacity:0.8;
}

/* =========================================
   GALERÍA
========================================= */

.gallery-section{
    padding: 100px 10%;
    text-align: center;
    background: rgba(0,0,0,0.5);
}

.gallery-section h2{
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.subtitle{
    color: #bbb;
    margin-bottom: 40px;
}

.gallery-container{
    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap: 15px;
}

.gallery-item{
    overflow: hidden;
    border-radius: 15px;
    transition: 0.3s;
}

.gallery-item img{
    height: 300px;
    width: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.gallery-item:hover img{
    transform: scale(1.08);
}

/* =========================================
   TABLETS
========================================= */

@media (max-width:1024px){

    body{
        background: rgba(0,0,0,0.5);
    }

    .hero-content h1{
        font-size: 3.5rem;
    }

    .pricing-container{
        flex-wrap: wrap;
    }

}

/* =========================================
   CELULARES
========================================= */

@media (max-width:768px){

    body{
        background: rgba(0,0,0,0.5);
    }

    header{
        padding: 20px;
    }

    nav{
        flex-direction: column;
        text-align: center;
    }

    nav ul{
        justify-content: center;
        gap: 15px;
    }

    nav ul li a{
        font-size: 0.75rem;
    }

    .hero{
        padding: 0 5%;
        text-align: center;
        justify-content: center;
    }

    .hero-content h1{
        font-size: 2.8rem;
    }

    .card-side{
        display: none;
    }

    .card-main{
        width: 280px;
    }

    .content-page .container{
        flex-direction: column;
        text-align: center;
    }

    .pricing-container{
        flex-direction: column;
        align-items: center;
    }

    .price-card{
        width: 90%;
    }

    form{
        width: 100%;
    }

    .gallery-section{
        padding: 80px 5%;
    }

}

/* =========================================
   FONDO ELEGANTE ANIMADO
========================================= */

body{
    position: relative;

    background:
    linear-gradient(
        135deg,
        #000000,
        #050505,
        #101010,
        #050505,
        #000000
    );

    background-size: 400% 400%;

    animation: gradientFlow 18s ease infinite;
}

/* =========================================
   LUZ SUPERIOR
========================================= */

body::before{
    content: "";

    position: fixed;

    width: 700px;
    height: 700px;

    top: -250px;
    left: -200px;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.05),
        transparent 70%
    );

    filter: blur(60px);

    pointer-events: none;

    z-index: -1;

    animation: floatingLight1 16s ease-in-out infinite;
}

/* =========================================
   LUZ INFERIOR
========================================= */

body::after{
    content: "";

    position: fixed;

    width: 600px;
    height: 600px;

    bottom: -250px;
    right: -200px;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.04),
        transparent 70%
    );

    filter: blur(70px);

    pointer-events: none;

    z-index: -1;

    animation: floatingLight2 20s ease-in-out infinite;
}

/* =========================================
   MALLA FUTURISTA SUAVE
========================================= */

body .grid-overlay{
    position: fixed;

    inset: 0;

    background-image:
    linear-gradient(
        rgba(255,255,255,0.015) 1px,
        transparent 1px
    ),

    linear-gradient(
        90deg,
        rgba(255,255,255,0.015) 1px,
        transparent 1px
    );

    background-size: 70px 70px;

    pointer-events: none;

    z-index: -1;

    animation: gridMove 18s linear infinite;
}

/* =========================================
   PARTICULAS ELEGANTES
========================================= */

.particles{
    position: fixed;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -1;
}

.particles span{
    position: absolute;

    width: 3px;
    height: 3px;

    background: rgba(255,255,255,0.7);

    border-radius: 50%;

    box-shadow:
    0 0 10px rgba(255,255,255,0.5);

    animation:
    particleMove linear infinite;
}

/* =========================================
   TARJETAS PREMIUM
========================================= */

.price-card{
    background:
    rgba(255,255,255,0.03);

    backdrop-filter: blur(8px);

    border:
    1px solid rgba(255,255,255,0.08);

    box-shadow:
    0 0 20px rgba(255,255,255,0.03);
}

.price-card:hover{

    transform:
    translateY(-10px);

    box-shadow:
    0 0 30px rgba(255,255,255,0.08);

    border-color:
    rgba(255,255,255,0.3);
}

/* =========================================
   NAVBAR GLASS
========================================= */

header{
    backdrop-filter: blur(10px);
}

/* =========================================
   ANIMACIONES
========================================= */

@keyframes gradientFlow{

    0%{
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    }
}

@keyframes floatingLight1{

    0%{
        transform: translate(0px,0px);
    }

    50%{
        transform: translate(90px,50px);
    }

    100%{
        transform: translate(0px,0px);
    }
}

@keyframes floatingLight2{

    0%{
        transform: translate(0px,0px);
    }

    50%{
        transform: translate(-80px,-40px);
    }

    100%{
        transform: translate(0px,0px);
    }
}

@keyframes gridMove{

    0%{
        transform: translateY(0px);
    }

    100%{
        transform: translateY(70px);
    }
}

@keyframes particleMove{

    0%{
        transform:
        translateY(100vh)
        translateX(0px);

        opacity: 0;
    }

    20%{
        opacity: 1;
    }

    80%{
        opacity: 1;
    }

    100%{
        transform:
        translateY(-120vh)
        translateX(80px);

        opacity: 0;
    }
}

/* =========================================
   EFECTO ESPECIAL - SOBRE NOSOTROS
========================================= */

.content-page{
    position: relative;
    overflow: hidden;
}

/* LUZ CENTRAL */

.content-page::before{

    content: "";

    position: absolute;

    width: 900px;
    height: 900px;

    top: 50%;
    left: 50%;

    transform:
    translate(-50%, -50%);

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.08),
        transparent 65%
    );

    filter: blur(80px);

    animation:
    pulseLight 8s ease-in-out infinite;

    pointer-events: none;

    z-index: 0;
}

/* LÍNEAS ELEGANTES */

.content-page::after{

    content: "";

    position: absolute;

    inset: 0;

    background:
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 120px,
        rgba(255,255,255,0.025) 121px,
        transparent 122px
    );

    animation:
    lineMove 14s linear infinite;

    pointer-events: none;

    z-index: 0;
}

/* CONTENIDO ENCIMA */

.content-page .container{
    position: relative;
    z-index: 2;
}

/* IMAGEN MÁS CINEMATOGRÁFICA */

.image-block img{

    border-radius: 20px;

    box-shadow:
    0 0 40px rgba(255,255,255,0.06);

    transition: 0.5s ease;
}

.image-block img:hover{

    transform:
    scale(1.03);

    box-shadow:
    0 0 50px rgba(255,255,255,0.12);
}

/* TEXTO MÁS ELEGANTE */

.text-block h2{

    font-size: 4rem;

    margin-bottom: 25px;

    line-height: 1;

    text-shadow:
    0 0 20px rgba(255,255,255,0.08);
}

.text-block p{

    font-size: 1.05rem;

    color: #d0d0d0;
}

/* =========================================
   ANIMACIONES
========================================= */

@keyframes pulseLight{

    0%{

        opacity: 0.6;

        transform:
        translate(-50%, -50%)
        scale(1);
    }

    50%{

        opacity: 1;

        transform:
        translate(-50%, -50%)
        scale(1.1);
    }

    100%{

        opacity: 0.6;

        transform:
        translate(-50%, -50%)
        scale(1);
    }
}

@keyframes lineMove{

    0%{
        transform: translateX(0px);
    }

    100%{
        transform: translateX(120px);
    }
}

/* =========================================
   FOOTER ELEGANTE
========================================= */

.footer-line{

    width: 100%;

    padding: 25px 20px;

    text-align: center;

    margin-top: 80px;

    border-top:
    1px solid rgba(255,255,255,0.08);

    background:
    rgba(255,255,255,0.02);

    backdrop-filter: blur(8px);

    position: relative;

    z-index: 5;
}

.footer-line p{

    color: rgba(255,255,255,0.65);

    font-size: 0.85rem;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.credit-item {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.credit-item h2 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.credit-item p {
    color: #cfcfcf;
    font-size: 1rem;
}