/* ===================================
   Mediterranean Luxury Garden Wedding Template
   Palette: Teal Deep, Sage Green, Turquoise, Soft Peach
   Brizbriz Level: ULTRA HIGH
   =================================== */

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

:root {
    /* Color Palette - Mediterranean Luxury */
    --color-teal-deep: #0B6B6B;       /* Deep Teal - primary sophisticated */
    --color-teal-medium: #1B7F7F;     /* Medium Teal */
    --color-sage: #9CAF88;            /* Sage Green - natural premium */
    --color-sage-dark: #8FA391;       /* Darker Sage */
    --color-turquoise: #5FC3D9;       /* Turquoise Light - fresh accent */
    --color-turquoise-light: #48B8D1; /* Light Turquoise */
    --color-peach: #F4D4C8;           /* Soft Peach - warm romantic */
    --color-peach-dark: #E8C3B3;      /* Darker Peach */
    --color-ivory: #FAF8F6;           /* Ivory Pearl - background */
    --color-cream: #F5F3F0;           /* Cream - light background */
    --color-charcoal: #3A3A3A;        /* Charcoal - text elegant */
    --color-gold: #D4AF37;            /* Gold - subtle luxury */
    
    /* Typography - Mediterranean Elegant */
    --font-display: 'Cormorant Garamond', serif;
    --font-heading: 'Cinzel', 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.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-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, rgba(11, 107, 107, 0.97) 0%, rgba(156, 175, 136, 0.95) 100%);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(11, 107, 107, 0.25);
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: 0 6px 35px rgba(11, 107, 107, 0.35);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 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: brightness(1.2) drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.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: 500;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--color-ivory);
    position: relative;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.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-turquoise) 100%);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-turquoise);
    text-shadow: 0 2px 10px rgba(95, 195, 217, 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: 3px;
    background: var(--color-turquoise);
    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-teal-deep) 0%, var(--color-sage-dark) 100%);
        padding: 7rem 2rem 2rem;
        transition: var(--transition-smooth);
        box-shadow: 6px 0 40px rgba(11, 107, 107, 0.4);
    }
    
    .header-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ===================================
   Hero Section with Floating Leaves
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-teal-deep) 0%, var(--color-sage) 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(11, 107, 107, 0.80) 0%,
        rgba(95, 195, 217, 0.30) 50%,
        rgba(156, 175, 136, 0.75) 100%
    );
}

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

.leaf {
    position: absolute;
    width: 40px;
    height: 60px;
    opacity: 0.7;
    filter: drop-shadow(0 2px 8px rgba(156, 175, 136, 0.3));
}

.leaf-1 { left: 8%; animation: leafFloat1 16s ease-in-out infinite; }
.leaf-2 { left: 20%; animation: leafFloat2 18s ease-in-out infinite 2s; }
.leaf-3 { left: 35%; animation: leafFloat1 20s ease-in-out infinite 4s; }
.leaf-4 { left: 50%; animation: leafFloat2 17s ease-in-out infinite 6s; }
.leaf-5 { left: 65%; animation: leafFloat1 19s ease-in-out infinite 8s; }
.leaf-6 { left: 80%; animation: leafFloat2 21s ease-in-out infinite 10s; }
.leaf-7 { left: 15%; animation: leafFloat1 15s ease-in-out infinite 12s; }
.leaf-8 { left: 92%; animation: leafFloat2 16s ease-in-out infinite 14s; }

