:root {
    --primary-color: #ff6600; /* Naranja vibrante */
    --dark-bg: #1a1a1a;
    --light-bg: #2c2c2c;
    --text-color: #f0f0f0;
    --text-secondary-color: #a0a0a0;
    --font-main: 'Roboto', sans-serif;
    --font-headings: 'Teko', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

section {
    padding: 60px 0;
}

/* Header */
header {
    background-color: rgba(26, 26, 26, 0.9);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--light-bg);
}

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

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    margin-right: 15px;
}

header .logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

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

header nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-background.png');
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 70px; /* Header offset */
}

.hero-text h2 {
    font-size: 5rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

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

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

/* Products Section */
#productos {
    background-color: var(--dark-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #444;
}

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

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-card h4 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.product-card p {
    color: var(--text-secondary-color);
    margin: 10px 0;
    flex-grow: 1; /* Makes sure the p tag takes available space */
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Nosotros Section */
#nosotros {
    background-color: var(--light-bg);
}

#nosotros p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary-color);
}

/* Testimonios Section */
#testimonios {
    background-color: var(--dark-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
}

.testimonial-card h4 {
    text-align: right;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

/* Contacto Section */
#contacto {
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-form, .contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    color: var(--text-secondary-color);
}

.contact-form input,
.contact-form textarea {
    background-color: var(--dark-bg);
    border: 1px solid #444;
    color: var(--text-color);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-family: var(--font-main);
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#map {
    height: 300px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--light-bg);
    color: var(--text-secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header nav {
        margin-top: 10px;
    }
    .hero-text h2 {
        font-size: 3rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 2.5rem;
    }
}