:root {
    --oro: #c5a059;
    --oro-hover: #b08d4a;
    --oscuro: #111111;
    --oscuro-soft: #1a1a1a;
    --blanco: #ffffff;
    --gris-suave: #f7f7f7;
    --gris-texto: #666666;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--oscuro);
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.35s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 12px 6%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.logo {
    color: var(--blanco);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--oro);
}

/* Navegación */
nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: var(--oro);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--oro);
}

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    border: 1px solid var(--oro);
    padding: 8px 20px;
    border-radius: 999px;
}

.nav-cta:hover {
    background: var(--oro);
    color: var(--blanco) !important;
}

/* Menú hamburguesa */
.burger {
    display: none;
    font-size: 1.4rem;
    color: var(--blanco);
    cursor: pointer;
}

@media (max-width: 820px) {
    nav {
        position: fixed;
        top: 64px;
        right: 0;
        width: 100%;
        max-width: 260px;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 18px;
        background: rgba(0, 0, 0, 0.96);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    nav.open {
        transform: translateX(0);
    }

    .nav-cta {
        margin-top: 10px;
    }

    .burger {
        display: block;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url('../img/hero.jpg') no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Izquierda */
    padding: 0 10%;
    color: var(--blanco);
    text-align: left;
    /* Texto a la izquierda */
}

.hero-inner {
    max-width: 620px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Asegura que hijos se alineen a la izquierda */
}

.hero p.intro {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--oro);
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.4rem);
    margin-bottom: 18px;
    line-height: 1.05;
}

.hero h1 span {
    font-style: italic;
}

.hero p.desc {
    max-width: 540px;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    opacity: 0.9;
    justify-content: flex-start;
}

/* Sobre Mí */
.scrolldown {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--blanco);
    text-decoration: none;
    opacity: 0.8;
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.about-section {
    background: #fff;
    padding: 100px 10%;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 6px;
    /* Simple, clean edges like the rest of the site */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    border-top: 2px solid var(--oro);
    border-left: 2px solid var(--oro);
    z-index: 0;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1;
    color: var(--oscuro);
}

.about-separator {
    width: 70px;
    height: 3px;
    background: var(--oro);
    margin-bottom: 30px;
}

.about-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--oscuro-soft);
    margin-bottom: 24px;
    border-left: 3px solid var(--oro);
    padding-left: 20px;
}

.about-text {
    color: var(--gris-texto);
    margin-bottom: 20px;
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--oro);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.link-gold {
    color: var(--oscuro);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--oro);
    transition: 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-gold:hover {
    color: var(--oro);
}

@media(max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        width: 100%;
    }

    .about-content h2 {
        font-size: 2.4rem;
    }

    .about-image::before {
        display: none;
    }
}

/* Testimonios */
.testimonials {
    background: var(--oscuro);
    padding: 80px 10%;
    text-align: center;
    border-top: 1px solid #222;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    color: var(--oro);
    font-size: 2.5rem;
    margin-bottom: 30px;
    opacity: 0.6;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--blanco);
    margin-bottom: 40px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--oro);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.testimonial-author span {
    color: #888;
    font-size: 0.8rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: var(--oro);
}

.btn-gold {
    display: inline-block;
    padding: 16px 42px;
    background: var(--oro);
    color: var(--blanco);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
    border: 2px solid var(--oro);
}

.btn-gold:hover {
    background: transparent;
    color: var(--oro);
}

.hero-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 18px;
    font-size: 0.85rem;
    opacity: 0.9;
    justify-content: flex-start;
}

.hero-secondary span {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 14px;
}

@media (max-width: 768px) {
    .hero {
        align-items: center;
        text-align: center;
        padding: 0 8%;
    }

    .hero-inner {
        margin-top: 20px;
        align-items: center;
    }

    .hero-meta,
    .hero-secondary {
        justify-content: center;
        text-align: center;
    }

    .hero-secondary span {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        padding-left: 0;
        padding-top: 10px;
    }
}

/* Secciones genéricas */
section {
    scroll-margin-top: 90px;
}

.section-wrapper {
    padding: 90px 10% 80px;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 10px;
    color: var(--oscuro);
}

