/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #faf9f6;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo-img {
    height: 80px;
    vertical-align: middle;
}

.logo {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
}

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: #fff;
}

.icon {
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #d4af37;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

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

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #d4af37;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #b8860b;
}

/* Categories Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 4rem 0 2rem;
    font-weight: 400;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 5%;
    margin-bottom: 4rem;
}

.category-card {
    text-align: center;
    cursor: pointer;
}

.category-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    transition: transform 0.5s ease;
}

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

.category-card h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Featured Products */
.featured-products {
    background-color: #fff;
    padding: 4rem 5%;
}

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

.product-card {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.product-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: #f5f5f5;
}

.product-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.btn-icon:hover {
    color: #d4af37;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: #d4af37;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a:hover {
    color: #d4af37;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* --- NUEVAS SECCIONES AMPLIADAS --- */

/* Benefits Bar */
.benefits-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 2rem 5%;
    border-bottom: 1px solid #eaeaea;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem;
}

.benefit-item i {
    font-size: 2rem;
    color: #d4af37;
}

.benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.benefit-item p {
    font-size: 0.8rem;
    color: #666;
}

/* Craftsmanship Section */
.craftsmanship {
    display: flex;
    flex-wrap: wrap;
    background-color: #1a1a1a;
    color: #fff;
}

.craft-image {
    flex: 1 1 50%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.craft-text {
    flex: 1 1 50%;
    padding: 6rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.craft-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #d4af37;
}

.craft-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ccc;
}

.btn-secondary {
    display: inline-block;
    align-self: flex-start;
    padding: 1rem 2.5rem;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #d4af37;
    color: #fff;
}

/* Testimonials */
.testimonials {
    background-color: #faf9f6;
    padding: 4rem 5%;
}

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

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #eaeaea;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stars {
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-card h4 {
    font-size: 1.1rem;
}

/* Newsletter */
.newsletter {
    background-color: #fff;
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

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

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    color: #666;
}

.newsletter-form {
    display: flex;
    gap: 0;
    justify-content: center;
}

.newsletter-form input {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    width: 60%;
    outline: none;
    font-family: inherit;
}

.newsletter-form button {
    border-radius: 0;
}

/* Fix product grid for 4 items */
.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .craft-image, .craft-text {
        flex: 1 1 100%;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    .newsletter-form input {
        width: 100%;
    }
}
