/* 
* MELAN & COA LIMITED - Estilos principales
* Desarrollado para taller de chocolate artesanal en Argentina
* Julio 2025
*/

/* ======= Reset y Estilos Base ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de colores */
    --primary-color: #8B4513; /* Marrón chocolate */
    --secondary-color: #D2691E; /* Chocolate claro */
    --accent-color: #FFD700; /* Dorado */
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #222;
    --light-bg: #f9f5f0; /* Crema suave */
    --light-brown: #e6dbc9; /* Café con leche */
    --medium-brown: #a67c52; /* Caramelo */
    
    /* Tipografía */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Raleway', sans-serif;
    
    /* Transiciones */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    cursor: pointer;
    font-family: var(--body-font);
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

.section-header p {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: -1rem;
}

/* ======= Botones ======= */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: 3rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--medium-brown);
    color: var(--medium-brown);
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
}

.btn-outline:hover {
    background-color: var(--medium-brown);
    color: var(--light-text);
}

/* ======= Cookie Banner ======= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 34, 34, 0.95);
    color: var(--light-text);
    padding: 1.5rem 0;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    margin-bottom: 0;
    margin-right: 2rem;
    font-size: 1.4rem;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-content button {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.4rem;
}

.cookie-content button:hover {
    background-color: #e6c200;
}

/* ======= Header ======= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(249, 245, 240, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    background-color: rgba(249, 245, 240, 0.98);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.logo img {
    height: 5rem;
    width: auto;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 2.5rem;
}

.menu a {
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    width: 3rem;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: var(--transition);
}

/* ======= Hero Section ======= */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/imgs/11.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 0;
    padding-top: 8rem;
}

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

