:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo-img {
    height: 50px;
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 600px;
    margin: 0 2rem;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
}

.search-bar button {
    padding: 12px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-secondary {
    display: block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    width: 100%;
}

/* Products Section */
.productos {
    padding: 4rem 0;
    background: var(--light-gray);
}

.productos h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        padding: 1rem;
    }

    .search-bar {
        margin: 1rem 0;
        width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

.ubicacion-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.ubicacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ubicacion-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.ubicacion-detalles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ubicacion-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.ubicacion-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.ubicacion-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.ubicacion-item p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.btn-direccion,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: transform 0.2s ease;
}

.btn-direccion {
    background-color: var(--primary-color);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-direccion:hover,
.btn-whatsapp:hover {
    transform: translateY(-2px);
}

.ubicacion-mapa {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ubicacion-mapa iframe {
    display: block;
}

@media (max-width: 768px) {
    .ubicacion-grid {
        grid-template-columns: 1fr;
    }

    .ubicacion-info h2 {
        font-size: 2rem;
        text-align: center;
    }

    .ubicacion-detalles {
        max-width: 500px;
        margin: 0 auto;
    }

    .ubicacion-mapa {
        height: 300px;
    }

    .ubicacion-mapa iframe {
        height: 100%;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}