@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #007bff; /* Azul sable de luz */
    --secondary-color: #ff0000; /* Rojo sable de luz */
    --bg-color: #0d0d0d;
    --text-color: #f4f4f4;
    --card-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .logo {
    font-family: 'Orbitron', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo h2 {
    color: #fff;
    font-size: 24px;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.btn-tienda {
    background-color: transparent;
    border: 1px solid #ffd700;
    color: #ffd700 !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease !important;
}

.btn-tienda:hover {
    background-color: #ffd700;
    color: #000 !important;
    box-shadow: 0 0 15px #ffd700;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Fondo temporal, se recomienda cambiar por una captura del servidor */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1478479405421-ce83c92fb3ba?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
    line-height: 1.6;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 0 15px var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 0 25px var(--primary-color);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: black;
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background-color: var(--bg-color);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.feature-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 10px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 123, 255, 0.2);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: #aaa;
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-content p {
    color: #777;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
    }
}
