/* ============================================
   WEDDING SITE - MINIMALISMO ELEGANTE
   Design Philosophy: Elegância através da restrição
   ============================================ */

/* FONTES*/

@font-face {
    font-family: 'Anaktoria';
    src: url('./fonts/Anaktoria.otf');
         
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Anaktoria';
    src: url('./fonts/Anaktoria.otf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   RESET E VARIÁVEIS
   ============================================ */

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

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #ffffff;
    --accent-color: #f5f5f5;
    --text-color: #0a0a0a;
    --text-light: #666666;
    --border-color: #5f5f5f;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Anaktoria', serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.875rem;
    line-height: 1.3;
}

p {
    font-size: 1rem;
    font-weight: 300;
}

.section-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background-color: var(--border-color);
    margin: 4rem auto;
    opacity: 0.6;
}

.section-divider-vertical {
  width: 1px;          /* espessura da linha */
  height: 60px;        /* altura solicitada */
  background-color: var(--border-color);
  margin: 2rem auto;      /* centraliza horizontalmente */
  
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}


/* ============================================
   NAVEGAÇÃO
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 300;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
 }

.nav-link:hover {
    opacity: 0.6;
}

/* ============================================
   PÁGINAS
   ============================================ */

.page {
    width: 100%;
}

/* ============================================
   SEÇÕES FULLSCREEN
   ============================================ */

section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: 'Anaktoria','Playfair Display', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a0a0a;
    background-color: transparent;
    border: 1px solid #0a0a0a;
    border-radius: 999px; /* arredondado elegante */
    cursor: pointer;
    text-decoration: none;

    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        transform 0.25s ease,
        box-shadow 0.35s ease;
}

/* Hover sofisticado */
.btn:hover {
    background-color: #0a0a0a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Clique */
.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Foco acessível */
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.15);
}

/* ============================================
   HOME - HERO SECTION
   ============================================ */

.hero-section {
    width: 100%;
    height: 100vh;
    background: url('./images/imagem.webp') no-repeat center center;
    background-size: cover; /* cobre toda a área, mantendo proporção */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    animation: fadeIn 2s ease-out forwards;
}

.hero-subtitle {
    font-family: 'Anaktoria', serif;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 2px;
}

.hero-title {
    font-size: 3.5rem;
    text-align: center;
}

.hero-logo {
    width: auto;
    max-width: 750px;
    height: auto;
}
@media (max-width: 768px) {
    .hero-logo {
        max-width: 400px;
    }
}

@media (max-width: 576px) { 
    .hero-logo {
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 300px;
    }
}

.scroll-indicator {
    position: absolute;
    color: var(--primary-color);
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}


/* ============================================
   SECTION BIG DATA
   ============================================ */
.section-bigdata{
    display: flex;
    flex-direction: row;
    justify-content: space-around;

}
.bigdata1, .bigdata2, .bigdata3{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
    width: 100%;
    height: 100vh;
}

.bigdata1 p, .bigdata3 p{
    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
}

.section-divider-bigdata{
    width: 40px;
    max-width: 100px;
    height: 1px;
    background-color: var(--border-color);
    margin-top: 15px;
}
.img-lagoa{
    margin-top: 20px;
    width: 320px;
    height: auto;
}

.img-presentes{
    margin-top: 20px;
    width: 400px;
    height: auto;
}

.countdown {
    display: flex;
    justify-content: center;
    margin-top:-40px;
    gap:2rem;
    flex-wrap: wrap;
   
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: opacity 0.4s ease;
}

.countdown-number.fade {
    opacity: 0;
}

.countdown-label-small {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 300;
}

/* ============================================
   HOME - MAP
   ============================================ */


.map-section {
    background-color: var(--secondary-color);
   
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    gap: 2rem;
}

.bigdata2 .btn{
    margin-top: 3rem;
}
/* opcional: efeito ao passar o mouse */
.google-agenda:hover {
  color: darkgray;
  cursor: pointer;
}


/* centraliza e limita largura do mapa/iframe dentro da seção */
.map-section .map-container,
.map-section iframe,
.map-section .map {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    display: block;
   
}

