/* Reset básico y configuración global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: #555;
    background-color: #fdfaf6; /* Un blanco hueso cálido */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Tipografía */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

h1 {
    font-size: 3rem; /* Más grande para impacto */
    font-weight: 700;
    color: #fff; /* Blanco para contraste en hero */
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #4a4a4a;
    margin-bottom: 0.5em;
    position: relative;
}
/* Línea decorativa bajo títulos de sección */
h2.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background-color: #D4A373; /* Un tono tierra cálido */
    margin: 0.3em auto 0.7em;
}


p.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 3em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Botones */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px; /* Botones más redondeados, modernos */
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #D4A373; /* Tono tierra principal */
    color: #fff;
}
.btn-primary:hover {
    background-color: #b98d5b; /* Un poco más oscuro al pasar el mouse */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #D4A373;
    border: 2px solid #D4A373;
}
.btn-secondary:hover {
    background-color: #D4A373;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #4a4a4a;
    border: 2px solid #4a4a4a;
}
.btn-outline:hover {
    background-color: #4a4a4a;
    color: #fff;
}


/* Utilidades */
.section-padding {
    padding: 80px 0;
}
.section-padding-sm {
    padding: 60px 0;
}
.text-center {
    text-align: center;
}


/* Header y Navegación */
header {
    background-color: rgba(253, 250, 246, 0.9); /* Fondo ligeramente transparente */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px; /* Ajusta según tu logo */
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    text-decoration: none;
    color: #5a4a3b; /* Color más oscuro para enlaces de nav */
    font-weight: 700;
    font-size: 0.95rem;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 2px solid transparent;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #D4A373;
    border-bottom-color: #D4A373;
}

.menu-toggle {
    display: none; /* Oculto en escritorio */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    padding:0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}


/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero-banner.webp');
    background-size: cover;
    background-position: center;
    height: 100vh; /* Altura completa de la pantalla */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px; /* Para compensar el header fijo */
}

.hero-content {
    max-width: 700px;
}

.hero-content h2 { /* Subtítulo del Hero */
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #f0f0f0;
    margin-bottom: 1.5em;
}
.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2em;
    font-weight: 300;
    color: #e0e0e0;
}


/* Featured Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 250px; /* Altura fija para imágenes */
    object-fit: cover; /* Para que la imagen cubra sin distorsionarse */
}

.product-card h3 {
    font-size: 1.4rem;
    margin: 15px 0 10px;
    color: #4a4a4a;
}

.product-card p {
    font-size: 0.95rem;
    color: #777;
    padding: 0 15px;
    margin-bottom: 10px;
}
.product-card .price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #D4A373;
    margin-bottom: 20px;
}

/* About Us Section */
.about-section {
    background-color: #fff; /* Un fondo diferente para variar */
}
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.about-image {
    flex: 1;
    max-width: 50%;
}
.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.about-text {
    flex: 1;
    max-width: 50%;
}
.about-text .section-title {
    text-align: left;
    margin-left: 0;
}
.about-text .section-title::after {
    margin-left: 0;
    margin-right: auto;
}
.about-text p {
    margin-bottom: 1.5em;
}


/* Values Section */
.values-section {
    background-color: #EAE0D5; /* Un tono beige claro para el fondo con textura */
    background-size: cover; /* Si usas una imagen de textura */
    background-blend-mode: overlay; /* Si combinas color y textura */
    color: #5a4a3b; /* Texto más oscuro para contraste */
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.value-item {
    padding: 20px;
}
.value-item .value-icon {
    width: 48px; /* Tamaño del icono SVG */
    height: 48px;
    margin-bottom: 15px;
    /* El filtro se aplica inline en el HTML para íconos SVG data-uri */
}
.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #4a4a4a;
}
.value-item p {
    font-size: 0.95rem;
    color: #6b5e51;
}

/* Collection Section (similar a featured, puede expandirse) */
.collection-section {
    /* Estilos específicos si son necesarios */
}


/* Testimonials Section */
.testimonials-section {
    background-color: #f0ebe5; /* Otro tono neutro */
}
.testimonial-slider { /* Si implementas un slider, esto sería el contenedor */
    /* Aquí irían los estilos para un slider si lo deseas (requeriría JS) */
    /* Por ahora, mostramos dos testimonios estáticos */
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    max-width: 600px; /* Ancho máximo por testimonio */
    text-align: center;
}
.testimonial-item p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
    font-size:1.05rem;
}
.testimonial-item h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #D4A373;
    font-size: 1rem;
}


/* Contact Section */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #4a4a4a;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4A373;
    box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.2);
}

/* Footer */
footer {
    background-color: #3E362E; /* Marrón oscuro terroso */
    color: #e0e0e0;
    padding: 50px 0 30px;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.footer-logo img {
    height: 40px; /* Logo más pequeño en footer */
    margin-bottom: 10px;
    opacity: 0.8;
}
.footer-logo p {
    font-size: 0.9rem;
    line-height: 1.5;
}
.footer-links h4, .footer-social h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links ul li a {
    text-decoration: none;
    color: #D4A373;
    transition: color 0.3s ease;
}
.footer-links ul li a:hover {
    color: #fff;
}
.footer-social a {
    margin: 0 10px;
    display: inline-block; /* Para que el SVG tenga dimensiones */
}
.footer-social img { /* Para los SVGs de redes sociales */
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.footer-social a:hover img {
    opacity: 1;
}

/* Responsive (Puntos de quiebre típicos) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2.section-title {
        font-size: 2rem;
    }
    .about-content {
        flex-direction: column;
        text-align:center;
    }
    .about-image, .about-text {
        max-width: 100%;
    }
    .about-text .section-title, .about-text .section-title::after {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 768px) {
    /* Ajustes de Navegación para móviles */
    header nav ul {
        display: none; /* Ocultar por defecto en móvil */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Altura del header */
        left: 0;
        width: 100%;
        background-color: #fdfaf6;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    header nav ul.active {
        display: flex; /* Mostrar cuando el menú está activo */
    }
    header nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    header nav ul li a {
        font-size: 1.1rem;
        padding: 10px;
        display: block; /* Ocupar todo el ancho del ítem */
    }
    .menu-toggle {
        display: flex; /* Mostrar el botón hamburguesa */
    }
    /* Animación de icono hamburguesa a X */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Otros ajustes responsive */
    .hero-section {
        padding-top: 70px; /* Ajuste por header más pequeño */
        min-height: 500px;
    }
    h1 {
        font-size: 2.2rem;
    }
    .hero-content h2 {
        font-size: 1.3rem;
    }
    .product-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
    }
    .section-padding {
        padding: 60px 0;
    }
    .section-padding-sm {
        padding: 40px 0;
    }
    .contact-form {
        padding: 30px 20px;
    }
    .footer-content {
        padding: 0 10px; /* Algo de padding lateral en footer móvil */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    .hero-content h2 {
        font-size: 1.1rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    h2.section-title {
        font-size: 1.8rem;
    }
    p.section-subtitle {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}