:root{
    --verde-escuro: #2F5233;
    --verde-musgo: #556B2F;
    --marrom: #6F4E37;
    --off-white: #F8F5F0;
}

body{
    background: var(--off-white);
    font-family: 'Montserrat', sans-serif;
}

/* NAVBAR */

.navbar-custom{
    position: fixed;
    width: 100%;
    z-index: 999;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);

    transition: 0.3s;
}

.navbar-custom .nav-link{
    color: white !important;
    margin: 0 10px;
    font-weight: 500;
}

.navbar-custom .nav-link:hover{
    color: #d8d8d8 !important;
}

.navbar-scrolled{

    background: rgba(36,59,39,0.95);

    box-shadow:
        0 4px 20px rgba(0,0,0,0.1);
}

/* HERO */

.hero-section{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-overlay{
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.25),
            rgba(0,0,0,0.45)
        );
}

.hero-content{
    position: absolute;
    opacity: 0.92;

    z-index: 3;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    color: white;

    width: 90%;
    animation: heroFade 1.8s ease;
}

@keyframes heroFade{

    from{

        opacity: 0;

        transform:
            translate(-50%, -40%);
    }

    to{

        opacity: 1;

        transform:
            translate(-50%, -50%);
    }

}

.hero-subtitle{
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 90px;
    font-size: 0.9rem;
}

.hero-subtitle,
.hero-date{
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.hero-title{
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    text-shadow: 0 4px 20px rgba(0,0,0,0.35);

    margin: 15px 0;
}

.hero-date{
    font-size: 1.5rem;
    font-family:  Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 8px;

    font-weight: 300;

    text-shadow:
        0 2px 10px rgba(0,0,0,0.25);
}

/* BOTÃO */

.btn-confirmar{
    margin-top: 30px;

    background: var(--verde-escuro);
    border: none;

    padding: 14px 28px;

    color: white;

    border-radius: 50px;

    transition: background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-confirmar:hover{
    background: var(--marrom);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* CAROUSEL */

.carousel-item{
    transition: opacity 1.8s ease-in-out !important;
}

.item-25 {
    overflow: hidden;
}

/* ANIMAÇÃO */

@keyframes heroZoom{

    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.08);
    }

    100%{
        transform: scale(1);
    }

}

.carousel-item img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    animation: heroZoom 14s ease-in-out infinite;

    transform: scale(1);
}

.carousel-img1 {
    object-position: center 65%;
}
.carousel-img2 {
    object-position: center 100%;
}
.carousel-img3 {
    object-position: center 70%;
}
.carousel-img4 {
    object-position: center 53.5%;
}
.carousel-img8 {
    object-position: center 53.5%;
}
.carousel-img5 {
    object-position: center 60%;
}
.carousel-img6 {
    object-position: center 77%;
}
.carousel-img7 {
    object-position: center 72%;
}

/* MOBILE */

@media(max-width: 768px){

    .hero-title{
        font-size: 3rem;
    }

    .hero-date{
        font-size: 1rem;
    }

}

/* SWITCH */

.switch{
    position: relative;

    display: inline-block;

    width: 60px;
    height: 30px;
}

.switch input{
    opacity: 0;
    width: 0;
    height: 0;
}

/* SLIDER */

.slider{
    position: absolute;

    cursor: pointer;

    inset: 0;

    background: #d4d4d4;

    transition: .4s;

    border-radius: 50px;

    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.1);
}

/* BOLINHA */

.slider:before{
    content: "";

    position: absolute;

    height: 21px;
    width: 20px;

    left: 4px;
    bottom: 4px;

    background: white;

    transition: .4s;

    border-radius: 50%;

    box-shadow:
        0 2px 6px rgba(0,0,0,0.2);
}

/* ATIVO */

.switch input:checked + .slider{

    background:
        linear-gradient(
            135deg,
            #2F5233,
            #556B2F
        );
}

/* MOVE BOLINHA */

.switch input:checked + .slider:before{
    transform: translateX(30px);
}

/* HOVER */

.switch:hover .slider{
    filter: brightness(1.03);
}

/* CLICK */

.switch input:active + .slider:before{
    width: 30px;
}

#pageLoader {
    position: fixed;
    inset: 0;
    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;

    transition: opacity 0.4s ease;
}

.loader-logo {
    width: 120px;

    animation: pulse 1.2s infinite;
}

@keyframes pulse {

    0% {
        opacity: 0.4;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(0.95);
    }
}







/* -------------------- NOSSA HISTÓRIA ------------------------ */
/* NOSSA HISTÓRIA */

.historia-section{
    padding: 120px 0;

    background: #F8F5F0;
}

.section-title{
    text-align: center;

    font-family: 'Playfair Display', serif;

    font-size: 3rem;

    color: var(--verde-escuro);

    margin-bottom: 80px;
}

/* TIMELINE */

.timeline{
    position: relative;

    max-width: 1000px;

    margin: auto;
}

/* LINHA CENTRAL */

.timeline::after{

    content: '';

    position: absolute;

    width: 3px;

    background: rgba(47,82,51,0.2);

    top: 0;
    bottom: 0;

    left: 50%;

    transform: translateX(-50%);
}

/* ITEM */

.timeline-item{

    position: relative;

    width: 50%;

    padding: 20px 40px;

    margin-bottom: 60px;
}

/* ESQUERDA */

.timeline-item.left{
    left: 0;
}

/* DIREITA */

.timeline-item.right{
    left: 50%;
}

/* CARD */

.timeline-content{

    background: white;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.05);

    transition: 0.3s;
}

.timeline-content:hover{
    transform: translateY(-4px);
}

