/* Reset e Variáveis */
:root {
    --primary-color: #d4af37; /* Dourado */
    --text-light: #ffffff;
    --text-dark: #333333;
    --font-script: 'Great Vibes', cursive;
    --font-title: 'Quattrocento', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('fundo casamento marivitor.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Overlay Escuro para melhorar leitura */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.pre-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.main-title {
    font-family: var(--font-title);
    font-size: 5rem;
    margin: 10px 0;
    line-height: 1.2;
    font-weight: 400;
}

.date {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 10px;
}

.date-detail {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Welcome Section */
.welcome-section {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 80px 0;
    text-align: center;
}

.welcome-section h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 400; /* Menos negrito */
    white-space: nowrap; /* Força uma linha no desktop */
}

.welcome-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px auto; /* Centralizado e com margem inferior */
}

/* Grid de Fotos */
.photos-grid {
    display: flex;
    justify-content: center;
    gap: 0; /* Remove espaço entre as fotos */
    margin-top: 60px;
    width: 100%; /* Ocupa toda a largura */
}

.photos-grid img {
    width: 33.333%; /* Divide igualmente */
    height: 500px; /* Altura fixa para alinhar */
    object-fit: cover;
    border-radius: 0; /* Remove bordas arredondadas */
    transition: transform 0.3s ease;
}

.photos-grid img:hover {
    transform: scale(1.02);
    z-index: 1; /* Garante que a imagem com zoom fique por cima */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Timeline Section */
.timeline-section {
    background-color: #ffffff;
    padding: 100px 0;
    color: var(--text-dark);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
}

.timeline-item {
    display: flex;
    align-items: flex-start; /* Alinha ao topo caso o texto seja longo */
    margin-bottom: 60px;
    gap: 50px;
}

.timeline-img {
    flex: 1;
    max-width: 50%;
}

.timeline-img img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}

.timeline-content {
    flex: 1;
    padding-top: 10px; /* Leve ajuste para alinhar visualmente com o topo da imagem se necessário */
}

.timeline-content h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.timeline-footer {
    text-align: center;
    margin-top: 80px;
    max-width: 1000px; /* Aumentado para tentar caber em 2 linhas */
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6; /* Reduzido levemente o espaçamento entre linhas */
}

/* Map Section */
.map-section {
    background-color: #ffffff;
    padding: 0;
    text-align: center;
    width: 100%;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block; /* Remove espaço extra em baixo do iframe */
    box-shadow: none; /* Remove sombra para integrar melhor */
    border-radius: 0; /* Remove bordas arredondadas para full width */
}

/* Dress Code Section */
.dress-code-section {
    background-color: #ffffff;
    padding: 100px 0;
    color: var(--text-dark);
}

.dress-code-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.dress-code-text {
    flex: 1;
    text-align: left;
}

.dress-code-subtitle {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
}

.dress-code-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

.dress-code-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dress-code-img img {
    max-width: 100%;
    height: auto;
    /* Ajuste de tamanho para ficar harmonioso com o texto */
    max-height: 500px; 
}

/* Countdown Section */
.countdown-section {
    background-color: #ffffff;
    padding: 60px 0 100px 0;
    text-align: center;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Centraliza verticalmente */
    gap: 40px; /* Espaço entre os números */
    margin-top: 40px;
    font-family: var(--font-body);
    color: #555;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-item .number {
    font-family: var(--font-body);
    font-size: 4rem; /* Números maiores */
    color: #444;
    line-height: 1;
    margin-bottom: 15px;
    font-weight: 300; /* Mais leve/minimalista */
}

.countdown-item .label {
    font-size: 1rem;
    text-transform: lowercase;
    color: #888;
    letter-spacing: 1px;
}

.separator {
    width: 1px;
    height: 80px; /* Altura da linha separadora */
    background-color: #ddd; /* Cinza claro */
    margin-top: -20px; /* Ajuste fino para alinhar visualmente com os números */
}

/* Animação simples de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsividade */
@media (max-width: 768px) {
    .main-title {
        font-size: 3.5rem;
    }
    
    .pre-title {
        font-size: 1rem;
    }

    .welcome-section {
        padding: 60px 0;
    }

    .welcome-section h2 {
        font-size: 1.8rem;
        white-space: normal; /* Quebra linha no mobile */
    }

    .photos-grid {
        flex-direction: column;
        align-items: center;
    }

    .photos-grid img {
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }

    /* Timeline Responsivo */
    .timeline-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 50px;
    }

    .timeline-img {
        max-width: 100%;
        width: 100%;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    /* Map Responsivo */
    .map-section iframe {
        height: 300px;
    }

    /* Dress Code Responsivo */
    .dress-code-section {
        padding: 60px 0;
    }

    .dress-code-content {
        flex-direction: column;
        gap: 40px;
    }

    .dress-code-img img {
        max-height: 300px;
    }

    /* Countdown Responsivo */
    .countdown-container {
        gap: 15px;
    }

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

    .separator {
        height: 40px;
        margin-top: -10px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 3rem;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 50px;
    }

    .countdown-item .number {
        font-size: 1.5rem;
    }
}
