/* ===================================
   Sweet Love Hearts Wedding Template
   Palette: Hot Pink, Peach, Yellow, Blush
   Brizbriz Level: HIGH
   =================================== */

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

:root {
    /* Color Palette - Sweet & Vibrant */
    --color-hot-pink: #FF69B4;        /* Hot Pink - primary vibrant */
    --color-deep-pink: #FF1493;       /* Deep Pink - accent */
    --color-peach: #FFAB91;           /* Peach - warm romantic */
    --color-coral: #FF8A65;           /* Coral - darker peach */
    --color-yellow: #FFD54F;          /* Soft Yellow - sunshine */
    --color-gold: #FFB300;            /* Gold - bright accent */
    --color-blush: #FFB6C1;           /* Blush Pink - light sweet */
    --color-light-pink: #FFC0CB;      /* Light Pink */
    --color-ivory: #FFF9F5;           /* Ivory - background */
    --color-cream: #FAF3E0;           /* Cream - soft background */
    --color-charcoal: #4A4A4A;        /* Charcoal Gray - text */
    
    /* Typography - Romantic & Elegant */
    --font-display: 'Great Vibes', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    
    /* Border Radius - Rounded everywhere! */
    --radius-sm: 15px;
    --radius-md: 25px;
    --radius-lg: 35px;
    --radius-full: 50px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-charcoal);
    background: var(--color-cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ===================================
   Header Sticky
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #FF69B4 0%, #FF8A65 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.3);
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: 0 6px 30px rgba(255, 105, 180, 0.4);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    width: 60px;
    height: 60px;
    transition: var(--transition-smooth);
}

.header-logo:hover {
    transform: scale(1.1) rotate(-5deg);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.5));
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: #FFFFFF;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: var(--color-yellow);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: #FFFFFF;
    transition: var(--transition-smooth);
    border-radius: var(--radius-full);
}

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

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

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #FF69B4 0%, #FF8A65 100%);
        padding: 7rem 2rem 2rem;
        transition: var(--transition-smooth);
        box-shadow: 6px 0 30px rgba(255, 105, 180, 0.4);
    }
    
    .header-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ===================================
   Hero Section with Floating Hearts
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #FFC0CB 0%, #FFD54F 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 192, 203, 0.85) 0%,
        rgba(255, 171, 145, 0.75) 50%,
        rgba(255, 213, 79, 0.85) 100%
    );
}

/* Animated Floating Hearts */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.heart {
    position: absolute;
    width: 50px;
    height: 45px;
    opacity: 0.8;
    filter: drop-shadow(0 2px 8px rgba(255, 20, 147, 0.3));
}

.heart-1 { left: 5%; animation: heartFloat1 12s ease-in-out infinite; }
.heart-2 { left: 15%; animation: heartFloat2 14s ease-in-out infinite 2s; }
.heart-3 { left: 25%; animation: heartFloat1 16s ease-in-out infinite 4s; }
.heart-4 { left: 35%; animation: heartFloat2 13s ease-in-out infinite 6s; }
.heart-5 { left: 45%; animation: heartFloat1 15s ease-in-out infinite 8s; }
.heart-6 { left: 55%; animation: heartFloat2 17s ease-in-out infinite 10s; }
.heart-7 { left: 65%; animation: heartFloat1 14s ease-in-out infinite 12s; }
.heart-8 { left: 75%; animation: heartFloat2 16s ease-in-out infinite 14s; }
.heart-9 { left: 85%; animation: heartFloat1 18s ease-in-out infinite 16s; }
.heart-10 { left: 95%; animation: heartFloat2 15s ease-in-out infinite 18s; }

@keyframes heartFloat1 {
    0% {
        transform: translateY(110vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) scale(1);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(0.6);
        opacity: 0;
    }
}

@keyframes heartFloat2 {
    0% {
        transform: translateY(110vh) rotate(0deg) scale(0.7);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) rotate(-180deg) scale(1.1);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) rotate(-360deg) scale(0.5);
        opacity: 0;
    }
}

/* Heart Confetti */
.heart-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 20px;
    height: 18px;
    opacity: 0.6;
}

