/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    color: #2D3748;
    background: linear-gradient(180deg, #FEFFFE 0%, #F8FAF6 25%, #F2F6EE 50%, #F8FAF6 75%, #FEFFFE 100%);
    background-attachment: fixed;
    position: relative;
    font-size: 16px;
    font-weight: 400;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(168, 196, 154, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 142, 90, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(168, 196, 154, 0.025) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #4A5568;
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    padding: 10px 14px;
    border-radius: 8px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 196, 154, 0.7), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0.8;
}

nav a:hover {
    color: #5A7A4A;
    background: rgba(168, 196, 154, 0.06);
    transform: translateY(-1px);
}

nav a:hover::before {
    width: 70%;
    opacity: 1;
}

/* Liquid Elements */
.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.liquid-blob:nth-child(1) {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 196, 154, 0.3) 0%, rgba(168, 196, 154, 0.1) 70%, transparent 100%);
    top: 20%;
    left: -50px;
    animation-delay: 0s;
}

.liquid-blob:nth-child(2) {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(107, 142, 90, 0.25) 0%, rgba(107, 142, 90, 0.08) 70%, transparent 100%);
    top: 60%;
    right: -30px;
    animation-delay: 2s;
}

.liquid-blob:nth-child(3) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 196, 154, 0.2) 0%, rgba(168, 196, 154, 0.05) 70%, transparent 100%);
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        border-radius: 50% 45% 55% 50%;
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
        border-radius: 45% 50% 50% 55%;
    }
    66% {
        transform: translateY(10px) rotate(-3deg);
        border-radius: 55% 50% 45% 50%;
    }
}

.organic-shape {
    position: absolute;
    background: rgba(168, 196, 154, 0.08);
    border-radius: 50% 60% 40% 70%;
    filter: blur(2px);
    animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 50% 60% 40% 70%;
        transform: scale(1) rotate(0deg);
    }
    25% {
        border-radius: 60% 40% 70% 50%;
        transform: scale(1.1) rotate(90deg);
    }
    50% {
        border-radius: 40% 70% 50% 60%;
        transform: scale(0.9) rotate(180deg);
    }
    75% {
        border-radius: 70% 50% 60% 40%;
        transform: scale(1.05) rotate(270deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #A8C49A 0%, #6B8E5A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    animation: heroFloat 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-2%, -1%) rotate(1deg);
    }
    66% {
        transform: translate(1%, -2%) rotate(-0.5deg);
    }
}

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

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.25rem;
    font-weight: 300;
    margin-bottom: 36px;
    animation: fadeInUp 1s ease;
    letter-spacing: 0.025em;
    line-height: 1.15;
}

.hero-content .ampersand {
    font-size: 3rem;
    margin: 0 20px;
    opacity: 0.8;
}

.hero-content .date {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.3s both;
    position: relative;
    text-transform: uppercase;
}

.hero-content .date::before,
.hero-content .date::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateY(-50%);
}

.hero-content .date::before {
    left: -60px;
}

.hero-content .date::after {
    right: -60px;
}

.hero-content .location {
    font-size: 1.0625rem;
    font-weight: 300;
    margin-top: 16px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.6s both;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

section:not(.hero):not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 196, 154, 0.3), transparent);
}

.section-divider {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 196, 154, 0.2), rgba(107, 142, 90, 0.3), rgba(168, 196, 154, 0.2), transparent);
    animation: flowLine 3s ease-in-out infinite;
}

