/* Reseta estilos padrões para garantir consistência */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff0f3; /* Fundo rosa bem clarinho */
    color: #4a4a4a;
    line-height: 1.6;
}

/* Tipografia Especial */
h1, h2 {
    font-family: 'Sacramento', cursive;
    color: #ffc0d7;
}

/* Hero Section (Topo) */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/capa.jpg'); /* FOTO DE FUNDO GRANDE AQUI */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Se você não tiver uma foto de capa grande, o fundo será apenas uma cor sólida elegante */
.hero {
    background-color: #ff99ac; 
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Contador */
.counter-section {
    padding: 50px 20px;
    text-align: center;
    background: white;
}

.timer-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.time-box {
    background: #d6336c;
    color: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(214, 51, 108, 0.3);
}

.time-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

/* Galeria Polaroid */
.gallery {
    padding: 60px 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.polaroid {
    background: white;
    padding: 15px 15px 30px 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    width: 300px;
}

.polaroid:nth-child(even) {
    transform: rotate(2deg);
}

.polaroid:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

.polaroid img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    margin-bottom: 10px;
}

.polaroid p {
    font-family: 'Sacramento', cursive;
    font-size: 1.5rem;
    color: #555;
}

/* Carta */
.letter {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.letter-content {
    max-width: 700px;
    margin: 0 auto;
    border: 2px dashed #d6336c;
    padding: 40px;
    border-radius: 20px;
}

.signature {
    margin-top: 20px;
    font-weight: bold;
    color: #d6336c;
}

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    font-size: 0.9rem;
}

/* Responsividade para Celular */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .timer-container { gap: 10px; }
    .time-box { min-width: 70px; padding: 10px; }
    .time-box span { font-size: 1.5rem; }
}