/* El Taller de Lily - CSS Compilado */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700&family=Lato:wght@300;400;500;600&display=swap');

:root {
    --warm-bg: #F8F4ED;
    --rose-accent: #E9D5CA;
    --sage: #C9D9C0;
    --warm-text: #3E3E3E;
    --earth: #A67C52;
    --pure-white: #FFFFFF;
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--warm-bg);
    color: var(--warm-text);
    line-height: 1.6;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Header */
.header {
    background-color: var(--pure-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--earth);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav {
    display: none;
    gap: 32px;
}

.nav a {
    color: var(--warm-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav a.active {
    color: var(--earth);
    font-weight: 600;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

/* Mobile menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--warm-text);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: var(--pure-white);
    border-top: 1px solid var(--rose-accent);
    padding: 16px 20px;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 8px 0;
    color: var(--warm-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--earth);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--warm-bg) 0%, rgba(233, 213, 202, 0.3) 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--earth);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--warm-text);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--rose-accent);
    color: var(--warm-text);
}

.btn-primary:hover {
    background-color: var(--sage);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

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

/* Grid */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: var(--pure-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--earth);
    margin-bottom: 12px;
}

.card p {
    color: var(--warm-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.gallery-item {
    background: var(--warm-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item-content {
    padding: 20px;
}

/* Decorative elements */
.decorative-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-accent), var(--sage));
    margin: 0 auto 32px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--warm-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--rose-accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h6 {
    font-family: 'Playfair Display', serif;
    color: var(--earth);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: var(--warm-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--earth);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--rose-accent);
    color: var(--warm-text);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}