/* styles.css - Archivo CSS unificado para SP Flash Tool */

/* ===== Variables y Estilos Generales ===== */
:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --highlight: #f39c12;
    --text: #333;
    --light-bg: #f8f9fa;
    --border: #eaeaea;
    --accent-blue: #4cc9f0;
    --accent-purple: #4361ee;
    --dark-bg: #1e1e2e;
    --card-bg: #252536;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
            overflow: hidden;
            margin: 30px 0;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
		
		        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

/* ===== Header y Navegación ===== */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    loading: lazy;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p, .hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 25px;
    opacity: 0.9;
}

            .hero-buttons {
                justify-content: center;
            }

/* ===== Secciones Comunes ===== */
.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Features Grid ===== */
.features, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature, .feature-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature h3, .feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    background: var(--primary);
    color: white;
    padding: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.feature-content {
    padding: 0 20px 20px;
}

.feature-list {
    list-style: none;
    margin-top: 10px;
}

.feature-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== Botones ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.primary-btn, .download-btn, .btn-contact {
    background: var(--primary);
    color: white;
}

.primary-btn:hover, .download-btn:hover, .btn-contact:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.secondary-btn {
    background: var(--light-bg);
    color: var(--secondary);
    border: 1px solid var(--border);
}

.secondary-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* ===== Página de Descargas ===== */
.download-grid-fixed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.version-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.version-card.highlight {
    border: 2px solid var(--highlight);
    position: relative;
    overflow: hidden;
}

.version-card.highlight::before {
    content: 'NEW';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--highlight);
    color: white;
    padding: 3px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.version-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.version-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.version-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge {
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.badge.stable {
    background: #27ae60;
}

.download-links {
    margin-top: 20px;
}

.instructions-link {
    text-align: center;
    margin: 30px 0;
}

.instructions-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.instructions-link a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.version-list-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.version-list {
    columns: 3;
    column-gap: 30px;
    list-style: none;
}

.version-list li {
    margin-bottom: 10px;
    break-inside: avoid;
}

.version-list a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

.version-list a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ===== Página de Contacto ===== */
.contact-section {
    text-align: center;
    padding: 40px 20px;
}

.contact-section h1 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #aaa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form, .contact-info {
    background: var(--dark-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form h2, .contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--accent-blue);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #2a2a3a;
    color: #fff;
}

.btn-contact {
    background: var(--accent-purple);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #3a56d4;
    transform: translateY(-3px);
}

.info-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.info-card i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.info-card h3 {
    margin: 10px 0;
    color: #fff;
}

.info-card p {
    color: #aaa;
    word-break: break-all;
}

/* ===== Footer ===== */
footer {
    background: var(--secondary);
    color: white;
    padding: 40px 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ===== Hero Image Styles ===== */
.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text-content {
    flex: 1;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Ajusta este valor según necesites */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== Media Queries ===== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
            .hero-image-wrapper {
                margin-top: 30px;
            }
    
    .version-list {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: center;
        padding: 10px 15px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 101;
    }
	
        .menu-toggle.active {
        position: fixed;
        right: 15px;
    }
.menu-toggle .fa-bars {
    display: block;
}
.menu-toggle .fa-times {
    display: none;
}
.menu-toggle.active .fa-bars {
    display: none;
}
.menu-toggle.active .fa-times {
    display: block;
}
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p, .hero-subtitle {
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .version-list {
        columns: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}
    .nav-links {
        width: 85%;
    }
    
    .menu-toggle {
        font-size: 1.3rem;
    }
}