/* Variables y Reset */
:root {
    --primary: #2C3E50;
    --secondary: #F5F5DC;
    --accent: #D4AF37;
    --text: #333333;
    --background: #FAFAFA;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo h2 {
    color: var(--primary);
    font-size: 1.5rem;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    padding: 1rem 20px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 60px;
    padding: 2rem 20px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-content h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Categorías */
.categories {
    padding: 4rem 20px;
    background: var(--white);
}

.categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.category-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.btn-category {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-category:hover {
    background: var(--accent);
}

/* Galería */
.gallery {
    padding: 4rem 20px;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.8);
    color: var(--white);
    padding: 1rem;
    text-align: center;
}

/* Testimonios */
.testimonials {
    padding: 4rem 20px;
    background: var(--secondary);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text);
}

.testimonial-author {
    color: var(--primary);
    font-weight: bold;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: block;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Media Queries - Tablet */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        background: none;
        box-shadow: none;
    }
    
    .nav-link {
        border-bottom: none;
        padding: 0.5rem 1rem;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Media Queries - Desktop */
@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        align-items: center;
        min-height: 80vh;
        margin-top: 3vw;
    }
    
    .hero-content,
    .hero-image {
        flex: 1;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}