
@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: #4C4032;
	overflow-x: hidden;
}

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

/* Capa de la Imagen de Fondo (Escritorio / Pantalla Grande) */
.hero-bg {
	position: fixed;
	inset: 0;
	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: fixed;
	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;

    width: 95%;
    max-width: 1400px;
    height: 90vh;

    display: flex;
    flex-direction: column;

    background: rgba(255,255,255,.30);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.6);

    padding: 30px;

    box-shadow: 0 20px 40px rgba(0,0,0,.3);

    overflow: hidden;   /* <-- importante */
}

/* 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:20px;
	justify-content: center;
	flex-shrink:0;
}

/* Estilos del logo */
.hero-logo{
    height:130px;
    width:auto;
    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;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
	flex-shrink:0;
}

.form-group label {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

.form-group input {
    padding: 10px 12px;
    font-size: 16px;
    color: #495057;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, .15);
}

.card-group{
    flex: 1;

    display: grid;
    grid-template-columns: 1fr; /* Una sola columna */

    gap: 25px;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 10px;
}

.card-group::-webkit-scrollbar{
    width:10px;
}

.card-group::-webkit-scrollbar-track{
    background:transparent;
}

.card-group::-webkit-scrollbar-thumb{
    background:#8A735A;
    border-radius:10px;
}

.card-group::-webkit-scrollbar-thumb:hover{
    background:#6d5b46;
}

.card {
    display: flex;
	width: 100%;
	min-height:540px;

    background: #fff;
    border-radius: 12px;
	border: 1px solid #ddd;
    overflow: hidden;
    
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform .3s, box-shadow .3s;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card img{
    width:100%;
}

.card-body {
    padding: 20px;
}

.card-title {
    margin-bottom: 10px;
    color: #333;
}

.card-text {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btnCard {
    display: inline-block;
    padding: 10px 20px;
    background: #8A735A;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background .3s;
}

.btnCard:hover {
    background: #a37f1e;
}



/* ====================================================
	2. ANIMACIÓN Y RESPONSIVE PARA MÓVILES (<= 768px)
==================================================== */
@media (max-width: 768px) {
    
	.hero{
        padding:15px;
    }

    .hero-card{
        width:100%;
        height:95vh;

        padding:20px;
        border-radius:20px;
    }

    .hero-logo{
        height:200px;
    }

    .form-group{
        margin-bottom:15px;
    }

    .form-group label{
        font-size:18px;
        text-align:center;
    }

    .card-group{
        grid-template-columns:1fr;
        gap:18px;
        padding-right:5px;
    }

    /* LA CARD CAMBIA A VERTICAL */

    .card{
        display:block;
        min-height:auto;
		height: 380px;
    }

    .card img{
        width:100%;
        height:220px;
        object-fit:cover;
    }

    .card-body{
        padding:18px;
        text-align:center;
    }

    .card-title{
        font-size:1.5rem;
    }

    .card-text{
        font-size:1rem;
    }

    .btnCard{
        display:block;
        width:100%;
        text-align:center;
    }
    
}

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