@keyframes leafFloat1 {
    0% {
        transform: translateY(-10vh) 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(-20px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes leafFloat2 {
    0% {
        transform: translateY(-10vh) 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(20px) rotate(-360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .leaf {
        width: 30px;
        height: 45px;
    }
}

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

.hero-greeting {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-peach);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: var(--color-ivory);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-shadow: 0 4px 20px rgba(11, 107, 107, 0.4);
}

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

.ampersand {
    font-size: 5rem;
    font-family: var(--font-display);
    color: var(--color-turquoise);
    margin: 0.2rem 0;
    filter: drop-shadow(0 3px 10px rgba(95, 195, 217, 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: 1rem;
    }
}

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

.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.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-ivory);
    text-transform: uppercase;
}

.location-main {
    color: var(--color-peach);
}

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

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

.countdown-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-turquoise);
    line-height: 1;
    min-width: 70px;
    text-align: center;
    text-shadow: 0 3px 15px rgba(95, 195, 217, 0.5);
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-ivory);
    text-transform: capitalize;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--color-sage);
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .countdown-value {
        font-size: 2.5rem;
        min-width: 55px;
    }
    .countdown-separator {
        display: none;
    }
}

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

.godparents-intro {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-peach);
    margin-bottom: 0.5rem;
}

.godparents-names {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-ivory);
    text-shadow: 0 2px 10px rgba(11, 107, 107, 0.3);
}

/* ===================================
   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: 600;
    font-style: italic;
    color: var(--color-teal-deep);
    margin-bottom: 1.5rem;
}

.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: 400;
    font-style: italic;
    color: var(--color-charcoal);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

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

/* ===================================
   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: 2rem;
}

.story-paragraph:first-letter {
    font-size: 5rem;
    font-family: var(--font-display);
    font-weight: 600;
    float: left;
    line-height: 0.8;
    margin: 0 0.5rem 0 0;
    color: var(--color-teal-deep);
}

.image-botanical-frame {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-turquoise) 100%);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(11, 107, 107, 0.25);
}

.image-botanical-frame img {
    width: 100%;
    border-radius: 8px;
}

.botanical-corner {
    position: absolute;
    width: 50px;
    height: 50px;
}

.corner-tl {
    top: -10px;
    left: -10px;
    border-top: 3px solid var(--color-gold);
    border-left: 3px solid var(--color-gold);
    border-radius: 8px 0 0 0;
}

.corner-tr {
    top: -10px;
    right: -10px;
    border-top: 3px solid var(--color-gold);
    border-right: 3px solid var(--color-gold);
    border-radius: 0 8px 0 0;
}

.corner-bl {
    bottom: -10px;
    left: -10px;
    border-bottom: 3px solid var(--color-gold);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 0 0 8px;
}

.corner-br {
    bottom: -10px;
    right: -10px;
    border-bottom: 3px solid var(--color-gold);
    border-right: 3px solid var(--color-gold);
    border-radius: 0 0 8px 0;
}

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

/* ===================================
   Couple Section - Circular Gradient
   =================================== */
.couple {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-cream) 0%, rgba(156, 175, 136, 0.1) 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;
}

.couple-circle-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin-bottom: 2.5rem;
}

.circle-gradient {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--color-teal-deep) 0%, var(--color-sage) 50%, var(--color-peach) 100%);
    box-shadow: 0 25px 70px rgba(11, 107, 107, 0.3);
    transition: var(--transition-smooth);
}

.couple-card:hover .circle-gradient {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(11, 107, 107, 0.4);
}

.circle-gradient img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 4px solid var(--color-ivory);
}

.leaf-decoration {
    position: absolute;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.deco-1 {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(156, 175, 136, 0.4) 0%, transparent 70%);
}

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

.deco-3 {
    bottom: -15px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
}

.couple-card:hover .leaf-decoration {
    transform: scale(1.15);
}

.couple-name {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-teal-deep);
    margin-bottom: 0.3rem;
}

.couple-role {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-sage-dark);
    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: 420px;
}

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

/* ===================================
   Events Section - Botanical Cards
   =================================== */
.events {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-ivory) 0%, var(--color-cream) 100%);
}

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

.event-card {
    position: relative;
    background: var(--color-ivory);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 50px rgba(11, 107, 107, 0.15);
    transition: var(--transition-smooth);
    border: 1px solid rgba(156, 175, 136, 0.2);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(11, 107, 107, 0.25);
}

