/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    z-index: 0;
    overflow: hidden;
    background: #000; 
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fallback-image {
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Nosotros Section */
.nosotros {
    background: var(--light-background);
}

.nosotros .lead {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.nosotros p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156,60,233,0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}

.image-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 16/9;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    text-align: center;
    font-weight: 500;
    transform: translateY(100%);
    transition: var(--transition);
}

.image-container:hover .image-overlay {
    transform: translateY(0);
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Productos Section */
.productos {
    background: var(--background);
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(156,60,233,0.2);
}

.product-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(156,60,233,0.05) 0%, rgba(99,59,235,0.05) 100%);
    padding: 0.5rem;
}

.product-image img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.product-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Contacto Section */
.contacto {
    background: var(--light-background);
    padding: 100px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(156,60,233,0.1);
    transform: translateX(10px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item span {
    font-weight: 500;
}

.map-container {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(156,60,233,0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .map-container {
        height: 250px;
    }
} 