/* ===== Variables y reset ===== */
:root {
    --color-bg: #faf9f6;
    --color-bg-alt: #f0ede6;
    --color-primary: #2d5a3d;
    --color-primary-light: #3d7a52;
    --color-primary-dark: #1e3d2a;
    --color-accent: #8b6914;
    --color-accent-light: #c9a227;
    --color-text: #2c2c2c;
    --color-text-muted: #5a5a5a;
    --color-white: #ffffff;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --shadow-soft: 0 4px 20px rgba(45, 90, 61, 0.08);
    --shadow-hover: 0 8px 30px rgba(45, 90, 61, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
}

/* ===== Hero ===== */
.hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.hero-image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.15), rgba(139, 105, 20, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    border: 2px dashed rgba(45, 90, 61, 0.3);
}

/* ===== Sections ===== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-desc {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ===== Plantas grid ===== */
.plantas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-image-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e8f0eb, #d4e4d9);
    border-bottom: 3px solid var(--color-primary);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===== Talleres grid ===== */
.talleres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.taller-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    display: block;
}

.taller-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border: 2px solid rgba(45, 90, 61, 0.2);
}

.taller-image-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e8f0eb, #f5f0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 3px solid var(--color-accent);
}

.taller-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    padding: 1.25rem 1.5rem 0.5rem;
}

.taller-card p {
    color: var(--color-text-muted);
    padding: 0 1.5rem 1rem;
    font-size: 0.95rem;
}

.taller-link {
    display: block;
    padding: 0 1.5rem 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: color 0.2s;
}

.taller-card:hover .taller-link {
    color: var(--color-accent);
}

/* ===== Contact ===== */
.contact-section .section-title {
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.contact-image-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.1), rgba(139, 105, 20, 0.08));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border: 2px dashed rgba(45, 90, 61, 0.3);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* ===== Página de taller individual ===== */
.taller-page {
    padding-top: 6rem;
}

.taller-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.taller-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.taller-hero-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.taller-hero-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.15), rgba(139, 105, 20, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border: 2px dashed rgba(45, 90, 61, 0.3);
}

.taller-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.taller-details h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.taller-details p, .taller-details ul {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.taller-details ul {
    padding-left: 1.5rem;
}

.taller-details li {
    margin-bottom: 0.5rem;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        flex-direction: column;
        background: var(--color-white);
        padding: 2rem;
        box-shadow: var(--shadow-hover);
        transition: right 0.3s;
        gap: 1rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .taller-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