.section-divider .decorative-element {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(168, 196, 154, 0.6) 0%, rgba(168, 196, 154, 0.2) 70%, transparent 100%);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes flowLine {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

section > .container {
    position: relative;
    z-index: 1;
}

/* Section-specific background treatments */
.ceremony::before {
    background: radial-gradient(ellipse at 50% 20%, rgba(168, 196, 154, 0.04) 0%, transparent 70%);
    opacity: 1;
}

.transfer::before {
    background:
        radial-gradient(ellipse at 30% 60%, rgba(107, 142, 90, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 40%, rgba(168, 196, 154, 0.02) 0%, transparent 50%);
    opacity: 1;
}

.gifts::before {
    background: radial-gradient(ellipse at 60% 80%, rgba(168, 196, 154, 0.035) 0%, transparent 65%);
    opacity: 1;
}

.contact::before {
    background:
        radial-gradient(ellipse at 40% 30%, rgba(107, 142, 90, 0.025) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(168, 196, 154, 0.03) 0%, transparent 60%);
    opacity: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.625rem;
    text-align: center;
    margin-bottom: 80px;
    color: #6B8E5A;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.25;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 196, 154, 0.6), transparent);
    border-radius: 1px;
    opacity: 0.8;
}

/* Ceremony */
.ceremony {
    background: white;
}

.ceremony-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 56px 52px;
    border-radius: 26px;
    box-shadow:
        0 8px 32px rgba(107, 142, 90, 0.08),
        0 2px 8px rgba(107, 142, 90, 0.04);
    border: 1px solid rgba(168, 196, 154, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translateY(0);
}

.ceremony-content:hover {
    transform: translateY(-8px);
    box-shadow:
        0 16px 48px rgba(107, 142, 90, 0.12),
        0 4px 16px rgba(107, 142, 90, 0.06);
    border-color: rgba(168, 196, 154, 0.3);
}

.ceremony-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 32px;
    color: #2D3748;
    font-weight: 400;
}

.ceremony-content p:last-of-type {
    margin-bottom: 0;
}

.ceremony-content p strong {
    color: #5A7A4A;
    font-weight: 500;
    display: inline-block;
    margin-right: 10px;
    letter-spacing: 0.025em;
}

.ceremony-content p i {
    display: block;
    text-align: center;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(168, 196, 154, 0.25);
    font-style: italic;
    color: #5A7A4A;
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0.025em;
    opacity: 0.9;
}

.ceremony-content .address-section {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 196, 154, 0.2);
    border-radius: 22px;
    padding: 36px 32px;
    margin-top: 44px;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ceremony-content .address-section:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(168, 196, 154, 0.3);
    transform: translateY(-2px);
}

.ceremony-content .address-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3125rem;
    color: #6B8E5A;
    margin-bottom: 22px;
    font-weight: 400;
    letter-spacing: 0.025em;
}

.ceremony-content .address-section p {
    margin-bottom: 12px;
    color: #4A5568;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.ceremony-content .address-section p:last-of-type {
    margin-bottom: 0;
}

.ceremony-content .address-section a {
    color: #6B8E5A;
    text-decoration: none;
}

.ceremony-content .address-section a:hover {
    text-decoration: underline;
}

.ceremony-content a {
    color: #6B8E5A;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ceremony-content a:hover {
    text-decoration: underline;
    opacity: 0.8;
}


/* Transfer */
.transfer {
    background: linear-gradient(135deg, #F8F9FA 0%, #F2F6EE 50%, #F8F9FA 100%);
    position: relative;
}

.transfer .organic-shape:nth-child(1) {
    width: 400px;
    height: 300px;
    top: -100px;
    right: -150px;
    opacity: 0.6;
    animation-delay: 1s;
}

.transfer .organic-shape:nth-child(2) {
    width: 250px;
    height: 200px;
    bottom: -80px;
    left: -100px;
    opacity: 0.4;
    animation-delay: 3s;
}

.transfer-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: center;
    max-width: 1040px;
    margin: 0 auto;
}

.transfer-grid .transfer-card {
    flex: 0 0 calc(50% - 20px);
    min-width: 300px;
    max-width: 450px;
}

.transfer-card {
    background: rgba(255, 255, 255, 0.91);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px 40px 44px 40px;
    border-radius: 26px;
    box-shadow:
        0 8px 32px rgba(107, 142, 90, 0.08),
        0 2px 8px rgba(107, 142, 90, 0.04);
    border: 1px solid rgba(168, 196, 154, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translateY(0) scale(1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.transfer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 196, 154, 0.1), transparent);
    transition: left 0.6s ease;
}

