@import url('normalize.css');

.halls-section {
    padding: 100px 0;
    background-color: #f7f8fa;
    /* Light gray background */
    color: #333;
    font-family: 'Manrope', sans-serif;
    /* overflow: hidden; REMOVED to allow scrolling */
}

.halls-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Left Column: Info */
.halls-info {
    flex: 0 0 35%;
    max-width: 35%;
}

.halls-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-transform: none;
    line-height: 1.2;
}

.halls-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.halls-tab-btn {
    padding: 14px 28px;
    background-color: #e0e0e0;
    /* Light gray */
    border: 1px solid #e0e0e0;
    color: #444;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    border-radius: 0;
    /* No rounded corners */
    letter-spacing: 0.5px;
}

.halls-tab-btn:hover {
    background-color: #d0d0d0;
    border-color: #d0d0d0;
    color: #000;
}

.halls-tab-btn.active {
    background-color: #222;
    border-color: #222;
    color: #fff;
}

.halls-subtitle {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.3;
}

.halls-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.halls-slider-wrapper {
    flex: 1;
    position: relative;
    height: 750px;
    background: transparent;
    /* No bg */
    overflow: hidden;
    perspective: 1500px;
    /* For 3D feel */
}

.halls-slider-image {
    position: absolute;
    /* Centered with room for shadows and rotation */
    top: 10%;
    left: 12.5%;
    /* (100% - 75%) / 2 */
    width: 75%;
    height: 80%;
    object-fit: cover;

    transform-origin: 100% 100%;
    /* Pivot bottom-right */

    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.2);
    will-change: transform, opacity;
}

/* Special style for floor plan images */
.halls-slider-image.floor-plan {
    object-fit: contain;
    background-color: #fff;
    padding: 20px;
}

/* 1. Main Active Image */
.halls-slider-image.active {
    z-index: 10;
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
    filter: brightness(1);
}

/* 2. Next Image (Peeking Stack) */
.halls-slider-image.next {
    z-index: 5;
    /* Rotate nicely to peek from bottom right */
    transform: translate(40px, 20px) rotate(4deg);
    opacity: 1;
    filter: brightness(0.9);
}

/* 3. Image animating OUT (Going away) */
.halls-slider-image.leaving {
    z-index: 12;
    transform: translate(-100%, 0) rotate(-10deg);
    opacity: 0;
}

/* 4. Image Entering (Coming into Next position) */
.halls-slider-image.entering {
    z-index: 1;
    transform: translate(50px, 50px) rotate(10deg);
    opacity: 0;
}

/* Navigation Buttons */
.halls-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #333;
    /* Dark Grey */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    /* Higher than images */
    transition: all 0.3s ease;
    border-radius: 0;
    /* No rounded corners */
    color: #fff;
    /* White Icon */
}

.halls-nav-btn:hover {
    background-color: #000;
}

.halls-nav-btn.prev {
    left: 20px;
}

.halls-nav-btn.next {
    right: 20px;
}

.halls-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Responsive */
@media (max-width: 1200px) {
    .halls-container {
        gap: 50px;
    }

    .halls-slider-wrapper {
        height: 700px;
    }
}

@media (max-width: 1024px) {
    .halls-container {
        flex-direction: column;
        padding: 0 30px;
        align-items: flex-start;
        gap: 40px;
    }

    .halls-info {
        flex: 0 0 auto;
        max-width: 100%;
        margin-bottom: 0;
    }

    .halls-slider-wrapper {
        width: 100%;
        height: 550px;
        position: relative;
    }

    .halls-slider-image {
        top: 5%;
        left: 5%;
        width: 90%;
        height: 90%;
    }

    .halls-nav-btn {
        width: 50px;
        height: 50px;
    }

    .halls-nav-btn.prev {
        left: 10px;
    }

    .halls-nav-btn.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .halls-slider-wrapper {
        height: 500px;
    }

    .halls-slider-image {
        top: 5%;
        left: 7.5%;
        width: 85%;
        height: 87%;
    }
}

@media (max-width: 600px) {
    .halls-section {
        padding: 60px 0;
    }

    .halls-container {
        padding: 0 20px;
        gap: 30px;
    }

    .halls-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .halls-subtitle {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .halls-description {
        font-size: 16px;
    }

    .halls-tabs {
        gap: 10px;
        margin-bottom: 30px;
    }

    .halls-tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .halls-slider-wrapper {
        height: 400px;
        min-height: 400px;
    }

    .halls-slider-image {
        top: 5%;
        left: 5%;
        width: 90%;
        height: 85%;
    }

    .halls-nav-btn {
        width: 44px;
        height: 44px;
    }

    .halls-nav-btn.prev {
        left: 5px;
    }

    .halls-nav-btn.next {
        right: 5px;
    }

    .halls-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}