.polaroid-container {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
    margin: -100px 0 60px;
}

.photo-track {
    position: absolute;
    top: 30px;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
    will-change: transform;
}

.polaroid {
    background: #dfdfdf;
    padding: 15px 15px 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    width: 280px;
}

.polaroid:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.polaroid img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    display: block;
}

.polaroid-caption {
    margin-top: 10px;
    text-align: center;
    font-family: "Oooh Baby", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7em;
    color: #333;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 0.9;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal.active {
    display: flex;
}

.modal img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

.modal-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2em;
    text-align: center;
    background: #000;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    max-width: 80%;
    font-family: "Oooh Baby", monospace;
    line-height: 1.2;
    padding: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.demo-wrapper {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