.transfer-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(107, 142, 90, 0.15),
        0 8px 24px rgba(107, 142, 90, 0.08);
    border-color: rgba(168, 196, 154, 0.3);
}

.transfer-card:hover::before {
    left: 100%;
}

.transfer-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #6B8E5A;
    margin-bottom: 28px;
    text-align: center;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.025em;
}

.transfer-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A8C49A, transparent);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.transfer-card:hover h3::after {
    width: 50px;
}

.transfer-card p {
    margin-bottom: 24px;
    color: #2D3748;
    line-height: 1.75;
    font-size: 1.0625rem;
    font-weight: 400;
}

.transfer-card p:last-of-type {
    margin-bottom: 0;
}

.hotel-info {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #6B8E5A;
}

.hotel-info p {
    margin-bottom: 5px;
}

.hotel-info a {
    color: #6B8E5A;
    text-decoration: none;
}

.hotel-info a:hover {
    text-decoration: underline;
}

.transfer-card em {
    color: #888;
    font-style: italic;
    margin-top: 15px;
    display: block;
}

/* RSVP */
.rsvp {
    background: linear-gradient(135deg, #A8C49A 0%, #6B8E5A 100%);
    color: white;
    text-align: center;
}

.rsvp .section-title {
    color: white;
}

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

.rsvp p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.025em;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.rsvp-button {
    display: inline-block;
    background: white;
    color: #6B8E5A;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.rsvp-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(168, 196, 154, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.rsvp-button span {
    position: relative;
    z-index: 1;
}

.rsvp-button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 8px 20px rgba(107, 142, 90, 0.15),
        0 3px 8px rgba(107, 142, 90, 0.1);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(168, 196, 154, 0.4);
}

.rsvp-button:hover::before {
    width: 200px;
    height: 200px;
}

.rsvp-button:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

/* Gifts */
.gifts {
    background: white;
}

.gifts-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.gifts p {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 32px;
    color: #4A5568;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gifts p:last-of-type {
    margin-bottom: 0;
}

.gifts-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.gifts-link {
    display: inline-block;
    background: #6B8E5A;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.gifts-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.gifts-link:hover {
    background: #5A7A4A;
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 12px 24px rgba(90, 122, 74, 0.3),
        0 4px 8px rgba(90, 122, 74, 0.15);
    border-color: rgba(168, 196, 154, 0.3);
}

.gifts-link:hover::before {
    left: 100%;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #F8F9FA 0%, #F0F4EE 50%, #F8F9FA 100%);
    position: relative;
}

.contact .organic-shape:nth-child(1) {
    width: 350px;
    height: 280px;
    top: -120px;
    left: -120px;
    opacity: 0.5;
    animation-delay: 2s;
}

.contact .organic-shape:nth-child(2) {
    width: 200px;
    height: 180px;
    bottom: -60px;
    right: -80px;
    opacity: 0.3;
    animation-delay: 4s;
}

.contact-content {
    max-width: 650px;
    margin: 0 auto 48px auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 0;
    font-weight: 400;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-person h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #6B8E5A;
    margin-bottom: 10px;
}

.contact-person p {
    color: #666;
    margin-bottom: 5px;
}

.contact-person a {
    color: #6B8E5A;
    text-decoration: none;
}

.contact-person a:hover {
    text-decoration: underline;
}

.contact-person em {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
    display: block;
    line-height: 1.4;
}

.contact-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: center;
    max-width: 1040px;
    margin: 44px auto 0 auto;
}

