:root {
    --primary-color: #1a1a1a;
    --accent-color: #c5a572;
    --accent-dark: #9a7d4e;
    --text-color: #333;
    --light-bg: #f5f9fa;
    --border-color: #e0e0e0;
    --error-color: #dc3545;
    --success-color: #28a745;
    --victorian-bg: #f3f0e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--victorian-bg);
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABnSURBVHja7NgxEQAgDATBQBXUQSz+SaiA8ENAyyTb09Hufe8syRjjJ1wvQkJCQkJCQkJCQt5I7csLSEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEjIJ5K6JLUvXwcADj9coYKhNboAAAAASUVORK5CYII=');
    background-repeat: repeat;
}

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    color: var(--primary-color);
    font-weight: 400;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-dark);
}

.divider {
    width: 100px;
    height: 1px;
    background-color: var(--accent-color);
    margin: 1.5rem auto;
    position: relative;
}

.divider::before, .divider::after {
    content: "❖";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: var(--accent-color);
}

.divider::before {
    top: -12px;
}

.divider::after {
    bottom: -12px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.btn::before, .btn::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--accent-color);
    transition: all 0.3s ease;
}

.btn::before {
    top: -5px;
    left: -5px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.btn::after {
    bottom: -5px;
    right: -5px;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.btn:hover::before, .btn:hover::after {
    width: 15px;
    height: 15px;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.main-nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)),
                url('media/oldsouthchurch.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 2rem 5rem;
}

.event-details {
    background: rgba(255, 255, 255, 0.97);
    padding: 4rem 3rem;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid var(--accent-color);
    max-width: 800px;
    margin: 0 auto;
}

.event-details::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
}

/* Removing decorative corner elements */
.event-details::after {
    display: none;
}

h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px rgba(197, 165, 114, 0.2);
}

.subtitle {
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    display: inline-block;
}


.names p {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    line-height: 1.5;
}

.date-time, .location {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    color: var(--primary-color);
    line-height: 1.8;
}

.description {
    margin: 2.5rem 0;
    color: var(--text-color);
    font-size: 1.2rem;
    font-style: italic;
}

.rsvp-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: transparent;
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid var(--accent-color);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin-top: 1rem;
    position: relative;
}

.rsvp-button::before, .rsvp-button::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--accent-color);
    transition: all 0.3s ease;
}

