* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin: 20px 0;
}

.stage-container {
    text-align: center;
    margin-bottom: 40px;
}

.stage {
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, #7952b3, #613d9a);
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stage-image-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.stage-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.stage-image-container:hover img {
    transform: scale(1.02);
}

.seating-plan {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.block {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: block;
    width: 100%;
    overflow-x: auto;
    transition: all 0.3s ease;
}

.block:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.block h3 {
    margin-bottom: 15px;
    color: #333;
    position: sticky;
    left: 0;
    font-weight: 600;
}

#block-a .seats,
#block-b .seats,
#block-c .seats,
#block-d .seats,
#block-e .seats,
#block-f .seats,
#block-g .seats {
    display: grid;
    gap: 2px;
    padding: 4px;
    min-width: max-content;
    justify-content: center;
}

#block-a .seats { grid-template-columns: repeat(18, 14px); }
#block-b .seats { grid-template-columns: repeat(32, 14px); }
#block-c .seats { grid-template-columns: repeat(34, 14px); }
#block-d .seats { grid-template-columns: repeat(34, 14px); }
#block-e .seats { grid-template-columns: repeat(34, 14px); }
#block-f .seats { grid-template-columns: repeat(32, 14px); }
#block-g .seats { grid-template-columns: repeat(18, 14px); }

.seat {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.seat::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.seat:hover::after {
    visibility: visible;
    opacity: 1;
    bottom: calc(100% + 5px);
}

.seat.available {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
}

.seat.selected {
    background-color: #7952b3;
    border-color: #613d9a;
}

.seat.occupied {
    background-color: #94a3b8 !important;
    border-color: #64748b !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.seat:hover:not(.occupied) {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.seat.dummy {
    pointer-events: none;
}

.price-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f8fafc;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
}

.price-item::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background-color: currentColor;
}

#selected-seats-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

#selected-seats-list::-webkit-scrollbar {
    width: 6px;
}

#selected-seats-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#selected-seats-list::-webkit-scrollbar-thumb {
    background: #7952b3;
    border-radius: 3px;
}

#selected-seats-list div {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#selected-seats-list div:last-child {
    border-bottom: none;
}

.total-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 20px 0;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 8px;
    text-align: center;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #45a049;
}

/* Responsive tasarım için medya sorguları */
@media (max-width: 768px) {
    .seating-plan {
        gap: 15px;
    }
    
    .block {
        padding: 15px;
    }
    
    .price-categories {
        gap: 10px;
        padding: 15px;
    }
    
    .price-item {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .stage {
        height: 100px;
    }
    
    .block {
        padding: 10px;
    }
    
    .price-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .price-item {
        justify-content: center;
    }
} 