/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== VARIABLES ===== */
:root {
    --bg-dark: #0a0a0f;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.25);
    --text-main: #ffffff;
    --text-muted: #000000;
    --accent: #fbff03;
}

/* ===== BODY ===== */
body {
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== FONDO ANIMADO ===== */
.background {
    position: fixed;
    inset: 0;
    background-image: url("../img/Gemini_Generated_Image_tidy2vtidy2vtidy.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
.background1 {
    position: fixed;
    inset: 0;
    background-image: url("../img/1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}


/* ===== GLASS BASE ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: 0 8px 32px #000000;
}

/* ===== HEADER ===== */
.header {
    width: 90%;
    margin: 20px auto;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTRDHqmEKIn4DAaTuBBvfRYXfCDxnX9E_6j9FHWOQfH7g&s");
    border-radius: 60px;
    height: 50px;
    width:150px;
    letter-spacing: 4px;
    font-size: 2.4rem;
    align-items:;
}

nav a {
    position: relative;
    margin-left: 18px;
    padding: 10px 22px;

    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    letter-spacing: 0.6px;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 24px;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


nav a:hover {
    background: rgba(49, 41, 41, 0.18);
    transform: translateY(-3px);

    box-shadow:
        0 8px 28px rgb(255, 210, 7),
        0 0 14px rgb(217, 255, 0);
}
nav a:active {
    transform: translateY(-1px) scale(0.97);
}

/* ===== HERO ===== */
.hero {
    height: calc(100vh - 180px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    
    padding: 60px;
    max-width: 520px;
    text-align: center;
}

.hero-card h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.hero-card p {
    color: #0a0a0f;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ===== BOTÓN ===== */
button {
    padding: 14px 36px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    background: linear-gradient(100deg, var(--accent), #e0520f);
    color: rgb(0, 0, 0);
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgb(255, 255, 255);
}

/* ===== FOOTER ===== */
.footer {
    width: 90%;
    margin: 20px auto;
    padding: 14px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
/* ===== responsividad ===== */
.menu-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media (max-width: 940px) {

    nav {
        display: none;
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
    }

    nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Sección info */
.info {
    display: flex;
    justify-content: center;
    margin: 80px 20px;
}

.info-card {
    max-width: 800px;
    padding: 40px;
    text-align: center;
}

/* Tarjetas */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 40px;
}

.card {
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.card h3 {
    margin: 10px 0;
}

.card p {
    font-size: 0.95rem;
    opacity: 0.85;
}

.card button {
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #342e2e;
    cursor: pointer;
    backdrop-filter: blur(10px);
}
/* ===== CARRUSEL ===== */
.carousel-section {
    padding: 80px 40px;
    text-align: center;
}

.carousel-title {
    margin-bottom: 40px;
    font-size: 2rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.carousel-track .card {
    min-width: 300px;
    padding: 25px;
    text-align: center;
}

.carousel-track img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* Botones */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-10%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 2.5rem;
    padding: 10px 18px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    z-index: 10;
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
/* Título glass del carrusel */
.carousel-title-glass {
    display: inline-block;
    padding: 18px 40px;
    margin-bottom: 45px;
    border-radius: 25px;
    text-align: center;
}

.carousel-title-glass h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 1px;
}
.notificacion {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00c896;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.notificacion.mostrar {
    opacity: 1;
    transform: translateY(0);
}
 /* ===== MODAL OVERLAY ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== MODAL BOX ===== */
.modal-box {
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
}
/* Centrar contenido del total */
.resumen-carrito {
  display: block;
    flex-direction: column;
    align-items: center;
}

.resumen-carrito button {
    display: block;
    margin: 20px auto 0 auto;
}
.resumen-carrito button {
    display: block;
    margin: 20px auto 0 auto;
    padding: 12px 30px;
    font-size: 16px;
}

/* ===== HERO CARRUSEL ===== */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    animation: fadeHero 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
}

.hero-text {
    font-size: larger;
    color: bisque;
    margin-bottom: 25px;
}

/* DOTS */
.hero-controls {
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

@keyframes fadeHero {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== FORMULARIO ===== */
.form-contacto {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-contacto input,
.form-contacto textarea {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.form-contacto input::placeholder,
.form-contacto textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-contacto button {
    margin-top: 10px;
}
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacto-info p {
    margin: 10px 0;
}

@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================= */
/* ✨ LIQUID GLASS BUTTON EFFECT */
/* ============================= */

button,
.btn-liquid {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    transition: all 0.4s ease;
}

/* Brillo líquido */
button::before,
.btn-liquid::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 40%);
    transform: rotate(25deg);
    transition: all 0.6s ease;
    opacity: 0;
}

/* Movimiento del brillo */
button:hover::before,
.btn-liquid:hover::before {
    opacity: 1;
    top: -20%;
    left: -20%;
}

/* Hover flotante */
button:hover,
.btn-liquid:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255,255,255,0.15);
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.4),
        0 0 20px rgba(255,255,255,0.1);
}

/* Click efecto presión */
button:active,
.btn-liquid:active {
    transform: scale(0.98);
}
/* ===== LOGIN ===== */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.login-card {
    width: 380px;
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(25px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease;
}

.login-card h2 {
    margin-bottom: 25px;
}

.login-card input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: 0.3s ease;
}

.login-card input:focus {
    background: rgba(255,255,255,0.2);
}

.login-card button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    background: linear-gradient(135deg, #c5c5b4, #3e423d);
    color: white;
    transition: 0.4s ease;
}

.login-card button:hover {
    transform: translateY(-4px);
    opacity: 0.85;
}

/* Animación reveal */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* ===== INPUTS VISIBLES ===== */
.input-glass {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.input-glass::placeholder {
    color: rgba(255,255,255,0.6);
}

.input-glass:focus {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
}

/* ===== BOTÓN LIQUID GLASS MEJORADO ===== */
.btn-liquid {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.12);
    color: white;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: 0.4s ease;
    z-index: 1;
}

.btn-liquid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(66, 216, 21, 0.3),
        transparent,
        rgba(255,255,255,0.3)
    );
    transform: translateX(-100%);
    transition: 0.6s ease;
    z-index: -1;
}

.btn-liquid:hover::before {
    transform: translateX(100%);
}

.btn-liquid:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-4px);
}

.btn-liquid:active {
    transform: scale(0.97);
}
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.btn-volver {
    display: inline-block;
    margin-bottom: 20px;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efecto liquid glass */
.btn-volver::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    transition: 0.6s;
}

.btn-volver:hover::before {
    left: 100%;
}

.btn-volver:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.15);
}
/* Botón flotante perfil */
.perfil-flotante {
    position: fixed;
    right: 25px;
    padding: 10px 18px;
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease;
    z-index: 1000;
}
/* ===== BOTÓN FLOTANTE CUENTA ===== */
.btn-cuenta-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 14px 22px;
    border-radius: 50px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    z-index: 2000;
}

.btn-cuenta-float:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.08);
}