* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sofia Sans', sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/Fondo.jpg');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    margin-top: 0px;
    padding: 0 0px;
}

.logo img {
    max-width: 450px;
    width: 100%;
    height: auto;
}

.buttons-wrapper {
    margin-bottom: 60px;
    padding: 0 20px;
}

/* Buttons Container */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.buttons-container:last-child {
    margin-bottom: 0;
}

.btn {
    background-color: #F9C80E;
    color: #000;
    border: 1.5px solid #000;
    padding: 12px 20px;
    font-size: 20px;
    font-weight: 800;
    font-family: 'Sofia Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    min-width: 217px;
}

.btn .city {
    font-weight: 800;
    font-size: 20px;
}

.btn .date {
    font-weight: 600;
    font-size: 17px;
}

.btn-gira {
    padding: 19px 20px;
}

/* Efecto hover para botón Madrid (superior izquierda) */
.buttons-container:first-child .btn:first-child:hover {
    transform: rotate(-7deg);
}

/* Efecto hover para botón Madrid sábado (superior centro) */
.buttons-container:first-child .btn:nth-child(2):hover {
    transform: translateY(-7px);
}

/* Efecto hover para botón Barcelona (superior derecha) */
.buttons-container:first-child .btn:last-child:hover {
    transform: rotate(7deg);
}

/* Efecto hover para botón Gira 2026 (inferior) */
.btn-gira:hover {
    transform: translateY(-7px);
}

.btn-gira {
    width: 100%;
    max-width: calc(217px * 3 + 40px);
    /* 3 botones + 2 gaps de 20px */
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 60px 40px 30px;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    font-family: 'Sofia Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: white;
}

.footer-section p,
.footer-section a {
    font-size: 15px;
    line-height: 17px;
    font-weight: 400;
    color: #ccc;
    display: block;
}

.footer-section a {
    text-decoration: underline;
}

.footer-section p {
    text-decoration: none;
}

.footer-section a:hover {
    color: #F9C80E;
}

.yellow-bar {
    background-color: #F9C80E;
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: #000;
}

.footer-bottom-content a {
    color: #000;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 92vh;
        background-image: url('../img/Fondo_Mb.jpg');
        background-position: bottom center;
    }

    .hero-content {
        justify-content: space-between;
    }

    .logo {
        margin-top: 0px;
        margin-bottom: 0;
    }

    .logo img {
        max-width: 240px;
    }

    .buttons-wrapper {
        margin-bottom: 18px;
        width: 100%;
        padding: 0 20px;
    }

    .buttons-container {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .buttons-container:first-child {
        margin-bottom: 15px;
    }

    .btn {
        width: 100%;
        min-width: auto;
        padding: 16px 30px;
        font-size: 20px;
    }

    .btn .city {
        font-size: 20px;
    }

    .btn .date {
        font-size: 17px;
    }

    .btn-gira {
        max-width: 100%;
        padding: 19px 30px;
    }

    .btn-gira .gira-text,
    .btn-gira .gira-year {
        display: block;
    }

    /* Desactivar efectos hover en mobile */
    .buttons-container:first-child .btn:first-child:hover {
        transform: none;
    }

    .buttons-container:first-child .btn:nth-child(2):hover {
        transform: none;
    }

    .buttons-container:first-child .btn:last-child:hover {
        transform: none;
    }

    .btn-gira:hover {
        transform: none;
    }

    .footer {
        padding: 40px 20px 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-section {
        padding: 0 10px;
    }

    .yellow-bar {
        padding: 15px 20px;
    }

    .footer-bottom-content {
        flex-direction: row;
        gap: 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .logo {
        margin-top: 30px;
    }

    .logo img {
        max-width: 180px;
    }

    .buttons-wrapper {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .btn {
        padding: 14px 25px;
        font-size: 18px;
    }

    .btn .city {
        font-size: 20px;
    }

    .btn .date {
        font-size: 17px;
    }

    .footer {
        padding: 35px 15px 35px;
    }

    .footer-section h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 14px;
        line-height: 16px;
    }

    .footer-content {
        gap: 35px;
    }
}