﻿/* --- ESTILOS GENERALES (CSS) --- */
:root {
    --primary: #FF4081; /* Rosa vibrante */
    --secondary: #333; /* Oscuro elegante */
    --accent: #00E5FF; /* Cyan eléctrico */
    --bg-light: #f9f9f9;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* --- HEADER --- */
header {
    background: #fff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    transition: color 0.3s;
}

    .nav-links a:hover {
        color: var(--primary);
    }

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1572490122747-3968b75cc699?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        max-width: 600px;
    }

.btn {
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

    .btn:hover {
        transform: scale(1.05);
        background: #e91e63;
    }

/* --- MENÚ / SABORES --- */
.flavors {
    padding: 4rem 5%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-10px);
    }

.card-img {
    height: 200px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

/* Colores específicos para cada sabor (Simulación de imagen) */
.bg-taro {
    background: #9b59b6;
}

.bg-matcha {
    background: #27ae60;
}

.bg-capu {
    background: #d35400;
}

.bg-moka {
    background: #5d4037;
}

.bg-caramelo {
    background: #f1c40f;
}

.bg-fresa {
    background: #e91e63;
}

.card-body {
    padding: 1.5rem;
}

    .card-body h3 {
        margin-bottom: 0.5rem;
        font-size: 1.4rem;
    }

/* --- FORMULARIO REGISTRO --- */
.register-section {
    background: var(--secondary);
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

    .form-group input {
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 5px;
        margin-top: 5px;
    }

.btn-submit {
    width: 100%;
    background: var(--accent);
    color: var(--secondary);
    font-weight: 800;
}

/* --- FOOTER & SOCIAL --- */
footer {
    background: #222;
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

.social-icons {
    margin: 1.5rem 0;
}

    .social-icons a {
        color: white;
        font-size: 1.8rem;
        margin: 0 15px;
        transition: color 0.3s;
    }

        .social-icons a:hover {
            color: var(--primary);
        }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
    /* Podrías agregar un menú hamburguesa aquí */
}