.contact-grid .contact-card {
    flex: 0 0 calc(50% - 20px);
    min-width: 300px;
    max-width: 450px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.91);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px 40px 44px 40px;
    border-radius: 26px;
    box-shadow:
        0 8px 32px rgba(107, 142, 90, 0.08),
        0 2px 8px rgba(107, 142, 90, 0.04);
    border: 1px solid rgba(168, 196, 154, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    text-align: center;
    transform: translateY(0) scale(1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 196, 154, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(107, 142, 90, 0.15),
        0 8px 24px rgba(107, 142, 90, 0.08);
    border-color: rgba(168, 196, 154, 0.3);
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #6B8E5A;
    margin-bottom: 28px;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.025em;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A8C49A, transparent);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.contact-card:hover h3::after {
    width: 50px;
}

.contact-card p {
    margin-bottom: 20px;
    color: #2D3748;
    line-height: 1.75;
    font-size: 1.0625rem;
    font-weight: 400;
}

.contact-card p:last-of-type {
    margin-bottom: 0;
}

.contact-card a {
    color: #6B8E5A;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
}

footer p {
    opacity: 0.7;
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Content Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 13px;
        padding: 6px 8px;
    }

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 24px;
    }

    .hero-content .ampersand {
        font-size: 2.5rem;
        margin: 0 15px;
    }

    .hero-content .date {
        font-size: 1.125rem;
        letter-spacing: 2px;
        margin-top: 32px;
    }

    .hero-content .location {
        font-size: 1rem;
        margin-top: 12px;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 64px;
    }

    .transfer-grid .transfer-card {
        flex: 0 0 100%;
        min-width: auto;
        margin: 0 0 30px 0;
    }

    .contact-grid .contact-card {
        flex: 0 0 100%;
        min-width: auto;
        margin: 0 0 30px 0;
    }

    section {
        padding: 80px 0;
    }

    .ceremony-content {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .ceremony-content p {
        font-size: 1.0625rem;
        margin-bottom: 24px;
    }

    .ceremony-content .address-section {
        padding: 24px 20px;
        margin-top: 32px;
        border-radius: 16px;
    }

    .transfer-card,
    .contact-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .transfer-card p,
    .contact-card p {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .transfer-card h3,
    .contact-card h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .rsvp-button {
        padding: 16px 32px;
        font-size: 14px;
    }

    .gifts p {
        font-size: 1.0625rem;
        margin-bottom: 28px;
    }

    .rsvp p {
        font-size: 1.0625rem;
        margin-bottom: 40px;
    }

    /* Hide organic shapes on mobile for better performance */
    .organic-shape {
        display: none;
    }

    /* Simplify liquid blobs on mobile */
    .liquid-blob {
        opacity: 0.2;
        filter: blur(3px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        font-size: 12px;
        padding: 4px 6px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-content .ampersand {
        font-size: 2rem;
        margin: 0 10px;
    }

    .hero-content .date {
        font-size: 1rem;
        letter-spacing: 1.5px;
        margin-top: 24px;
    }

    .hero-content .location {
        font-size: 0.9375rem;
        margin-top: 8px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 48px;
    }

    section {
        padding: 60px 0;
    }

    .ceremony-content {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .ceremony-content p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .ceremony-content .address-section {
        padding: 20px 16px;
        margin-top: 28px;
    }

    .transfer-card,
    .contact-card {
        padding: 28px 20px;
    }

    .transfer-card p,
    .contact-card p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .transfer-card h3,
    .contact-card h3 {
        font-size: 1.375rem;
    }

    .rsvp-button {
        padding: 14px 28px;
        font-size: 13px;
    }

    .gifts p,
    .rsvp p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .rsvp p {
        margin-bottom: 36px;
    }

    .gifts p {
        margin-bottom: 24px;
    }

    /* Further simplify animations on small screens */
    .liquid-blob {
        display: none;
    }

    /* Disable parallax on mobile for better performance */
    .hero {
        transform: none !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .liquid-blob,
    .organic-shape {
        filter: blur(0.5px);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .liquid-blob,
    .organic-shape {
        animation: none;
    }

    .hero::before {
        animation: none;
    }
}