.confetti-1 { top: 15%; left: 10%; animation: confettiSpin 8s linear infinite; }
.confetti-2 { top: 25%; right: 15%; animation: confettiSpin 10s linear infinite 2s; }
.confetti-3 { top: 40%; left: 20%; animation: confettiSpin 9s linear infinite 4s; }
.confetti-4 { top: 60%; right: 25%; animation: confettiSpin 11s linear infinite 6s; }
.confetti-5 { bottom: 30%; left: 30%; animation: confettiSpin 12s linear infinite 8s; }
.confetti-6 { bottom: 20%; right: 35%; animation: confettiSpin 10s linear infinite 10s; }

@keyframes confettiSpin {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .heart {
        width: 35px;
        height: 30px;
    }
    .confetti {
        width: 15px;
        height: 13px;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-greeting {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(255, 20, 147, 0.4);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 7.5rem;
    font-weight: 400;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-shadow: 0 4px 20px rgba(255, 20, 147, 0.5);
}

.bride-name,
.groom-name {
    display: block;
}

.ampersand {
    font-size: 4.5rem;
    font-family: var(--font-display);
    color: var(--color-yellow);
    margin: 0.3rem 0;
    filter: drop-shadow(0 3px 10px rgba(255, 179, 0, 0.6));
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 5.5rem;
    }
    .ampersand {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4.2rem;
    }
    .ampersand {
        font-size: 3rem;
    }
    .hero-greeting {
        font-size: 1.2rem;
    }
}

.hero-divider {
    width: 600px;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.5));
}

.hero-date-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.date-main,
.location-main {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(255, 20, 147, 0.4);
}

@media (max-width: 768px) {
    .date-main,
    .location-main {
        font-size: 1.3rem;
    }
}

/* Countdown - Sweet Style */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.2rem 1.8rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.2);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255, 20, 147, 0.4);
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .countdown {
        gap: 1rem;
    }
    .countdown-value {
        font-size: 2.2rem;
    }
}

/* Godparents */
.godparents {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 3px dashed rgba(255, 255, 255, 0.5);
}

.godparents-intro {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.godparents-names {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(255, 20, 147, 0.4);
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--color-hot-pink);
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 10px rgba(255, 20, 147, 0.2);
}

.section-divider {
    width: 600px;
    max-width: 100%;
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-charcoal);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 3.2rem;
    }
}

/* ===================================
   Story Section
   =================================== */
.story {
    padding: var(--spacing-xl) 0;
    background: var(--color-ivory);
}

.story-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-paragraph {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
}

.story-paragraph:first-letter {
    font-size: 4.5rem;
    font-family: var(--font-display);
    float: left;
    line-height: 0.8;
    margin: 0 0.5rem 0 0;
    color: var(--color-hot-pink);
}

.image-heart-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.image-heart-frame img {
    width: 100%;
    height: auto;
    clip-path: path('M250,440 C250,440 50,300 50,150 C50,60 90,10 160,10 C210,10 240,40 250,90 C260,40 290,10 340,10 C410,10 450,60 450,150 C450,300 250,440 250,440 Z');
    border-radius: var(--radius-md);
    box-shadow: 0 15px 50px rgba(255, 20, 147, 0.3);
}

@media (max-width: 968px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .story-text {
        order: 2;
    }
    .story-image {
        order: 1;
    }
}

/* ===================================
   Couple Section with HEART-SHAPED Images
   =================================== */
.couple {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #FFF9F5 0%, #FFE8E8 100%);
}

.couple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.couple-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* HEART Shape */
.couple-heart-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 2.5rem;
}

.heart-shape {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.heart-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    clip-path: path('M150,280 C150,280 30,180 30,90 C30,35 55,5 95,5 C125,5 145,25 150,55 C155,25 175,5 205,5 C245,5 270,35 270,90 C270,180 150,280 150,280 Z');
}

.couple-card:hover .heart-shape {
    transform: scale(1.05) rotate(2deg);
}

/* Heart decorations */
.heart-decoration {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.3) 0%, transparent 70%);
    transition: var(--transition-smooth);
}

.deco-1 {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
}

.deco-2 {
    bottom: -20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 171, 145, 0.4) 0%, transparent 70%);
}

.deco-3 {
    bottom: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 213, 79, 0.4) 0%, transparent 70%);
}

.couple-card:hover .heart-decoration {
    transform: scale(1.2);
}

.couple-name {
    font-family: var(--font-display);
    font-size: 3.8rem;
    color: var(--color-hot-pink);
    margin-bottom: 0.3rem;
}

