/* Variables globales */
:root {
    --primary-color: #1E90FF;
    --background-color: rgb(0, 36, 72);
    --text-color: white;
    --navbar-height: 80px;
    --transition-speed: 0.3s;
}

/* Sistema de diseño responsivo base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media screen and (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media screen and (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

/* Estilos base responsivos */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Navbar responsiva */
.navbar {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding: 1rem 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-speed) ease;
    height: var(--navbar-height);
}

.navbar.scrolled {
    background-color: var(--background-color);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    height: 40px;
    max-width: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Menú móvil */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    z-index: 1001;
}

/* Contenedor principal */
.main-content {
    margin-top: var(--navbar-height);
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

/* Botones responsivos */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    text-decoration: none;
    transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Media queries para diferentes tamaños de pantalla */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
        background-color: var(--background-color);
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--background-color);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transform: translateX(-100%);
        transition: transform var(--transition-speed) ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        padding: 1rem;
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .main-content {
        padding: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    /* Overlay para el menú móvil */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity var(--transition-speed) ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
}

@media screen and (max-width: 480px) {
    .main-content {
        padding: 0.8rem;
    }

    .logo {
        height: 30px;
    }
}

/* Grid responsivo */
.responsive-grid {
    display: grid;
    gap: 2rem;
    width: 100%;
}

@media screen and (min-width: 769px) {
    .responsive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1025px) {
    .responsive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tarjetas responsivas */
.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Formularios responsivos */
.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
}

/* Utilidades responsivas */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn var(--transition-speed) ease-in;
} 