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

@font-face {
    font-family:"silk-semi";
    src:url("../fonts/Silk_Serif_SemiBold.otf") format("opentype");
}

@font-face {
    font-family:"silk-reg";
    src:url("../fonts/Silk_Serif_Medium.otf") format("opentype");
}

@font-face {
    font-family:"silk-lig";
    src:url("../fonts/Silk_Serif_Light.otf") format("opentype");
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #ffffff;
}

html {
    overflow-x: clip;
}

/* CLASSI COMUNI */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 6.5rem 2rem;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 5rem;
    color: #333;
    margin-bottom: 4rem;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'Times New Roman', serif;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #333;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #555;
    transform: translateY(-3px);
}

.btn-light {
    background-color: whitesmoke;
    color: #333333;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.btn-light:hover {
    background-color: #555;
    color: #ffffff;
}

.overlay-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    padding: 0;
    font-family: silk-semi, sans-serif !important;
    font-weight: normal;
    color: #333;
    z-index: 10;
    white-space: nowrap;
}
.date-overlay {
    top: -1rem;
    font-size: 8rem;
    font-weight: normal;
    font-family: 'silk-reg', serif !important;
}
/* NAVBAR */
.navbar {
    position: relative;
    top: 0;
    width: 100%;
    background-color: #ffffff;

    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1000;
}

.nav-logo a {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.7;
}

.nav-name {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    font-family: Arial, sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
}

.nav-menu-left {
    justify-content: flex-start;
    font-size: 1rem;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
}

.nav-menu-right {
    justify-content: flex-end;
    font-size: 1rem;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #666;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* NAVBAR - RESPONSIVE */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .nav-container {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu-left,
    .nav-menu-right {
        position: fixed;
        right: -100%;
    }

    .nav-name {
        display: none;
    }

    .nav-center {
        position: static;
        transform: none;
    }

    .burger-menu {
        display: flex;
    }

    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        transition: transform 0.4s ease;
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        transition: transform 0.4s ease;
    }
}

/* NAV OVERLAY MOBILE */
.nav-overlay {
    display: flex;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.nav-overlay.active {
    pointer-events: all;
    opacity: 1;
}

.nav-overlay-menu {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.nav-overlay-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-overlay.active .nav-overlay-menu li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.nav-overlay.active .nav-overlay-menu li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.nav-overlay.active .nav-overlay-menu li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.nav-overlay.active .nav-overlay-menu li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }

.nav-overlay-menu .nav-link {
    font-size: 1.5rem;
    text-transform: uppercase;
    position: relative;
}

.nav-overlay-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-overlay-menu .nav-link:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero {
    border-top: 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    contain: paint;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 15rem;
    max-width: 180rem;
}

.photo-wrapper {
    position: relative;
    width: 450px;
    height: 600px;
}

.photo-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-wrapper-location {
    position: relative;
    width: 316px;
    height: 475px;
}

.photo-wrapper-location img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-info {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: Times SansSerif, serif;
}

.title-overlay {
    top: -67px;
    font-size: 4.5rem;
    font-family: 'silk-lig', serif !important;
    text-transform: uppercase;
    color: #000000;
}

.photo-side {
    width: 220px;
    height: 340px;
}

.photo-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-photos {
    display: none;
}

.photo-description {
    max-width: 730px;
    text-align: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

.photo-description h4 {
    font-size: 2rem;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 0.5rem;
    line-height: 1.6;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* HERO - RESPONSIVE */
@media screen and (max-width: 768px) {
    .hero {
        padding: 5rem 0rem;
    }

    .hero-container {
        flex-direction: column;
    }

    .photo-side {
        display: none;
    }

    .photo-wrapper {
        width: 100%;
        max-width: 350px;
        height: 525px;
    }

    .date-overlay {
        font-size: 5rem;
        font-weight: normal;
    }

    .title-overlay {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
        font-family: 'silk-reg', serif !important;
        top: -37px;
        white-space: normal;
        text-align: center;
    }

    .mobile-photos {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
        max-width: 350px;
        justify-content: space-between;
    }

    .mobile-photo {
        width: 48%;
        height: 280px;
    }

    .mobile-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .photo-wrapper-location {
        position: relative;
        width: 257px;
        height: 374px;
    }
    .photo-description {
        max-width: 350px;
        margin-top: 1.5rem;
    }

    .photo-description h4 {
        font-size: 2rem;
        font-style: normal;
        letter-spacing: 0.5rem;
        font-family: Helvetica, Arial, sans-serif;
    }
}


@media screen and (max-width: 480px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .photo-wrapper {
        max-width: 250px;
        height: 400px;
    }

    .mobile-photos {
        max-width: 300px;
    }

    .mobile-photo {
        height: 240px;
    }

    .date-overlay {
        font-size: 3.5rem;
        top: -2.5rem;
        font-weight: normal;

    }

    .photo-description {
        max-width: 300px;
    }

    .photo-description h4 {
        font-size: 2rem;
        font-style: normal;
        letter-spacing: 0.1rem;
        font-family: Helvetica Neue, Arial, sans-serif;
    }
    .photo-wrapper-location {
        position: relative;
        width: 257px;
        height: 374px;
    }
}

/* SEZIONI CON BACKGROUND */
.bg-section {
    position: relative;
    width: 100%;
    padding: 12rem 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: local;
    contain: paint;
}

.bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.bg-section .container {
    position: relative;
    z-index: 2;
}

.bg-section .section-title {
    color: whitesmoke;
}

.section-text {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.8;
    color: whitesmoke;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

/* SEZIONI BG - RESPONSIVE */
@media screen and (max-width: 768px) {
    .bg-section {
        padding: 4rem 1.5rem;
        background-attachment: scroll;
    }

    .bg-section .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .bg-section .section-title {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }
}

/* COUNTDOWN */
.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    color: white;
}

.countdown-item {
    text-align: center;
    padding: 4rem;
    min-width: 180px;
    color: white;
}

.countdown-number {
    font-size: 6rem;
    font-weight: normal;
    color: white;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Times, serif;
}

.countdown-label {
    font-size: 1rem;
    color: whitesmoke;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: SansSerif, sans-serif;
}

/* COUNTDOWN - RESPONSIVE */
@media screen and (max-width: 768px) {
    .countdown-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .countdown-item {
        width: 100%;
        max-width: 300px;
        padding: 1.5rem;
    }

    .countdown-number {
        font-size: 3rem;
    }

    .countdown-label {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .countdown-item {
        max-width: 250px;
        padding: 1.2rem;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 1rem;
    }
}

/* SEZIONE LOCATION */
.location-grid {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    gap: 20rem;
}

.location-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.location-info {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: Times SansSerif, serif;
}

.location-time {
    font-weight: bold;
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 2rem;
    font-family: Times SansSerif, serif;
}

/* LOCATION - RESPONSIVE */
@media screen and (max-width: 768px) {
    .location-grid {
        flex-direction: column;
        gap: 10rem;
    }

    .location-info {
        font-size: 1.2rem;
        line-height: 1.5;
        color: #555;
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-family: Times SansSerif, serif;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
    .location-info {
        font-size: 1.2rem;
        line-height: 1.5;
        color: #555;
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-family: Times SansSerif, serif;
    }
}