/* IMG */

.timeline-content img{

    width: 100%;

    height: 280px;

    object-fit: cover;
}

/* TEXTO */

.timeline-text{
    padding: 25px;
}

.timeline-year{

    color: var(--verde-musgo);

    font-weight: 600;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.timeline-title{

    font-size: 1.5rem;

    color: var(--marrom);

    font-family: 'Playfair Display', serif;

    margin-bottom: 10px;
}

.timeline-description{

    color: #666;

    line-height: 1.8;
}

/* BOLINHA */

.timeline-item::after{

    content: '';

    position: absolute;

    width: 22px;
    height: 22px;

    background: var(--verde-escuro);

    border: 4px solid white;

    top: 40px;

    border-radius: 50%;

    z-index: 2;
}

.timeline-item.left::after{
    right: -11px;
}

.timeline-item.right::after{
    left: -11px;
}

/* MOBILE */

@media(max-width: 768px){

    .timeline::after{
        left: 20px;
    }

    .timeline-item{
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline-item.right{
        left: 0;
    }

    .timeline-item.left::after,
    .timeline-item.right::after{
        left: 9px;
    }

    .section-title{
        font-size: 2.2rem;
    }

}




/*-------------- INFO FESTA --------------- */
html{
    scroll-behavior: smooth;
}
.festa-section{

    padding: 120px 0;

    background:
        linear-gradient(
            to bottom,
            #F8F5F0,
            #f3efe7
        );
}

/* GRID */

.festa-grid{

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    align-items: center;
}

/* INFO */

.festa-info{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* CARD */

.info-card{

    background: white;

    border-radius: 24px;

    padding: 28px;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.05);

    transition: 0.3s;
}

.info-card:hover{
    transform: translateY(-4px);
}

/* TÍTULO */

.info-title{

    display: flex;
    align-items: center;

    gap: 10px;

    font-weight: 700;

    color: var(--marrom);

    margin-bottom: 10px;

    letter-spacing: 1px;
}

.info-title i{
    color: var(--verde-musgo);
}

/* TEXTO */

.info-text{
    color: #555;
    line-height: 1.8;
}

/* BOTÕES */

.location-buttons{

    display: flex;

    gap: 12px;

    margin-top: 20px;
}

.btn-location{

    border: none;

    padding: 12px 18px;

    border-radius: 50px;

    color: white;

    text-decoration: none;

    transition: 0.3s;
}

.btn-maps{
    background: var(--verde-escuro);
}

.btn-waze{
    background: var(--marrom);
}

.btn-location:hover{

    opacity: 0.9;

    transform: translateY(-2px);

    color: white;
}

/* MAPA */

.map-container{

    overflow: hidden;

    border-radius: 24px;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.08);

    min-height: 500px;
}

.map-container iframe{

    width: 100%;
    height: 100%;

    min-height: 500px;

    border: 0;
}

/* MOBILE */

@media(max-width: 992px){

    .festa-grid{
        grid-template-columns: 1fr;
    }

}

/* FOOTER */

.footer{

    background:
        linear-gradient(
            135deg,
            #243b27,
            #2F5233
        );

    color: white;

    padding: 80px 20px 40px;

    text-align: center;

    position: relative;
}

/* TÍTULO */

.footer-title{

    font-family: 'Playfair Display', serif;

    font-size: 2.5rem;

    margin-bottom: 10px;
}

/* TEXTO */

.footer-text{

    opacity: 0.85;

    margin-bottom: 30px;
}

/* ÍCONES */

.footer-social{

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-bottom: 35px;
}

.footer-social a{

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: white;

    font-size: 1.2rem;

    transition: 0.3s;
}

.footer-social a:hover{

    transform: translateY(-4px);

    background: rgba(255,255,255,0.15);
}

/* COPYRIGHT */

.footer-copy{

    opacity: 0.7;

    font-size: 0.9rem;
}


/* TOPO */

.back-to-top{

    position: fixed;

    left: 20px;
    bottom: 20px;

    width: 55px;
    height: 55px;

    border-radius: 50%;

    background: var(--marrom);

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    text-decoration: none;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 999;
}

.back-to-top.show{

    opacity: 1;
    visibility: visible;
}

.gift-image{

    width: 85%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 12px;

    background: #ececec;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.08);
}

.gift-image img{

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    transition: 0.3s;
}

/* efeito */

.card:hover .gift-image img{

    transform: scale(1.04);
}

.music-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

    border: none;
    border-radius: 50%;

    background: #8b5e3c;
    color: white;

    font-size: 24px;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,.2);

    transition: all .3s ease;

    z-index: 9999;
}

.music-btn:hover {
    transform: scale(1.08);
    background: #6f4b30;
}

.modal-casamento {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.modal-casamento .modal-body {
    background: #f8f5ef;
}

.modal-casamento h2 {
    color: #24452e;
    font-family: serif;
}

.modal-casamento p {
    color: #6b5c4d;
    line-height: 1.6;
}

#btnEntrar {
    background: #24452e;
    border: none;
    border-radius: 30px;
    transition: .3s;
}

#btnEntrar:hover {
    transform: translateY(-2px);
}


/* Section presentes*/
.gift-section {
    padding: 120px 0;
    background: #faf9f7;
}

.gift-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
}

.gift-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.gift-text {
    margin-top: 25px;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #666;
}

.btn-gift-list {
    display: inline-block;
    margin-top: 35px;
    padding: 14px 38px;
    border-radius: 50px;
    background: #5f7f6f;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-gift-list:hover {
    background: #4e695c;
    transform: translateY(-2px);
    color: #fff;
}