/* ==========================================================
   Únicas Boutique Floral — estilos base
   Paleta y tipografía tomadas de catalogo.html
   ========================================================== */
:root {
    --negro: #000;
    --dorado: #EABE81;
    --dorado-oscuro: #b8860b;
    --lila: #C089C4;
    --lila-claro: #d4a6d8;
    --lila-oscuro: #a06fa4;
    --lila-fondo: #faf5ff;
    --lila-borde: #e9d8f5;
    --texto: #333;
    --texto-suave: #666;
    --serif: 'Georgia', 'Times New Roman', serif;
    --sans: Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--serif);
    line-height: 1.6;
    color: var(--texto);
    background: linear-gradient(135deg, #f8f9fa, #fff);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ---------- Navegación ---------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(234, 190, 129, 0.25);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    width: 100px;
    object-fit: cover;
    object-position: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--dorado);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--lila-claro);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dorado);
    margin: 3px 0;
    transition: 0.3s;
}

/* ---------- Hero (inicio) ---------- */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--negro);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.78), rgba(192, 137, 196, 0.55));
    z-index: 0;
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
    max-width: 800px;
    padding: 120px 20px 60px;
}

.hero-content h1 {
    color: var(--dorado);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: bold;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2rem;
    opacity: 0.92;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--lila), var(--lila-claro));
    color: #fff;
    border: none;
    padding: 15px 40px;
    margin: 0 0.5rem 15px;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 137, 196, 0.35);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--lila-claro), var(--lila));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(192, 137, 196, 0.45);
}

.catalog-btn {
    background: transparent;
    color: var(--dorado);
    border: 2px solid var(--dorado);
    box-shadow: none;
}

.catalog-btn:hover {
    background: var(--dorado);
    color: var(--negro);
    box-shadow: 0 6px 20px rgba(234, 190, 129, 0.35);
}

/* ---------- Títulos de sección ---------- */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    color: var(--lila);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    margin: 1rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lila), var(--dorado));
}

/* ---------- Productos destacados ---------- */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(192, 137, 196, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(192, 137, 196, 0.15);
}

.product-image {
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--negro);
    color: var(--dorado);
    padding: 5px 12px;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.product-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--lila);
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: 1rem;
    color: var(--texto-suave);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dorado);
    margin-bottom: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.order-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--lila), var(--lila-claro));
    color: #fff;
    border: none;
    padding: 15px 0;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: linear-gradient(135deg, var(--lila-claro), var(--lila));
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(192, 137, 196, 0.3);
}

/* ---------- Galería ---------- */
.gallery {
    padding: 80px 0;
    background: var(--negro);
}

.gallery .section-title {
    color: var(--dorado);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
}

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

.photo-item:hover img {
    transform: scale(1.08);
}

/* ---------- Servicios (bloques imagen + texto) ---------- */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-item h2 {
    font-size: 2rem;
    color: var(--lila);
    margin-bottom: 1rem;
    font-weight: bold;
}

.service-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    text-align: justify;
}

.service-btn {
    background: #fff;
    color: var(--lila);
    border: 2px solid var(--lila);
    padding: 10px 28px;
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: var(--lila);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 137, 196, 0.3);
}

.service-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(192, 137, 196, 0.18);
}

/* ---------- Ubicación ---------- */
.location {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--lila-borde);
    box-shadow: 0 15px 40px rgba(192, 137, 196, 0.12);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--negro);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--lila), var(--dorado)) 1;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dorado);
    letter-spacing: 1px;
}

.footer-address {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: #fff;
    opacity: 0.85;
}

.footer-year {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--lila-claro);
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* ---------- Animaciones ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card,
.service-item,
.photo-item {
    animation: fadeInUp 0.6s ease-out;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 76px;
        flex-direction: column;
        gap: 1.25rem;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .cta-button {
        display: block;
        width: 100%;
        margin: 0 0 15px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card img {
        height: 260px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .services-grid.reverse .service-item { order: 2; }
    .services-grid.reverse .service-image { order: 1; }

    .service-item h2 {
        font-size: 1.5rem;
    }

    .service-item p {
        font-size: 1rem;
        text-align: left;
    }

    .service-image img {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .products,
    .gallery,
    .services,
    .location {
        padding: 60px 0;
    }

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

    .map-container iframe {
        height: 340px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float a {
        width: 52px;
        height: 52px;
    }
}
