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

:root {
    --background-color: #ffffff;
    --primary-color: #3b3b3c;
    --primary-hover: rgba(59, 59, 60, 0.7);
}

body {
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Theme */
.background-theme {
    background-color: var(--background-color);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    z-index: -1;
    top: 56px;
    bottom: -120px;
}

@media (min-width: 768px) {
    .background-theme {
        top: 0;
    }
}

/* Main Container */
.main-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .main-container {
        padding-top: 56px; /* Account for fixed mobile navigation bar */
    }
}

/* Theme Images */
.top-theme-image,
.bottom-theme-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 120px;
}

.top-theme-image img,
.bottom-theme-image img {
    flex: 1;
    justify-self: center;
    height: auto !important;
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.top-theme-image.desktop-only {
    display: none;
    z-index: -1;
}

.bottom-theme-image.desktop-only {
    display: none;
}

.top-theme-image.mobile-only {
    display: flex;
    z-index: -1;
}

.bottom-theme-image.mobile-only {
    display: flex;
}

@media (min-width: 768px) {
    .top-theme-image.desktop-only {
        display: flex;
    }
    
    .top-theme-image.mobile-only {
        display: none;
    }
    
    .bottom-theme-image.desktop-only {
        display: flex;
    }
    
    .bottom-theme-image.mobile-only {
        display: none;
    }
}

/* Mobile Navigation Bar */
.mobile-nav-bar {
    height: 56px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 18;
    padding: 4px 8px;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

@media (min-width: 768px) {
    .mobile-nav-bar {
        display: none;
    }
}

.menu-button {
    background: none;
    border: none;
    font-size: 10px;
    height: 40px;
    min-width: 40px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 19;
    cursor: pointer;
}

.hamburger-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 1.5px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 4px;
}

.hamburger-icon span:nth-child(2) {
    top: 12px;
}

.hamburger-icon span:nth-child(3) {
    top: 20px;
}

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.mobile-page-title {
    flex: 1;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 4px 0;
    text-overflow: ellipsis;
    font-family: 'Galdeano', sans-serif;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 640px) {
    .mobile-page-title {
        font-size: calc(32px * 0.75);
    }
}

.spacer {
    min-width: 40px;
}

/* Mobile Menu */
.mobile-menu {
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    transition: all 0.5s;
    width: 100%;
    z-index: 18;
    background-color: var(--background-color);
    height: 0;
}

.mobile-menu.active {
    height: 100vh;
}

.mobile-menu-content {
    padding-top: 56px;
    height: 100vh;
    overflow-y: auto;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    text-align: center;
    width: 100%;
    padding: 8px;
}

.mobile-menu li:hover,
.mobile-menu li:focus {
    background-color: rgba(59, 59, 60, 0.1);
}

.mobile-menu a {
    font-family: 'EB Garamond', serif;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 300;
    border-bottom: 2px solid transparent;
    display: block;
    line-height: 1;
    margin: 0 auto;
    padding: 8px 8px 6px;
    text-decoration: none;
    transition: all 0.25s;
    width: fit-content;
}

@media (max-width: 640px) {
    .mobile-menu a {
        font-size: calc(16px * 0.875);
    }
}

.mobile-menu a.active {
    border-bottom: 2px solid #c74670;
}

/* Header */
.header {
    padding: 0 4% 10px 4%;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.header.mobile-header {
    display: block;
}

.header.desktop-header {
    display: none;
}

@media (min-width: 768px) {
    .header.mobile-header {
        display: none;
    }
    
    .header.desktop-header {
        display: block;
    }
}

.couple-names {
    line-height: 1;
    margin: 16px auto;
    font-family: 'Sirivennela', cursive;
    color: var(--primary-color);
    font-size: 82px;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0.02em;
    padding-top: 240px;
    padding-bottom: 20px;
}

@media (max-width: 640px) {
    .couple-names {
        font-size: 56px;
    }
}

@media (max-width: 1200px) {
    .couple-names {
        padding-top: 160px;
    }
}

@media (max-width: 768px) {
    .couple-names {
        padding-top: 250px;
    }
}

@media (max-width: 550px) {
    .couple-names {
        padding-top: 180px;
    }
}

@media (max-width: 400px) {
    .couple-names {
        padding-top: 120px;
    }
}

@media (min-width: 1700px) {
    .couple-names {
        padding-top: 270px;
    }
}

@media (min-width: 2000px) {
    .couple-names {
        padding-top: 300px;
    }
}

.wedding-date-location,
.countdown {
    line-height: 1;
    margin: 8px 0;
    font-family: 'EB Garamond', serif;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .wedding-date-location,
    .countdown {
        font-size: calc(18px * 0.75);
    }
}

/* RSVP Button */
.rsvp-button-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.rsvp-button {
    display: inline-block;
    padding: 10px 28px;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rsvp-button:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--background-color);
}

.rsvp-deadline-note {
    font-family: 'EB Garamond', serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
    opacity: 1;
    text-align: center;
}

@media (max-width: 640px) {
    .rsvp-button {
        font-size: calc(18px * 0.875);
        padding: 8px 24px;
    }
}

/* Desktop Navigation */
.desktop-nav-wrapper {
    display: none;
    width: 100%;
}

@media (min-width: 768px) {
    .desktop-nav-wrapper {
        display: block;
        z-index: 1;
    }
}

.desktop-nav {
    display: none;
    width: 100%;
    margin-top: 25px;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }
}

.nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 8px 16px;
}

.nav-row-1,
.nav-row-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.desktop-nav li {
    display: inline-block;
    list-style: none;
    padding: 0 8px;
}

.desktop-nav a {
    margin: 0;
    padding: 8px 0;
    font-family: 'EB Garamond', serif;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 300;
    border-bottom: 2px solid transparent;
    display: block;
    line-height: 1;
    margin: 0 auto;
    padding: 8px 8px 6px;
    text-decoration: none;
    transition: all 0.25s;
    width: fit-content;
}

@media (max-width: 640px) {
    .desktop-nav a {
        font-size: calc(16px * 0.875);
    }
}

.desktop-nav a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-hover);
}

.desktop-nav a.active {
    border-bottom: 2px solid #c74670;
}

/* Page Content */
.page-content {
    padding: 16px;
    padding-bottom: 60px; /* Add space before footer to prevent overlap with bottom theme image */
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 768px) {
    .page-content {
        padding-bottom: 100px; /* More space on desktop to prevent backgrounds from touching */
    }
}

.content-wrapper {
    padding: 0 16px;
}

@media (max-width: 767px) {
    .page-content {
        padding: 16px 8px 60px 8px; /* Half left/right padding on mobile, bottom padding to prevent overlap */
    }
    
    .content-wrapper {
        padding: 0 8px; /* Half left/right padding on mobile */
    }
}

.page-title {
    margin: 44px 0 0 0;
    text-align: center;
    word-break: break-word;
    font-family: 'Galdeano', sans-serif;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 640px) {
    .page-title {
        font-size: calc(32px * 0.75);
    }
}

@media (min-width: 768px) {
    .page-title {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .page-title {
        padding: 0 16px;
    }
}

/* Wedding Party Image */
.wedding-party-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    width: 100%;
}

.wedding-party-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .wedding-party-image img {
        max-width: 80%;
    }
}

@media (min-width: 1024px) {
    .wedding-party-image img {
        max-width: 70%;
    }
}

/* Home Page Image */
.home-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 50px;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .home-image {
        padding: 0 10px; /* Half left/right padding on mobile */
    }
}

.home-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Home Page Sections */
.home-section {
    margin: 50px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .home-section {
        padding: 0 10px; /* Half left/right padding on mobile */
    }
}

