:root {
    --bg-color: #fdf2f5;
    --card-bg: #ffffff;
    --primary-color: #f24e7a;
    --primary-gradient: linear-gradient(135deg, #f76891, #e93a67);
    --text-dark: #3a2b31;
    --text-light: #8b7b81;
    --shadow-soft: 0 15px 35px rgba(242, 78, 122, 0.08);
    --shadow-hover: 0 20px 40px rgba(242, 78, 122, 0.15);
    
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Pacifico', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(253, 242, 245, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0; z-index: 100;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex; align-items: center; gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-color); }

.btn-outline {
    text-decoration: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* --- Hero Section --- */
.hero-section {
    padding: 150px 0 80px;
    min-height: 90vh;
    display: flex; align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text { flex: 1; }

.badge {
    display: inline-block;
    background: rgba(242, 78, 122, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-text h1 span {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 4rem;
    font-weight: normal;
}

.hero-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white; border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(233, 58, 103, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(233, 58, 103, 0.5);
}

.hero-graphic { 
    flex: 1; 
    position: relative; 
    display: flex;
    justify-content: center; 
}

.graphic-card {
    position: relative;
    display: inline-block;
    border-radius: 40px;
    padding: 15px;
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
    transform: rotate(2deg);
    transition: transform 0.5s;
}
.graphic-card:hover { transform: rotate(0deg); }

.graphic-card img {
    width: 350px;
    height: 480px;
    border-radius: 30px;
    object-fit: cover;
    display: block;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    font-size: 0.9rem;
}
.badge-1 { top: 30px; left: -30px; animation: float 4s ease-in-out infinite; }
.badge-2 { bottom: 50px; right: -20px; animation: float 5s ease-in-out infinite alternate; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.stats-section { padding: 50px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
    cursor: pointer;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 20px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem;
}
.bg-pink { background: #ffe4ec; color: var(--primary-color); }
.bg-red { background: var(--primary-gradient); color: white; }
.bg-light { background: #f0f0f0; }

.stat-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.stat-info p { color: var(--primary-color); font-weight: 600; font-size: 0.9rem;}

.memories-section { padding: 80px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-header h2 { font-size: 2.2rem; }
.view-all { color: var(--primary-color); text-decoration: none; font-weight: 600; }

.memory-list { display: flex; flex-direction: column; gap: 20px; }

.memory-item {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: var(--shadow-soft);
}

.memory-img {
    width: 100px; height: 100px;
    border-radius: 20px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.memory-img:hover {
    transform: scale(1.08);
}

.memory-details { flex: 1; }
.memory-details h4 { font-size: 1.2rem; margin-bottom: 5px; }
.memory-details p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 10px; }
.time-ago { font-size: 0.85rem; color: #bbb; font-weight: 500; }

.btn-action {
    background: rgba(242, 78, 122, 0.1);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-action:hover { background: var(--primary-gradient); color: white; }

.gallery-section { padding: 80px 0; }
.section-title { font-size: 2.2rem; margin-bottom: 40px; text-align: center; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }

footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-weight: 500;
}

.modal {
    display: none; position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(253, 242, 245, 0.95); z-index: 1000;
    justify-content: center; align-items: center;
    backdrop-filter: blur(5px);
}
.modal-content { max-width: 90%; max-height: 80vh; border-radius: 20px; box-shadow: var(--shadow-hover); }
.close-modal, .close-letter {
    position: absolute; top: 30px; right: 40px;
    font-size: 40px; color: var(--primary-color); cursor: pointer;
}

.letter-content {
    background: white; padding: 50px; border-radius: 30px;
    max-width: 600px; text-align: center; box-shadow: var(--shadow-hover);
}
.letter-content h2 { font-family: var(--font-heading); color: var(--primary-color); font-size: 3rem; margin-bottom: 20px; }
.letter-content p { font-size: 1.1rem; color: var(--text-dark); line-height: 1.8; }

@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; gap: 30px; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text h1 span { font-size: 2.5rem; }
    .nav-links { display: none; }
    
    .graphic-card img { width: 100%; max-width: 320px; height: auto; }
    .stats-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    
    .memory-item { flex-direction: column; text-align: center; gap: 15px; }
    .memory-img { width: 100%; height: 200px; }
    .badge-1, .badge-2 { display: none; }
    
    .letter-content { padding: 30px 20px; }
    .letter-content h2 { font-size: 2.2rem; }
    .close-modal, .close-letter { right: 15px; top: 15px; font-size: 30px; }
}

.full-gallery-section {
    padding: 150px 0 80px;
    min-height: 100vh;
}
.full-gallery-section .badge {
    display: inline-block;
    background: rgba(242, 78, 122, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}