/* styles.css */

:root {
    --primary-yellow: #FFD700;
    --dark-yellow: #FFA500;
    --primary-black: #0A0A0A;
    --secondary-black: #1a1a1a;
    --wood-brown: #8B4513;
    --wood-light: #A0522D;
    --text-light: #ffffff;
    --text-gray: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-light);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-yellow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-yellow);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-yellow);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: 
        radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    position: relative;
    padding: 2rem;
    margin-top: 70px;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 2px, 
            rgba(255, 215, 0, 0.03) 2px, 
            rgba(255, 215, 0, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo-hero {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.logo-hero img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.8));
    }
}

.tagline {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--text-gray);
}

.subtitle {
    font-size: 1.8rem;
    color: var(--primary-yellow);
    margin: 1rem 0 2rem;
    letter-spacing: 5px;
    font-weight: bold;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.4);
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 215, 0, 0.8),
            0 0 20px rgba(255, 215, 0, 0.6),
            0 0 30px rgba(255, 215, 0, 0.4);
    }
    25% {
        text-shadow: 
            -2px 0 var(--dark-yellow),
            2px 0 cyan,
            0 0 10px rgba(255, 215, 0, 0.8);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-yellow);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-yellow);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.btn-secondary:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-icons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Sections General */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-yellow);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-yellow);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(139, 69, 19, 0.1);
    border: 2px solid var(--wood-brown);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: var(--primary-black);
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    height: 250px;
    background: linear-gradient(135deg, var(--wood-brown) 0%, var(--wood-light) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--primary-yellow);
    font-weight: bold;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    position: relative;
    z-index: 2;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--wood-brown);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary-yellow);
    transform: scale(1.05);
}

.pricing-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.price {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin: 1rem 0;
    font-weight: bold;
}

.pricing-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--secondary-black);
    position: relative;
    z-index: 2;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--primary-yellow);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.social-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* Iconos específicos por red social */
.social-link.facebook .social-icon {
    background: #1877f2;
    color: white;
    font-family: 'Arial', sans-serif;
    text-transform: lowercase;
    font-size: 14px;
}

.social-link.instagram .social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-radius: 6px;
    font-size: 14px;
}

.social-link.whatsapp .social-icon {
    background: #25d366;
    color: white;
    border-radius: 6px;
    font-size: 14px;
}

/* Efectos hover para cada red social */
.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

/* Footer */
.footer {
    background: var(--primary-black);
    text-align: center;
    padding: 2rem;
    border-top: 2px solid var(--primary-yellow);
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        justify-content: space-between;
        padding: 0 1rem;
    }
    
    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
        margin-right: 40px; /* Compensate for hamburger width */
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
    }
    
    .hero {
        padding: 1rem;
    }
    
    .hero-icons {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo-hero img {
        max-width: 280px;
        width: 90%;
    }
    
    .subtitle {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .services-grid,
    .gallery-grid,
    .pricing-grid,
    .contact-info {
        padding: 0 1rem;
        width: 100%;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .social-links {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 1rem;
    }

    .social-link {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    /* Fix for particles container */
    .particles {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
    }
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: relative !important;
        background: transparent !important;
        padding: 0 !important;
        flex-direction: row !important;
    }
}