.couple-role {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-peach);
    margin-bottom: 1.5rem;
}

.couple-divider-small {
    width: 50px;
    margin: 0 auto 1.5rem;
}

.couple-description {
    font-size: 1rem;
    line-height: 1.9;
    max-width: 400px;
}

@media (max-width: 768px) {
    .couple-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .couple-heart-wrapper {
        width: 260px;
        height: 260px;
    }
}

/* ===================================
   Events Section - Cute Cards
   =================================== */
.events {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
}

.events-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.event-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.15);
    transition: var(--transition-smooth);
    position: relative;
    border: 3px solid transparent;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.25);
    border-color: var(--color-hot-pink);
}

/* Heart corners */
.card-heart-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--color-hot-pink) 0%, var(--color-peach) 100%);
    opacity: 0.7;
}

.corner-tl {
    top: -3px;
    left: -3px;
    border-radius: 0 0 var(--radius-full) 0;
}

.corner-tr {
    top: -3px;
    right: -3px;
    border-radius: 0 0 0 var(--radius-full);
}

.corner-bl {
    bottom: -3px;
    left: -3px;
    border-radius: 0 var(--radius-full) 0 0;
}

.corner-br {
    bottom: -3px;
    right: -3px;
    border-radius: var(--radius-full) 0 0 0;
}

.card-icon {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--color-hot-pink);
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-image-wrapper {
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
}

.card-image-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.event-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-row img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.card-description {
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.card-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-hot-pink) 0%, var(--color-peach) 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
    transition: var(--transition-smooth);
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

/* ===================================
   RSVP Section
   =================================== */
.rsvp {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #FFF9F5 0%, #FFE8E8 100%);
}

.rsvp-content {
    max-width: 750px;
    margin: 0 auto;
}

.rsvp-form {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.2);
    border: 3px solid var(--color-hot-pink);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-hot-pink);
}

.form-input,
.form-textarea {
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-charcoal);
    background: var(--color-ivory);
    border: 2px solid var(--color-blush);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-hot-pink);
    box-shadow: 0 0 0 4px rgba(255, 105, 180, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-hot-pink);
}

.form-submit {
    width: 100%;
    padding: 1.2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--color-hot-pink) 0%, var(--color-peach) 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.4);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: rgba(144, 238, 144, 0.2);
    color: #2d7a2d;
    border: 2px solid #90ee90;
}

.form-message.error {
    background: rgba(255, 99, 71, 0.2);
    color: #c42e1f;
    border: 2px solid #ff6347;
}

@media (max-width: 768px) {
    .rsvp-form {
        padding: 2rem 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #FF69B4 0%, #FF8A65 100%);
    color: #FFFFFF;
    text-align: center;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 3px 15px rgba(255, 255, 255, 0.5));
}

.footer-main {
    margin-bottom: 2rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 15px rgba(255, 255, 255, 0.3);
}

.footer-date,
.footer-location {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-divider {
    width: 500px;
    max-width: 100%;
    margin: 0 auto 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.footer-copyright {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

/* ===================================
   Scroll Reveal Animations
   =================================== */
.reveal-fade-in,
.reveal-fade-in-up,
.reveal-fade-in-left,
.reveal-fade-in-right {
    opacity: 0;
    transition: var(--transition-slow);
}

.reveal-fade-in.revealed {
    opacity: 1;
}

.reveal-fade-in-up {
    transform: translateY(40px);
}

.reveal-fade-in-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-in-left {
    transform: translateX(-40px);
}

.reveal-fade-in-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade-in-right {
    transform: translateX(40px);
}

.reveal-fade-in-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Hero animations */
.fade-in {
    animation: fadeIn 1s ease-in-out 0.3s both;
}

.fade-in-up {
    animation: fadeInUp 1s ease-in-out 0.6s both;
}

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

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

/* ===================================
   Prefers Reduced Motion
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-hearts,
    .heart-confetti {
        display: none !important;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .header,
    .footer,
    .countdown,
    .rsvp,
    .floating-hearts,
    .heart-confetti {
        display: none;
    }
    
    body {
        background: white;
    }
}



/* Fix for long text without spaces */
.story-paragraph,
.couple-description,
.card-description,
.detail-address {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
