/*
Theme Name: CityCenter
Theme URI: https://www.citycenter.it/
Author: CityCenter
Author URI: https://www.citycenter.it/
Description: Tema WordPress bianco basato su UIkit, ACF, WooCommerce e WPML.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: citycenter
*/


  .gallery-cell {
    width: 25%; /* default 4 colonne */
    padding-right: 10px;
    height: 350px; /* altezza fissa per tutte le celle */
    overflow: hidden;
}

.gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* riempie la cella senza deformare */
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .gallery-cell { width: 33.33% !important; }
}
@media (max-width: 768px) {
    .gallery-cell { width: 50% !important; }
}
@media (max-width: 480px) {
    .gallery-cell { width: 100% !important; }
}
        /* Responsive come prima */
@media (max-width: 768px) { .testimonial-cell { width: 50%; } }
@media (max-width: 480px) { .testimonial-cell { width: 100% !important; } }
@keyframes wave {
    0%,to {
        transform: translateX(0) translateY(0)
    }

    50% {
        transform: translateX(20px) translateY(10px)
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(.8)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes pulse {
    0%,to {
        opacity: 1
    }

    50% {
        opacity: .6
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes shine {
    to {
        left: 100%
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

.page-header {
    display: none
}

.header::before {
    content: "";
    position: absolute;
    width: 130%;
    top: 0;
    left: -20px;
    right: 0;
    bottom: 0;
    background-size: cover;
    animation: wave 15s ease-in-out infinite
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.profile-section {
    position: relative;
    margin-top: -80px;
    padding-bottom: 60px;
    animation: fadeInUp .8s ease-out .2s both
}

.collab-list li,.profile-card {
    transition: all .4s cubic-bezier(.4,0,.2,1)
}


.profile-card img {
    border-radius: 16px!important
}

.profile-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    transition: transform .4s ease
}

.profile-image-wrapper:hover .profile-image {
    transform: scale(1.03)
}

.profile-content {
    animation: fadeInRight .8s ease-out .6s both
}

.section-title::before {
    content: "";
    width: 4px;
    height: 24px;
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite
}

.collab-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 12px
}

.collab-list li:hover::before {
    transform: translateX(0)
}

.contact-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    animation: rotate 20s linear infinite
}

.contact-card:hover {
    transform: scale(1.02)
}

.contact-info,.social-link {
    margin-top: 20px;
    position: relative;
    z-index: 1
}

.contact-info {
    display: grid;
    gap: 12px
}

.contact-info p:hover {
    transform: translateX(5px)
}

.contact-info i {
    width: 20px
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,.2)
}

.video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
}

.video-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    animation: fadeInUp .8s ease-out
}


.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    transition: all .4s ease;
    animation: fadeInUp .8s ease-out .2s both
}

.video-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(96,119,170,.25)
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0
}

.collab-list li,footer,footer p {
    position: relative
}

.collab-list li, .contact-card{
    box-shadow: 0 16px 50px rgba(96,119,170,.25)
}

footer p {
    margin-bottom: 8px;
    z-index: 1
}

.contactmobile,.contattami {
    display: none
}

@media (max-width:768px) {
    .contactdesktop {
        display: none
    }


    .contactmobile,.contattami {
        display: block
    }

    .profile-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px
    }

    .profile-image-wrapper {
        max-width: 250px;
        margin: 0 auto
    }

    .profile-content h1 {
        font-size: 2rem
    }

    .collab-list {
        grid-template-columns: 1fr
    }

    .header {
        padding: 60px 20px 100px
    }

    .header h1 {
        font-size: 2.2rem
    }
}

html {
    scroll-behavior: smooth
}


.footer-v1 .container {
    max-width: 1200px;
    margin: 0 auto
}

.footer-v1 .top-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 10px;
    align-items: start
}

.footer-v1 .brand h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: left!important
}

.footer-v1 .links {
    display: flex;
    gap: 24px;
    margin-bottom: 20px
}

.footer-v1 .links a:hover::after {
    width: 100%
}

.footer-v1 .green-hosting {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px
}

.footer-v1 .bottom-section {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.2);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-v1 #wcb {
    opacity: .9
}


@media (max-width:768px) {
    .footer-v1 .top-section {
        grid-template-columns: 1fr;
        gap: 0
    }

    .footer-v1 {
        padding: 0!important
    }

    .footer-v1 .green-hosting {
        align-items: flex-start
    }

    .footer-v1 .bottom-section {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start
    }
}


.profile-gallery {
    padding-top: 50px
}

.profile-testimonials {
    padding-top: 80px
}
