:root {
    --verde-primario: #2e7d32;
    --verde-claro: #e8f5e9;
    --blanco: #ffffff;
    --gris-suave: #f9f9f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gris-suave);
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: var(--verde-primario);
    color: white;
    border-radius: 15px;
    margin-bottom: 30px;
}

.jugo-card {
    background: var(--blanco);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 5px solid var(--verde-primario);
}

.jugo-card h2 {
    color: var(--verde-primario);
    margin-top: 0;
}

.ingredientes {
    list-style-type: none;
    padding: 0;
}

.ingredientes li::before {
    content: "🍏 ";
}

.btn-preparacion {
    background: var(--verde-primario);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

/* Ocultar el banner de Google Translate si molesta */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}

/* Darle estilo al selector para que combine con el verde */
#google_translate_element select {
    border: 1px solid #2e7d32;
    border-radius: 5px;
    padding: 5px;
    color: #2e7d32;
    background-color: white;
}

.info-nutricional {
    margin-top: 10px;
    padding: 10px;
    font-size: 0.9rem;
    background-color: #f1f8e9;
    border-left: 4px solid #2e7d32;
    color: #33691e;
    border-radius: 6px;
}

/* --- CONFIGURACIÓN DEL NAVBAR --- */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid #8bc34a; /* Línea verde brillante */
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 75px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Estilo del Logo */
.nav-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d5a27;
}

.nav-logo span {
    color: #8bc34a;
}

/* Enlaces Principales */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #8bc34a;
}

/* --- DROPDOWN MEJORADO --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(139, 195, 74, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding: 10px 0;
    list-style: none;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    padding: 12px 20px;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background: #f1f8e9;
    color: #2d5a27;
}

/* Selector de Idioma */
#idioma-nav {
    border: 2px solid #8bc34a;
    border-radius: 20px;
    padding: 5px 10px;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    color: #2d5a27;
}

/* --- RESPONSIVE DESIGN --- */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    body {
        padding: 10px; /* Menos espacio en los bordes */
    }
    
    header div p:first-child {
        font-size: 1.5rem; /* Achicamos un poco la frase de Hipócrates */
    }
}

/* Celulares (Smartphones) */
@media (max-width: 600px) {
    header {
        border-radius: 0; /* En celular queda mejor que ocupe todo el ancho */
        margin-bottom: 20px;
    }

    header div p:first-child {
        font-size: 1.2rem; /* Frase más compacta */
        line-height: 1.3;
    }

    header div {
        padding: 20px 15px; /* Menos aire en el texto de la portada */
    }

    /* Ajuste para que las tarjetas ocupen todo el ancho */
    #contenedor-jugos {
        display: block; /* O si usas grid, puedes usar grid-template-columns: 1fr; */
        padding: 10px;
    }

    .jugo-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    /* Botón más grande para que sea fácil de tocar con el dedo (Tap Target) */
    .btn-preparacion {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }

    /* El selector de Google Translate al 100% para que no se vea chiquito */
    #google_translate_element select {
        width: 100%;
        margin-top: 10px;
    }
}