.section-title {
    font-family: 'EB Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Quran Verse Styling */
.quran-verse {
    text-align: center;
    margin: 0 auto 35px;
    padding: 40px 20px;
    max-width: 800px;
    position: relative;
}

.quran-bracket-start,
.quran-bracket-end {
    font-family: 'Amiri', serif;
    font-size: 36px;
    color: #c74670;
    line-height: 1.6;
    margin: 0 8px;
    opacity: 0.7;
    display: inline-block;
    vertical-align: middle;
}

.quran-text {
    font-family: 'Amiri', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.6;
    text-align: center;
    direction: rtl;
    margin: 0 auto;
    letter-spacing: 0px;
    max-width: 100%;
    padding: 0 10px;
}

.quran-reference {
    font-family: 'Amiri', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--primary-color);
    text-align: center;
    direction: rtl;
    margin: 15px 0 0 0;
    font-style: italic;
    opacity: 0.8;
}

/* Quran Verse in Header (above navigation) */
.quran-verse-header {
    text-align: center;
    margin: 20px auto 15px;
    padding: 20px 20px 15px;
    max-width: 800px;
}

.quran-text-header {
    font-family: 'Amiri', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.6;
    text-align: center;
    direction: rtl;
    margin: 0 auto;
    letter-spacing: 0px;
    max-width: 100%;
    padding: 0 10px;
}

.quran-bracket-start,
.quran-bracket-end {
    font-family: 'Amiri', serif;
    font-size: 42px;
    color: #c74670;
    line-height: 1.6;
    margin: 0 8px;
    opacity: 0.7;
    display: inline-block;
    vertical-align: middle;
}

.quran-reference-header {
    font-family: 'Amiri', serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-color);
    text-align: center;
    direction: rtl;
    margin: 5px 0 0 0;
    font-style: italic;
    opacity: 0.8;
}

/* RSVP Button Container Below Quran Verse */
.language-toggle-container {
    margin: 15px auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
}

.language-toggle {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #c74670;
    color: #c74670;
    padding: 8px 20px;
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background-color: #c74670;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(199, 70, 112, 0.3);
}

.rsvp-button-container-header {
    margin: 20px auto 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: 800px;
}

@media (max-width: 767px) {
    .rsvp-button-container-header {
        margin: 15px auto 10px;
        padding: 0 10px;
    }
}

