@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Pirata+One&display=swap');


/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #141414;
    color: white;
    line-height: 1.6;
    padding-bottom: 50px;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
}

.logo-container {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background-color: #0a0a0a;

    /* Textura en mosaico solo en X, con altura al 100% */
    background-image: url('../img/black_cushion.png');
    background-repeat: repeat-x;
    background-size: auto 150%;
    /* opcional: centrar verticalmente la imagen */
    background-position: center center;
}


.logo {
    height: 80px;
}

/* Títulos de sección */
.section-title {
    color: #ff0000;
    text-align: center;
    margin: 40px 0 30px;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    font-family: 'Pirata One', system-ui;
    font-weight: 400;
}



/* Contenedor de elementos */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.elements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.element {
    background-color: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    
    display: flex;
    flex-direction: column; /* Imagen arriba, contenido abajo */
}

.element:hover {
    transform: translateY(-10px);
}

.element-img {
    display: block;      /* Para evitar espacios blancos inline */
    width: 100%;         /* Ocupa todo el ancho del contenedor */
    height: auto;        /* Ajusta la altura según la proporción real */
    object-fit: contain; /* (Opcional) Asegura que no se recorte */
    border-bottom: 3px solid #ff0000;
}

/* --- Opcional: usar aspect-ratio en navegadores modernos */
.element-img {
    width: 100%;
    aspect-ratio: 3000 / 3750; /* ratio original de la imagen */
    object-fit: contain;
}

.element-content {
    padding: 20px;
}

.element-title {
    color: #ff0000;
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-family: 'Pirata One', system-ui;
    font-weight: 400;
}

.element-subtitle {
    color: #888;
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
}

.element-copy {
    margin-bottom: 20px;
    color: #e0e0e0;
    min-height: 80px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
}

.element-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #ff0000;
    background-color: transparent;
    color: #ff0000;
    text-decoration: none;
    font-weight: 600; /* 600 para el botón, usando Cinzel */
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
}

.element-btn:hover {
    background-color: #ff0000;
    color: #141414;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: #888;
    margin-top: 50px;
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .elements-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .logo {
        height: 60px;
    }
}