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

html {
    font-size: 16px;
}

html, body {
    font-family: "Lato", sans-serif;
}

body {
    padding-top: 0.01rem;
}

.heading {
    text-align: center;
}
.heading h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2vh;
}
.heading p {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    font-style: italic;
    color: #4b4a4a;
    margin-bottom: 1.5vh;
}

.heading--white {
    color: #fff;
}
.heading--white p {
    color: #fff;
}

.spacing {
    padding: 8vh 5vw;
}

/* HEADER */
header {
    background-color: #23c5a4;
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: auto;
    min-height: 3.5rem;
}
header ul {
    margin: 0;
}
.nav__item {
    z-index: 999;
}
header>nav>ul>li {
    list-style: none;
}
header>nav>ul>li:hover {
    background-color: #ccc;
}
header>nav>ul>li:hover a {
    color: #000;
}
header>nav>ul>li:hover i {
    color: #000;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
}

header nav>ul a {
    text-decoration: none;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
    display: block;
    color: #fff;
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    text-transform: uppercase;
}
header nav>ul a:hover {
    background-color: #ccc;
}

.header__search>i {
    color: #fff;
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
    cursor: pointer;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header__search>i:hover {
    background-color: #be0404;
}

/* SEARCH BOX */
.search-box {
    position: absolute;
    right: 0;
    top: 0.75rem;
    background-color: #fff;
    border-radius: 0.3rem;
    padding: clamp(0.5rem, 1vw, 0.8rem);
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    width: clamp(150px, 25vw, 250px);
    box-shadow: 0 0.25rem 0.9rem rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.search-box.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}

.search-box input {
    border: 1px solid #ccc;
    padding: 0.5rem 0.6rem;
    border-radius: 0.2rem;
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    outline: none;
}

.search-box input:focus {
    border-color: #23c5a4;
    box-shadow: 0 0 0.3rem rgba(35, 197, 164, 0.3);
}

.word-counter {
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    color: #666;
    align-self: flex-end;
}

.suggestions {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    max-height: 6rem;
    overflow-y: auto;
    display: none;
}

.suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 0.5rem 0.6rem;
    cursor: pointer;
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    color: #333;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #e8f5f0;
}

.search-result-message {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    color: #e74c3c;
    text-align: center;
    display: none;
    padding: 0.3rem;
}

.search-result-message.active {
    display: block;
}

.nav__more {
    display: flex;
    position: relative;
    align-items: center;
}

.nav__more .nav__item {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    width: 150%;
    opacity: 0;
}
.nav__more:hover .nav__item{
    opacity: 1;
}

.nav__more>a {
    padding-right: 0.3rem;
}

.nav__more>i {
    color: #fff;
    padding-right: clamp(1rem, 2vw, 1.5rem);
}

.nav__more .nav__item a {
    color: #000;
    text-transform: capitalize;
    display: block;
    padding: 0.6rem 0.3rem;
}

/* CAROUSEL */
.carouselTheBand {
    margin-top: -1.5rem;
}

.carouselTheBand .carousel-item {
    height: clamp(400px, 105vh, 900px);
}

/* SERVICE */
.band__content {
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
}

.band__content>p {
    text-align: justify;
    line-height: 1.6rem;
    word-spacing: 0.1rem;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}
.band__member {
    display: flex;
    justify-content: space-around;
    margin-top: 5vh;
    flex-wrap: wrap;
    gap: 2rem;
}

.band__item {
    width: clamp(150px, 25vw, 220px);
}
.band__item h5 {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    padding-bottom: 1.5vh;
    text-align: center;
}
.band__item img {
    width: 100%;
    height: auto;
}

/* REVIEW */
.tourDate {
    background-color: #23c5a4;
}
.tour__content {
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
}
.tour__date {
    background-color: #fff;
    margin: 2vh 0;
}
.tour__date ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tour__date ul li {
    display: flex;
    border-bottom: 1px solid #ddd;
}
.tour__date li p {
    opacity: 0.6;
    margin: 1rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
}
.tour__date li .tour__dateSale {
    opacity: 1;
    background-color: #e92a2a;
    color: #fff;
    padding: 0 0.4rem;
    border-radius: 0.2rem;
}
.tour__date li .tour__dateThree {
    opacity: 1;
    margin-left: auto;
    margin-right: 2rem;
    background-color: #000;
    padding: 0.1rem 0.6rem;
    color: #fff;
    border-radius: 50%;
}