@media (max-width: 767px) {
    .quran-verse-header {
        padding: 15px 10px 10px;
        margin: 15px auto 10px;
    }
    
    .quran-text-header {
        font-size: 20px;
        line-height: 1.6;
        padding: 0 5px;
    }
    
    .quran-bracket-start,
    .quran-bracket-end {
        font-size: 28px;
        margin: 0 5px;
        line-height: 1.6;
    }
    
    .quran-reference-header {
        font-size: 14px;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .quran-text-header {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .quran-bracket-start,
    .quran-bracket-end {
        font-size: 24px;
        margin: 0 4px;
        line-height: 1.6;
    }
    
    .quran-reference-header {
        font-size: 13px;
        margin-top: 4px;
    }
}

@media (max-width: 767px) {
    .quran-verse {
        padding: 30px 10px;
        margin-bottom: 30px;
    }
    
    .quran-bracket-start,
    .quran-bracket-end {
        font-size: 28px;
        margin: 0 5px;
        line-height: 1.6;
    }
    
    .quran-text {
        font-size: 22px;
        line-height: 1.6;
        padding: 0 5px;
    }
    
    .quran-reference {
        font-size: 16px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .quran-bracket-start,
    .quran-bracket-end {
        font-size: 24px;
        margin: 0 4px;
        line-height: 1.6;
    }
    
    .quran-text {
        font-size: 20px;
        line-height: 1.6;
    }
    
    .quran-reference {
        font-size: 15px;
    }
}

.section-text {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.8;
    text-align: justify;
    text-align-last: left;
    margin: 0;
}

.story-link {
    color: #c74670;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.story-link:hover {
    color: #a5385a;
}

/* RSVP Deadline Box */
.rsvp-deadline-box {
    max-width: 700px;
    margin: 50px auto;
    padding: 30px 25px;
    background: linear-gradient(135deg, rgba(199, 70, 112, 0.15) 0%, rgba(199, 70, 112, 0.05) 100%);
    border: 2px solid #c74670;
    border-radius: 12px;
    text-align: center;
}

.rsvp-deadline-title {
    font-family: 'EB Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.rsvp-deadline-text {
    font-family: 'EB Garamond', serif;
    font-size: 17px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
    text-align-last: left;
}

.rsvp-button-large {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.rsvp-button-large:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: 10%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #c74670, rgba(199, 70, 112, 0.3));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 50px;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    background-color: #c74670;
    border: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 2px rgba(199, 70, 112, 0.2);
}

.timeline-date {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #c74670;
    width: calc(50% - 30px);
    text-align: right;
    padding-right: 20px;
    flex-shrink: 0;
    line-height: 1.5;
}

.timeline-content {
    width: calc(50% - 30px);
    padding-left: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-left: 60px;
}

.timeline-title {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0 0 8px 0;
}

.timeline-description {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.6;
    text-align: justify;
    text-align-last: left;
}

/* Location Container */
.location-container {
    margin-top: 40px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.location-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.location-image img {
    width: 100%;
    height: auto;
    display: block;
}

.location-box {
    text-align: center;
    padding: 0;
    margin-bottom: 35px;
    max-width: 100%;
}

.location-name {
    font-family: 'EB Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.location-description {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.8;
    text-align: justify;
    text-align-last: left;
    margin: 0 0 20px 0;
    max-width: 100%;
}

.location-description:last-child {
    margin-bottom: 0;
}

.location-link {
    color: #c74670;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.location-link:hover {
    color: #a5385a;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .location-name {
        font-size: 32px;
    }
    
    .location-description {
        font-size: 18px;
    }
}

/* FAQ Styles */
.faq-container {
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(59, 59, 60, 0.2);
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-hover);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #c74670;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 0 20px 0;
}

.faq-answer p {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.7;
    text-align: justify;
    text-align-last: left;
    margin: 0;
    padding-left: 0;
}

.faq-answer a {
    color: #c74670;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: #a5385a;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    
    .rsvp-deadline-title {
        font-size: 22px;
    }
    
    .timeline::before {
        left: 90px;
    }
    
    .timeline-item::before {
        left: 90px;
    }
    
    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        padding-left: 0;
        margin-left: 0;
        margin-bottom: 30px;
    }
    
    .timeline-date {
        width: 80px;
        text-align: right;
        padding-right: 10px;
        padding-left: 0;
        padding-bottom: 0;
        font-size: 16px;
        order: 1;
        margin-left: 0;
        margin-right: 0;
        flex-shrink: 0;
        line-height: 1.4;
    }
    
    .timeline-content {
        flex: 1;
        padding: 20px 25px;
        margin-left: 50px;
        order: 2;
        min-width: 0;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 15px 0;
    }
}

@media (min-width: 768px) {
    .home-image {
        padding: 0 20px;
    }
}

@media (min-width: 1024px) {
    .home-image {
        max-width: 800px;
        padding: 0 20px;
    }
}

/* Our Story Image */
.our-story-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    width: 100%;
    min-height: 400px;
    position: relative;
}

.image-spacer {
    display: none;
    width: 100%;
    flex-shrink: 0;
}

.our-story-image.fixed .image-spacer {
    display: block;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 80%;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.our-story-image.fixed .image-wrapper {
    position: fixed;
    z-index: 100;
    pointer-events: none;
    /* Ensure same max-width calculation */
    max-width: 80%;
    /* No transform - position is set via JavaScript */
}

@media (min-width: 768px) {
    .image-wrapper {
        max-width: 64%;
    }
}

@media (min-width: 1024px) {
    .image-wrapper {
        max-width: 56%;
    }
}

.our-story-image .base-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    position: relative;
    z-index: 1;
}


@media (min-width: 768px) {
    .image-wrapper {
        max-width: 64%;
    }
}

@media (min-width: 1024px) {
    .image-wrapper {
        max-width: 56%;
    }
}


