/* ===================================
   Romantic Luxury Burgundy Wedding Template
   Palette: Burgundy, Champagne Gold, Blush Rose, Ivory
   Brizbriz Level: ULTRA HIGH
   =================================== */

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

:root {
    /* Color Palette - Romantic Luxury */
    --color-burgundy: #8B1538;        /* Deep Burgundy - primary */
    --color-burgundy-dark: #6B1229;   /* Darker Burgundy */
    --color-champagne: #F4E4C1;       /* Champagne Gold - luxury */
    --color-gold: #D4AF37;            /* True Gold - accents */
    --color-blush: #E8B4B8;           /* Blush Rose - romantic */
    --color-blush-dark: #D4979C;      /* Darker Blush */
    --color-ivory: #FAF7F2;           /* Ivory Pearl - background */
    --color-cream: #F5F1E8;           /* Cream - light */
    --color-plum: #4A1C40;            /* Deep Plum - text */
    --color-rose-gold: #B76E79;       /* Rose Gold - accents */
    
    /* Typography - Romantic Calligraphy */
    --font-display: 'Great Vibes', cursive;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Crimson Text', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-plum);
    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, rgba(139, 21, 56, 0.97) 0%, rgba(107, 18, 41, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(139, 21, 56, 0.2);
    transition: var(--transition-smooth);
    border-bottom: 2px solid var(--color-gold);
}

.header.scrolled {
    padding: 0;
    box-shadow: 0 6px 40px rgba(139, 21, 56, 0.3);
}

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

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

.header-logo:hover {
    transform: scale(1.08) rotate(-3deg);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.4));
}

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

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-blush) 100%);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.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: 2.5px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.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, var(--color-burgundy) 0%, var(--color-burgundy-dark) 100%);
        padding: 7rem 2rem 2rem;
        transition: var(--transition-smooth);
        box-shadow: 6px 0 40px rgba(139, 21, 56, 0.4);
        border-right: 2px solid var(--color-gold);
    }
    
    .header-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ===================================
   Hero Section with Rose Petals
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 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(139, 21, 56, 0.80) 0%,
        rgba(232, 180, 184, 0.15) 50%,
        rgba(139, 21, 56, 0.80) 100%
    );
}

/* Animated Rose Petals */
.rose-petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 30px;
    height: 40px;
    opacity: 0.7;
    filter: drop-shadow(0 2px 5px rgba(232, 180, 184, 0.3));
}

.petal-1 {
    top: -50px;
    left: 10%;
    animation: petalFall1 15s ease-in-out infinite;
}

.petal-2 {
    top: -50px;
    left: 25%;
    animation: petalFall2 18s ease-in-out infinite 2s;
}

.petal-3 {
    top: -50px;
    left: 40%;
    animation: petalFall3 20s ease-in-out infinite 4s;
}

.petal-4 {
    top: -50px;
    left: 55%;
    animation: petalFall1 17s ease-in-out infinite 6s;
}

.petal-5 {
    top: -50px;
    left: 70%;
    animation: petalFall2 19s ease-in-out infinite 8s;
}

.petal-6 {
    top: -50px;
    left: 85%;
    animation: petalFall3 16s ease-in-out infinite 10s;
}

.petal-7 {
    top: -50px;
    left: 15%;
    animation: petalFall1 21s ease-in-out infinite 12s;
}

.petal-8 {
    top: -50px;
    left: 90%;
    animation: petalFall2 22s ease-in-out infinite 14s;
}

