:root {
    --primary-gradient: linear-gradient(to right, #fb5283, #ff3527);
    --secondary-gradient: linear-gradient(to right, #33aa33, #44bb44);
    --overlay-color: rgba(10, 75, 90, 0.5);
    --dark-layer: rgba(0, 0, 0, 0.4);
}

*{margin: 0;padding: 0;font-family: 'Montserrat', sans-serif; box-sizing: border-box;}

html {
    scroll-behavior: smooth;
}

body{
    background-color: #1a1a1a;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background fixed for consistent vibe */
.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/imagen1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -5;
}

.capa{
    position: fixed;
    left: 0;
    top: 0;
    background: var(--dark-layer);
    height: 100%;
    width: 100%;
    z-index: -4;
}

.divisor-bg{
    position: fixed;
    left: 0;
    top: 0;
    background: var(--overlay-color);
    height: 100%;
    width: 50%;
    z-index: -3;
}

.container{
    width: 100%;
    padding: 0 8%;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header & Navbar */
header {
    width: 100%;
    z-index: 10;
}

.navbar{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo{
    width: 200px;
    cursor: pointer;
}

.menu-icon{
    width: 25px;
    cursor: pointer;
    display: none;
}

nav ul li{
    list-style: none;
    display: inline-block;
    margin-left: 30px;
}

nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 1.1em;
    font-weight: 400;
    transition: all 0.3s;
    letter-spacing: 1px;
}

nav ul li a:hover{
    color: #fb5283;
}

/* Hero & Main Content */
.hero{
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 80px;
}

.col-content{
    flex-basis: 50%;
    position: relative;
    padding-left: 50px;
}

.col-content::after{
    content: '';
    width: 8px;
    height: 80%;
    background: var(--primary-gradient);
    position: absolute;
    left: 0;
    top: 10%;
}

.col-content.green::after {
    background: var(--secondary-gradient);
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 25px;
    letter-spacing: 2px;
    color: #eee;
}

.hero p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 30px;
    color: #ddd;
}

/* 404 Content */
.error-content{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.error-content::after{
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20%;
}

.error-content h1{
    font-size: 120px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-content h2{
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.error-content p{
    font-size: 18px;
    font-weight: 300;
    max-width: 500px;
    line-height: 1.6;
    color: #ccc;
}

/* Cards / Features Section */
.features {
    padding: 100px 0;
    background: rgba(0,0,0,0.5);
    margin: 50px -8%; /* Pull out of container padding */
    padding: 100px 8%;
    backdrop-filter: blur(5px);
}

.section-title {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.4s, background 0.4s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fb5283;
}

.feature-card p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: #ccc;
}

/* CTA / Contact Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

/* Buttons */
.boton{
    text-decoration: none;
    width: fit-content;
    border: 1px solid white;
    padding: 14px 25px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boton img{
    width: 16px;
    margin-left: 10px;
    display: none;
    filter: brightness(0) invert(1);
}

.boton:hover{
    background: var(--primary-gradient);
    border-color: transparent;
    padding-right: 35px;
}

.boton.green:hover {
    background: var(--secondary-gradient);
}

.boton:hover img{
    display: block;
}

/* Footer */
footer {
    padding: 60px 8%;
    background: rgba(0,0,0,0.8);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.footer-info p {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.footer-logo {
    width: 120px;
    opacity: 0.7;
}

/* Media Queries */
@media only screen and (max-width: 900px){
    .hero h1 { font-size: 48px; }
    .col-content { flex-basis: 100%; margin-bottom: 40px; }
    .divisor-bg { width: 100%; opacity: 0.7; }
    .error-content h1 { font-size: 80px; }
    .error-content h2 { font-size: 24px; }
}

@media only screen and (max-width: 700px){
    header nav { display: none; }
    .menu-icon { display: block; }
    .hero h1 { font-size: 36px; }
    .hero h2 { font-size: 18px; }
    .logo { width: 150px; }
    .error-content { padding-left: 20px; }
    
    #menuList.active {
        display: block;
        position: absolute;
        top: 80px;
        right: 0;
        background: #111;
        width: 100%;
        padding: 20px;
        z-index: 100;
    }
    #menuList.active li {
        display: block;
        margin: 10px 0;
    }
}
