/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header y Navegación */
.navbar {
    background-color: #8B0000;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #A52A2A;
}

/* Logo Section */
.logo-section {
    background-color: white;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 3px solid #8B0000;
}

.main-logo {
    max-width: 600px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo-section h1 {
    color: #8B0000;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.logo-section h2 {
    color: #666;
    font-size: 1.5rem;
    font-weight: normal;
}

/* Slider */
.slider-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    background-color: #f8f8f8;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(139, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(139, 0, 0, 0.9);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Hero Text */
.hero-text {
    background: linear-gradient(135deg, #8B0000, #DC143C);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
    letter-spacing: 2px;
}

.hero-text h3 {
    font-size: 2rem;
    margin: 1.5rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-text h4 {
    font-size: 1.8rem;
    margin: 1.5rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 600;
    letter-spacing: 1px;
}

.feature-title {
    font-size: 3rem;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
    background-color: white;
    margin-bottom: 2rem;
}

.content-section:nth-child(even) {
    background-color: #f8f9fa;
}

.content-section h2 {
    color: #8B0000;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #8B0000;
    padding-bottom: 1rem;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-text ul {
    margin: 1rem 0 1rem 2rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}

/* Cómo Trabajamos - Estilos especiales */
.work-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.work-item {
    background-color: #8B0000;
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
}

/* Galería */
.gallery-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.gallery-section h2 {
    color: #8B0000;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 3px solid #8B0000;
    padding-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: white;
}

/* Videos Section */
.videos-section {
    padding: 4rem 0;
    background-color: white;
}

.videos-section h2 {
    color: #8B0000;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 3px solid #8B0000;
    padding-bottom: 1rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-placeholder {
    background-color: #f8f9fa;
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    border: 2px dashed #8B0000;
}

.video-embed {
    width: 100%;
    height: 315px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Contacto */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #8B0000;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: #8B0000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-logo {
        max-width: 300px;
    }
    
    .logo-section h1 {
        font-size: 2rem;
    }
    
    .logo-section h2 {
        font-size: 1.2rem;
    }
    
    .feature-title {
        font-size: 2rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .slider-section {
        height: 300px;
    }
    
    .slider-btn {
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .main-logo {
        max-width: 250px;
    }
    
    .logo-section h1 {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
}


/* Video Player Styles */
.videos-section {
    background-color: #f8f8f8;
    padding: 4rem 0;
}

.video-player-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-player {
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-player video {
    width: 100%;
    height: auto;
    min-height: 300px;
}

.video-list {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-list h3 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.video-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-item {
    padding: 0.75rem;
    background-color: #f5f5f5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.video-item:hover {
    background-color: #e0e0e0;
    border-left-color: #8B0000;
}

.video-item.active {
    background-color: #8B0000;
    color: white;
    border-left-color: #DC143C;
}

.video-item-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.video-item-duration {
    font-size: 0.8rem;
    opacity: 0.7;
}

.video-instructions {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #8B0000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-instructions p {
    margin-bottom: 0.5rem;
    color: #8B0000;
    font-weight: 500;
}

.video-instructions ol {
    margin-left: 1rem;
}

.video-instructions li {
    margin-bottom: 0.5rem;
    color: #666;
}

.video-instructions code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
    color: #8B0000;
}

@media (max-width: 768px) {
    .video-player-container {
        grid-template-columns: 1fr;
    }
    
    .video-player video {
        min-height: 200px;
    }
}

/* Footer Styles */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    flex: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 180px;
    justify-content: center;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link.instagram:hover {
    background-color: #E4405F;
}

.social-link.youtube:hover {
    background-color: #FF0000;
}

.social-icon {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