@keyframes petalFall1 {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(110vh) translateX(-50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes petalFall2 {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(110vh) translateX(50px) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes petalFall3 {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(50vh) translateX(-30px) rotate(180deg);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(110vh) translateX(30px) rotate(360deg);
        opacity: 0;
    }
}

/* Lace Decorations */
.lace-decoration {
    position: absolute;
    z-index: 2;
    opacity: 0.5;
}

.lace-left {
    top: 80px;
    left: 20px;
    width: 200px;
    height: 300px;
}

.lace-right {
    top: 80px;
    right: 20px;
    width: 200px;
    height: 300px;
}

@media (max-width: 768px) {
    .lace-decoration {
        display: none;
    }
}

/* 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.3rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-champagne);
    margin-bottom: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-ivory);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

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

.ampersand {
    font-size: 5rem;
    font-family: var(--font-display);
    color: var(--color-blush);
    margin: 0.3rem 0;
    filter: drop-shadow(0 3px 10px rgba(232, 180, 184, 0.5));
}

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

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

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

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

.date-main,
.location-main {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-champagne);
}

.location-main {
    font-style: italic;
    font-weight: 400;
}

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

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

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    min-width: 75px;
    text-align: center;
    text-shadow: 0 3px 15px rgba(212, 175, 55, 0.5);
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-champagne);
    text-transform: capitalize;
}

.countdown-divider {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-blush);
    line-height: 1;
}

@media (max-width: 768px) {
    .countdown {
        gap: 1rem;
    }
    
    .countdown-value {
        font-size: 2.5rem;
        min-width: 55px;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .countdown-divider {
        font-size: 2rem;
    }
}

/* Godparents */
.godparents {
    margin-top: 3.5rem;
    padding-top: 3.5rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.godparents-intro {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-champagne);
    margin-bottom: 0.7rem;
    opacity: 0.95;
}

.godparents-names {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 600;
    color: var(--color-ivory);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .godparents-names {
        font-size: 1.9rem;
    }
}

/* ===================================
   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: 5.5rem;
    font-weight: 400;
    color: var(--color-burgundy);
    margin-bottom: 1.8rem;
    text-shadow: 0 3px 15px rgba(139, 21, 56, 0.15);
}

.section-divider {
    width: 600px;
    max-width: 100%;
    margin: 0 auto 1.8rem;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.2));
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-plum);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: var(--spacing-md);
        padding-top: var(--spacing-lg);
    }
    
    .section-title {
        font-size: 3.8rem;
    }
}

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

.story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/textures/texture-lace.png');
    opacity: 0.03;
    pointer-events: none;
}

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

.story-text {
    order: 1;
}

.story-paragraph {
    font-family: var(--font-body);
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-plum);
    margin-bottom: 2rem;
}

.story-paragraph:first-letter {
    font-size: 5.5rem;
    font-family: var(--font-display);
    float: left;
    line-height: 0.75;
    margin: 0.08em 0.5rem 0 0;
    color: var(--color-burgundy);
    text-shadow: 0 2px 10px rgba(139, 21, 56, 0.2);
}

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

.story-image {
    order: 2;
}

.image-lace-frame {
    position: relative;
    border: 3px solid var(--color-burgundy);
    padding: 1.2rem;
    background: var(--color-champagne);
    box-shadow: 
        0 0 0 2px var(--color-gold),
        inset 0 0 0 8px var(--color-ivory),
        0 20px 60px rgba(139, 21, 56, 0.25);
    border-radius: 4px;
}

.image-lace-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.frame-ornament {
    position: absolute;
    width: 50px;
    height: 50px;
}

.ornament-tl {
    top: -3px;
    left: -3px;
    border-top: 3px solid var(--color-blush);
    border-left: 3px solid var(--color-blush);
}

.ornament-tr {
    top: -3px;
    right: -3px;
    border-top: 3px solid var(--color-blush);
    border-right: 3px solid var(--color-blush);
}

.ornament-bl {
    bottom: -3px;
    left: -3px;
    border-bottom: 3px solid var(--color-blush);
    border-left: 3px solid var(--color-blush);
}

.ornament-br {
    bottom: -3px;
    right: -3px;
    border-bottom: 3px solid var(--color-blush);
    border-right: 3px solid var(--color-blush);
}

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

/* ===================================
   Couple Section with OVAL Portraits
   =================================== */
.couple {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
    position: relative;
}

.couple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/textures/texture-lace.png');
    opacity: 0.03;
    pointer-events: none;
}

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

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

/* OVAL Portrait Frame */
.couple-oval-wrapper {
    position: relative;
    width: 320px;
    height: 400px;
    margin-bottom: 3rem;
}

.oval-portrait {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50% / 60%;
    overflow: hidden;
    border: 6px solid var(--color-burgundy);
    box-shadow: 
        0 0 0 4px var(--color-champagne),
        inset 0 0 0 6px var(--color-ivory),
        0 25px 70px rgba(139, 21, 56, 0.3);
    transition: var(--transition-smooth);
}

.couple-card:hover .oval-portrait {
    transform: scale(1.03);
    box-shadow: 
        0 0 0 4px var(--color-gold),
        inset 0 0 0 6px var(--color-champagne),
        0 30px 80px rgba(139, 21, 56, 0.4);
}

.oval-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

/* Gold Frame Accents */
.gold-frame-accent {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
    transition: var(--transition-smooth);
}

.accent-top {
    top: -20px;
}

.accent-bottom {
    bottom: -20px;
}

.couple-card:hover .gold-frame-accent {
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.6) 0%, transparent 70%);
}

.couple-info {
    position: relative;
    z-index: 4;
}

.couple-name {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 400;
    color: var(--color-burgundy);
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 10px rgba(139, 21, 56, 0.15);
}

.couple-role {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-blush-dark);
    margin-bottom: 2rem;
}