.rsvp-button::before {
    top: -5px;
    left: -5px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.rsvp-button::after {
    bottom: -5px;
    right: -5px;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.rsvp-button:hover {
    background-color: var(--accent-color);
    color: white;
}

.rsvp-button:hover::before, .rsvp-button:hover::after {
    width: 15px;
    height: 15px;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.countdown-item {
    margin: 0 1rem;
    background-color: var(--accent-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed var(--accent-color);
    border-radius: 50%;
    opacity: 0.5;
}

.countdown-item span:first-child {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Headers */
.page-header {
    background-color: var(--light-bg);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* Events Page */
.events-timeline {
    padding: 5rem 0;
    background-color: var(--victorian-bg);
}

.timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
    opacity: 0.7;
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
}

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

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) {
    flex-direction: row;
}

.event-card {
    background-color: white;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    position: relative;
    max-width: calc(42% - 40px);
    border-left: 3px solid var(--accent-color);
    z-index: 2;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.event-image {
    max-width: 42%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.event-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.event-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Add overlay to images to unify visual look */
.event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(197, 165, 114, 0.1), rgba(197, 165, 114, 0.2));
    pointer-events: none;
    z-index: 2;
    border-radius: 2px;
    margin: 4px;
}

.event-card:before {
    display: none;
}

.timeline-item:nth-child(odd) .event-card:before {
    right: -40px;
}

.timeline-item:nth-child(even) .event-card:before {
    left: -40px;
}

.event-date h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.event-title {
    font-size: 1.8rem;
    margin: 1rem 0;
}

.event-location {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.event-description {
    margin-top: 1.5rem;
    font-size: 1rem;
}

.event-description p {
    margin-bottom: 0.5rem;
}

/* Travel Page */
.travel-info {
    padding: 5rem 0;
    background-color: var(--victorian-bg);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hotel-cards, .transport-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.hotel-card, .transport-card {
    background-color: white;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    border-top: 3px solid var(--accent-color);
}

.hotel-card h3, .transport-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hotel-description, .hotel-details {
    margin-bottom: 1.5rem;
}

.hotel-details p {
    margin-bottom: 0.3rem;
}

.transport-card p, .transport-card ul {
    margin-bottom: 1rem;
}

.transport-card ul {
    margin-left: 1.5rem;
}

.dickens-quote {
    font-style: italic;
    color: var(--accent-color);
    margin: 1.5rem 0;
    padding: 0 1.5rem;
    position: relative;
    font-size: 1.1rem;
    text-align: center;
}

.dickens-quote::before, 
.dickens-quote::after {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    line-height: 0;
    position: absolute;
    color: rgba(197, 165, 114, 0.3);
}

.dickens-quote::before {
    content: "\201C";
    left: 0;
    top: 0.8rem;
}

.dickens-quote::after {
    content: "\201D";
    right: 0;
    bottom: -0.5rem;
}

.dickens-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.attraction {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.attraction h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* RSVP Page */
.rsvp-section {
    padding: 5rem 0;
    background-color: white;
}

.rsvp-deadline {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.rsvp-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-section-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.form-row {
    display: flex;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.form-field {
    flex: 1;
    min-width: 250px;
    margin-right: 1.5rem;
}

.form-field:last-child {
    margin-right: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: inherit;
    font-size: 1rem;
    background-color: white;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

textarea {
    height: 100px;
    resize: vertical;
}

.checkbox-field {
    display: flex;
    align-items: center;
}

.checkbox-field input {
    margin-right: 10px;
    width: auto;
}

.checkbox-field label {
    margin-bottom: 0;
}

.meal-field {
    margin-bottom: 2rem;
}

.meal-guest-name {
    margin-bottom: 1rem;
}

.meal-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.meal-option {
    display: flex;
    align-items: center;
}

.meal-option input {
    margin-right: 8px;
}

.meal-instruction {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.submit-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #a08451;
}

.form-submit {
    margin-top: 2rem;
}

.rsvp-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

input.error, select.error, textarea.error {
    border-color: var(--error-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column-reverse !important;
        align-items: flex-start;
        gap: 2rem;
    }
    
    /* Move circle markers to left side on mobile */
    .timeline-item::after {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .event-card {
        max-width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-bottom: 0;
        min-height: auto;
    }
    
    .event-image {
        max-width: calc(100% - 60px);
        margin-left: 60px;
        margin-bottom: 1rem;
    }
    
    .event-image img {
        height: 250px;
    }
    
    .timeline-item:nth-child(odd) .event-card:before,
    .timeline-item:nth-child(even) .event-card:before {
        left: -40px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 0;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        padding: 5rem 0;
        z-index: 1001;
    }
    
    .nav-links li {
        opacity: 0;
        margin: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-active li {
        opacity: 1;
    }
    
    .burger {
        display: block;
        z-index: 2;
    }
    
    .nav-active {
        transform: translateX(0);
    }
    
    .nav-active li {
        opacity: 1 !important; /* Force opacity regardless of animation state */
        visibility: visible !important;
    }
    
    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-links li.fade {
        opacity: 1;
    }
    
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .toggle .line2 {
        opacity: 0;
    }
    
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .event-details {
        padding: 2.5rem 1.5rem;
    }
    
    .date-time, .location {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 1.1rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        margin: 0.5rem;
        width: 60px;
        height: 60px;
    }
    
    .rsvp-form {
        padding: 2rem 1.5rem;
    }
    
    .form-field {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .meal-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .timeline-item {
        margin-bottom: 4rem;
    }
    
    .event-card {
        margin-left: 50px !important;
        max-width: calc(100% - 50px);
        padding: 1.5rem;
    }
    
    .event-image {
        margin-left: 50px;
        max-width: calc(100% - 50px);
    }
    
    .event-image img {
        height: 200px;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item::after {
        left: 20px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-item:nth-child(odd) .event-card:before,
    .timeline-item:nth-child(even) .event-card:before {
        left: -30px;
        width: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

/* Circular markers at center of timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* Venue History Styles */
.venue-histories {
    padding: 3rem 0;
    background-color: var(--victorian-bg);
}

.venue-history-card {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.venue-history-card::before,
.venue-history-card::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-color: var(--accent-color);
}

.venue-history-card::before {
    top: 15px;
    left: 15px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.venue-history-card::after {
    bottom: 15px;
    right: 15px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.venue-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.venue-content {
    display: block;
    margin-top: 2rem;
    overflow: hidden;
}

.venue-image {
    max-width: 45%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    float: left;
    margin: 0 2rem 1rem 0;
}

.venue-image.inline-image {
    max-width: 40%;
    margin: 0.5rem 2rem 1rem 2rem;
}

.venue-image.resize-50 {
    max-width: 35%;
}

.venue-history-card:nth-child(even) .venue-image:nth-of-type(odd),
.venue-history-card:nth-of-type(odd) .venue-image.inline-image:nth-of-type(odd) {
    float: right;
    margin: 0 0 1rem 2rem;
}

.venue-history-card:nth-of-type(odd) .venue-image:nth-of-type(even),
.venue-history-card:nth-of-type(even) .venue-image.inline-image:nth-of-type(even) {
    float: right;
    margin: 0 0 1rem 2rem;
}

.venue-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.venue-text {
    flex: 2;
    padding: 0 1rem;
}

.venue-text h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

.venue-text h3:first-child {
    margin-top: 0;
}

.venue-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Media queries for venue history page */
@media (max-width: 768px) {
    .venue-title {
        font-size: 1.8rem;
    }
    
    .venue-text h3 {
        font-size: 1.3rem;
    }
    
    .venue-history-card {
        padding: 1.5rem;
    }
    
    .venue-history-card::before,
    .venue-history-card::after {
        width: 30px;
        height: 30px;
    }
    
    .venue-image, 
    .venue-image.inline-image {
        max-width: 100%;
        float: none;
        margin: 0 0 1.5rem 0;
    }
    
    .venue-image.resize-50 {
        max-width: 50%;
        margin: 0 auto 1.5rem auto;
    }
    
    .venue-history-card:nth-child(even) .venue-image,
    .venue-history-card:nth-of-type(odd) .venue-image:nth-of-type(even),
    .venue-history-card:nth-of-type(odd) .venue-image.inline-image:nth-of-type(odd),
    .venue-history-card:nth-of-type(even) .venue-image.inline-image:nth-of-type(even) {
        float: none;
        margin: 0 0 1.5rem 0;
    }
}

/* Photo Gallery Styles */
.photo-gallery-section {
    padding: 6rem 0 4rem;
    position: relative;
    margin-top: 0;
    background-color: white;
}

.photo-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--victorian-bg), white);
}

.gallery-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.gallery-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--primary-color);
}

.gallery-instruction {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #777;
    font-style: italic;
}

.gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-frame {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background-color: #f5f5f5;
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item.active {
    opacity: 1;
}

.gallery-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--accent-color);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--accent-color);
    color: white;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-nav {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav.active {
    background: var(--accent-color);
}

.gallery-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: opacity 0.5s ease;
}

.gallery-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.gallery-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Media queries for gallery page */
@media (min-width: 768px) {
    .gallery-container {
        max-width: 1000px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .photo-gallery-section {
        padding: 4rem 0 3rem;
    }
    
    .photo-gallery-section::before {
        height: 50px;
    }
    
    .gallery-frame {
        padding-bottom: 100%; /* 1:1 aspect ratio for mobile */
    }
    
    .gallery-prev,
    .gallery-next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .gallery-prev {
        left: 0.5rem;
    }
    
    .gallery-next {
        right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        padding: 0 0.5rem;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Honeymoon Fund Styles */
.honeymoon-fund {
    margin-top: 4rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.7);
    text-align: center;
    position: relative;
}

.honeymoon-fund::before,
.honeymoon-fund::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--accent-color);
}

.honeymoon-fund::before {
    top: 15px;
    left: 15px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.honeymoon-fund::after {
    bottom: 15px;
    right: 15px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.honeymoon-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.honeymoon-description {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.honeymoon-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: transparent;
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid var(--accent-color);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin-top: 1rem;
    position: relative;
}

.honeymoon-btn::before, 
.honeymoon-btn::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--accent-color);
    transition: all 0.3s ease;
}

.honeymoon-btn::before {
    top: -5px;
    left: -5px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.honeymoon-btn::after {
    bottom: -5px;
    right: -5px;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.honeymoon-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.honeymoon-btn:hover::before, 
.honeymoon-btn:hover::after {
    width: 15px;
    height: 15px;
}

.honeymoon-quote {
    margin-top: 2rem;
    font-style: italic;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .honeymoon-fund {
        padding: 2rem 1.5rem;
    }
    
    .honeymoon-title {
        font-size: 1.7rem;
    }
    
    .honeymoon-fund::before,
    .honeymoon-fund::after {
        width: 30px;
        height: 30px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: var(--victorian-bg);
    margin: 10% auto;
    padding: 2.5rem;
    border: 1px solid var(--accent-color);
    width: 80%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.modal-content p {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--accent-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-dark);
    text-decoration: none;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 15% auto;
        padding: 1.5rem;
    }
} 

