/* Importando fonte romântica do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff5f5;
    background-image: linear-gradient(45deg, #ffe6e6 25%, transparent 25%),
                      linear-gradient(-45deg, #ffe6e6 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #ffe6e6 75%),
                      linear-gradient(-45deg, transparent 75%, #ffe6e6 75%);
    background-size: 20px 20px;
}

header {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(255, 107, 107, 0.3);
    transition: transform 0.3s ease;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

nav a:hover {
    color: #ffe3e3;
    transform: scale(1.1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Títulos */
h1, h2, h3 {
    font-family: 'Dancing Script', cursive;
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(255, 107, 107, 0.2);
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

h1::after {
    content: '♥';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #ff6b6b;
    animation: pulse 1.5s infinite;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

h2::before, h2::after {
    content: '❀';
    position: absolute;
    bottom: 0;
    font-size: 1.5rem;
    color: #ff6b6b;
}

h2::before {
    left: 30%;
}

h2::after {
    right: 30%;
}

/* Seções */
section {
    padding: 4rem 2rem;
    position: relative;
}

.hero {
    background: linear-gradient(135deg, #ff6b6b, #ffa5a5);
    color: white;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.momento-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.momento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #ff6b6b);
    background-size: 200% 100%;
    animation: gradient 3s linear infinite;
}

.momento-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.momento-card p {
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

/* Animações */
@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
    100% { transform: translateX(-50%) scale(1); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Carta */
.carta-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4rem 2rem;
}

.carta-content {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.2);
    border: 2px solid #ffe3e3;
}

.carta-content p {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 20px;
}

.carta-content p::before {
    content: '❥';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-size: 1rem;
}


.heart-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.mensagem-box {
    width: 200px;
    height: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
    overflow: hidden;
    position: relative;
    border: 3px solid #ff6b6b;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.foto-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

#preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#foto-input {
    display: none;
}

.foto-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.foto-label:hover {
    background: rgba(255, 107, 107, 1);
    transform: scale(1.1);
}

.foto-label i {
    font-size: 1.2rem;
}


.mensagem-amor,
.mensagem-especial,
.assinatura,
.nome {
    display: none;
}

footer {
    background-color: #ff6b6b;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}


@media (max-width: 768px) {
    #menu-toggle {
        display: block;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        display: none;
        background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        box-shadow: 0 2px 15px rgba(255, 107, 107, 0.3);
    }
    nav ul.open {
        display: flex;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 3rem 1rem;
    }
    .mensagem-especial {
        font-size: 1rem;
    }
    .carta-content {
        font-size: 1rem;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 1s ease-out;
}

.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.heart {
    position: fixed;
    font-size: 20px;
    color: rgba(255, 107, 107, 0.6);
    animation: fall linear infinite;
    z-index: 0;
}

@keyframes fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

main {
    position: relative;
    z-index: 1;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    margin-right: 1rem;
} 