/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Seção Hero */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23667eea" stop-opacity="0.8"/><stop offset="100%" stop-color="%23764ba2" stop-opacity="0.6"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23a)"/><circle cx="200" cy="200" r="100" fill="%23ffffff" opacity="0.1"/><circle cx="800" cy="300" r="150" fill="%23ffffff" opacity="0.05"/><circle cx="400" cy="700" r="120" fill="%23ffffff" opacity="0.08"/></svg>');
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.couple-photo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.circular-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circular-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Cronômetro de Amor */
.love-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.timer-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

.timer-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.timer-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Seções gerais */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Nossa História - Timeline */
.our-story {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 120px;
    text-align: center;
    font-weight: 600;
    color: #667eea;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
    transform: translateY(-50%);
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.7;
}

/* Momentos Favoritos */
.favorite-moments {
    background: white;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.moment-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.moment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.moment-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-image {
    font-size: 4rem;
    opacity: 0.8;
}

.moment-caption {
    padding: 2rem;
}

.moment-caption h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.moment-caption p {
    color: #6c757d;
    line-height: 1.6;
}

/* O Que Eu Sinto */
.my-feelings {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.my-feelings .section-title {
    color: white;
}

.declaration {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.declaration-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.heart-decoration {
    font-size: 3rem;
    opacity: 0.7;
    animation: heartbeat 2s ease-in-out infinite;
}

/* Para o Futuro */
.future-dreams {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dreams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dream-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.dream-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.dream-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.dream-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* Rodapé */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.author-name {
    color: #667eea;
    font-weight: 600;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Modal para fotos */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    display: block;
}

.modal-caption {
    padding: 2rem;
    text-align: center;
}

.modal-caption h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

.modal-caption p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1.1rem;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Animações do modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .circular-photo {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .love-timer {
        gap: 1rem;
    }
    
    .timer-item {
        padding: 1rem 0.5rem;
        min-width: 60px;
    }
    
    .timer-number {
        font-size: 1.8rem;
    }
    
    .timer-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-left: 2rem;
    }
    
    .timeline-date {
        flex: none;
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .moments-grid {
        grid-template-columns: 1fr;
    }
    
    .dreams-grid {
        grid-template-columns: 1fr;
    }
    
    .declaration-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .circular-photo {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .love-timer {
        gap: 0.5rem;
    }
    
    .timer-item {
        padding: 0.8rem 0.3rem;
        min-width: 50px;
    }
    
    .timer-number {
        font-size: 1.5rem;
    }
    
    .timer-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-item {
        margin-left: 1rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .moment-caption {
        padding: 1.5rem;
    }
    
    .dream-item {
        padding: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-caption {
        padding: 1.5rem;
    }
    
    .modal-caption h3 {
        font-size: 1.3rem;
    }
    
    .modal-caption p {
        font-size: 1rem;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}
