{% extends 'base.html.twig' %}
{% block title %}{% endblock %}
{% block body %}
<style>
.hero {
height: 50vh;
background: url('/images/test.png') no-repeat center center/cover;
display: flex;
align-items: center;
justify-content: center;
position: relative;
text-align: center;
color: white;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}
.hero-content {
position: relative;
z-index: 2;
}
.hero-content h1 {
font-size: 4rem;
font-weight: 600;
margin-bottom: 20px;
text-shadow: 2px 2px 5px #000;
}
.hero-content p {
font-size: 1.5rem;
margin-bottom: 30px;
text-shadow: 1px 1px 3px #000;
}
.hero-content .btn {
margin: 10px;
padding: 15px 30px;
font-size: 1.2rem;
background-color: #e50914;
color: white;
border: none;
transition: transform 0.3s ease, background-color 0.3s ease;
}
.hero-content .btn:hover {
background-color: #c10812;
transform: scale(1.05);
}
.section-title {
font-weight: 600;
margin-bottom: 0px;
color: #e50914;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}
.carousel-item img {
object-fit: cover;
height: 400px;
}
.popup-img {
cursor: pointer;
}
.carousel-indicators button {
background-color: #f8f9fa;
width: 20px;
height: 20px;
}
.carousel-indicators .active {
background-color: #dc3545!important; /* Un tono más claro para destacar */
}
.carousel-indicators {
/* Un tono más claro para destacar */
}
.b-r {
border: 1px solid #dc3545!important;
background-color: #f8f9fa !important;
border-radius: 100px;
}
</style>
<!-- Estilos -->
<style>
/* Estilo para las tarjetas (hover zoom) */
.hover-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
transform: scale(1.05);
box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}
/* Estilo adicional para las imágenes redondeadas en la tarjeta */
.card-img-top {
border-radius: 8px 8px 0 0;
}
</style>
<!-- Estilos -->
<style>
#events h3 {
font-weight: bold;
font-size: 1.75rem;
}
#events p {
line-height: 1.8;
font-size: 1rem;
color: #555;
}
/* Ajustes de imágenes */
#events img {
height: auto;
max-height: 50vh;
object-fit: cover;
}
/* Control hover para flechas del carrusel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
/*background-color: rgba(0, 0, 0, 0.5);*/
filter: invert(1);
border-radius: 50%;
width: 50px;
height: 50px;
}
.carousel-control-next,
.carousel-control-prev{
opacity: 0.2;
background: lightgrey;
}
.carousel-control-next:hover,
.carousel-control-prev:hover{
opacity: 0.3;
background: lightgrey;
}
.carousel-control-next:focus,
.carousel-control-prev:focus{
opacity: 0.3;
background: lightgrey;
}
/* Ajustes responsivos */
@media (max-width: 768px) {
.hero h1{
font-size:2.5rem;
}
#events img {
max-height: 250px;
}
#events h3 {
font-size: 1.5rem;
}
#events p {
font-size: 0.9rem;
}
.carousel-control-next,
.carousel-control-prev{
display:none;
}
}
.stiky-container{
height:50vh;
}
</style>
<!-- Estilos para centrar el contenido -->
<style>
.event-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 300px; /* Ajusta este valor según el alto deseado */
}
</style>
<body>
<!-- Header -->
{{ render(controller('App\\Controller\\HeaderController::index')) }}
<!-- Hero Section -->
<section id="hero" class="py-3" style="min-height: 50vh; background-color: #fff;">
<div class="container">
<div class="hero rounded">
<div class="hero-overlay rounded"></div>
<div class="hero-content text-white">
<h1>Bienvenido a TCGBUNKER</h1>
<p>Donde cada deck es único</p>
<div>
<button class="btn" onclick="window.location.href='/order'">Ver Decks</button>
</div>
</div>
</div>
</div>
</section>
<section id="best-dishes" class="py-3" style="background-color: #fff;" >
<div class="container h-100 d-flex flex-column justify-content-center">
{{ render(controller('App\\Controller\\Blocks\\BestProductsController::index')) }}
</div>
</div>
</section>
<section class="py-3" style="background-color: #fff;">
<div class="container">
<div class="row align-items-center">
<!-- Column 1: Imagen -->
<div class="col-md-7 mb-4 mb-md-0 " >
<img src="/images/b6v8unpgk1b91.jpg" alt="Imagen de vendedor" class="img-fluid rounded w-100" style="max-height: 450px" />
</div>
<!-- Column 2: Texto y Botón -->
<div class="col-md-5 text-center text-md-start">
<h1 class="h1 mb-4 text-center fw-bolder section-title">Conviértete en Vendedor</h1>
<button type="button" class="btn btn-primary w-100" onclick="window.location.href = '/contact'">Contactanos</button>
</div>
</div>
</div>
</section>
<section id="best" class="py-3" style="background-color: #fff;" >
<div class="container h-100 d-flex flex-column justify-content-center">
{{ render(controller('App\\Controller\\Blocks\\CategoryViewController::index')) }}
</div>
</div>
</section>
</body>
{% endblock %}