/* ============================================================
   Theme: opinionesdeviajes (light, indigo accent, navy hero)
   Based on opinionesdeviajes.es design
   Only variable overrides — main.css consumes them via var().
   ============================================================ */

:root {
    /* Surfaces & text */
    --bg: #f1f5f9;
    --surface: #ffffff;
    --surface2: #f8fafc;
    --surface3: #e2e8f0;
    --text: #0f172a;
    --text2: #475569;
    --text3: #94a3b8;

    /* Brand accent */
    --accent: #6366f1;
    --accent2: #818cf8;
    --accent-light: rgba(99,102,241,0.08);
    --accent-gradient: linear-gradient(135deg, #6366f1, #4f46e5);

    /* Status */
    --border: #e2e8f0;
    --success: #16a34a;
    --success-light: rgba(22,163,74,0.08);
    --warning: #d97706;
    --warning-light: rgba(217,119,6,0.08);
    --error: #dc2626;
    --error-light: rgba(220,38,38,0.08);
    --info: #2563eb;
    --info-light: rgba(37,99,235,0.08);
    --purple: #7c3aed;
    --purple-light: rgba(124,58,237,0.08);
    --dark: #1e293b;
    --dark2: #0f172a;

    /* Shadows & font */
    --shadow: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --font: 'Outfit', sans-serif;

    /* Stars */
    --star-empty: #cbd5e1;
    --star-filled: #f59e0b;

    /* Brand identity */
    --logo-icon-bg: linear-gradient(135deg, #6366f1, #4f46e5);
    --logo-icon-text: #fff;
    --logo-text-color: var(--accent);

    /* Navbar */
    --navbar-bg: rgba(255, 255, 255, 0.97);

    /* Hero */
    --hero-bg: url('/static/img/hero-opinionesdeviajes.jpg') center/cover no-repeat;
    --hero-bg-overlay: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(15, 23, 42, 0.52) 45%,
        rgba(15, 23, 42, 0.78) 100%
    );
    --hero-text: #ffffff;
    --hero-text-muted: #f1f5f9;
    --hero-h1-em: #e0e7ff;
    --hero-badge-bg: rgba(15, 23, 42, 0.82);
    --hero-badge-text: #e0e7ff;
    --hero-badge-border: rgba(255, 255, 255, 0.28);
    --hero-stat-number: #ffffff;
    --hero-stat-label: #e2e8f0;

    /* Buttons */
    --btn-primary-text: #fff;
    --btn-base-hover-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    --btn-primary-hover-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);

    /* CTA dark section */
    --cta-dark-bg: linear-gradient(135deg, #1e293b, #334155);
    --cta-dark-h2: #fff;
    --cta-dark-p: #cbd5e1;

    /* Footer */
    --footer-bg: #0f172a;
    --footer-text: #cbd5e1;
    --footer-title: #fff;
    --footer-link: #94a3b8;
    --footer-link-hover: var(--accent2);
    --footer-border: #1e293b;

    /* Cookie banner */
    --cookie-banner-bg: #0f172a;
    --cookie-banner-border: #1e293b;
    --cookie-banner-text: #94a3b8;

    /* Step number */
    --step-number-text: #fff;

    /* Cards */
    --card-shadow: var(--shadow);
    --card-hover-shadow: var(--shadow-md);
    --card-clickable-hover-shadow: var(--shadow-lg);
}

/* Hero sobre foto: overlay, buscador legible y sombras suaves en textos */
.hero::before {
    z-index: 0;
}

.hero-content {
    z-index: 1;
}

.hero h1,
.hero h1 em,
.hero p,
.hero-stat-number,
.hero-stat-label {
    text-shadow: 0 2px 12px rgba(15, 23, 42, 0.45);
}

.hero-search {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.22);
}

.hero-search input {
    color: var(--text);
}

.hero-search input::placeholder {
    color: var(--text3);
}
