:root {
    --primary-color: #d90429; /* Un rojo audaz */
    --secondary-color: #2b2d42; /* Un azul oscuro/casi negro */
    --text-color: #8d99ae;
    --background-color: #edf2f4;
    --white-color: #ffffff;
    --logo-font: 'Pacifico', cursive;
    --body-font: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--secondary-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

.logo {
    font-family: var(--logo-font);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.main-header nav a {
    color: var(--white-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.main-header nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: url('hero-image.png') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 45, 66, 0.7); /* Overlay from secondary color */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

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

.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #e02a4a;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: var(--text-color);
    font-size: 1.1rem;
}


/* Product Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-item {
    background: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item h3 {
    font-size: 1.2rem;
    padding: 15px;
    color: var(--secondary-color);
    margin: 0;
}

/* About Us Section */
.about-us {
    background-color: var(--secondary-color);
    color: var(--background-color);
}

.about-us h2 {
    color: var(--white-color);
}

.about-us p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.contact-info {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--text-color);
}

.contact-info p strong {
    color: var(--secondary-color);
}

#map {
    height: 450px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .main-header nav {
        margin-top: 10px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    #map {
        height: 300px;
    }
}

