/* 
 * BRUTAL UI - DISEÑO EMOCIONAL PARA PANADERÍA TRUBIA
 * Enfoque: Storytelling + Minimalismo Impactante
 */

:root {
    --brutal-dark: #1a1612;
    --brutal-cream: #faf8f5;
    --brutal-gold: #c9a961;
    --brutal-warm: #8b6f47;
}

/* RESET Y BASE */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--brutal-cream);
    color: var(--brutal-dark);
    font-family: var(--font-body);
    line-height: 1.7;
}

/* TEXTURA SUTIL DE PAPEL */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ============================================
   HERO SECTION - IMPACTO TOTAL
   ============================================ */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1612 0%, #2d2419 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

/* Overlay de imagen de fondo con blend mode */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1555507036-ab1f4038808a?auto=format&fit=crop&w=2400&q=80');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    opacity: 0.75;
    mix-blend-mode: normal;
    z-index: 0;
    filter: grayscale(15%) contrast(1.05) brightness(1.1) saturate(1.1);
    will-change: opacity, transform;
}

/* Gradiente oscuro para legibilidad */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12,9,6,0.45) 0%, rgba(12,9,6,0.75) 55%, rgba(10,7,5,0.92) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-modern {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* TIPOGRAFÍA HERO - BRUTAL Y GRANDE */
.hero-modern-title {
    font-size: clamp(3rem, 12vw, 8rem) !important;
    font-weight: 700 !important;
    line-height: 0.95 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.03em !important;
    color: var(--brutal-cream) !important;
}

.hero-title-line1,
.hero-title-line2 {
    display: block;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-title-line2 {
    color: var(--brutal-gold) !important;
    font-style: italic;
}

.hero-modern-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
    color: rgba(250, 248, 245, 0.8) !important;
    font-weight: 300 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    margin-bottom: 3rem !important;
}

/* Badge de horario - Más discreto */
.hero-schedule-badge {
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: var(--brutal-cream) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

/* Botones Hero - Más grandes y contundentes */
.hero-modern-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-modern-buttons .ds-btn {
    padding: 1.2rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease !important;
}

.hero-modern-buttons .ds-btn-primary {
    background: var(--brutal-gold) !important;
    border: none !important;
    color: var(--brutal-dark) !important;
}

.hero-modern-buttons .ds-btn-primary:hover {
    background: #d4b76e !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.hero-modern-buttons .ds-btn-outline-light {
    background: transparent !important;
    border: 2px solid var(--brutal-cream) !important;
    color: var(--brutal-cream) !important;
}

.hero-modern-buttons .ds-btn-outline-light:hover {
    background: var(--brutal-cream) !important;
    color: var(--brutal-dark) !important;
}

/* Stats - Rediseño minimalista */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hero-stat {
    background: transparent !important;
    border: none !important;
    border-left: 3px solid var(--brutal-gold);
    padding: 0 0 0 1.5rem !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.stat-number {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: var(--brutal-cream) !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem !important;
    color: rgba(250, 248, 245, 0.7) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Badges - Minimalistas */
.ds-badge-outline-light {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: var(--brutal-cream) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
}

/* OCULTAR imagen del hero (vamos solo con fondo) */
.hero-modern-image {
    display: none !important;
}

/* Ocultar formas decorativas antiguas */
.hero-modern-shapes,
.flour-particles,
.image-frame {
    display: none !important;
}

/* Scroll indicator - Mejorado */
.hero-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll-down a {
    color: var(--brutal-cream);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-scroll-down a:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-scroll-down i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ============================================
   SECCIONES - TIPOGRAFÍA BRUTAL
   ============================================ */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    color: var(--brutal-dark) !important;
    letter-spacing: -0.02em !important;
}

.section-overline {
    display: block;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brutal-warm);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-description {
    font-size: 1.15rem !important;
    color: #666 !important;
    line-height: 1.8 !important;
}

/* ============================================
   PRODUCTOS - GRID BRUTAL
   ============================================ */
.product-category-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
}

.product-category-description {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: #555 !important;
}

/* Imágenes de productos - Efecto hover brutal */
.product-category-image {
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
}

.product-category-image img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0 !important;
}

.product-category-image:hover img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-category-image:hover .image-overlay {
    opacity: 1;
}

/* ============================================
   TARJETAS - MINIMALISTAS
   ============================================ */
.ds-card {
    border: none !important;
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
    border-radius: 0 !important;
    overflow: hidden;
    transition: all 0.4s ease !important;
}

.ds-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.12) !important;
    transform: translateY(-8px) !important;
}

.ds-card-image {
    border-radius: 0 !important;
}

/* ============================================
   BADGES - REDISEÑO
   ============================================ */
.ds-badge {
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ds-badge-secondary {
    background: var(--brutal-dark) !important;
    color: var(--brutal-cream) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-modern-buttons {
        flex-direction: column;
    }
    
    .hero-modern-buttons .ds-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   ANIMACIONES DE ENTRADA
   ============================================ */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Dividers orgánicos - Ajuste de color */
.organic-divider path {
    fill: var(--brutal-cream);
}