/* Text Box */
.text-box {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(247, 245, 245, 0.95);
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.5s ease, left 0.5s ease;
    pointer-events: none;
    z-index: 10;
    text-align: center;
    width: 220px;
    box-sizing: border-box;
}

.text-box.active {
    opacity: 1;
}

.text-box.grooms-parents {
    left: 30%;
    transform: translate(-50%, -50%);
}

.text-box.brides-parents {
    left: 70%;
    transform: translate(-50%, -50%);
}

.text-box-title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    color: var(--primary-color);
}

.text-box-line {
    width: 60px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 0 auto 16px auto;
}

.text-box-content {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0;
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .text-box {
        padding: 16px 20px;
        width: 180px;
    }
    
    .text-box-title {
        font-size: 16px;
        letter-spacing: 1.5px;
        margin: 0 0 10px 0;
    }
    
    .text-box-line {
        width: 50px;
        margin: 0 auto 12px auto;
    }
    
    .text-box-content {
        font-size: 15px;
        letter-spacing: 0.5px;
    }
    
    .text-box.grooms-parents {
        left: 25%;
    }
    
    .text-box.brides-parents {
        left: 75%;
    }
}

@media (max-width: 640px) {
    .text-box {
        padding: 14px 18px;
        width: 160px;
    }
    
    .text-box-title {
        font-size: 14px;
        letter-spacing: 1px;
        margin: 0 0 8px 0;
    }
    
    .text-box-line {
        width: 40px;
        margin: 0 auto 10px auto;
    }
    
    .text-box-content {
        font-size: 13px;
        letter-spacing: 0.5px;
    }
    
    .text-box.grooms-parents {
        left: 25%;
    }
    
    .text-box.brides-parents {
        left: 75%;
    }
}

/* Story Text */
.story-text {
    max-width: 800px;
    margin: 30px auto 40px;
    padding: 0 20px;
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    line-height: 1.8;
}

@media (max-width: 767px) {
    .story-text {
        padding: 0 10px; /* Half left/right padding on mobile */
    }
}

/* Simple Story Image (no effects) */
.our-story-image-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 800px;
}

@media (max-width: 767px) {
    .our-story-image-simple {
        padding: 0 10px; /* Half left/right padding on mobile */
    }
}

.our-story-image-simple img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .our-story-image-simple {
        margin: 60px auto;
        padding: 0 40px;
        max-width: 800px;
    }
}

@media (min-width: 1024px) {
    .our-story-image-simple {
        margin: 80px auto;
        padding: 0 40px;
        max-width: 900px;
    }
}

.story-text p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 24px;
    text-align: justify;
    text-align-last: left;
    line-height: 1.8;
}

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

@media (min-width: 768px) {
    .story-text {
        padding: 0 40px;
        margin: 40px auto 60px;
    }
    
    .story-text p {
        font-size: 18px;
        margin-bottom: 28px;
    }
}

@media (min-width: 1024px) {
    .story-text {
        max-width: 900px;
        margin: 50px auto 80px;
    }
    
    .story-text p {
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 32px;
    }
}

/* Travel Page Styles */
.travel-intro {
    text-align: justify;
    text-align-last: left;
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    font-size: 18px;
    margin: 30px auto 50px;
    max-width: 700px;
    line-height: 1.7;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .travel-intro {
        padding: 0 10px; /* Half left/right padding on mobile */
    }
}

.travel-note {
    text-align: center;
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    font-size: 16px;
    margin: 50px auto 40px;
    max-width: 600px;
    line-height: 1.6;
    padding: 20px;
    background-color: rgba(255, 253, 240, 0.8);
    border-radius: 8px;
    border-left: 4px solid #c74670;
}

@media (max-width: 767px) {
    .travel-note {
        margin-left: 10px;
        margin-right: 10px;
    }
}

.section-subtitle {
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-color);
    text-align: center;
    margin: 50px 0 30px 0;
    letter-spacing: 1px;
}

