:root {
    --primary-color: #4A3428;
    --secondary-color: #8B5E3C;
    --accent-color: #C17817;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --background-light: #F5F5F5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--primary-color);
}

body {
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--background-light);
}

/* Prevent white background on overscroll in mobile */
@media screen and (max-width: 768px) {
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: -50vh; /* Extender más allá del viewport */
        z-index: -1;
        background: var(--primary-color);
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

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

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Products Section */
.products {
    padding: 5rem 2rem;
    background: var(--background-light);
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    padding: 1rem;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 1rem;
    color: var(--text-color);
}

.price {
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* Story Section */
.story {
    padding: 5rem 2rem;
}

.story-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text {
    padding: 2rem;
}

.story-image {
    height: 400px;
    background: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

/* Process Section */
.process {
    padding: 5rem 2rem;
    background: var(--primary-color);
    color: var(--light-text);
}

.process h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Subscription Section */
.subscription {
    padding: 5rem 2rem;
    background: var(--background-light);
}

.subscription-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.plan.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
}

.plan h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.plan ul {
    list-style: none;
    margin: 1.5rem 0;
}

.plan ul li {
    margin: 0.5rem 0;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

.contact-details {
    padding: 2rem;
    background: var(--primary-color);
    color: var(--light-text);
    border-radius: 10px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.cta-button,
.buy-button,
.submit-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    background: var(--accent-color);
    color: var(--light-text);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover,
.buy-button:hover,
.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

    .plan.featured {
        transform: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.product-card,
.step,
.plan {
    animation: fadeIn 1s ease-out;
} 