.section-subtitle {
    display: block;
    color: var(--oro);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.section-intro {
    max-width: 620px;
    color: var(--gris-texto);
    font-size: 0.98rem;
    margin-bottom: 50px;
}

/* Servicios */
.services {
    background: var(--blanco);
    text-align: left;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.card {
    background: var(--blanco);
    padding: 40px 30px;
    border-radius: 6px;
    transition: 0.35s;
    border: 1px solid #eeeeee;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--oro);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.35s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.11);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card i {
    font-size: 2.3rem;
    color: var(--oro);
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.card p {
    color: var(--gris-texto);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.card ul {
    list-style: none;
    margin-top: 5px;
}

.card ul li {
    font-size: 0.9rem;
    color: var(--gris-texto);
    margin-bottom: 4px;
}

.card ul li::before {
    content: "• ";
    color: var(--oro);
}

/* Video */
.video-section {
    background: var(--oscuro-soft);
    color: var(--blanco);
    text-align: center;
}

.video-section .section-title {
    color: var(--blanco);
}

.video-section .section-intro {
    margin: 0 auto 40px;
    color: #cccccc;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.yt-facade {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* hqdefault.jpg is more reliable than maxresdefault */
    background: #000 url('https://img.youtube.com/vi/LMCfoGLZieI/hqdefault.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.yt-facade:hover .yt-play-btn {
    background-color: #ff0000;
    transform: scale(1.1);
}

.yt-play-btn {
    width: 68px;
    height: 48px;
    background-color: rgba(33, 33, 33, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.yt-play-btn i {
    color: white;
    font-size: 20px;
}

.btn-outline {
    display: inline-block;
    margin-top: 32px;
    padding: 12px 30px;
    border: 1px solid var(--blanco);
    color: var(--blanco);
    text-decoration: none;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--oro);
    color: var(--oro);
}

/* Galería */
.gallery {
    padding: 40px 4% 60px;
    background: var(--gris-suave);
}

.gallery-header {
    padding: 0 6% 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.gallery-header h2 {
    font-size: 1.6rem;
}

.gallery-header p {
    font-size: 0.9rem;
    color: var(--gris-texto);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-awards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.gallery-item.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s ease;
    filter: brightness(0.95);
}

.gallery-item.photo:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.gallery-item.photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.gallery-item.photo:hover::after {
    opacity: 1;
}

/* Estilos específicos para Carteles y Awards */
.gallery-item.award {
    height: 250px;
    background: transparent;
}

.gallery-item.award img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

@media (max-width: 992px) {

    .gallery-grid,
    .gallery-awards {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.photo {
        height: 260px;
    }
}

@media (max-width: 500px) {

    .gallery-grid,
    .gallery-awards {
        grid-template-columns: 1fr;
    }

    .gallery-item.photo {
        height: 350px;
    }
}

.gallery-item.hidden-initially {
    display: none;
}

/* Awards New Section */
.gallery-awards-title {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    margin: 40px 0 20px;
    font-size: 1.8rem;
    color: var(--oscuro);
}

.awards-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center;
}

.awards-image-wrapper {
    position: relative;
    max-width: 800px;
    /* Adjust size as needed */
    width: 100%;
}

.awards-hero-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.awards-overlay {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
    /* Space between image and button */
}

.btn-bodas {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    color: #d62f4c;
    /* Bodas.net brand color-ish or just dark */
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border: 1px solid #ddd;
}

.btn-bodas:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--oro);
}

/* Lightbox Enhanced */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
}

#lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    user-select: none;
}

#lightbox.open img {
    transform: scale(1);
}

.lightbox-caption {
    color: #ccc;
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 20px;
    transition: 0.3s;
    z-index: 2001;
    user-select: none;
    background: transparent;
    border: none;
}

.lightbox-nav:hover {
    color: var(--oro);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2002;
    background: transparent;
    border: none;
}

.lightbox-close:hover {
    color: var(--oro);
}

/* Modal Generico (Terminos / Galera Extra) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    color: #333;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: 6px;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close-btn:hover {
    color: var(--oro);
}

.modal-body h3 {
    color: var(--oro);
    margin-bottom: 20px;
}

.btn-center {
    display: block;
    margin: 40px auto 10px;
    width: fit-content;
    text-align: center;
    cursor: pointer;
}

.gallery-awards-title {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    color: var(--oscuro);
    margin: 40px 0 20px;
    font-family: 'Playfair Display', serif;
}

/* Contacto */
.contact {
    background: #000000;
    color: var(--blanco);
}

.contact-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 280px;
}

.contact-info h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-info p {
    color: #aaaaaa;
    margin-bottom: 30px;
    font-size: 1rem;
}

.contact-details {
    margin-bottom: 24px;
}

.contact-details div {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.contact-details i {
    color: var(--oro);
    font-size: 1.1rem;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.contact-note {
    font-size: 0.85rem;
    color: #888888;
    margin-top: 6px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

input,
textarea,
select {
    padding: 16px 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #333333;
    background: transparent;
    color: var(--blanco);
    font-family: inherit;
    font-size: 0.98rem;
    transition: 0.3s;
}

input::placeholder,
textarea::placeholder {
    color: #777777;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-bottom-color: var(--oro);
    background: rgba(255, 255, 255, 0.02);
}

select option {
    background: #111111;
    color: var(--blanco);
}

.row-two {
    display: flex;
    gap: 16px;
}

@media (max-width: 600px) {
    .row-two {
        flex-direction: column;
    }
}

button {
    padding: 16px;
    background: var(--oro);
    color: var(--oscuro);
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    transition: 0.3s;
    font-size: 0.85rem;
}

button:hover {
    background: var(--blanco);
    color: var(--oscuro);
}

/* Footer */
footer {
    padding: 30px 10% 26px;
    text-align: center;
    background: #000000;
    color: #666666;
    font-size: 0.78rem;
    border-top: 1px solid #1a1a1a;
}

.social-links {
    margin-bottom: 18px;
}

.social-links a {
    color: #999999;
    font-size: 1.2rem;
    margin: 0 8px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--oro);
}

.footer-small {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #555555;
}

/* Cookie Notice */
#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.95);
    color: #fff;
    padding: 15px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2000;
    font-size: 0.85rem;
    border-top: 1px solid #333;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

#cookie-notice.show {
    transform: translateY(0);
}

#cookie-notice p {
    margin: 0;
    text-align: center;
}

#cookie-notice button {
    margin: 0;
    padding: 8px 18px;
    background: var(--oro);
    color: var(--oscuro);
    font-size: 0.75rem;
}