.container1{
    display:flex;
    align-items:flex-start;
    flex-wrap:wrap;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    
    
}
.info-location{
    flex:1;
    flex: 70%;
    max-width: 50%;
    font-size: 1rem;
    min-width: 280px;
    padding: 0rem 2rem;
    
}
.info-weather {
    display: flex;
    flex: 30%;
    flex-direction: column;
}
.info-location h2{
    margin-bottom:0.5rem;
    margin-top: 3rem;
}
/* fotos lado a lado abaixo do mapa */
.map-photos {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.map-photos .photo {
    margin-top: 10px;
    flex: 1 50%;
    height: 150px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    background: var(--accent-color);
}

.map-photos .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.map-photos .photo:hover img {
    transform: scale(1.04);
}


@media (max-width: 768px) {
    .map-photos {
        flex-direction: column;
        gap: 0.75rem;
    }
    .map-photos .photo {
        height: 220px;
    }
}


/* INDICAÇÕES*/
.indicacoes-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.indicacoes-section p{
    margin-top:10px;
    text-wrap: wrap;
}
.indicacoes-section h3{
    font-size: 0.9rem;
}

.box-indicacao{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top:20px;
    width: 210px;
    text-wrap: wrap;
    border: var(--primary-color) 1px solid;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 2rem;
}
.main-box{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}


/* ============================================
   SECTION DRESS CODE
   ============================================ */
.section-dresscode{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 50px;
}

.section-divider-dresscode {
    width: 30px;
    max-width: 40px;
    height: 1px;
    background-color: var(--border-color);
    margin-top: 5px;
    margin-bottom:20px;
    
}
.dresscode1{
    width: 40%;
    
}

.dresscode2{
    width: 40%;
    
}
.dresscode3{
    margin-top: 50px;
    align-items: center;
    justify-content: center;
    width: 30%;
}

.dresscode2 p{
    font-size: 1rem;
    font-weight: 300;
    text-align: left;
    justify-content: start;
    margin-bottom: 20px;
   
}
.dresscode2 h4{
    font-family: 'Anaktoria', serif;
    text-transform:capitalize;
    margin-top: 50px;
    font-size: 1rem;
    margin-bottom: 5px;
}

.dresscode2 h2{
     margin-bottom: 20px;
}
.img-dresscode1{
    margin-top: 20px;
    width: 350px;
    height: auto;
}
.img-dresscode3{
    margin-top: 20px;
    width: 320px;
    height: auto;
}
/* ============================================
   PRESENTES SECTION
   ============================================ */
.section-presentes {
    
    margin: 50px 50px 50px 60px;        /* centraliza a seção */
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;

    width: 90%;                /* dá largura real */
    max-width: 100%;         /* limite elegante */

    border: 1px solid #000;    /* teste com 2px primeiro */
    padding: 2rem;             /* padding mais controlado */
    box-sizing: border-box;    /* 🔴 ESSENCIAL */
}

.presentes1 h2 {
    margin-bottom: 30px;

}
.presentes1 p {
    margin-bottom: 10px;

}
.presentes-qrcode{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-right: 40px;
}

.pix-qr-code{
    width: 100px;
    height: 100px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pix-input-group{
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    width: 500px;
    margin-top: 20px;
}
.pix-input{
    margin-right: 20px;
}

.copy-feedback{
    display:flex;
    flex-direction: column;
    margin-top:0.25rem;color:green;
    font-size:0.9rem;
}
/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--secondary-color);
    padding: 1rem 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 300;
    opacity: 0.6;
}

.weather-box {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: transparent;
  align-items: center;
  justify-content: center;
}

.weather-item {
  display: flex;
  align-items: center;
  gap: 8px;
  
  font-size: 1rem;
  color: #000;
}

.icon {
  width: 28px;
  height: 28px;
  fill: #000; /* preto */
}

.main-box a{
    text-decoration: underline;
    transition: var(--transition);
    color: var(--primary-color);
}
.mobile{
    display: none;
}
/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 1024px) {
    .story-content,
    .info-grid {
        grid-template-columns: 1fr;
    }

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

    .gifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

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

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

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

    .btn {
        width: 100%;
    }

    
    .dresscode1{
        
        margin:10px;
    }

    .dresscode2{
        width: 50%;
        
    }
    .dresscode3{
        margin-top: 50px;
        align-items: center;
        justify-content: center;
        width: 30%;
    }
    .img-dresscode1{
        width: 200px;
        height: auto;
    }
    .img-dresscode3{
        margin-top: 20px;
        width: 120px;
        height: auto;
    }

    .photo {
        display: none;
    }
    
    .section-presentes {
        margin: 5% 5% 5% 5%;        /* centraliza a seção */
        width: 90%;                /* dá largura real */
    }

    .presentes1{
        width: 70%;
    }

    .img-presentes{
        width: 180px;
        height: auto;
    }

    .pix-input-group .btn{
        width: 120px;
    }
   
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }


    .countdown {
        gap: 1rem;
    }

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

}


