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

:root {
    --cream: #FDF8F3;
    --sage: #9CAF88;
    --sage-light: #C5D5BC;
    --coastal-blue: #7BA3B7;
    --coastal-dark: #5A8A9F;
    --sand: #E8DED1;
    --warm-brown: #8B7355;
    --text-dark: #3D3D3D;
    --text-light: #666666;
    --white: #FFFFFF;
    --gift-red: #C41E3A;
    --gift-red-dark: #8B0000;
    --gold: #D4AF37;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.8;
    overflow-x: hidden;
}

.gift-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3f 50%, #1a472a 100%);
    position: relative;
    overflow: hidden;
}

.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    animation: fall linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; font-size: 1rem; }
.snowflake:nth-child(2) { left: 25%; animation-duration: 12s; animation-delay: 2s; font-size: 1.5rem; }
.snowflake:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; font-size: 1.2rem; }
.snowflake:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; font-size: 1.8rem; }
.snowflake:nth-child(5) { left: 70%; animation-duration: 9s; animation-delay: 3s; font-size: 1rem; }
.snowflake:nth-child(6) { left: 85%; animation-duration: 11s; animation-delay: 5s; font-size: 1.4rem; }
.snowflake:nth-child(7) { left: 15%; animation-duration: 13s; animation-delay: 6s; font-size: 1.6rem; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 10s; animation-delay: 7s; font-size: 1.1rem; }

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

.gift-intro {
    text-align: center;
    z-index: 10;
}

.gift-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.gift-box {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gift-box:hover {
    transform: scale(1.05);
}

.gift-base {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 140px;
    background: linear-gradient(145deg, var(--gift-red), var(--gift-red-dark));
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gift-lid {
    position: absolute;
    top: 0;
    width: 210px;
    height: 60px;
    left: -5px;
    background: linear-gradient(145deg, var(--gift-red), var(--gift-red-dark));
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: left center;
    z-index: 2;
}

.gift-lid.opening {
    transform: rotate(-120deg) translateY(-50px);
    opacity: 0;
}

.ribbon-vertical {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #F4D03F, var(--gold));
}

.ribbon-horizontal {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 30px;
    background: linear-gradient(90deg, var(--gold), #F4D03F, var(--gold));
}

.bow {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.bow-loop {
    position: absolute;
    width: 40px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), #F4D03F);
    border-radius: 50% 50% 50% 50%;
}

.bow-loop.left {
    left: -35px;
    transform: rotate(-30deg);
}

.bow-loop.right {
    right: -35px;
    transform: rotate(30deg);
}

.bow-knot {
    position: absolute;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #B8860B, var(--gold));
    border-radius: 50%;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
    z-index: 4;
}

.bow-tail {
    position: absolute;
    width: 15px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold), #B8860B);
    top: 30px;
}

.bow-tail.left {
    left: -10px;
    transform: rotate(20deg);
    border-radius: 0 0 50% 50%;
}

.bow-tail.right {
    right: -10px;
    transform: rotate(-20deg);
    border-radius: 0 0 50% 50%;
}

.unwrap-btn {
    background: linear-gradient(135deg, var(--gold), #F4D03F);
    color: var(--gift-red-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.unwrap-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.gift-container.unwrapping {
    animation: fadeOutGift 1.5s ease-out forwards;
}

@keyframes fadeOutGift {
    0% { opacity: 1; }
    100% { 
        opacity: 0;
        pointer-events: none;
    }
}

.invitation {
    display: none;
}

.invitation.visible {
    display: block;
    animation: revealContent 1s ease-out forwards;
}

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

.hidden {
    display: none;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--coastal-blue) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 25c-5 0-10 5-10 10s5 10 10 10 10-5 10-10-5-10-10-10zm0 5c2.5 0 5 2.5 5 5s-2.5 5-5 5-5-2.5-5-5 2.5-5 5-5z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    z-index: 1;
}

.hero-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: gentleSway 3s ease-in-out infinite;
}

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

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
    opacity: 0.95;
}

.scroll-indicator {
    /* position: absolute; */
    margin-top: 20px;
    bottom: 3rem;
    width: 50%;
    margin: 0 auto;  
    /* transform: translateX(-50%); */
    text-align: center;
    color: var(--white);
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(10px) rotate(45deg); }
    60% { transform: translateY(5px) rotate(45deg); }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-divider {
    text-align: center;
    margin-bottom: 2rem;
}

.botanical {
    font-size: 2rem;
    color: var(--sage);
    opacity: 0.7;
}

.section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.section p {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-style: italic;
    color: var(--sage) !important;
}

.why {
    background-color: var(--white);
}

.activities {
    background-color: var(--cream);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.activity-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.activity-card ul {
    list-style: none;
    padding: 0;
}

.activity-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #fff;
    font-size: 0.95rem;
}

.activity-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fff;
    backdrop-filter: blur(2px);
}



.bg-boston {    
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/img/boston.png");
    background-size: cover; /* Optional: ensures image covers the entire element */
    background-position: center; /* Optional: centers the image */
    color: white; /* Optional: ensures text on top is visible */
}
.bg-coast { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/img/macoast.png");
               background-size: cover; /* Optional: ensures image covers the entire element */
               background-position: center; /* Optional: centers the image */
               color: white; /* Optional: ensures text on top is visible */
           }

.bg-ri     { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/img/ri.png");
              background-size: cover; /* Optional: ensures image covers the entire element */
              background-position: center; /* Optional: centers the image */
              color: white; /* Optional: ensures text on top is visible */}
.bg-nh     { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/img/nh.png");
              background-size: cover; /* Optional: ensures image covers the entire element */
              background-position: center; /* Optional: centers the image */
              color: white; /* Optional: ensures text on top is visible */}
.bg-vt     { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/img/vi.png");
              background-size: cover; /* Optional: ensures image covers the entire element */
              background-position: center; /* Optional: centers the image */
              color: white; /* Optional: ensures text on top is visible */}
.bg-me     { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/img/me.png");
               background-size: cover; /* Optional: ensures image covers the entire element */
               background-position: center; /* Optional: centers the image */
               color: white; /* Optional: ensures text on top is visible */;}

.stay {
    background-color: var(--white);
}

.when {
    background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
}

.note {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--coastal-blue);
    text-align: left !important;
    font-style: italic;
    margin-top: 2rem;
}

.heart {
    background-color: var(--white);
}

.highlight {
    font-weight: 400;
    color: var(--text-dark) !important;
}

blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--coastal-dark);
    text-align: center;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    border-top: 1px solid var(--sage-light);
    border-bottom: 1px solid var(--sage-light);
    line-height: 1.8;
}

.footer {
    background: linear-gradient(135deg, var(--sage) 0%, var(--coastal-blue) 100%);
    padding: 5rem 0;
    text-align: center;
}

.footer-botanical {
    font-size: 3rem;
    margin-bottom: 2rem;
    animation: gentleSway 3s ease-in-out infinite;
}

.closing {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 2rem;
}

.christmas-note {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .gift-box {
        width: 160px;
        height: 160px;
    }
    
    .gift-base {
        width: 160px;
        height: 110px;
    }
    
    .gift-lid {
        width: 170px;
        height: 50px;
        left: -5px;
    }
    
    .gift-label {
        font-size: 1.8rem;
    }
    
    blockquote {
        font-size: 1.45rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
}
