/* BRUTALIST STYLE - Bota de Vino */
/* No fancy shit, just raw design */

:root {
    /* Brutalist palette */
    --bg: #ffffff;
    --bg-dark: #000000;
    --text: #000000;
    --text-inverse: #ffffff;
    --border: #000000;
    --border-thick: 4px;
    --border-thin: 2px;
    --accent: #8b4513; /* Leather brown */
    --accent-light: #d2691e;
    --grid: #e0e0e0;
    --highlight: #ff6b6b;
    --highlight-bg: #fff0f0;
    
    /* Typography */
    --font-mono: 'IBM Plex Mono', monospace;
    --font-mono-alt: 'Space Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Grid */
    --grid-gap: 2rem;
    --grid-columns: repeat(12, 1fr);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-mono);
    line-height: 1.4;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    border: var(--border-thick) solid var(--border);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
}

h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: var(--space-sm);
}

.highlight {
    background: var(--highlight-bg);
    padding: 0 0.25rem;
    color: var(--highlight);
}

/* Header */
.brutal-header {
    border-bottom: var(--border-thick) solid var(--border);
    padding: var(--space-md);
}

.header-grid {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    gap: var(--grid-gap);
    align-items: center;
}

.brutal-title {
    font-size: 2.5rem;
    line-height: 1;
}

.brutal-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.brutal-nav {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
}

.brutal-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-xs) 0;
    position: relative;
}

.brutal-nav a:hover {
    color: var(--accent);
}

.brutal-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--border);
    transition: width 0.3s;
}

.brutal-nav a:hover::after {
    width: 100%;
}

.nav-link {
    border: var(--border-thin) solid var(--border);
    padding: var(--space-xs) var(--space-sm) !important;
}

/* Hero */
.brutal-hero {
    padding: var(--space-xl) var(--space-md);
    border-bottom: var(--border-thick) solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-headline {
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--accent);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
}

.brutal-btn, .brutal-btn-outline {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.brutal-btn {
    background: var(--border);
    color: var(--bg);
    border: var(--border-thick) solid var(--border);
}

.brutal-btn:hover {
    background: var(--bg);
    color: var(--text);
}

.brutal-btn-outline {
    background: var(--bg);
    color: var(--text);
    border: var(--border-thick) solid var(--border);
}

.brutal-btn-outline:hover {
    background: var(--border);
    color: var(--bg);
}

.brutal-image {
    border: var(--border-thick) solid var(--border);
    padding: var(--space-md);
    background: repeating-linear-gradient(
        45deg,
        var(--grid),
        var(--grid) 10px,
        transparent 10px,
        transparent 20px
    );
}

.image-placeholder {
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg);
    border: var(--border-thin) dashed var(--border);
    padding: var(--space-md); 
}

.placeholder-text {
    font-size: 1.25rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: var(--space-md);
}

.placeholder-grid {
    width: 100%;
    height: 100px;
    position: relative;
}

.grid-line {
    position: absolute;
    background: var(--grid);
}

.grid-line:nth-child(1) {
    top: 0;
    left: 25%;
    width: 2px;
    height: 100%;
}

.grid-line:nth-child(2) {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
}

.grid-line:nth-child(3) {
    top: 0;
    left: 75%;
    width: 2px;
    height: 100%;
}

.grid-line:nth-child(4) {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
}

/* Sections */
.brutal-section {
    padding: var(--space-xl) var(--space-md);
    border-bottom: var(--border-thick) solid var(--border);
}

.brutal-section.dark {
    background: var(--bg-dark);
    color: var(--text-inverse);
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-border {
    height: var(--border-thick);
    background: var(--border);
    width: 100px;
}

/* Spec Grid */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.spec-item {
    border: var(--border-thin) solid var(--border);
    padding: var(--space-md);
    background: var(--bg);
}

.spec-title {
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.spec-desc {
    font-size: 1rem;
    color: var(--text);
}

.spec-border {
    height: 2px;
    background: var(--border);
    margin-top: var(--space-sm);
    width: 50%;
}

.product-desc {
    padding: var(--space-md);
    background: var(--highlight-bg);
    border: var(--border-thin) solid var(--border);
}

.product-desc p {
    margin-bottom: 0;
    font-size: 1.125rem;
}

/* History Grid */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.history-item {
    border: var(--border-thin) solid var(--text-inverse);
    padding: var(--space-md);
}

.history-title {
    color: var(--accent-light);
    margin-bottom: var(--space-sm);
}

.history-text {
    color: var(--text-inverse);
    opacity: 0.9;
}

.tradition-note {
    padding: var(--space-md);
    border: var(--border-thin) solid var(--text-inverse);
    background: rgba(255, 255, 255, 0.1);
}

.tradition-link {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: var(--space-sm);
}

.tradition-link:hover {
    text-decoration: underline;
}

/* Personalize Grid */
.personalize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.personalize-item {
    border: var(--border-thick) solid var(--border);
    padding: var(--space-md);
    position: relative;
    background: var(--bg);
}

.personalize-title {
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--border);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    border: var(--border-thin) solid var(--border);
}

.personalize-cta {
    text-align: center;
    padding: var(--space-lg);
    border: var(--border-thick) solid var(--border);
    background: var(--bg);
}

.cta-title {
    margin-bottom: var(--space-lg);
    color: var(--accent);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.brutal-btn-large, .brutal-btn-outline-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
}

.brutal-btn-large {
    background: var(--border);
    color: var(--bg);
    border: var(--border-thick) solid var(--border);
}

.brutal-btn-large:hover {
    background: var(--bg);
    color: var(--text);
}

.brutal-btn-outline-large {
    background: var(--bg);
    color: var(--text);
    border: var(--border-thick) solid var(--border);
}

.brutal-btn-outline-large:hover {
    background: var(--border);
    color: var(--bg);
}

/* Footer */
.brutal-footer {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-dark);
    color: var(--text-inverse);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-cell {
    border: var(--border-thin) solid var(--text-inverse);
    padding: var(--space-md);
}

.footer-title {
    color: var(--accent-light);
    margin-bottom: var(--space-sm);
}

.footer-cell a {
    display: block;
    color: var(--text-inverse);
    text-decoration: none;
    margin-bottom: var(--space-xs);
    opacity: 0.8;
}

.footer-cell a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-border {
    height: var(--border-thick);
    background: var(--text-inverse);
    margin: var(--space-lg) 0;
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-note {
    font-size: 0.75rem;
    color: var(--accent-light);
    margin-top: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .brutal-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .brutal-btn-large, .brutal-btn-outline-large {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Brutalist animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.highlight {
    animation: blink 2s infinite;
}

/* Print style */
@media print {
    .brutal-btn, .brutal-btn-outline,
    .brutal-btn-large, .brutal-btn-outline-large {
        border: 1px solid #000 !important;
        background: #fff !important;
        color: #000 !important;
    }
    
    .brutal-image {
        border: 1px dashed #000 !important;
        background: none !important;
    }
}