@media (max-width: 480px) {
    .nav-links {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

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

    .btn {
        width: 100%;
    }

    .dresscode1 {
        display: none;
    }
    .dresscode3{
        display: none;
    }
    .dresscode2{
        width: 100%;
        
    }

    .photo {
        display: none;
    }
    
    .section-presentes {
        margin: 10px 10px 10px 40px;        /* centraliza a seção */
        width: 80%;                /* dá largura real */
        max-width: 100%;         /* limite elegante */
    }

    .presentes1{
        width: 100%;
        
    }

    .img-presentes{
        display: none;
        width: 80px;
        height: auto;
    }

    .presentes-qrcode{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-right: 10px;
    }
    .pix-input-group{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap:10px;
    }
    .pix-input{
        width: 100%;
    }
    .pix-input-group .btn{
        width: 90px;
    }
   
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 0.4rem;
        width: 60%;    
    }

    .countdown-number {
        font-size: 1.3rem;
    }
    .countdown-label-small {
        font-size: 0.7em;
    }

    .section-bigdata{
       margin-top: -5rem;
    }

    .bigdata2 img{
        width: 150px;
        height: auto;
    }
    .bigdata2{
        width: 50%;
    }
    .bigdata1, .bigdata3{
        width: 25%;
    }
    
    .google-agenda{
       display: none;
    }

    .mobile{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 70%;
        font-size: 0.8rem;
        margin: 0 auto;
        margin-top: -3rem;
    }
    .section-divider{
        max-width: 350px;
    }
    .info-location{  
        flex: 70%;
        max-width: 100%;
        font-size: 1rem;
        min-width: 280px;
        padding: 0rem 1rem;
        margin-top: -4rem;
        
    }

    .weather-item {
        display: flex;
        align-items: center;
        gap: 4px;
        
        font-size: 0.9rem;
        color: #000;
    }

    .weather-box {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        background: transparent;
        align-items: center;
        justify-content: center;
    }
    .info-weather{
        margin-top:30px;
    }
    .img-dresscode1 .img-dresscode3{
        display: none;
    }

    .footer-content p{
       
        font-size: 0.8rem;
        
    }
}


/* ============================================
   ANIMAÇÕES ELEGANTES DE ENTRADA
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.1s ease, transform 1.1s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* variação mais suave */
.reveal-soft {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.3s ease, transform 1.3s ease;
}

.reveal-soft.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================
   PRESENTES - CARROSSEL CORRIGIDO
   ============================================ */

.section-presentes {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden; /* 🔒 trava crescimento lateral */
}

.presentes1 {
  width: 100%;
  text-align: center;
}

/* ---------- CARROSSEL ---------- */

.carousel-wrapper {
  width: 100%;
  margin-top: 3rem;
  overflow: hidden; /* 🔒 essencial */
}

.carousel {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
 
}

/* ---------- CARD ---------- */

.presente {
  flex: 0 0 calc(25% - 1.5rem); /* 4 por vez com espaço */
  margin-right: 2rem;          /* espaço entre cards */
  background: rgb(108, 108, 108);
  border-radius: 16px;
  padding: 1.5rem;
  box-sizing: border-box;
}

.presente:last-child {
  margin-right: 0;
}

.presente > div,
.presente {
  background: var(--secondary-color);
  border-radius: 16px;
  padding: 2rem 1rem;

  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;

  transition: transform 0.3s ease;
}

.presente:hover {
  transform: translateY(-5px);
}

.presente h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

.presente span {
  font-weight: bold;
  font-size: 1rem;
}

.img-presentes-item{
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* ---------- CONTROLES ---------- */

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---------- RESPONSIVO ---------- */

@media (max-width: 1024px) {
  .presente {
    flex: 0 0 50%; /* 2 por vez */
  }
}

@media (max-width: 600px) {
  .presente {
    flex: 0 0 100%; /* 1 por vez */
  }
}