/* Botanical Corner Accents */
.botanical-accent {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.accent-top-left {
    top: 0;
    left: 0;
    border-top: 3px solid var(--color-sage);
    border-left: 3px solid var(--color-sage);
    border-radius: 16px 0 0 0;
}

.accent-top-right {
    top: 0;
    right: 0;
    border-top: 3px solid var(--color-turquoise);
    border-right: 3px solid var(--color-turquoise);
    border-radius: 0 16px 0 0;
}

.accent-bottom-left {
    bottom: 0;
    left: 0;
    border-bottom: 3px solid var(--color-gold);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 0 0 16px;
}

.accent-bottom-right {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid var(--color-peach-dark);
    border-right: 3px solid var(--color-peach-dark);
    border-radius: 0 0 16px 0;
}

.event-card:hover .botanical-accent {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-teal-deep);
    text-align: center;
    margin-bottom: 2rem;
}

.card-image-wrapper {
    width: 100%;
    height: 240px;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(11, 107, 107, 0.2);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

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

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

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

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

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

.detail-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-sage-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-teal-deep);
}

.detail-address {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    line-height: 1.6;
}

.card-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin-bottom: 2rem;
}

.card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-ivory);
    background: linear-gradient(135deg, var(--color-teal-deep) 0%, var(--color-sage-dark) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(11, 107, 107, 0.25);
}

.card-button:hover {
    background: linear-gradient(135deg, var(--color-sage-dark) 0%, var(--color-turquoise) 100%);
    box-shadow: 0 8px 30px rgba(11, 107, 107, 0.35);
    transform: translateY(-2px);
}

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

/* ===================================
   RSVP Section
   =================================== */
.rsvp {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(11, 107, 107, 0.05) 0%, rgba(156, 175, 136, 0.08) 100%);
}

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

.rsvp-form {
    background: var(--color-ivory);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(11, 107, 107, 0.2);
}

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

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-teal-deep);
    margin-bottom: 0.7rem;
    letter-spacing: 0.03em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-charcoal);
    background: var(--color-cream);
    border: 2px solid rgba(156, 175, 136, 0.3);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-teal-deep);
    box-shadow: 0 4px 15px rgba(11, 107, 107, 0.15);
}

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

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

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.radio-text {
    font-size: 1rem;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.3rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-ivory);
    background: linear-gradient(135deg, var(--color-teal-deep) 0%, var(--color-sage-dark) 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 30px rgba(11, 107, 107, 0.3);
}

.form-submit:hover {
    background: linear-gradient(135deg, var(--color-sage-dark) 0%, var(--color-turquoise) 100%);
    box-shadow: 0 12px 40px rgba(11, 107, 107, 0.4);
    transform: translateY(-3px);
}

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

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(156, 175, 136, 0.2);
    color: var(--color-sage-dark);
    border: 2px solid var(--color-sage);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 2px solid #dc3545;
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, var(--color-teal-deep) 0%, var(--color-sage-dark) 100%);
    color: var(--color-ivory);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-ivory);
    margin-bottom: 1rem;
}

.footer-date,
.footer-location {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-peach);
}

.footer-location {
    margin-bottom: 3rem;
}

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

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

.footer-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-ivory);
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.footer-link:hover {
    color: var(--color-turquoise);
    text-shadow: 0 2px 10px rgba(95, 195, 217, 0.5);
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(250, 248, 246, 0.7);
}

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

.fade-in.visible,
.fade-in-up.visible,
.reveal-fade-in.revealed,
.reveal-fade-in-left.revealed,
.reveal-fade-in-right.revealed,
.reveal-fade-in-up.revealed {
    opacity: 1;
}

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

.fade-in-up.visible {
    transform: translateY(0);
}

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

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

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

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

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

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

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



/* Fix for long text without spaces (URLs, etc.) */
.story__text p,
.couple__description,
.event__address,
.event__description {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
