
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');


/* ====================================================
           1. ESTILOS GENERALES Y BASE
==================================================== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
	background-color: #121212;
	overflow-x: hidden;
}

/* Contenedor Principal del Hero */
.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
}

/* Capa de la Imagen de Fondo (Escritorio / Pantalla Grande) */
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('../img/artcer_landing.png');
	background-color: #4C4032;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

/* Capa Oscura (Overlay) para mejorar la legibilidad del texto */
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.25);
	z-index: 2;
}

/* Tarjeta de Contenido / Texto */
.hero-card {
	position: relative;
	z-index: 3;
	background: rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 40px;
	border-radius: 16px;
	max-width: 520px;
	width: 90%;
	margin-left: 6%;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Contenedor flexible para alinear logo y badge */
.hero-header {
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio entre el logo y la etiqueta */
    margin-bottom: 16px;
	justify-content: center;
}

/* Estilos del logo */
.hero-logo {
    height: 300px; /* Ajusta la altura según tu diseño */
    width: auto;  /* Mantiene la proporción de la imagen */
    object-fit: contain;

}

/* Ajuste al badge cuando va junto al logo */
.hero-header .badge {
    margin-bottom: 0; /* Elimina el margen inferior innecesario dentro del header */
}

.badge {
	display: inline-block;
	background-color: #1a1a1a;
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 20px;
	margin-bottom: 16px;
}

.hero-title {
	color: #4C4032;
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 16px;
	text-align: center;
}

.hero-subtitle {
	color: #4C4032;
	font-size: 1.05rem;
	line-height: 1.6;
	margin-bottom: 28px;
	text-align: center;
}

.cta-group {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

.btn {
	padding: 14px 28px;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	text-align: center;
	display: inline-block;
}

.btn-primary {
	background-color: #8A735A;
	color: #ffffff;
	border: none;
}

.btn-primary:hover {
	background-color: #a37f1e;
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: transparent;
	color: #4C4032;
	border: 2px solid #8A735A;
}

.btn-secondary:hover {
	background-color: #a37f1e;
	color: #4C4032;
}

/* ====================================================
	2. ANIMACIÓN Y RESPONSIVE PARA MÓVILES (<= 768px)
==================================================== */
@media (max-width: 768px) {
    .hero {
        justify-content: center;
        align-items: center; /* Centra la tarjeta verticalmente */
        padding: 20px;       /* Margen de seguridad general */
    }

    /* Configuración de la imagen panorámica en movimiento */
    .hero-bg {
        width: 250%; /* Se expande a lo ancho para permitir el recorrido */
        height: 100%;
        background-size: cover;
        background-position: center vertical;
        
        /* Animación infinita de ida y vuelta */
        animation: panMovil 35s ease-in-out infinite alternate;
        will-change: transform;
    }

    .hero-card {
        margin-left: 0;
        padding: 28px 20px;
        text-align: center;
        background: rgba(255, 255, 255, 0.3);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

	.hero-header {
        justify-content: center; /* Centra el logo y el badge en móvil */
    }
  

    .cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Keyframes: Mueve la imagen lentamente de Izquierda a Derecha */
@keyframes panMovil {
	0% {
		transform: translateX(0%);
	}
	100% {
		transform: translateX(-60%);
	}
}