/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.background {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Hotspots */
.hotspot {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.hotspot.pc-area {
    top: 50%;
    left: 66%;
    width: 12%;
    height: 20%;
}

.hotspot.bookshelf-area {
    top: 10%;
    right: 0%;
    width: 8%;
    height: 100%;
}

.hotspot.posters-area {
    top: 15%;
    right: 35%;
    width: 10%;
    height: 30%;
}

.hotspot.certificates-area {
    top: 10%;
    right: 18%;
    width: 10%;
    height: 30%;
}

/* Hover effects */
.hotspot:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Preview Text Hover */
.hotspot::after {
    content: attr(data-hover);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hotspot:hover::after {
    opacity: 1;
}

/* Socials Button */
.socials-button {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 2s ease-in 1s forwards;
    z-index: 2;
}

/* Portrait mode adjustments */
@media (orientation: portrait) {
    .background-image {
        object-fit: contain;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .hotspot.pc-area {
        left: 50%;
        width: 20%;
    }
    .hotspot.bookshelf-area {
        width: 16%;
    }
    .hotspot.posters-area {
        width: 18%;
    }
    .hotspot.certificates-area {
        width: 18%;
    }
    .socials-button {
        font-size: 14px;
        padding: 8px 16px;
    }
}
