:root {
    --primary-purple: #6a1b9a;
    /* Approximate from reference */
    --accent-yellow: #ffc107;
    --text-white: #ffffff;
    --bg-gradient-start: #7B1FA2;
    --bg-gradient-end: #E91E63;
    /* Pinkish red from bottom/middle */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Fredoka', sans-serif;
    color: var(--text-white);
    /* Using the provided background image */
    background: url('fondo.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* Context for absolute positioning if needed, though floats are usually body-relative */
    overflow-x: hidden;
    /* Prevent horizontal scrollbars from floating elements */
}

/* Parallax Elements */
.floating-element {
    position: absolute;
    z-index: 10;
    /* Above background, below or equal to content? User said "apareciendo sobre la web" -> On top of some content? 
                    If they are on the sides, they might overlap the main container if screen is small. 
                    Let's set high z-index but position carefuly. */
    z-index: 100;
    pointer-events: none;
    /* Let clicks pass through */
    opacity: 0.9;
}

.peanut-left {
    top: 500px;
    /* Start lower down */
    left: -20px;
    width: 280px;
    /* Made considerably larger */
}

.peanut-right {
    top: 900px;
    /* Different start height */
    right: -20px;
    width: 160px;
    /* Smaller than left */
}

/* Hide peanuts on small screens to avoid clutter */
@media (max-width: 1100px) {
    .floating-element {
        display: none;
    }
}

.main-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px 20px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.header-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    gap: 10px;
    /* Optional gap */
}

.header-col-logo {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-col-image {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
}

.header-hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.website-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 5px;
}



/* Promo Text */
.promo-text {
    text-align: center;
    margin: 20px 0;
    font-size: 34px;
    line-height: 1.5;
    font-weight: 600;
    max-width: 90%;
}

/* All Products Section */
.all-products-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.products-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

/* Mani Section */
.mani-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.mani-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

/* Middle Section */
.middle-section {
    width: 100%;
    text-align: center;
    margin: 30px 0;
}

.crunch-img {
    max-width: 80%;
    height: auto;
}

/* Features List */
.features-section {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 30px;
}

.features-section ul {
    list-style: none;
    /* Custom bullets usually better, but keeping simple for now */
    text-align: left;
}

.features-section li {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.features-section li::before {
    content: "•";
    color: var(--text-white);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact CTA */
.contact-section {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle highlight */
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.email-link {
    color: var(--accent-yellow);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

/* Footer Visual */
.footer-visual {
    width: 100%;
    margin-bottom: -5px;
    /* Fix small gap sometimes appearing with images */
}

.ingredients-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer Info */
footer {
    width: 100%;
    background-color: #1a1a1a;
    color: white;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    /* For centered inner content */
}

.footer-inner {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.social-links img {
    width: 24px;
    height: 24px;
}

.company-logo img {
    max-height: 40px;
    width: auto;
}

/* Responsive Tweaks */
@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .promo-text {
        font-size: 2rem;
    }

    .email-link {
        font-size: 1.2rem;
        word-break: break-all;
    }

    .header-grid {
        flex-direction: column;
    }

    .header-col-logo,
    .header-col-image {
        width: 100%;
    }
}

.legal-text {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}