/* ============================================
   HAPPY BIRTHDAY - Soft Pink Romantic Theme
   Full-Width Photo Storytelling Layout
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #4a3728;
    background: #fff;
    min-height: 100vh;
}

/* ============================================
   HERO IMAGE SECTION
   ============================================ */

.hero-image {
    width: 100%;
    background: #fff;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============================================
   STORY TEXT SECTIONS
   ============================================ */

.story-text {
    padding: 4rem 2rem;
    text-align: center;
    background: #fff;
}

.story-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    font-style: italic;
    color: #8b4d5c;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.story-text p {
    font-family: 'Lato', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #5a3d45;
    max-width: 700px;
    margin: 0 auto 1rem auto;
    line-height: 1.8;
}

.story-text p:last-child {
    margin-bottom: 0;
}

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

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    color: #8b4d5c;
    text-align: center;
    margin-bottom: 2rem;
}

/* ============================================
   FULL-WIDTH PHOTO SECTIONS
   ============================================ */

.photo-section {
    width: 100%;
}

.photo-container {
    width: 100%;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.photo-container img {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    object-fit: cover;
    display: block;
}

.photo-container.placeholder {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.placeholder-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #999;
    opacity: 0.5;
    letter-spacing: 0.1em;
}

.photo-caption {
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
}

.photo-caption p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-style: italic;
    color: #8b4d5c;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.photo-caption #qrcode {
    display: inline-block;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(139, 77, 92, 0.2);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.photo-caption #qrcode img {
    display: block;
}

/* ============================================
   MESSAGE SECTION
   ============================================ */

.message {
    padding: 6rem 2rem;
    background: #fff;
}

.message-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.message-text {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.9;
    color: #5a3d45;
    margin-bottom: 2rem;
}

.message-signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #c97b84;
}

/* ============================================
   QR CODE SECTION
   ============================================ */

.qr-section {
    padding: 5rem 2rem;
    text-align: center;
    background: #fff;
}

.qr-instruction {
    font-size: 1.1rem;
    color: #a06070;
    margin-bottom: 2rem;
}

#qrcode {
    display: inline-block;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(139, 77, 92, 0.2);
}

#qrcode img {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 3rem 2rem;
    text-align: center;
    background: #e5e5e5;
}

.footer p {
    font-size: 1rem;
    color: #8b4d5c;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 600px) {
    .hero {
        padding: 1.5rem;
    }
    
    .photo-container {
        min-height: 50vh;
    }
    
    .photo-container img {
        min-height: 50vh;
    }
    
    .photo-caption {
        padding: 2rem 1.5rem;
    }
    
    .message,
    .qr-section {
        padding: 4rem 1.5rem;
    }
}
