/* GENEL AYARLAR */
body {
    background-color: #1b1b1b;
    color: #eaeaea;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#Layer_1 path {
    fill: white;
}

#logo {
    color: #eaeaea;
}

#_95-shopping path,
#_95-shopping polygon,
nav a,
#cartAmount {
    stroke: #eaeaea;
    color: #eaeaea;
}

.ham-menu span {
    background-color: white !important;
}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

footer {
    background-color: #555;
}

/* MOBILE GÖRÜNÜM (varsayılan) */
.eventContainer,
.stickyContainer {
    width: 100%;
    display: flex;
    flex-direction: column;

}

.eventContainer {
    gap: 2rem;
}

/* BANNER */
.bannerContainer img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* BİLGİ KUTUSU */
.informationContainer {
    background-color: #2c2c2c;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contentHeader {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.eventInformation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: "archivo";
}

.eventInformation p:last-child,
.rules {
    font-size: 14px;
    color: #ccc;
}

/* LINEUP & SNIFFERS */
.midSection {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* LINEUP */
.lineUp .artist {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.lineUp .artist img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #444;
}

.lineUp .artist p {
    font-size: 16px;
    font-weight: 500;
}

/* SNIFFERS */
.sniffersContainer {
    background-color: #1f1f1f;
    border-radius: 16px;
    padding: 16px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-gutter: stable;
    height: 200px;
}

.sniffer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.sniffer:last-child {
    border-bottom: none;
}

.sniffer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.sniffer p:nth-child(2) {
    flex: 1;
    font-weight: 500;
}

.sniffer p:nth-child(3) {
    color: #00ff99;
    font-weight: bold;
}

/* YORUMLAR */
.commentsContainer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comments {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1rem;
    background-color: #555;
    border-radius: 1rem;
}

.comment {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    align-items: center;
}

.comment img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.commentContent {
    background-color: #1f1f1f;
    padding: 12px 16px;
    border-radius: 12px;
    width: 100%;
}

.commentUp {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.snifferName {
    font-weight: 600;
    color: #fff;
}

.commentDown p {
    color: #999;
    font-size: 13px;
    cursor: pointer;
}

.comment-form {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.comment-form .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-form form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.comment-input {
    resize: vertical;
    min-height: 40px;
    max-height: 150px;
    padding: 8px 10px;
    font-size: 14px;
    background-color: #333;
    border: none;
    color: #eaeaea;
}

.comment-submit {
    align-self: flex-end;
    margin-top: 6px;
    padding: 6px 14px;
    background-color: #111;
    color: #fff;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.comment-submit:hover {
    background-color: #333;
}


/* STICKY BOX */
.stickyContainer {
    background-color: #2c2c2c;
    border-radius: 20px;
    padding: 20px;
    width: calc(100% - 40px);
    /* sağ/sol boşluklar için */
    margin: 0 auto;
    z-index: 50;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.stickyContainer h1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* rec and dot*/
.rec-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #eaeaea;
}

.rec-dot {
    width: 12px;
    height: 12px;
    margin-bottom: 1px;
    border-radius: 50%;
    background-color: red;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.rec-text {
    font-size: 16px;
}


#eventDate {
    color: #8aff52;
    font-weight: 600;
    margin-bottom: 8px;
}

#eventCity {
    color: #ccc;
    margin-bottom: 16px;
}

.ticket {
    background-color: #111;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    color: #eaeaea;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.leftSide {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

#buyTicket {
    background-color: var(--emph);
    border-radius: 0.3rem;
    border: none;
    padding: 16px;
}

.ticketProperty {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#ticketType {
    color: #ccc;
    font-family: "archivo";
    font-size: 12px;
}

.vertical-line {
    width: 1px;
    height: 40px;
    background-color: #555;
    border: none;
    margin: 10px 20px 10px 20px;
    align-self: flex-start;
}

/* POP UP */
/* Arka plan overlay */
#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Popup kutu içeriği */
.closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: #ddd;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.closeButton:hover {
    background-color: #555;
}

.popupContent {
    background-color: #222;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    width: 300px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    font-family: "archivo";
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Görünür hale gelince */
#popupOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

#popupOverlay.show .popupContent {
    transform: scale(1);
}

/* Başlık */
.popupContent h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Adet seçim kutusu */
.quantityControl {
    background-color: #2b2b2b;
    padding: 15px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 20px;
}

/* + ve - butonları */
.circleButton {
    background-color: #ccc;
    color: #000;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.circleButton:hover {
    background-color: #d0d0d0;
}

/* Adet metni */
#quantity {
    font-size: 1.5rem;
    color: white;
    min-width: 80px;
}

/* Kasaya Git Butonu */
#goToCheckout {
    background-color: #a4ff4f;
    color: black;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#goToCheckout:hover {
    background-color: #8ee642;
}


/* ------------------------------- */
/* MASAÜSTÜ GÖRÜNÜM (768px ve üstü) */
/* ------------------------------- */
@media (min-width: 768px) {
    main {
        flex-direction: row;
        align-items: flex-start;
    }

    .eventContainer {
        flex: 3;
    }

    .stickyContainer {
        flex: 1;
        position: sticky;
        top: 5rem;
        height: fit-content;
        width: 100%;
        /* sağ/sol boşluklar için */
        transform: none;
    }

    .midSection {
        flex-direction: row;
        gap: 40px;
    }

    .lineUp,
    .sniffersContainer {
        flex: 1;
    }
}