/* Mi Tierra Colorada - Design System */
:root {
    --primary: #A64B2A; /* Terracotta */
    --secondary: #3E4A3D; /* Forest Green */
    --accent: #6D5D6E; /* Plum/Deep Lavender */
    --bg-cream: #FDFCF0; /* Organic Cream */
    --text-dark: #2C2C2C;
    --text-light: #FDFCF0;
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Typography Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:wght@700;900&display=swap');

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

/* Hero Section */
header {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('grupo2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(166, 75, 42, 0.3);
    opacity: 0;
    animation: fadeInUp 1s forwards 1.1s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(166, 75, 42, 0.5);
    background-color: #8c3e23;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 20px auto 0;
}

.category-title {
    font-size: 2rem;
    color: var(--secondary);
    margin: 40px 0 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Essence Section */
.essence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.essence-text h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: scale(1.03);
}

.product-img {
    height: 400px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.pro-image {
    filter: contrast(1.05) brightness(1.02) saturate(1.05);
    transition: var(--transition);
}

.product-card:hover .pro-image {
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-tag {
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

/* Contact Section */
#contact {
    background: var(--secondary);
    color: var(--text-light);
}

.contact-flex {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
}

/* WhatsApp Floating Button */
.wsp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.wsp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.wsp-float svg {
    width: 35px;
    fill: white;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    background: #232a23;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 40px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .essence-grid {
        grid-template-columns: 1fr;
    }
}
