/* ============================================
   GOURMETHUB - ESTILOS GLOBALES
   ============================================ */

/* ----- VARIABLES ----- */
:root {
    --primary: #E67E22;
    --secondary: #2ECC71;
    --accent-yellow: #F1C40F;
    --accent-blue: #3498DB;
    --bg-dark: #1A1A1A;
    --bg-card: #252525;
    --text-light: #F5F5F5;
    --text-muted: #B0B0B0;
}

/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4, .heading {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ----- CONTAINER ----- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- LOGO ----- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 12px rgba(230, 126, 34, 0.5));
    transform: scale(1.02);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent-yellow), var(--secondary), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ----- GRADIENT TEXT ----- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-yellow), var(--secondary), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ----- BUTTONS ----- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #D35400);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* ----- NAVIGATION ----- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 24px 0;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ----- LANGUAGE SWITCHER ----- */
.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--bg-card);
    padding: 6px 16px;
    border-radius: 40px;
    border: 1px solid rgba(230, 126, 34, 0.3);
}

.lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.lang-switch a.active {
    color: var(--primary);
}

.lang-switch span {
    color: var(--text-muted);
}

/* ----- SECTION TITLES (globales) ----- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* ----- FOOTER ----- */
footer {
    border-top: 1px solid rgba(230, 126, 34, 0.2);
    padding: 48px 0;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.footer-grid h4 {
    margin-bottom: 16px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.footer-grid a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-grid a:hover {
    color: var(--primary);
}

.footer-grid i {
    width: 24px;
    color: var(--primary);
}

/* ----- NEWSLETTER FORM ----- */
.newsletter-form {
    display: flex;
    margin-top: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    background: var(--bg-dark);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 40px 0 0 40px;
    color: white;
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: 0 40px 40px 0;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #D35400;
}

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ----- RESPONSIVE GLOBAL ----- */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .nav-links {
        gap: 16px;
        margin-top: 16px;
    }

    nav {
        flex-direction: column;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        text-align: center;
    }
}