@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

/* ==========================================
   1. BASE STYLES (MOBILE-FIRST: LAYAR HP)
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333333;
}

.main-site {
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Navbar Mobile */
.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 20px;
    background-color: #f6aeb7;
    width: 100%;
    margin-bottom: -1px;
}

.nav-brand {
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    text-align: left;
}

.nav-links {
    display: none;
}

/* Hero Section Mobile */
.hero-section {
    background-color: #f6aeb7;
    position: relative;
    padding: 20px 16px 70px 16px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text {
    width: 100%;
    text-align: left;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-align: left;
}

/* Card Kutipan Mobile */
.quote-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border-left: 4px solid #d94e5d;
    border-radius: 14px;
    padding: 14px 16px 14px 36px;
    margin-top: 16px;
    text-align: left;
    box-shadow: 0 6px 18px rgba(217, 78, 93, 0.08);
}

.quote-icon-left,
.quote-icon-right {
    position: absolute;
    font-size: 1rem;
    color: #d94e5d;
    opacity: 0.7;
}

.quote-icon-left { top: 14px; left: 12px; }
.quote-icon-right { bottom: 14px; right: 12px; }

.hero-desc {
    font-size: 0.8rem;
    color: #4a4a4a;
    line-height: 1.55;
    font-style: italic;
    margin: 0;
}

/* Widget Kalender Counter Mobile */
.calendar-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(217, 78, 93, 0.08);
    margin: 16px 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: left;
}

.calendar-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.cal-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fde2e4;
    color: #d94e5d;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
}

.anniversary-date {
    font-size: 13px;
    font-weight: 700;
    color: #d94e5d;
    margin: 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-box {
    background: #ffffff;
    padding: 8px 4px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #f9d3e0;
}

.time-box span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #d94e5d;
}

.time-box label {
    font-size: 9px;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
}

/* Photo Frame & Kontainer Ilustrasi Mobile */
.hero-illustration {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 15px;
}