.hero-content h1 {
    font-size: 5.6rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ======= About Section ======= */
.about-section {
    padding: 10rem 0;
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    transition: transform 0.5s ease;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* ======= Products Section ======= */
.products-section {
    padding: 10rem 0;
    background-color: #fff;
}

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

.product-card {
    background-color: var(--light-bg);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

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

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

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.price {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-top: 1rem;
}

/* ======= Process Section ======= */
.process-section {
    padding: 10rem 0;
    background-color: var(--light-bg);
}

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

.process-step {
    flex-basis: calc(20% - 2rem);
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background-color: var(--medium-brown);
}

.step-number {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.process-image {
    margin-top: 5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ======= Workshops Section ======= */
.workshops-section {
    padding: 10rem 0;
    background-color: #fff;
}

.workshops-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 5rem;
}

.workshops-text {
    flex: 1;
}

.workshops-image {
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.workshops-cards {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.workshop-card {
    flex: 1;
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.workshop-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.workshop-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.workshop-card span {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
}

/* ======= Testimonials Section ======= */
.testimonials-section {
    padding: 10rem 0;
    background-color: var(--light-bg);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    background-color: #fff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 1rem;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 6rem;
    position: absolute;
    top: -3rem;
    left: -1rem;
    color: var(--light-brown);
    font-family: serif;
    opacity: 0.4;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 2rem;
}

.author-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.author-info span {
    color: #666;
    font-size: 1.4rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.prev-testimonial,
.next-testimonial {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    font-size: 1.8rem;
    transition: var(--transition);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background-color: var(--secondary-color);
}

/* ======= FAQ Section ======= */
.faq-section {
    padding: 10rem 0;
    background-color: #fff;
}

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

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 2rem;
    margin-bottom: 0;
}

.faq-toggle {
    font-size: 2.4rem;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* ======= Contact Section ======= */
.contact-section {
    padding: 10rem 0;
    background-color: var(--light-bg);
}

.contact-content {
    display: flex;
    gap: 5rem;
    margin-bottom: 5rem;
}

.contact-info {
    flex: 1;
}

.info-item {
    margin-bottom: 3rem;
}

.info-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.social-media {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-media a {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: var(--body-font);
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(210, 105, 30, 0.2);
}

.map-container {
    height: 450px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ======= Success Message ======= */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background-color: #fff;
    padding: 4rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.success-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.success-content button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    margin-top: 2rem;
    transition: var(--transition);
}

.success-content button:hover {
    background-color: var(--secondary-color);
}

/* ======= Footer ======= */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 6rem 0 2rem;
}

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

.footer-logo {
    flex-basis: 25%;
}

.footer-logo img {
    margin-bottom: 1.5rem;
    max-width: 150px;
}

.footer-logo p {
    color: #aaa;
    font-size: 1.4rem;
}

.footer-links {
    display: flex;
    flex-basis: 40%;
    justify-content: space-between;
}

.link-column h4 {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.link-column ul li {
    margin-bottom: 1rem;
}

.link-column ul li a {
    color: #aaa;
    font-size: 1.4rem;
    transition: var(--transition);
}

.link-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-newsletter {
    flex-basis: 30%;
}

.footer-newsletter h4 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer-newsletter p {
    color: #aaa;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 3rem 0 0 3rem;
    font-family: var(--body-font);
    font-size: 1.4rem;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0 3rem 3rem 0;
    font-weight: 600;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #aaa;
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* ======= Legal Pages ======= */
.legal-section {
    padding: 12rem 0 8rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 5rem;
}

.legal-header p {
    color: #666;
    font-size: 1.6rem;
}

.legal-content {
    display: flex;
    gap: 5rem;
}

.legal-sidebar {
    flex-basis: 25%;
    position: sticky;
    top: 10rem;
    align-self: flex-start;
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-sidebar ul li {
    margin-bottom: 1.5rem;
}

.legal-sidebar ul li a {
    color: var(--text-color);
    font-size: 1.4rem;
    transition: var(--transition);
}

.legal-sidebar ul li a:hover {
    color: var(--primary-color);
}

.legal-text {
    flex-basis: 75%;
}

.legal-text .legal-section {
    margin-bottom: 4rem;
    padding: 0;
}

.legal-text h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.legal-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.legal-text p, .legal-text ul, .legal-text ol {
    margin-bottom: 1.5rem;
}

.legal-text ul, .legal-text ol {
    padding-left: 2rem;
}

.legal-text ul li, .legal-text ol li {
    margin-bottom: 0.8rem;
    list-style-type: disc;
}

.legal-contact {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 4rem;
}

.legal-contact ul {
    padding-left: 2rem;
}

.legal-contact ul li {
    margin-bottom: 0.8rem;
    list-style-type: none;
}

/* ======= Thank You Page ======= */
.thank-section {
    padding: 15rem 0 8rem;
    text-align: center;
}

.thank-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-icon {
    font-size: 8rem;
    color: #4CAF50;
    margin-bottom: 2rem;
}

.thank-content h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.thank-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.thank-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.related-section {
    padding: 5rem 0 10rem;
    background-color: var(--light-bg);
}

.related-products {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

/* ======= Responsive Styles ======= */
@media screen and (max-width: 1200px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    .about-content,
    .workshops-content,
    .contact-content {
        flex-direction: column;
    }
    
    .process-step {
        flex-basis: calc(33.33% - 2rem);
        margin-bottom: 3rem;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .workshops-cards,
    .related-products {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .footer-logo,
    .footer-links,
    .footer-newsletter {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 768px) {
    .menu {
        position: fixed;
        top: 8rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 8rem);
        background-color: var(--light-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 5rem;
        transition: 0.5s ease;
        z-index: 99;
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu li {
        margin: 0 0 2.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero-content h1 {
        font-size: 4.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .process-step {
        flex-basis: calc(50% - 2rem);
    }
    
    .legal-content {
        flex-direction: column;
    }
    
    .legal-sidebar {
        flex-basis: 100%;
        position: static;
        margin-bottom: 3rem;
    }
    
    .legal-text {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .process-step {
        flex-basis: 100%;
    }
    
    .thank-actions {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}