/* Fondo tipo corcho */
.cork-board {
    width: 100%;
    min-height: 100vh;
    background-image: url('../img/corcho.jpg');
    background-size: cover;
    padding: 20px;
}

/* Grid de fotos */
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

/* Contenedor de foto + tachuela */
.thumb-wrapper {
    position: relative;
    width: 120px;
    height: 100px;
}

/* Foto pequeña */
.thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
    transition: transform .2s;
}

.thumb:hover {
    transform: scale(1.08);
}

/* Tachuela */
.pin {
    position: absolute;
    width: 40px;   /* antes 28px */
    top: -12px;
    right: -12px;
    z-index: 10;
    pointer-events: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
/* Rotaciones para efecto de fotos pegadas */
.rotate-1 {
    transform: rotate(-4deg);
}

.rotate-2 {
    transform: rotate(3deg);
}

.rotate-3 {
    transform: rotate(-2deg);
}

.rotate-4 {
    transform: rotate(5deg);
}

.rotate-5 {
    transform: rotate(-6deg);
}
