/* ====================== General Styles ====================== */
.body {
    background-color: black;
}

.nav_logo {
    width: 2vw;
}

.navbar {
    background-color: black;
}

.nav-link {
    color: white !important;
}

.logo_image {
    display: flex;
    margin: auto;
}

/* ====================== Horizontal Rule ====================== */
.white-hr {
    width: 50%;
    margin: 0 auto;
    border-top: 1px solid white;
}

/* ====================== Gallery Layout ====================== */
.row {
    margin-top: 2vh !important;
}

.col-md-3 {
    margin-bottom: 2vh !important;
}

/* ====================== Modal Styles ====================== */
.modal-body {
    padding: 0 !important;
    margin: 0 !important;
}

/* ====================== Email / Buttons Styles ====================== */
.email_container {
    text-align: center;
}

/* Stile uniforme per EMAIL, COVERS e SHOOTING */
.email_container .email,
.email_container .coversbtn,
.email_container .shootingbtn {
    color: white !important;
    font-size: 0.6vw;
    font-weight: bold;
    cursor: pointer;
}

/* Stile testo email / instagram */
.email_text,
.instagram_text {
    color: white !important;
    font-size: 0.6vw;
    font-weight: bold;
}

/* ====================== Mobile Responsiveness ====================== */
@media only screen and (max-width: 600px) {
    .email_container .email,
    .email_container .coversbtn,
    .email_container .shootingbtn {
        font-size: 4vw; /* dimensione uniforme su mobile */
    }
}

/* ====================== 3D Modal for Covers ====================== */
#coverModal .modal-body img {
    backface-visibility: hidden;   /* nasconde il retro durante la rotazione */
    transform-style: preserve-3d;  /* mantiene l’effetto 3D corretto */
    cursor: grab;                   /* indica che si può muovere */
}

#coverModal .modal-content {
    background: transparent;        /* rimuove il bianco della modal */
}

/* ====================== Shooting Modal Styles ====================== */
#shootingModal .modal-body img {
    width: 100%;
    height: auto;
}

/* ====================== 3D Effect Modal ====================== */
#modalImage {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

#modalImage:hover {
    box-shadow: 0 25px 40px rgba(0,0,0,0.6);
}

#modalImage {
    backface-visibility: hidden;
}

/* ====================== Intro Overlay ====================== */
#logo-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* sopra tutto */
}

#intro-logo {
    width: 100vw;
    height: auto;
    animation: shrinkAndFade 2s ease forwards;
    animation-delay: 0.5s;
}

@keyframes shrinkAndFade {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    70% {
        transform: scale(0.3);
        opacity: 1;
    }
    100% {
        transform: scale(0.3);
        opacity: 0;
    }
}

/* ====================== Modal Body Perspective ====================== */
.modal-body {
    perspective: 1000px; /* profondità 3D */
    display: flex;
    justify-content: center;
    align-items: center;
}
