/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2 {
    font-family: 'Lato', sans-serif;
    color: #000;
}

ul {
    list-style: inside;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    height: 80px;
}

header .header-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0px;
}

header .logo img {
    max-height: 60px;
}

header .lang-switch {
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
}

header .lang-switch a {
    text-decoration: none;
    color: #fff;
    padding: 0 4px;
}

header .lang-switch a:not(:last-child)::after {
    content: " |";
    margin-left: 4px;
}

/* Hero image */
.hero-image {
    width: 100vw;
    max-width: 100%;
    height: 600px;
    background-size: cover;
    background-position: 70% 20%;
}
.hero-image-main {
    background-image: url('/hard-rock-hotel-marbella/assets/images/tribute-julio-iglesias-hrhm-02.jpg');
}
.hero-image-general {
    background-image: url('/hard-rock-hotel-marbella/assets/images/tribute-julio-iglesias-hrhm-01.jpg');
}
.hero-image-lateral {
    background-image: url('/hard-rock-hotel-marbella/assets/images/tribute-julio-iglesias-hrhm-01.jpg');
}
.hero-image-vip {
    background-image: url('/hard-rock-hotel-marbella/assets/images/tribute-julio-iglesias-hrhm-01.jpg');
}

/* Main */
main {
    line-height: 1.8;
}
main .content {
    max-width: 1140px;
    margin: 2rem auto;
    text-align: center;
}
main .content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}
main .content p {
    margin: 10px 0px;
}

main .specific {
    max-width: 1140px;
    margin: 2rem auto;
}

main .tickets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    padding: 1rem;
    max-width: 1140px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}
main .tickets-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    background-color: #fdfdfd;
}
main .tickets-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
main .tickets-item-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
}
main .tickets-item-description {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 1rem 0;
}
main .tickets-item-price {
    font-size: 1.2rem;
    color: #5c5c8a;
    margin-bottom: 0.5rem;
}
main .tickets-item-button {
    background-color: #59568f;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    background: linear-gradient(135deg, #59568f 0%, #7874c0 100%);
}
main .tickets-item-button:hover {
    background-color: #44427a;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}

main .iframe-container {
    margin: 2rem 0 0 0;
}

main .return-button {
	margin: 6px 0px 40px 0px;
}
main .return-button a {
	text-decoration: none;
	color: #888;
	border: 1px solid #b7b7b7;
	display: inline-block;
	padding: 4px 14px;
}


.tickets-map {
    display: grid;
    place-content: center;
    margin: 4rem auto;
}
.tickets-map-type {
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border-radius: 4px;
    pointer-events: none;
    height: 44px;
    display: grid;
    place-content: center;
    font-size: 1.2em;
    text-transform: uppercase;
    margin: 0px 0px 10px 0px;
    transition: all 0.4s;
}
.tickets-map-type.general-admission {
    background-color: rgba(74, 144, 226, 0.8);
}
.tickets-map-type.lateral-admission {
    background-color: rgba(245, 166, 35, 0.8);
}
.tickets-map-type.vip-front-zone {
    background-color: rgba(208, 2, 27, 0.8);
}

.tickets-map-type-mobile {
    display: none;
}

.svg-map {
    max-width: 100%;
    height: auto;
    display: block;
}
.map-zone {
    stroke-width: 2;
    cursor: pointer;
    transition: fill 0.3s;
}
.map-zone.zone-general-admission {
    fill: rgba(74, 144, 226, 0.3);
    stroke: #4A90E2;
}
.map-zone.zone-lateral-admission {
    fill: rgba(245, 166, 35, 0.3);
    stroke: #F5A623;
}
.map-zone.zone-vip-front-zone {
    fill: rgba(208, 2, 27, 0.3);
    stroke: #D0021B;
}
.map-zone:hover {
    /* fill: rgba(1, 1, 1, 0.2); */
    opacity: 0.6;
    stroke: #44427a;
    transition: 0.3s;
}


/* Footer */
footer {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2rem 1rem;
    flex-wrap: wrap;
}

.footer-block {
    flex: 1;
    text-align: center;
    padding: 1rem;
}

.footer-block img {
    max-height: 50px;
}

@media (max-width: 768px) {
    header {
        height: 60px;
    }

    header .header-container {
        padding: 4px 20px;
    }

    header .logo img {
        max-height: 50px;
    }

    header .lang-switch {
        font-size: 0.85rem;
    }

    .hero-image {
        height: 300px;
        background-position: center center;
    }

    main .content {
        padding: 0 1rem;
    }

    main .content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    main .content p {
        font-size: 1rem;
    }

    main .tickets {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .tickets-item-title {
        font-size: 1.2rem;
    }

    .tickets-item-price {
        font-size: 1rem;
    }

    .tickets-map {
        margin: 1rem 0.6rem 3rem 0.6rem;
    }
    .tickets-map-type {
        display: none;
    }
    .tickets-map-type-mobile {
        display: block;
        margin: 0px 0px 10px 12px;
    }
    .tickets-map-type-mobile > div {
        display: flex;
        align-items: center;
    }
    .tickets-map-type-mobile .general-admission:before {
        width: 12px;
        height: 12px;
        background-color: rgba(74, 144, 226, 0.8);
        content: '';
        margin: 0px 4px 0px 0px;
    }
    .tickets-map-type-mobile .lateral-admission:before {
        width: 12px;
        height: 12px;
        background-color: rgba(245, 166, 35, 0.8);
        content: '';
        margin: 0px 4px 0px 0px;
    }
    .tickets-map-type-mobile .vip-front-zone:before {
        width: 12px;
        height: 12px;
        background-color: rgba(208, 2, 27, 0.8);
        content: '';
        margin: 0px 4px 0px 0px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .footer-block {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    header .lang-switch {
        font-size: 0.8rem;
    }

    main .content h1 {
        font-size: 1.3rem;
    }

    main .content p {
        font-size: 0.95rem;
    }

    .tickets-item-title {
        font-size: 1.1rem;
    }

    .tickets-item-price {
        font-size: 0.95rem;
    }

    .footer-block img {
        max-height: 40px;
    }
}
