/* ================================================
   GALLERIES-SCROLL-2COLONNE.CSS - 2 Column Layout
   ================================================ */

/* Basic Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background: #FFFFFF;
    overflow: auto;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

.vh {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}


/* ================================================
   HEADER - Fixed top
   ================================================ */
 header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 30px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-holder img {
    height: 50px;
    width: auto;
}

.nav-holder nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-holder nav ul li a {
    text-decoration: none;
    color: #888;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-holder nav ul li a.act-link {
    padding: 8px 12px;
    margin: -8px -12px;
}

.nav-holder nav ul li a.act-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d0d0d0;
    transition: all 160ms linear;
    z-index: -1;
}

.nav-holder nav ul li a:hover {
    color: #000;
}

.nav-holder nav ul li a.act-link:hover {
    color: #ccc;
}

.nav-holder nav ul li a.act-link:hover:before {
    height: 0;
}

/* ================================================
   HAMBURGER MENU (MOBILE)
   ================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 35px;
    height: 5px;
    background: #666;
    margin: 3px 0;
    transition: 0.2s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-9px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -6px);
}

/* ================================================
   GALLERY CONTAINER - 2 COLUMNS
   ================================================ */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 80px 40px;
    column-count: 2;
    column-gap: 30px;
}

/* ================================================
   GALLERY ITEMS
   ================================================ */
.gallery-item {
    break-inside: avoid;
    margin-bottom: 30px;
    display: inline-block;
    width: 100%;
}

.gallery-item:last-child {
    margin-bottom: 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ================================================
   VIDEO
   ================================================ */
.video-wrapper {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.video-wrapper a {
    display: block;
    position: relative;
}

.video-poster {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.video-wrapper:hover .play-overlay {
    background: rgba(0, 0, 0, 0.05);
}

.play-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.video-wrapper:hover .play-circle {
    transform: scale(1.1);
}

.play-circle i {
    font-size: 32px;
    color: #333;
    margin-left: 5px;
}

/* ================================================
   NAVIGATION SECTION (PREV | BLOG | NEXT)
   ================================================ */
.gallery-navigation {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px 100px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.blog-link {
    text-align: center;
    flex: 0 0 auto;
}

.blog-link a {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #aaa;
    transition: color 0.3s ease;
}

.blog-link a:hover {
    color: #000;
}

.nav-arrow-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 0;
    transition: opacity 0.3s ease;
    color: #888;
}

.nav-arrow-btn:hover {
    color: #222;
}

.nav-arrow-btn:hover svg {
    stroke: #222;
}

.nav-arrow-btn svg {
    stroke: #888;
    transition: stroke 0.3s ease;
}

/* Frecce – dimensione personalizzata */
.nav-arrow-btn svg {
    width: 90px;   /* lunghezza freccia */
    height: 90px;   /* altezza icona */
}


.nav-arrow-btn .nav-label {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* ================================================
   FOOTER - Fixed bottom
   ================================================ */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    padding: 22px 40px;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 10px;
    color: #aaa;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */
@media (max-width: 940px) {
    
    header {
    background: transparent;  /* Header trasparente */
}

.logo-holder {
    display: none;  /* Logo nascosto */
}
   
   .header-inner {
    justify-content: flex-end;  /* Forza hamburger a destra */
}
 
    .hamburger {
        display: flex;
    }
    
    .nav-holder {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }
    
    .nav-holder.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-holder nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-holder nav ul li a {
        font-size: 16px;
    }

    .nav-holder nav ul li a:hover {
        color: #000;
    }
    
    .gallery-container {
        column-count: 1;
        padding: 100px 20px 0px 20px;
    }
    
    .gallery-item {
        margin-bottom: 40px;
    }
    
    .gallery-navigation {
        padding: 0px 20px 120px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
    }
    
    .blog-link {
        grid-column: 1 / -1;
        order: 1;  /* Prima */
    }
    
    .nav-arrow-btn.nav-prev {
        grid-column: 1;
        justify-self: start;
        order: 2;  /* Dopo */
    }
    
    .nav-arrow-btn.nav-next {
        grid-column: 2;
        justify-self: end;
        order: 2;  /* Dopo */
    }
    
    footer {
        padding: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .gallery-container {
        padding: 90px 15px 0px 15px;
    }
    
    .gallery-item {
        margin-bottom: 35px;
    }
    
    .gallery-navigation {
        padding: 0px 15px 120px 15px;
    }
}
