/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Fondo oscuro profundo */
body {
    background-color: #101010;
    color: #ffffff;
    overflow-x: hidden;
}

/* --- BARRA DE NAVEGACIÓN Y LOGO --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background-color: #0a0a0a;
    border-bottom: 1px solid #222;
}

.logo-img {
    height: 60px;
    border-radius: 4px;
    object-fit: contain;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    margin-left: 35px;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37; /* Detalle dorado acorde a tu logotipo */
}

/* --- CONTENEDOR PRINCIPAL (HERO) --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 90px);
    padding: 40px 10%;
    gap: 40px;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    color: #b3b3b3;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Botón principal con degradado dorado metálico */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #a8825c);
    color: #000000;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* --- ESTILOS DEL TELÉFONO VIRTUAL Y VIDEO --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background-color: #000000;
    border: 10px solid #2a2a2a;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background-color: #2a2a2a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-invitation-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- SECCIÓN DE CATÁLOGO --- */
.catalog-section {
    padding: 80px 10%;
    background-color: #0d0d0d;
    border-top: 1px solid #222;
}

.catalog-header {
    text-align: center;
    margin-bottom: 50px;
}

.catalog-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.catalog-header p {
    color: #999;
    font-size: 1.1rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.catalog-card {
    background-color: #151515;
    border: 1px solid #262626;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.boda-bg {
    background: linear-gradient(135deg, #1d2a45, #000000);
}

.xv-bg {
    background: linear-gradient(135deg, #4a2845, #000000);
}

.halloween-bg {
    background: linear-gradient(135deg, #3a1515, #000000);
}

.card-content {
    padding: 25px;
}

.badge-tier {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.catalog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.catalog-card p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-card {
    display: block;
    width: 100%;
    text-align: center;
    background-color: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-card:hover {
    background-color: #d4af37;
    color: #000;
}


/* ===================================================
   ADAPTABILIDAD MÓVIL AUTOMÁTICA (MEDIA QUERIES)
   =================================================== */
@media (max-width: 900px) {
    /* Navbar en columna centrada para pantallas pequeñas */
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px 5%;
        text-align: center;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.9rem;
    }

    /* Sección Hero: El texto pasa arriba y el celular virtual abajo */
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
        padding: 40px 5%;
        text-align: center;
        gap: 35px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Reducción proporcional del teléfono virtual para móviles */
    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    /* Catálogo en una sola columna vertical en celulares */
    .catalog-section {
        padding: 50px 5%;
    }

    .catalog-header h2 {
        font-size: 2rem;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Ajustes adicionales para celulares muy compactos */
@media (max-width: 400px) {
    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }
}