.couple-divider-small {
    width: 60px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.couple-description {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-plum);
    max-width: 450px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .couple-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .couple-oval-wrapper {
        width: 280px;
        height: 350px;
    }
    
    .couple-name {
        font-size: 3.3rem;
    }
}

/* ===================================
   Events Section - Elegant Cards with Ribbon
   =================================== */
.events {
    padding: var(--spacing-xl) 0;
    background: var(--color-ivory);
    position: relative;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/textures/texture-lace.png');
    opacity: 0.03;
    pointer-events: none;
}

.events-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: var(--color-cream);
    border: 3px solid var(--color-burgundy);
    box-shadow: 
        0 0 0 2px var(--color-champagne),
        0 15px 50px rgba(139, 21, 56, 0.2);
    position: relative;
    transition: var(--transition-smooth);
    overflow: visible;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 0 0 2px var(--color-gold),
        0 20px 60px rgba(139, 21, 56, 0.3);
}

/* Ribbon Accent */
.card-ribbon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    z-index: 10;
    filter: drop-shadow(0 4px 10px rgba(139, 21, 56, 0.3));
}

.card-header {
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.05) 0%, rgba(232, 180, 184, 0.05) 100%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 8px rgba(139, 21, 56, 0.2));
}

.card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-burgundy);
    margin-bottom: 0;
}

.card-body {
    padding: 2rem;
}

.card-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 4px;
    border: 2px solid var(--color-gold);
}

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

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

.rose-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1) 0%, rgba(232, 180, 184, 0.1) 100%);
}

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

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.detail-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-burgundy);
}

.detail-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-plum);
}

.detail-address {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-plum);
    line-height: 1.6;
    opacity: 0.85;
}

.card-description {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-plum);
    margin-bottom: 2rem;
}

.card-map-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-dark) 100%);
    color: var(--color-ivory);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.3);
}

.card-map-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.card-map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 21, 56, 0.4);
    background: linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-plum) 100%);
}

@media (max-width: 768px) {
    .events-cards {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   RSVP Section
   =================================== */
.rsvp {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
    position: relative;
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/textures/texture-lace.png');
    opacity: 0.03;
    pointer-events: none;
}

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

.rsvp-form {
    background: var(--color-ivory);
    border: 3px solid var(--color-burgundy);
    padding: 3.5rem;
    box-shadow: 
        0 0 0 2px var(--color-champagne),
        inset 0 0 0 8px var(--color-cream),
        0 20px 60px rgba(139, 21, 56, 0.2);
    position: relative;
}

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

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

.form-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-burgundy);
}

.form-input,
.form-textarea {
    padding: 1rem 1.3rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-plum);
    background: var(--color-cream);
    border: 2px solid var(--color-blush);
    border-radius: 4px;
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-burgundy);
    box-shadow: 0 0 0 4px rgba(139, 21, 56, 0.1);
}

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

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

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-plum);
}

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

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.3rem 3rem;
    margin-top: 2.5rem;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-dark) 100%);
    color: var(--color-ivory);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 35px rgba(139, 21, 56, 0.3);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-burgundy-dark) 100%);
    transition: var(--transition-smooth);
    z-index: 0;
}

.form-submit:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.form-submit img,
.form-submit span {
    position: relative;
    z-index: 1;
}

.form-submit img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(139, 21, 56, 0.4);
}

.form-message {
    margin-top: 2rem;
    padding: 1.2rem;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid;
    border-radius: 4px;
}

.form-message.success {
    background: rgba(139, 21, 56, 0.05);
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.form-message.error {
    background: rgba(183, 110, 121, 0.1);
    color: var(--color-rose-gold);
    border-color: var(--color-rose-gold);
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 5rem 0 2.5rem;
    background: linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 100%);
    color: var(--color-ivory);
    text-align: center;
    position: relative;
    border-top: 3px solid var(--color-gold);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/textures/texture-lace.png');
    opacity: 0.05;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    width: 85px;
    height: 85px;
    margin: 0 auto 2.5rem;
    filter: drop-shadow(0 3px 15px rgba(212, 175, 55, 0.4));
}

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

.footer-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    text-shadow: 0 3px 15px rgba(212, 175, 55, 0.3);
}

.footer-date {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-champagne);
    margin-bottom: 0.5rem;
}

.footer-location {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-blush);
}

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

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

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

.footer-link:hover {
    color: var(--color-gold);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

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

/* ===================================
   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(50px);
}

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

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

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

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

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

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

.fade-in-up {
    animation: fadeInUp 1.2s ease-in-out 0.7s both;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    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;
    }
    
    .rose-petals,
    .petal {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .header,
    .footer,
    .countdown,
    .rsvp,
    .rose-petals,
    .lace-decoration {
        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;
}