.photo-frame-container {
    width: 250px;
    height: 330px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 5px solid #ffffff;
    position: relative;
    background: #ffffff;
    z-index: 2;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide:first-child,
.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Elemen Dekoratif Samping Foto (Mobile Presisi Di Luar Foto) */
.washi-tape {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 85px;
    height: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px dashed rgba(217, 78, 93, 0.4);
    z-index: 12;
    border-radius: 2px;
}

.doodle-arrow-wrapper {
    display: flex;
    position: absolute;
    right: -110px; /* Didorong ke kanan luar bingkai */
    top: 30px;
    flex-direction: column;
    align-items: flex-end;
    z-index: 10;
}

.doodle-tag {
    font-size: 0.62rem;
    font-weight: 700;
    color: #222222;
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1.5px solid #222222;
    box-shadow: 1.5px 1.5px 0px #222222;
    transform: rotate(4deg);
    white-space: nowrap;
}

.doodle-svg { width: 55px; height: 50px; margin-top: 10px; margin-right: 4px; }

.doodle-exclamation-right {
    display: flex;
    position: absolute;
    right: -65px; /* Didorong keluar foto */
    top: 40%;
    gap: 1px;
    z-index: 10;
    transform: rotate(12deg);
}

.doodle-exclamation-right span {
    font-size: 1rem;
    font-weight: 900;
    color: #ffffff;
}

.doodle-heart-right { display: block; position: absolute; color: #d94e5d; z-index: 10; }
.heart-r1 { right: -55px; top: 62%; font-size: 1rem; transform: rotate(15deg); }

.doodle-stamp-bottom {
    display: block;
    position: absolute;
    right: -95px; /* Terpasang manis di pinggir kanan bawah foto */
    bottom: 22px;
    background: #ffffff;
    color: #d94e5d;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px dashed #d94e5d;
    transform: rotate(-8deg);
    z-index: 10;
}

.doodle-heart-left { display: block; position: absolute; color: #d94e5d; z-index: 10; }
.heart-l1 { left: -50px; top: 18%; font-size: 1rem; transform: rotate(-15deg); }
.heart-l2 { left: -52px; top: 48%; font-size: 0.85rem; transform: rotate(12deg); }
.heart-l3 { left: -52px; top: 76%; font-size: 1rem; transform: rotate(-10deg); }

.doodle-sparkle {
    display: block;
    position: absolute;
    left: -25px;
    bottom: 12px;
    color: #d94e5d;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Wave Shape */
.wave-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px; /* Atur tinggi gelombang di layar HP (misal 50px - 70px) */
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-shape svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform: scale(1.02); /* Membesarkan SVG 2% untuk menutup garis */
    transform-origin: bottom center;
}

/* Penyesuaian tinggi gelombang untuk Laptop */
@media (min-width: 992px) {
    .wave-shape {
        height: 90px; /* Lebih tinggi di tampilan laptop agar makin estetik */
    }
}

/* Section Konten Kami Mobile */
.content-section {
    text-align: center;
    padding: 25px 16px 35px 16px;
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #d94e5d;
    margin-bottom: 20px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
    max-width: 200px;
    margin: 0 auto;
}

.menu-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #444444;
}

.icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #f6aeb7;
    box-shadow: 0 6px 15px rgba(217, 78, 93, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: #d94e5d;
}

.menu-card span {
    font-size: 0.8rem;
    font-weight: 700;
}

/* Footer Mobile */
.footer {
    text-align: center;
    padding: 16px 16px 30px 16px;
}

.copyright-card {
    display: inline-block;
    padding: 10px 20px;
    background: #fdf2f4;
    border-radius: 50px;
    border: 1px solid #fde2e4;
}

.copyright-text {
    font-size: 0.78rem;
    color: #666666;
    font-weight: 600;
}

.copyright-text span {
    color: #d94e5d;
    font-weight: 800;
}


/* ==========================================
   2. DESKTOP MEDIA QUERY (MIN-WIDTH: 992PX)
   ========================================== */
@media (min-width: 992px) {
    .navbar { 
        padding: 18px 8%; 
        justify-content: space-between;
    }
    .nav-brand { font-size: 1.2rem; }
    
    .nav-links {
        display: flex;
        gap: 20px;
    }

    .nav-item {
        text-decoration: none;
        color: #555555;
        font-size: 0.9rem;
        font-weight: 600;
        transition: color 0.2s;
    }

    .nav-item:hover { color: #d94e5d; }

    .hero-section {
    background-color: #f6aeb7; /* Ubah dari #fde2e4 menjadi #f6aeb7 */
    position: relative;
    padding: 20px 16px 70px 16px;
}
    .hero-container {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    }

    .hero-text { 
        flex: 1; 
        max-width: 520px; 
        text-align: left;
    }
    
    .hero-title { 
        font-size: 2.3rem; 
        text-align: left;
    }
    
    .quote-card { padding: 18px 20px 18px 45px; margin-top: 20px; }
    .quote-icon-left, .quote-icon-right { font-size: 1.2rem; }
    .quote-icon-left { top: 18px; left: 16px; }
    .quote-icon-right { bottom: 18px; right: 16px; }
    .hero-desc { font-size: 0.88rem; line-height: 1.65; }

    .calendar-card { padding: 22px; margin: 20px 0; }
    .cal-badge { font-size: 10px; padding: 4px 12px; }
    .anniversary-date { font-size: 16px; }
    .counter-grid { gap: 10px; }
    .time-box { padding: 10px 5px; }
    .time-box span { font-size: 20px; }
    .time-box label { font-size: 10px; }

    .hero-illustration { 
        flex: 1; 
        width: auto;
        margin: 0;
        padding-top: 10px; 
    }

    .photo-frame-container {
        width: 360px;
        height: 450px;
        border-width: 6px;
    }

    /* Elemen Dekoratif Lengkap Laptop */
    .washi-tape {
        display: block;
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%) rotate(-3deg);
        width: 110px;
        height: 26px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(4px);
        border: 1px dashed rgba(217, 78, 93, 0.4);
        z-index: 12;
        border-radius: 2px;
    }

    .doodle-heart-left { display: block; position: absolute; color: #d94e5d; z-index: 10; }
    .heart-l1 { left: 30px; top: 22%; font-size: 1.25rem; transform: rotate(-15deg); animation: floatL1 2.8s ease-in-out infinite alternate; }
    .heart-l2 { left: 15px; top: 48%; font-size: 1.1rem; transform: rotate(12deg); animation: floatL2 2.3s ease-in-out infinite alternate; }
    .heart-l3 { left: 22px; top: 80%; font-size: 1.35rem; transform: rotate(-10deg); animation: floatL3 3.1s ease-in-out infinite alternate; }

    .doodle-exclamation-right {
        display: flex;
        position: absolute;
        right: -15px;
        top: 45%;
        gap: 2px;
        z-index: 10;
        transform: rotate(15deg);
    }

    .doodle-exclamation-right span {
        font-size: 1.35rem;
        font-weight: 900;
        color: #ffffff;
        animation: floatExcl 2s ease-in-out infinite alternate;
    }

    .doodle-heart-right { display: block; position: absolute; color: #d94e5d; z-index: 10; }
    .heart-r1 { right: -22px; top: 62%; font-size: 1.35rem; transform: rotate(15deg); animation: floatR1 2.6s ease-in-out infinite alternate; }

    .doodle-arrow-wrapper {
        display: flex;
        position: absolute;
        right: -75px;
        top: 22px;
        flex-direction: column;
        align-items: flex-end;
        z-index: 10;
    }

    .doodle-tag {
        font-size: 0.75rem;
        font-weight: 700;
        color: #222222;
        background: #ffffff;
        padding: 6px 14px;
        border-radius: 20px;
        border: 2px solid #222222;
        box-shadow: 2.5px 3px 0px #222222;
        transform: rotate(5deg);
        white-space: nowrap;
    }

    .doodle-svg { width: 120px; height: 110px; margin-top: 15px; margin-right: 15px; }

    .doodle-stamp-bottom {
        display: block;
        position: absolute;
        right: -50px;
        bottom: 25px;
        background: #ffffff;
        color: #d94e5d;
        font-size: 0.7rem;
        font-weight: 800;
        padding: 6px 14px;
        border-radius: 8px;
        border: 1.5px dashed #d94e5d;
        transform: rotate(-10deg);
        z-index: 10;
    }

    .doodle-sparkle {
        display: block;
        position: absolute;
        left: -15px;
        bottom: 25px;
        color: #d94e5d;
        font-size: 1.4rem;
        opacity: 0.8;
        animation: floatSparkle 3s ease-in-out infinite alternate;
    }

    .wave-shape svg { height: 100px; }

    .content-section { padding: 30px 20px 50px 20px; }
    .section-title { font-size: 1.8rem; margin-bottom: 35px; }
    .menu-grid { display: flex; justify-content: center; gap: 30px; max-width: none; }
    .menu-card:hover { transform: translateY(-6px); }
    .icon-circle { width: 85px; height: 85px; font-size: 2rem; }
    .menu-card span { font-size: 0.95rem; }

    .footer { padding: 20px 20px 40px 20px; }
    .copyright-card { padding: 12px 28px; }
    .copyright-text { font-size: 0.88rem; }
}

/* Keyframe Animations Desktop */
@keyframes floatL1 { 0% { transform: translateY(0) rotate(-15deg) scale(1); } 100% { transform: translateY(-5px) rotate(-5deg) scale(1.1); } }
@keyframes floatL2 { 0% { transform: translateY(0) rotate(12deg) scale(1); } 100% { transform: translateY(-4px) rotate(20deg) scale(1.1); } }
@keyframes floatL3 { 0% { transform: translateY(0) rotate(-10deg) scale(1); } 100% { transform: translateY(-6px) rotate(-2deg) scale(1.12); } }
@keyframes floatR1 { 0% { transform: translateY(0) rotate(15deg) scale(1); } 100% { transform: translateY(-5px) rotate(25deg) scale(1.1); } }
@keyframes floatExcl { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-4px) scale(1.15); } }
@keyframes floatSparkle { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-8px) rotate(18deg); } }