.tour__tickets {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.tour__item {
    background-color: #fff;
    width: calc(33.333% - 1rem);
    min-width: 250px;
    flex: 1 1 calc(33.333% - 1rem);
}
.tour__item img {
    width: 100%;
    height: auto;
}

.tour__item h6 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    padding: 1.5rem 0.75rem;
    margin: 0;
}
.tour__item p {
    margin: 0;
    font-size: clamp(0.85rem, 2vw, 1rem);
}
.tour__item p:first-of-type {
    opacity: 0.6;
    padding: 0 0 1.5rem 0.75rem;
}
.tour__item p:last-of-type {
    padding-left: 0.75rem;
    line-height: 1.5rem;
}
.tour__item button {
    padding: clamp(0.6rem, 1vw, 0.8rem) clamp(1rem, 2vw, 1.5rem);
    margin: 1rem 0.75rem;
    border: none;
    background-color: #000;
    color: #fff;
    font-size: clamp(0.85rem, 2vw, 1rem);
    cursor: pointer;
}
.tour__item button:hover {
    background-color: #ccc;
    color: #000;
}

/* CONTACT */
.contact__content {
    display: flex;
    justify-content: space-between;
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
    margin-top: 4vh;
    gap: 2rem;
    flex-wrap: wrap;
}
.contact_left .contact__item {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
}
.contact_left .contact__item p {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    margin: 0;
    margin-left: 1rem;
}
.contact__left .contact__item {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
}
.contact__left .contact__item p {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    margin: 0;
    margin-left: 1rem;
}
.contact__right .contact__input {
    display: flex;
    margin-bottom: 1rem;
    gap: 1rem;
}
.contact__right input {
    padding: 0.75rem;
    border: 1px solid #ccc;
    width: 100%;
    font-size: clamp(0.85rem, 2vw, 1rem);
    border-radius: 0.3rem;
}
.contact__input input:first-of-type {
    margin-right: 0;
}
.contact__right button {
    float: right;
    margin-top: 1rem;
    padding: clamp(0.6rem, 1vw, 0.8rem) clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    border: none;
    background-color: #000;
    color: #fff;
    border-radius: 0.3rem;
    cursor: pointer;
}
.contact__right button:hover {
    background-color: #ccc;
    color: #000;
}

.message-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.message-input-wrapper input {
    padding: 0.75rem;
    border: 1px solid #ccc;
    width: 100%;
    padding-bottom: 2rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
    border-radius: 0.3rem;
}

.message-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    color: #666;
}

/* IMAGE */
#cover {
width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
    filter: grayscale(50%);
    margin: 8vh 0;
}

/* FOOTER */
footer {
    color: #A0A0A0;
    text-align: center;
    margin-bottom: 8vh;
}
footer .footer__icon {
    width: 100%;
    font-size: clamp(1rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
}
footer p {
    font-size: clamp(0.85rem, 2vw, 1rem);
}
footer p a {
    color: #A0A0A0;
}

/* MODAL OVERLAY */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background-color: #fff;
    border-radius: 1rem;
    padding: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    box-shadow: 0 0.6rem 2.5rem rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    width: clamp(250px, 80vw, 450px);
    position: relative;
    animation: modalSlideIn 0.5s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content {
    margin-bottom: 2rem;
}

.modal-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
    font-weight: bold;
    color: #23c5a4;
    margin-bottom: 0.75rem;
}

.modal-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.arrow-container {
    position: relative;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.arrow {
    width: clamp(1.5rem, 3vw, 2rem);
    height: clamp(1.5rem, 3vw, 2rem);
    border: solid #23c5a4;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(0.5rem);
    }
}

.modal-confirm-btn {
    background-color: #23c5a4;
    color: #fff;
    border: none;
    padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 1.5rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-confirm-btn:hover {
    background-color: #1aa885;
    transform: scale(1.05);
}

.modal-confirm-btn:active {
    transform: scale(0.98);
}

/* HIGHLIGHT EFFECT */
.search-highlight {
    background-color: #FFD700;
    padding: 0.15rem 0.25rem;
    border-radius: 0.2rem;
    animation: highlightPulse 0.6s ease-in-out;
}

@keyframes highlightPulse {
    0% {
        background-color: #FFD700;
        box-shadow: 0 0 0.6rem rgba(255, 215, 0, 0.8);
    }
    50% {
        box-shadow: 0 0 1.25rem rgba(255, 215, 0, 1);
    }
    100% {
        background-color: #FFD700;
        box-shadow: 0 0 0.3rem rgba(255, 215, 0, 0.5);
    }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
    .tour__tickets {
        flex-direction: column;
    }
    
    .tour__item {
        width: 100%;
        min-width: unset;
    }
    
    .contact__content {
        flex-direction: column;
    }
    
    .contact__right {
        width: 100%;
    }
    
    header nav ul {
        flex-wrap: wrap;
    }
    
    .band__member {
        flex-direction: column;
        align-items: center;
    }
    
    .band__item {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    header nav>ul a {
        padding: 0.6rem 0.8rem;
    }
    
    .spacing {
        padding: 5vh 3vw;
    }
    
    .search-box {
        width: 90vw;
        right: 50%;
        transform: translateX(50%);
    }
    
    .search-box.active {
        transform: translateX(50%);
    }
}