/* 
* Styles for Novimondo Superfood Studio Website
* Author: Claude
* Version: 1.0
*/

/* ========== Base Styles ========== */
:root {
    --bg-color: #F5FFF4;
    --accent-color: #68B684;
    --secondary-accent: #F2994A;
    --text-color: #2F2F2F;
    --light-grey: #F5F5F5;
    --grey: #E0E0E0;
    --dark-grey: #808080;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Button Styles ========== */
.btn-primary,
.btn-secondary,
.btn-small {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
    background-color: #57a573;
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-small:hover {
    background-color: #57a573;
    color: var(--white);
}

/* ========== Header & Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    max-width: 180px;
}

.logo img {
    max-height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========== Hero Section ========== */
.hero {
    padding: 10rem 0 5rem;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
}

.hero h1 {
    margin-bottom: 1rem;
}

.slogan {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ========== About Section ========== */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

.about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-image {
    flex: 1;
    padding-right: 2rem;
}

.about-content {
    flex: 1;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature {
    flex: 1;
    min-width: 30%;
    margin-right: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

/* ========== Products Section ========== */
.products {
    padding: 5rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-info p {
    margin-bottom: 1.5rem;
}

/* ========== Benefits Section ========== */
.benefits {
    padding: 5rem 0;
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background-color: var(--bg-color);
    transition: var(--transition);
}

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

.benefit-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

/* ========== How It Works Section ========== */
.how-it-works {
    padding: 5rem 0;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.step {
    flex: 1;
    min-width: 270px;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 1.5rem;
}

.step-content {
    flex: 1;
}

.how-image {
    margin-top: 2rem;
}

.how-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* ========== Testimonials Section ========== */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--dark-grey);
    margin-bottom: 0;
}

/* ========== FAQ Section ========== */
.faq {
    padding: 5rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background-color: var(--white);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-grey);
}

.faq-question .icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* ========== Contact Section ========== */
.contact {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-item h3 {
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--grey);
    border-radius: var(--radius);
    background-color: var(--white);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(104, 182, 132, 0.2);
}

.form-group button {
    width: 100%;
}

/* ========== Success Page ========== */
.success-content {
    padding: 10rem 0 5rem;
}

.success-content .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.success-message {
    flex: 1;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.success-buttons {
    margin-top: 2rem;
}

.success-buttons .btn-primary,
.success-buttons .btn-secondary {
    margin: 0 0.5rem;
}

.success-image {
    flex: 1;
    max-width: 50%;
    margin-left: 2rem;
}

/* ========== Page Content (for Cookie, Privacy, Terms) ========== */
.page-content {
    padding: 8rem 0 5rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-block h3 {
    margin-top: 1.5rem;
}

.content-block ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* ========== Footer ========== */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 270px;
    margin-bottom: 2rem;
}

.footer-logo img {
    filter: brightness(5);
    margin-bottom: 1rem;
    max-width: 180px;
}

.footer-links {
    flex: 1;
    min-width: 270px;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--grey);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

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

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.back-to-top:hover {
    background-color: #57a573;
    transform: translateY(-5px);
}

/* ========== Responsive Styles ========== */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container,
    .about .container,
    .success-content .container {
        flex-direction: column;
    }
    
    .hero-content,
    .about-content,
    .about-image,
    .success-message {
        padding-right: 0;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .feature {
        min-width: 45%;
    }
    
    .success-image {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        overflow-y: auto;
        transition: var(--transition);
        align-items: flex-start;
        padding: 2rem;
    }
    
    .nav-menu.show {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 0 1.5rem 0;
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 0.75rem 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        min-width: 100%;
    }
    
    .contact .container {
        grid-template-columns: 1fr;
    }
    
    .feature {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .slogan {
        font-size: 1.3rem;
    }
    
    .product-grid,
    .benefits-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .success-buttons .btn-primary,
    .success-buttons .btn-secondary {
        display: block;
        margin: 0.5rem 0;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}