/* ============================================
   SWEETHEART WEBSITE - CSS
   Romantic & Cute Pastel Theme
   ============================================ */

:root {
    --pink-light: #FFD6E7;
    --pink-mid: #FFAAC9;
    --pink-main: #FF6B9D;
    --pink-deep: #E8437A;
    --peach: #FFB085;
    --peach-light: #FFE5D0;
    --lavender: #C9B8FF;
    --lavender-light: #EDE8FF;
    --mint: #B8F0E0;
    --mint-light: #E0FBF3;
    --yellow: #FFE566;
    --yellow-light: #FFF8CC;
    --cream: #FFF9F5;
    --white: #FFFFFF;
    --text-dark: #3D2B4B;
    --text-mid: #7B5C8A;
    --text-light: #B09BBF;
    --shadow-soft: 0 8px 32px rgba(255, 107, 157, 0.18);
    --shadow-card: 0 4px 20px rgba(100, 60, 130, 0.12);
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.masonry-item.tall { aspect-ratio: 2/3; }
.masonry-item.wide { aspect-ratio: 4/3; }
.masonry-item.square { aspect-ratio: 1; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ============ BACKGROUND HEARTS ============ */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -60px;
    font-size: 1.2rem;
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0; }
    10% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { transform: translateY(-110vh) rotate(360deg) scale(0.5); opacity: 0; }
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--pink-light);
    box-shadow: 0 4px 24px rgba(255, 107, 157, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    font-size: 1.8rem;
    animation: heartPop 1.5s ease-in-out infinite;
}

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

.nav-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-main), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-mid);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--pink-main), var(--pink-deep));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.4);
}

.nav-icon { font-size: 1rem; }

/* ============ HAMBURGER ============ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--pink-main);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 999;
    background: white;
    padding: 16px;
    border-bottom: 2px solid var(--pink-light);
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.15);
}

.mobile-menu.open { display: flex; }

.mobile-link {
    display: block;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--pink-light);
    transition: all 0.2s;
}

.mobile-link:hover {
    background: var(--pink-main);
    color: white;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

/* ============ FOOTER ============ */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 20px;
    background: linear-gradient(180deg, transparent, rgba(255, 214, 231, 0.4));
    border-top: 2px dashed var(--pink-light);
}

.footer-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--pink-main);
    margin-bottom: 6px;
}

.footer-sub {
    font-size: 0.85rem;
    color: var(--text-light);
}

.heart-beat {
    display: inline-block;
    animation: heartPop 1s ease-in-out infinite;
}

/* ============ REUSABLE COMPONENTS ============ */
.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--pink-main), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-mid);
    font-size: 1rem;
    margin-bottom: 48px;
    font-weight: 600;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--pink-light);
    color: var(--pink-deep);
    margin-bottom: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--pink-main), var(--pink-deep));
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 28px rgba(255, 107, 157, 0.55);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: white;
    color: var(--pink-main);
    border: 2.5px solid var(--pink-main);
    border-radius: var(--radius-full);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--pink-light);
    transform: translateY(-2px);
}

/* ============ CARD ============ */
.card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--pink-light);
    box-shadow: var(--shadow-soft);
}

/* ============ PHOTO PLACEHOLDER ============ */
.photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--pink-light), var(--lavender-light));
    color: var(--text-mid);
    font-size: 0.85rem;
    font-weight: 700;
}

.photo-placeholder .ph-icon { font-size: 2.5rem; }

/* ============ PAGE WRAPPER ============ */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .navbar { padding: 12px 20px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .page-wrapper { padding: 40px 16px; }
    .section-title { font-size: 2rem; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.anim-fade-up { animation: fadeInUp 0.7s ease forwards; }
.anim-fade-left { animation: fadeInLeft 0.7s ease forwards; }
.anim-fade-right { animation: fadeInRight 0.7s ease forwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