/* Featured Hotel (Venue) */
.featured-hotel {
    max-width: 900px;
    margin: 40px auto 50px;
    padding: 0 20px;
}

.hotel-card.featured {
    border: 3px solid #c74670;
    box-shadow: 0 6px 20px rgba(199, 70, 112, 0.2);
}

.hotel-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(199, 70, 112, 0.3);
}

.hotel-card.featured .hotel-image {
    height: 350px;
}

.hotel-category.venue {
    background: linear-gradient(135deg, #c74670 0%, #a5385a 100%);
    color: white;
    font-size: 14px;
    padding: 8px 16px;
}

.hotel-description {
    font-family: 'EB Garamond', serif;
    font-size: 17px;
    color: var(--primary-color);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    text-align-last: left;
}

@media (min-width: 768px) {
    .hotel-card.featured {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .hotel-card.featured .hotel-image {
        height: 100%;
        min-height: 400px;
    }

    .hotel-card.featured .hotel-details {
        padding: 35px;
    }

    .hotel-description {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .featured-hotel {
        max-width: 1000px;
    }

    .hotel-card.featured .hotel-image {
        min-height: 450px;
    }
}

.hotels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (min-width: 1200px) {
    .hotels-grid {
        gap: 40px;
    }
}

.hotel-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hotel-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hotel-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'EB Garamond', serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hotel-category.modern {
    background-color: #3b3b3c;
    color: white;
}

.hotel-category.traditional {
    background-color: #c74670;
    color: white;
}

.hotel-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hotel-name {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.hotel-info {
    margin-bottom: 20px;
    flex-grow: 1;
}

.hotel-distance {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hotel-price {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    color: var(--primary-color);
    margin-top: 8px;
}

.hotel-price .price {
    font-size: 24px;
    font-weight: 400;
    color: #c74670;
}

.hotel-price .price-note {
    font-size: 13px;
    color: #888;
    margin-left: 5px;
}

.hotel-book-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hotel-book-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Explore Morocco Page Styles */
.activities-intro {
    text-align: justify;
    text-align-last: left;
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    font-size: 18px;
    margin: 30px auto 30px;
    max-width: 700px;
    line-height: 1.7;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .activities-intro {
        padding: 0 10px; /* Half left/right padding on mobile */
    }
}

.weather-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 20px 25px;
    background-color: rgba(255, 248, 220, 0.6);
    border-left: 4px solid #c74670;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .weather-note {
        margin-left: 10px;
        margin-right: 10px;
    }
}

.weather-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1.2;
}

.weather-text {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.7;
    text-align: justify;
    text-align-last: left;
}

.weather-text strong {
    font-weight: 400;
}

@media (max-width: 640px) {
    .weather-note {
        padding: 16px 20px;
        margin: 0 10px 40px 10px;
    }
    
    .weather-icon {
        font-size: 24px;
    }
    
    .weather-text {
        font-size: 15px;
    }
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (min-width: 1200px) {
    .activities-grid {
        gap: 40px;
    }
}

.activity-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.activity-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.activity-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-name {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.activity-distance {
    font-family: 'EB Garamond', serif;
    font-size: 15px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 300;
}

.activity-description {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.7;
    margin: 0 0 15px 0;
    text-align: justify;
    text-align-last: left;
}

.activity-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background-color: rgba(199, 70, 112, 0.1);
    border-left: 3px solid #c74670;
    border-radius: 4px;
    margin-top: 10px;
}

.note-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.4;
}

.note-text {
    font-family: 'EB Garamond', serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.6;
    font-style: italic;
    text-align: justify;
    text-align-last: left;
}

@media (max-width: 640px) {
    .activity-name {
        font-size: 20px;
    }
    
    .activity-description {
        font-size: 15px;
    }
}

/* RSVP Description */
.rsvp-description {
    text-align: center;
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .rsvp-description {
        font-size: calc(18px * 0.875);
    }
}

/* RSVP Form */
.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.form-section {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-hint {
    display: block;
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 300;
    margin-top: 5px;
    opacity: 0.7;
    font-style: italic;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    color: var(--primary-color);
    background-color: var(--white);
    border: 1px solid rgba(59, 59, 60, 0.3);
    border-radius: 4px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

@media (max-width: 640px) {
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'EB Garamond', serif;
    color: var(--primary-color);
    font-size: 16px;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.radio-label span {
    user-select: none;
}

.radio-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.conditional-fields {
    padding-top: 20px;
    border-top: 1px solid rgba(59, 59, 60, 0.2);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 14px 40px;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.submit-button:active {
    transform: translateY(1px);
}

@media (max-width: 640px) {
    .submit-button {
        font-size: calc(18px * 0.875);
        padding: 12px 30px;
    }
}

/* Footer */
.footer {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: auto;
    position: relative;
    width: 100%;
    padding-top: 40px; /* Add space above footer to prevent overlap with top theme image */
}

@media (min-width: 768px) {
    .footer {
        padding-top: 60px; /* More space on desktop to prevent backgrounds from touching */
    }
}

.footer-content {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-initials {
    letter-spacing: 3.4px;
    line-height: 1;
    margin: 52px auto;
    text-align: center;
    width: fit-content;
    padding: 0 18px 16px;
    font-family: 'Galdeano', sans-serif;
    color: var(--primary-color);
    font-size: 52px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 640px) {
    .footer-initials {
        font-size: calc(52px * 0.75);
    }
}

.footer-date {
    padding: 20px 18px 0;
    font-family: 'EB Garamond', serif;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
    border-top: 1px solid var(--primary-color);
    text-align: center;
}

@media (max-width: 640px) {
    .footer-date {
        font-size: calc(18px * 0.75);
    }
}

.footer-text {
    line-height: 1.75;
    font-family: 'EB Garamond', serif;
    letter-spacing: 0px;
    color: var(--primary-color);
    font-size: 12px;
    margin: 12px 0;
    text-align: center;
}

@media (max-width: 640px) {
    .footer-text {
        font-size: calc(12px * 0.8333);
    }
}

.footer-text a {
    text-decoration: underline;
    color: var(--primary-color);
}

.privacy-link {
    font-family: 'EB Garamond', serif;
    letter-spacing: 0px;
    color: var(--primary-color);
    font-size: 12px;
    margin: 0;
    cursor: pointer;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Registry Page Styles */
.registry-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .registry-content {
        padding: 0 10px; /* Half left/right padding on mobile */
    }
}

.registry-text {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.8;
    text-align: justify;
    text-align-last: left;
    margin: 0 0 25px 0;
}

.registry-signature {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.8;
    text-align: center;
    margin: 40px 0 0 0;
    font-style: italic;
}

.payment-section {
    margin: 40px 0;
}

.payment-section-title {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.payment-section-note {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 25px 0;
    opacity: 0.8;
    font-style: italic;
}

.payment-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.payment-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(199, 70, 112, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    max-width: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: default;
}

.payment-button:hover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: #c74670;
    box-shadow: 0 4px 12px rgba(199, 70, 112, 0.2);
    transform: translateY(-2px);
}

a.payment-button {
    cursor: pointer;
}

a.payment-button:hover {
    cursor: pointer;
}

.payment-logo {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#venmo-button .payment-logo,
#paypal-button .payment-logo {
    width: 110px;
    height: 110px;
}

.payment-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-logo-text {
    font-family: 'Galdeano', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-color);
}

.payment-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.payment-details {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
}

.payment-click {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    color: #c74670;
    text-align: center;
    font-style: italic;
}

@media (max-width: 768px) {
    .registry-content {
        padding: 0 15px;
        margin: 30px auto;
    }
    
    .registry-text {
        font-size: 17px;
    }
    
    .payment-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .payment-button {
        min-width: 100%;
        max-width: 100%;
    }
    
    .payment-section-title {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .privacy-link {
        font-size: calc(12px * 0.8333);
    }
}
