/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BASE */
body{
    font-family:Arial, sans-serif;
    background:#0a0a0a;
    color:#fff;
}

/* HERO */
.hero-motorland{
    position:relative;
    height:100vh;
    background:url('https://www.alex-racing.es/image/circuitos/Motorland.jpg') center/cover no-repeat;
}

/* OVERLAY */
.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
}

/* 🔥 MARCA */
.brand{
    position:absolute;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    z-index:2;

    font-size:70px;
    font-weight:bold;
    color:#00ff6a;
    letter-spacing:4px;

    text-shadow:
        3px 3px 0 #000,
        0 0 10px rgba(0,255,106,0.5);
}

/* ✨ EFECTO BRILLO */
.brand::after{
    content:"Alex-Racing.es";
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent 20%,
        rgba(255,255,255,0.9) 50%,
        transparent 80%
    );

    animation:shine 3s infinite linear;

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    pointer-events:none;
}

/* ANIMACIÓN */
@keyframes shine{
    0%{
        background-position:-300px;
    }
    100%{
        background-position:300px;
    }
}

/* CONTENIDO */
.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    text-align:center;
    z-index:2;
}

.hero-content h1{
    font-size:48px;
    margin-bottom:10px;
}

.hero-content p{
    font-size:20px;
    margin-bottom:20px;
}

/* BOTÓN CENTRAL */
.btn{
    padding:12px 25px;
    background:#ff3c00;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
}

/* BOTÓN ABAJO */
.hero-bottom{
    position:absolute;
    bottom:30px;
    width:100%;
    text-align:center;
    z-index:2;
}

.btn-volver{
    padding:12px 25px;
    background:#00ff6a;
    color:#000;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
}

.btn-volver:hover{
    background:#00cc55;
}

/* CONTENIDO */
.container{
    max-width:1100px;
    margin:auto;
    padding:50px 20px;
}

/* CIRCUITO */
.circuito{
    background:#111;
}

.datos{
    margin-top:20px;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
    gap:10px;
}

/* SERVICIOS */
.cards{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:center;
    margin-top:30px;
}

.card{
    background:#1a1a1a;
    padding:20px;
    border-radius:10px;
    width:260px;
    transition:0.3s;
    text-align:center;
}

.card:hover{
    transform:translateY(-6px);
    background:#222;
}

/* RESPONSIVE */
@media(max-width:768px){

    .brand{
        font-size:35px;
    }

    .hero-content h1{
        font-size:28px;
    }
}

/* HERO JEREZ */
.hero-jerez{
    position:relative;
    height:100vh;
    background:url('https://www.alex-racing.es/image/circuitos/circuito_jerez.web') center/cover no-repeat;
}
/* HERO ALBACETE */
.hero-albacete{
    position:relative;
    height:100vh;
    background:url('https://www.alex-racing.es/image/circuitos/circuito-albacete.jpg') center/cover no-repeat;
}
/* HERO BARCELONA */
.hero-barcelona{
    position:relative;
    height:100vh;
    background:url('https://www.alex-racing.es/image/circuitos/circuito_cataluna.webp') center/cover no-repeat;
    
}
/* HERO CHESTE */
.hero-cheste{
    position:relative;
    height:100vh;
    background:url('https://www.alex-racing.es/image/circuitos/ricardo_tormo.webp') center/cover no-repeat;
}
/* HERO NAVARRA */
.hero-navarra{
    position:relative;
    height:100vh;
    background:url('https://www.alex-racing.es/image/circuitos/circuito-de-navarra.webp') center/cover no-repeat;
}
/* HERO JARAMA */
.hero-jarama{
    position:relative;
    height:100vh;
    background:url('https://www.alex-racing.es/image/circuitos/jarama-madrid.jpg') center/cover no-repeat;
}
/* HERO CIRCUITOS */
.hero-circuitos{
    position:relative;
    height:100vh;
    background:url('https://www.alex-racing.es/image/circuitos/jarama-madrid.jpg') center/cover no-repeat;
}
    
    
/* BOTONES UNIFICADOS (VER SERVICIOS + VOLVER) */
.btn,
.btn-volver{
    padding:12px 28px;
    background:transparent;
    color:#fff;
    text-decoration:none;
    border-radius:30px;
    font-weight:bold;

    border:2px solid #fff;

    transition:0.3s;
    display:inline-block;
}

/* HOVER */
.btn:hover,
.btn-volver:hover{
    background:#fff;
    color:#000;
}
