/* ========================================
   CSS Variables & Reset
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #D9027D;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}


/* ========================================
   Navigation
======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 20px 50px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--pink);
}

.nav-links a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s ease;
}


/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 50px 50px;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-title:hover {
    color: var(--pink);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-date {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.cta-button {
    display: inline-block;
    background: var(--pink);
    color: var(--white);
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--black);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover:before {
    width: 400px;
    height: 400px;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(217, 2, 125, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark-gray);
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--dark-gray);
}


/* ========================================
   Hero Image
======================================== */
.hero-image {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.pink-block {
    position: absolute;
    background: var(--pink);
    z-index: -1;
}

.pink-block-1 {
    width: 300px;
    height: 400px;
    top: -50px;
    right: 50px;
}

.pink-block-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: -30px;
}

.timeline-photo:empty:after,
.image-wrapper:empty:after {
    content: 'Your Photo Here';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark-gray);
    font-size: 16px;
    font-style: italic;
}


/* ========================================
   Section Base
======================================== */
section {
    padding: 120px 50px;
    position: relative;
}

.section-title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    margin-bottom: 80px;
    letter-spacing: -2px;
}

.section-number {
    font-size: 14px;
    color: var(--pink);
    font-weight: 600;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}


/* ========================================
   Message Section
======================================== */
.message-section {
    background: var(--gray);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.message-content {
    max-width: 600px;
}

.message-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.message-side {
    position: relative;
}

.large-quote {
    font-size: 200px;
    font-weight: 900;
    color: var(--pink);
    opacity: 0.1;
    line-height: 1;
    position: absolute;
    top: -50px;
    right: 0;
}


/* ========================================
   Timeline
======================================== */
.timeline-grid {
    display: grid;
    gap: 100px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > * {
    direction: ltr;
}

.timeline-photo {
    width: 100%;
    height: 500px;
    background: var(--gray);
    position: relative;
    overflow: hidden;
}

.timeline-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.timeline-photo:hover img {
    transform: scale(1.1);
}

.timeline-text h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.timeline-date {
    display: inline-block;
    color: var(--pink);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.timeline-text p {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.8;
}

/* ========================================
   Closure Section
======================================== */
.closure-section {
    background: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    padding: 120px 50px;
}

.closure-content {
    max-width: 700px;
}

.closure-text {
    margin-bottom: 50px;
}

.closure-text p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.closure-signature {
    border-top: 2px solid var(--pink);
    padding-top: 30px;
}

.closure-signature p {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.signature-name {
    font-size: 32px !important;
    font-weight: 700;
    color: var(--black) !important;
    font-style: italic;
}

.closure-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.heart-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-heart {
    font-size: 200px;
    color: var(--pink);
    animation: heartPulse 2s ease-in-out infinite;
    user-select: none;
}

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

/* Responsive Closure */
@media (max-width: 1024px) {
    .closure-section {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 80px 30px;
        text-align: center;
    }

    .closure-content {
        max-width: 100%;
    }

    .heart-container {
        width: 200px;
        height: 200px;
    }

    .big-heart {
        font-size: 150px;
    }
}

@media (max-width: 640px) {
    .closure-text p {
        font-size: 16px;
    }

    .signature-name {
        font-size: 24px !important;
    }

    .big-heart {
        font-size: 120px;
    }
}

/* ========================================
   Vouchers
======================================== */
.vouchers-section {
    background: var(--black);
    color: var(--white);
}

.vouchers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.voucher-card {
    background: var(--white);
    color: var(--black);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid #eee;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.voucher-card:nth-child(1),
.voucher-card:nth-child(3) {
    background: var(--white);
}

.voucher-card:nth-child(2) {
    background: var(--pink);
    color: var(--white);
}

.voucher-card:nth-child(4) {
    background: var(--gray);
}

.voucher-card:nth-child(2) .voucher-number {
    color: rgba(255,255,255,0.3);
}

.voucher-card:nth-child(2) .voucher-desc {
    color: rgba(255,255,255,0.8);
}

.voucher-card:nth-child(2) .voucher-count {
    color: rgba(255,255,255,0.9);
}

.voucher-card:nth-child(2) .voucher-count span {
    color: var(--white);
}

.voucher-card:nth-child(2) .claim-btn {
    background: var(--white);
    color: var(--pink);
}

.voucher-card:nth-child(2) .voucher-status {
    border-top: 1px solid rgba(255,255,255,0.2);
}

.voucher-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.voucher-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--pink);
    opacity: 0.2;
    margin-bottom: 20px;
}

.voucher-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.voucher-desc {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.voucher-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.voucher-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

.voucher-count span {
    color: var(--pink);
    font-size: 20px;
    font-weight: 900;
}

.claim-btn {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.claim-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--pink);
    transition: left 0.3s ease;
    z-index: -1;
}

.claim-btn:hover:before {
    left: 0;
}

.claim-btn:disabled {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
}

.claim-btn:disabled:before {
    display: none;
}

.claimed-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.voucher-card.claimed .claimed-indicator {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}


/* ========================================
   Footer
======================================== */
footer {
    padding: 60px 50px;
    text-align: center;
    background: var(--gray);
}

footer p {
    font-size: 14px;
    color: var(--dark-gray);
    letter-spacing: 1px;
}

.heart {
    display: inline-block;
    color: var(--pink);
    animation: heartbeat 1.5s ease-in-out infinite;
}

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


/* ========================================
   Responsive - Tablet
======================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 120px 30px 50px;
        text-align: center;
    }

    .hero-image {
        height: 60vh;
        margin-top: 50px;
    }

    .pink-block-1 {
        width: 200px;
        height: 300px;
        top: 0;
        right: 20px;
    }

    .pink-block-2 {
        width: 100px;
        height: 100px;
        bottom: 20px;
        left: -20px;
    }

    .message-section {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 80px 30px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .vouchers-grid {
        grid-template-columns: 1fr;
    }

    .voucher-card {
        min-height: 300px;
    }

    nav {
        padding: 20px 30px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px;
        gap: 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .scroll-indicator {
        left: 30px;
    }

    section {
        padding: 80px 30px;
    }

    .large-quote {
        font-size: 120px;
        top: -30px;
    }

    .timeline-photo {
        height: 400px;
    }
}


/* ========================================
   Responsive - Mobile
======================================== */
@media (max-width: 640px) {
    .vouchers-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero {
        padding: 100px 20px 30px;
    }

    .hero-image {
        height: 50vh;
    }

    .image-wrapper {
        max-width: 100%;
        height: 400px;
    }

    .timeline-photo {
        height: 300px;
    }

    .timeline-text h3 {
        font-size: 28px;
    }

    .voucher-card {
        padding: 40px 30px;
        min-height: 280px;
    }

    .voucher-number {
        font-size: 36px;
    }

    .voucher-title {
        font-size: 20px;
    }

    nav {
        padding: 15px 20px;
    }

    .logo {
        font-size: 20px;
    }

    section {
        padding: 60px 20px;
    }

    .message-text {
        font-size: 16px;
    }

   /* .scroll-indicator {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark-gray);
    } */
}