/* ==========================================================================
   1. Google Fonts Import (Handled in HTML, styled below)
   ========================================================================== */

/* Reset and General Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif; /* Clean, modern, soft-rounded font */
    font-weight: 500;
    background-color: #fdf6f6; /* Soft warm background */
    color: #4a4a4a;
    line-height: 1.8; /* Generous line spacing for easier reading */
}

/* ==========================================================================
   2. Header / Hero Section
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); /* Soft pastel pink gradient */
    color: white;
    text-align: center;
    padding: 70px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==========================================================================
   3. Layout Container
   ========================================================================== */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ==========================================================================
   4. Elegant Letter Section
   ========================================================================== */
.letter-section {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* "Dear Sister," in stunning script calligraphy */
.letter-section h2 {
    font-family: 'Great Vibes', cursive;
    color: #ff6b81;
    margin-bottom: 15px;
    font-size: 3.5rem; /* Large and readable script */
    font-weight: normal;
}

/* Letter Content */
.letter-section p {
    font-size: 1.15rem;
    color: #5a5a5a;
    margin-bottom: 22px;
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-weight: 700; /* Extra clear and thick */
    color: #ff6b81;
    font-size: 3.4rem; /* Makes it prominently big at the bottom */
    line-height: 1.3;
    margin-top: 35px;
    letter-spacing: 0.5px; /* Adds tiny gaps between letters for crystal-clear reading */
}

/* Soft Divider between Letter and Photos */
.divider {
    border: 0;
    height: 1px;
    background: #ffe3e3;
    margin: 50px 0;
}

/* ==========================================================================
   5. Photo Gallery Section (Big Horizontal Pics)
   ========================================================================== */
.gallery-section h2 {
    text-align: center;
    color: #ff6b81;
    margin-bottom: 35px;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Vertical stack for big horizontal photo cards */
.photo-stream {
    display: flex;
    flex-direction: column;
    gap: 35px; /* Space between the big photos */
}

.wide-photo-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

/* Gentle interactive lift effect when hovering over pictures */
.wide-photo-card:hover {
    transform: scale(1.01); 
}

.wide-photo-card img {
    width: 100%;
    height: 450px; /* Gives images a cinematic, wide aspect ratio */
    object-fit: cover; /* Keeps images looking pristine without stretching */
    display: block;
}

.caption {
    padding: 18px 20px;
    font-size: 1rem;
    text-align: center;
    color: #666;
    background-color: #fff;
    border-top: 1px solid #fff0f0;
}

/* ==========================================================================
   6. Footer & Responsive Media Queries
   ========================================================================== */
footer {
    text-align: center;
    padding: 50px 20px;
    color: #b5b5b5;
    font-size: 0.9rem;
}

/* Optimization for smaller mobile screens */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .letter-section {
        padding: 30px 20px;
    }
    .letter-section h2 {
        font-size: 2.8rem;
    }
    .wide-photo-card img {
        height: 260px; /* Scales the image heights down on phones for a perfect layout */
    }
}