body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background: #0e0e10;
    color: #fff;
    background: #0e0e11;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background: #0e0e11;
    padding: 1rem 7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    transition: color 0.2s;
}

.nav a:hover {
    color: #ffcc00;
}

.hero {
    background: url("../images/hero-bg.webp") no-repeat center/cover;
    padding: 120px 0;
    text-align: left;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero span {
    color: #51cdf7;
    font-weight: 600;
}

.hero button {
    width: 12rem;
    background: #ffcc00;
    color: #000;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.2s;
}

.hero button:hover {
    background: #ffdb4d;
}

.btn {
    width: 12rem;
    background: #ffcc00;
    color: #000;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn:hover {
    background: #ffdb4d;
}

.btn.small {
    color: #fff;
    background: #f92b56;
    padding: 12px 0;
    font-size: 14px;
    transition: background 0.2s;
}

.btn.small:hover {
    background: #f13976;
}

.concerts {
    padding-top: 50px;
}

.concerts table {
    width: 100%;
    border-collapse: collapse;
    background: #161821;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 500;
}

.concerts tr {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.concerts caption {
    font-size: 1.2rem;
    font-weight: 700;
}

.concerts th {
    color: #9799a5;
}

.concerts th,
.concerts caption {
    background: #1c1e29;
}

.concerts caption,
.concerts th,
.concerts td {
    padding: 12px;
    text-align: left;
}

.members {
    padding-top: 120px;
    padding-bottom: 70px;
}

.members h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
}

.members-list {
    display: flex;
    gap: 50px;
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.member {
    flex: 1;
    text-align: center;
    position: relative;
}

.member img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.member p {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #151721;
    padding: 10px 0 10px 0;
    margin: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.history {
    padding: 50px 0 50px 0;
    background: linear-gradient(135deg,
            #161f26 0%,
            #161f26 40%,
            #22151c 60%,
            #22151c 100%);
}

.history .container {
    position: relative;
}

.history h2 {
    margin: 0;
}

.history img {
    position: absolute;
    right: 0;
    width: 400px;
}

.history p:nth-child(-n+2) {
    max-width: calc(100% - 400px);
}

.history p:last-child {
    margin-bottom: 0;
}

.contact {
    background: linear-gradient(135deg,
            #22151c 0%,
            #22151c 40%,
            #161f26 60%,
            #161f26 100%);
    padding-bottom: 80px;
}

.contact h2 {
    padding-top: 70px;
    margin: 0;
    text-align: center;
}

.contact p {
    text-align: center;
    margin-top: 0;
    color: #9799a5;
}

.contactWrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 2rem;
    align-items: start;
}

.contact form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 1rem;
    width: 100%;
    color: #9799a5;
}

.contact label {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.contact label:nth-of-type(3) {
    grid-column: 1 / -1;
}

.contact input {
    min-height: 30px;
}

.contact input,
.contact textarea {
    margin-top: 5px;
    padding: 5px;
    border: none;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    background: #151721;
    color: #9799a5;
}

.contact textarea {
    resize: vertical;
    min-height: 60px;
}

.contact .btn.small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 35px;
    font-size: 12px;
}

.contactLocation {
    padding: 15px;
    background: #151721;
    width: 100%;
    max-width: 100%;
    height: 250px;
    box-sizing: border-box;
}

.contactLocation h3 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 14px;
}

.contactLocation iframe {
    width: 100%;
    height: 85%;
    border: none;
}

.footer {
    background: #111;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

.footer p {
    color: #9799a5;
}

.footerWrapper {
    display: flex;
    justify-content: space-between;
}

.footerSocialList {
    display: flex;
    list-style: none;
    padding: 0;
}

.footerSocialList li:nth-child(-n + 2) {
    margin-right: 8px;
}

.footerSocialList a {
    text-decoration: none;
    color: #9799a5;
    transition: color 0.2s;
}

.footerSocialList a:hover {
    color: #fff;
}

.footerContacts {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-start;
}

.footerContacts li:nth-child(-n + 1) {
    margin-right: 8px;
}

.footerContacts a {
    text-decoration: none;
    color: #9799a5;
    transition: color 0.2s;
}

.footerContacts a:hover {
    color: #fff;
}

/* 🔹 Popup */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
}

.popup .close {
    float: right;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
}

/* 🔹 Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

.mobile-menu-btn .close-icon {
    display: none;
}

/* 🔹 Tablet adaptive */
@media (max-width: 992px) {
    .header {
        padding: 1rem 2rem;
    }

    .nav a {
        margin: 0 10px;
        font-size: 0.95rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .members-list {
        gap: 10px;
    }

    .history .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .history img {
        position: relative;
        width: 500px;
    }

    .history-content {
        max-width: calc(100% - 300px);
    }

    .history-content {
        max-width: 100%;
        padding: 0 15px;
        text-align: justify;
    }

    .history p:nth-child(-n+2),
    .history p {
        max-width: 100%;
        margin-bottom: 15px;
        line-height: 1.5;
        text-align: justify;
    }

    .history p {
        width: 100%;
    }

    .contactWrapper {
        grid-template-columns: 1fr;
    }

    .contact form {
        grid-template-columns: 1fr;
    }

    .contactLocation {
        width: 100%;
    }
}

/* 🔹 Mobile adaptive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        justify-content: space-between;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #0e0e11;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        padding: 80px 2rem 2rem;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        margin: 15px 0;
        font-size: 1.2rem;
        display: block;
        text-align: center;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .members-list {
        flex-direction: column;
        align-items: center;
    }

    .member {
        width: 100%;
        max-width: 300px;
    }

    .concerts table,
    .concerts thead,
    .concerts tbody,
    .concerts tr,
    .concerts td {
        display: block;
        width: 100%;
    }

    .concerts thead {
        display: none;
    }

    .concerts tr {
        margin-bottom: 15px;
        border-bottom: 1px solid #333;
        padding: 15px;
        background: #161821;
        box-sizing: border-box;
        text-align: center;
    }

    .concerts td {
        padding: 12px 0;
        text-align: center;
        position: relative;
        border: none;
        box-sizing: border-box;
    }

    .concerts td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #9799a5;
        font-size: 0.9rem;
        text-align: center;
    }

    .concerts td:last-child {
        padding-top: 15px;
    }

    .concerts .btn.small {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .history {
        padding: 40px 0;
    }


    .history .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .history img {
        position: relative;
        width: 100%;
        max-width: 300px;
        margin: 20px auto 0;
        display: block;
        float: none;
    }

    .history-content {
        max-width: 100%;
        padding: 0 15px;
        text-align: justify;
    }

    .history p:nth-child(-n+2),
    .history p {
        max-width: 100%;
        margin-bottom: 15px;
        line-height: 1.5;
        text-align: justify;
    }

    .contact h2 {
        padding-top: 40px;
    }

    .contactWrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .contact form {
        grid-template-columns: 1fr;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .contactLocation {
        height: 200px;
        width: 100%;
        max-width: 100%;
        padding: 15px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .footerWrapper {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footerContacts {
        justify-content: center;
    }
}

/* 🔹 Extra Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn,
    .btn.small {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    .contact input,
    .contact textarea {
        font-size: 0.9rem;
    }

    .member p {
        font-size: 0.9rem;
    }

    .contactLocation {
        height: 180px;
        padding: 10px;
    }

    .mobile-menu-btn {
        font-size: 1.8rem;
    }

    .concerts tr {
        padding: 12px;
    }

    .concerts td:before {
        font-size: 0.85rem;
    }

    .history-content {
        padding: 0 10px;
    }

    .contact form,
    .contactWrapper {
        padding: 0 10px;
    }
}

/* Additional fixes for iframe  */
@media (max-width: 320px) {
    .contactLocation {
        height: 160px;
        padding: 8px;
        margin: 0;
    }

    .contactLocation h3 {
        font-size: 12px;
    }

    .history-content {
        padding: 0 8px;
    }

    .concerts tr {
        padding: 10px;
    }
}

/* Fix for 993px size */
@media (max-width: 993px) {
    .contactLocation {
        width: 100%;
        max-width: 100%;
    }

    .history img {
        margin-top: 20px;
        width: 500px;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .history-content {
        max-width: calc(100% - 350px);
    }
}


/* Scroll to top button  */

#scrollToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 100;
    font-size: 24px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    animation: float 2.5s ease-in-out infinite;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    background-color: #1C1E29;
}


 @media screen and (max-width: 768px) {
    #scrollToTopBtn {
    width: 45px;
    height: 45px;
    right: 20px;
    }
    
 }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}