:root {
    --color-brown: #5D4037;
    --color-orange: #D84315;
    --color-gold: #FFB300;
    --color-cream: #FAFAFA;
    --color-text: #2D2D2D;
}

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

body {
    font-family: 'Lora', serif;
    background: var(--color-cream);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background-image: url('./assets/bg-placeholder.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Main container for all pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    background: rgba(250, 250, 250, 0.92);
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(93, 64, 55, 0.25);
    border: 1px solid rgba(216, 67, 21, 0.1);
    backdrop-filter: blur(5px);
}

/* Card container for thank you and RSVP pages */
.card-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    position: relative;
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-orange), transparent);
}

.save-the-date {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--color-orange);
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 3px;
    animation: fadeIn 1.5s ease-out;
    font-weight: 400;
    line-height: 1.2;
}

.names {
    font-family: 'Great Vibes', cursive;
    font-size: 5.5rem;
    color: var(--color-brown);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(93, 64, 55, 0.2);
    animation: fadeIn 1.8s ease-out;
    font-weight: 400;
    line-height: 1.2;
}

.date-venue {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 2s ease-out;
    position: relative;
}

.date-venue::after {
    content: "";
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-brown), transparent);
}

.wedding-date, .venue {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--color-brown);
    font-weight: 400;
    letter-spacing: 1.5px;
}

.message {
    display: none;
}

.action-container {
    width: 100%;
    padding: 2rem;
    margin: 2rem 0 4rem;
    display: flex;
    justify-content: center;
}

.message-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 3rem 4rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(93, 64, 55, 0.2);
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.message-content {
    font-family: 'Great Vibes', cursive;
    color: var(--color-brown);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.message-card .rsvp-button {
    margin: 1rem auto 0;
}

.rsvp-button, .submit-rsvp {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: linear-gradient(135deg, var(--color-brown), var(--color-orange));
    color: var(--color-cream);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Lora', serif;
    letter-spacing: 2px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(93, 64, 55, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    margin: 2rem auto;
    display: table;
    z-index: 1;
}

.rsvp-button:hover, .submit-rsvp:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(93, 64, 55, 0.4);
}

.rsvp-button::before, .submit-rsvp::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.7s ease;
    z-index: -1;
}

.rsvp-button:hover::before, .submit-rsvp:hover::before {
    left: 100%;
}

.button-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-orange), var(--color-brown));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 30px;
    z-index: -1;
}

.rsvp-button:hover .button-hover {
    opacity: 1;
}

.rsvp-button:active, .submit-rsvp:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(93, 64, 55, 0.3);
}

.falling-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* RSVP Form Styles */
.rsvp-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-brown);
    font-weight: 600;
}

input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--color-brown);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Lora', serif;
}

/* Guest List Styles */
.guest-list {
    max-width: 800px;
    margin: 0 auto;
}

.guest-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-name {
    font-size: 1.2rem;
    color: var(--color-brown);
}

.guest-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.status-accepted {
    background: #A5D6A7;
    color: #1B5E20;
}

.back-home {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--color-brown);
    text-decoration: none;
    font-weight: 600;
}

.back-home:hover {
    color: var(--color-orange);
}

footer {
    text-align: center;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.guest-list-link, .rsvp-link, .gallery-link {
    color: var(--color-brown);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.guest-list-link:hover, .rsvp-link:hover, .gallery-link:hover {
    color: var(--color-orange);
    border-color: var(--color-orange);
    background: rgba(216, 67, 21, 0.1);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .save-the-date {
        font-size: 3.2rem;
        letter-spacing: 2px;
        margin-bottom: 2rem;
    }
    
    .names {
        font-size: 4rem;
        letter-spacing: 3px;
        margin-bottom: 2.5rem;
    }
    
    .wedding-date, .venue {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .save-the-date {
        font-size: 2.8rem;
        letter-spacing: 1.5px;
    }
    
    .names {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }
    
    .wedding-date, .venue {
        font-size: 1.3rem;
    }
}

/* Falling Leaves Animation */
.leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('./assets/leaves-placeholder.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    animation: falling linear infinite;
    pointer-events: none;
    transform-origin: center;
    filter: sepia(0.5) saturate(1.5) hue-rotate(5deg);
}

@keyframes falling {
    0% {
        transform: translateY(-5vh) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(100px);
    }
    100% {
        transform: translateY(105vh) rotate(360deg) translateX(-100px);
        opacity: 0;
    }
}

/* Response Message Styles */
.response-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.response-message.success {
    background: #A5D6A7;
    color: #1B5E20;
    border: 1px solid #4CAF50;
}

.response-message.error {
    background: #FFCDD2;
    color: #B71C1C;
    border: 1px solid #EF5350;
}

/* No Guests Message */
.no-guests {
    text-align: center;
    color: var(--color-brown);
    font-style: italic;
    padding: 2rem;
}

/* Guest List Page Styles */
.guest-list-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.page-title {
    font-family: 'Great Vibes', cursive;
    color: var(--color-brown);
    font-size: 3.5rem;
    text-align: center;
    margin: 2rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.guest-list-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    border-bottom: 2px solid rgba(93, 64, 55, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.guest-list-actions {
    display: flex;
    gap: 1rem;
}

.export-btn, .import-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--color-brown), var(--color-orange));
    color: var(--color-cream);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.export-btn:hover, .import-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(93, 64, 55, 0.2);
    background: linear-gradient(135deg, var(--color-orange), var(--color-brown));
}

.export-btn:active, .import-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(93, 64, 55, 0.2);
}

.status-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.1rem;
    color: var(--color-brown);
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-dot.attending {
    background-color: #4CAF50;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

.status-dot.pending {
    background-color: #FFA726;
    box-shadow: 0 0 4px rgba(255, 167, 38, 0.5);
}

.guest-category {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(93, 64, 55, 0.2);
}

.category-title {
    font-family: 'Great Vibes', cursive;
    color: var(--color-orange);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(93, 64, 55, 0.1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

.guest-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(93, 64, 55, 0.1);
}

.guest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.guest-info {
    flex-grow: 1;
    padding-right: 1rem;
}

.guest-name {
    font-weight: 600;
    color: var(--color-brown);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.guest-role {
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.8;
}

.guest-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    min-width: 100px;
}

.guest-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.status-attending {
    background-color: rgba(76, 175, 80, 0.2);
    color: #2E7D32;
}

.status-pending {
    background-color: rgba(255, 167, 38, 0.2);
    color: #E65100;
}

.generate-link-btn {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--color-brown), var(--color-orange));
    color: var(--color-cream);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

.generate-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(93, 64, 55, 0.2);
}

@media (max-width: 768px) {
    .guest-card {
        padding: 1rem;
    }
    
    .guest-info {
        padding-right: 0.5rem;
    }
    
    .guest-name {
        font-size: 1rem;
    }
    
    .guest-role {
        font-size: 0.85rem;
    }
    
    .guest-card-actions {
        min-width: 90px;
    }
    
    .guest-status,
    .generate-link-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Autocomplete Styles */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-brown);
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: rgba(93, 64, 55, 0.1);
}

.autocomplete-item .name {
    font-weight: 600;
    color: var(--color-brown);
    margin-bottom: 4px;
}

.autocomplete-item .role {
    font-size: 0.9em;
    color: var(--color-text);
    opacity: 0.8;
}

/* Highlight matched text in dropdown */
.highlight {
    background-color: rgba(216, 67, 21, 0.2);
    padding: 0 2px;
    border-radius: 2px;
}

/* Guest Details Styles */
.guest-details {
    margin: 2rem auto;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.1);
    max-width: 500px;
}

.guest-details h3 {
    color: #8B4513;
    margin-bottom: 1.5rem;
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
}

.detail-item {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.detail-label {
    font-weight: 500;
    color: var(--color-brown);
    width: 100px;
}

.detail-value {
    color: var(--color-text);
}

/* Information Section Styles */
.info-section {
    margin: 4rem 0;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    animation: fadeIn 2.5s ease-out;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(93, 64, 55, 0.15);
    border: 1px solid rgba(93, 64, 55, 0.1);
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--color-brown), var(--color-orange));
    opacity: 0.8;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(93, 64, 55, 0.2);
}

.info-card h2 {
    font-family: 'Great Vibes', cursive;
    color: var(--color-brown);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.info-content {
    color: var(--color-text);
    width: 100%;
}

.info-item {
    margin-bottom: 2rem;
    position: relative;
}

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

.info-item h3 {
    margin-top: 1.5rem;
    color: var(--color-orange);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.info-item h3::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--color-orange), transparent);
}

.info-item p {
    margin: 0.5rem 0;
    line-height: 1.7;
}

.info-item p:first-of-type {
    margin-top: 0;
}

/* Color Palette */
.color-palette {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.color-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.color-swatch::after {
    content: attr(title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-swatch:hover::after {
    opacity: 1;
}

/* Essential Information Items */
.info-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item p {
    color: var(--color-text);
    margin: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .save-the-date {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }
    
    .names {
        font-size: 4rem;
        letter-spacing: 3px;
    }
    
    .wedding-date, .venue {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .main-slideshow {
        margin: 1.5rem auto 2.5rem;
    }
    
    .main-slideshow .slide img {
        height: 300px;
    }
    
    .main-slideshow .slide-caption {
        padding: 0.8rem;
        font-size: 1.3rem;
    }
    
    .main-slideshow .slideshow-dots {
        gap: 6px;
    }
    
    .message-card {
        padding: 2rem;
    }
    
    .message-content {
        font-size: 1.8rem;
    }
    
    .rsvp-button {
        padding: 1rem 3rem;
        font-size: 1.1rem;
    }
    
    .info-section {
        margin: 2.5rem 0;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card h2 {
        font-size: 1.8rem;
    }
    
    .color-swatch {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .save-the-date {
        font-size: 2.8rem;
        letter-spacing: 1.5px;
    }
    
    .names {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }
    
    .main-slideshow .slide img {
        height: 250px;
    }
    
    .main-slideshow .slide-caption {
        padding: 0.6rem;
        font-size: 1.1rem;
    }
    
    .rsvp-button {
        padding: 0.8rem 2.5rem;
        font-size: 1rem;
    }
    
    .prev, .next {
        height: 2.2rem;
        width: 2.2rem;
        font-size: 1rem;
    }
}

/* Password Protection Styles */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 250, 250, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.password-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.password-container h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--color-brown);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.password-container p {
    color: var(--color-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.verify-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-brown);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lora', serif;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease;
}

.verify-input:focus {
    outline: none;
    border-color: var(--color-orange);
}

.verify-input::placeholder {
    color: #999;
}

.rsvp-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.wedding-details-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #8B4513, #D35400);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

.wedding-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.2);
    background: linear-gradient(135deg, #D35400, #8B4513);
}

#changeRsvp {
    padding: 0.8rem 1.5rem;
    background: #8B4513;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

#changeRsvp:hover {
    background: #D35400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.2);
}

.rsvp-timestamp {
    font-size: 0.95rem;
    color: #888;
    margin: 2rem 0;
    font-style: italic;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .response-card {
        padding: 2rem;
        margin: 1rem;
    }

    .response-card h2 {
        font-size: 2.8rem;
    }

    .response-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .wedding-details-btn,
    #changeRsvp {
        width: 100%;
    }

    .details-list {
        max-width: 100%;
    }
}

/* Invitation Link Styles */
.guest-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-brown);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--color-orange);
}

.modal h2 {
    font-family: 'Great Vibes', cursive;
    color: var(--color-brown);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.invitation-details {
    text-align: center;
}

.link-container {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.link-container input {
    flex-grow: 1;
    padding: 0.8rem;
    border: 2px solid rgba(93, 64, 55, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(250, 250, 250, 0.9);
}

.copy-btn {
    padding: 0.8rem 1.5rem;
    background: var(--color-brown);
    color: var(--color-cream);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--color-orange);
}

.access-code {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(93, 64, 55, 0.1);
    border-radius: 8px;
    font-weight: 600;
}

.note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.8;
    font-style: italic;
    line-height: 1.4;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .guest-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .generate-link-btn {
        width: 100%;
    }
}

/* Family Columns Styles */
.family-category {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(93, 64, 55, 0.2);
}

.family-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.family-column {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(93, 64, 55, 0.1);
}

.family-subtitle {
    font-family: 'Great Vibes', cursive;
    color: var(--color-orange);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

@media (max-width: 768px) {
    .family-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .family-column {
        padding: 1rem;
    }

    .family-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Principal Columns Styles */
.principal-category,
.entourage-category {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(93, 64, 55, 0.2);
}

.principal-columns,
.entourage-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.principal-column,
.entourage-column {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(93, 64, 55, 0.1);
}

.principal-subtitle,
.entourage-subtitle {
    font-family: 'Great Vibes', cursive;
    color: var(--color-orange);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

@media (max-width: 768px) {
    .principal-columns,
    .entourage-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .principal-column,
    .entourage-column {
        padding: 1rem;
    }

    .principal-subtitle,
    .entourage-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* RSVP Verification Styles */
.verify-input {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid rgba(93, 64, 55, 0.2);
    border-radius: 30px;
    font-size: 1.1rem;
    text-align: center;
    transition: border-color 0.3s ease;
    width: 100%;
}

.verify-input:focus {
    outline: none;
    border-color: var(--color-brown);
}

.verify-input::placeholder {
    color: rgba(93, 64, 55, 0.5);
}

.note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.8;
    font-style: italic;
    line-height: 1.4;
}

/* Update existing password-form for verification */
.password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.password-form .rsvp-button {
    margin: 1rem 0 0;
}

.password-error {
    color: #B71C1C;
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .password-container {
        padding: 2rem;
    }

    .password-container h2 {
        font-size: 2rem;
    }
}

/* Attire Slideshow Styles */
.attire-slideshow {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(93, 64, 55, 0.1);
    width: 100%;
}

.attire-slideshow h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-orange);
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.slideshow-container {
    max-width: 600px;
    position: relative;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.slide-caption {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-brown);
    font-weight: 600;
    border-radius: 0 0 15px 15px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 1rem;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background: rgba(93, 64, 55, 0.6);
    text-decoration: none;
    line-height: 1;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.next {
    right: 1rem;
}

.prev {
    left: 1rem;
}

.prev:hover, .next:hover {
    background: var(--color-brown);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-dots {
    text-align: center;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0;
    background-color: rgba(93, 64, 55, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--color-brown);
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: 0.6}
    to {opacity: 1}
}

@media (max-width: 768px) {
    .slideshow-container {
        max-width: 100%;
    }

    .slide img {
        height: 300px;
    }

    .prev, .next {
        padding: 0.8rem;
        font-size: 1.2rem;
        height: 2.5rem;
        width: 2.5rem;
    }
    
    .attire-slideshow h3 {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }
    
    .dot {
        height: 10px;
        width: 10px;
    }
    
    .slideshow-dots {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .dot {
        height: 8px;
        width: 8px;
    }
    
    .slideshow-dots {
        gap: 5px;
        padding: 0.5rem 0;
    }
    
    .prev, .next {
        height: 2.2rem;
        width: 2.2rem;
        font-size: 1rem;
    }
}

.rsvp-info-message {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid rgba(139, 69, 19, 0.05);
}

.rsvp-info-message h3 {
    font-family: 'Great Vibes', cursive;
    color: #8B4513;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.rsvp-info-message p {
    margin: 1.2rem 0;
    line-height: 1.6;
    color: var(--color-text);
}

.seat-info {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text) !important;
    margin: 1.5rem 0 !important;
}

.deadline-info {
    font-size: 1.1rem;
    margin: 1.5rem 0 !important;
}

.highlight-date {
    color: var(--color-orange);
    font-weight: 600;
    border-bottom: 1px solid var(--color-orange);
    padding-bottom: 1px;
}

.contact-info {
    font-size: 1rem;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
}

.contact-info a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-brown);
}

@media (max-width: 768px) {
    .rsvp-info-message {
        margin: 1.5rem;
        padding: 1.5rem;
    }
    
    .rsvp-info-message h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .seat-info {
        font-size: 1.1rem;
    }
    
    .deadline-info {
        font-size: 1rem;
    }
}

.timeline {
    color: var(--color-orange);
    font-weight: 500;
    margin: 0.3rem 0;
    padding-left: 1rem;
}

.gift-details {
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    color: var(--color-brown);
}

.info-item p {
    margin: 0.5rem 0;
}

.info-item h3 {
    margin-top: 1.5rem;
    color: var(--color-orange);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.info-item h3::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--color-orange), transparent);
}

.info-item:first-child h3 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 0.5rem;
        font-size: 0.95rem;
    }
    
    .info-item h3 {
        font-size: 1.2rem;
    }
}

/* Thank You Page Styles */
.thank-you-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: normal;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--color-brown);
    margin: 2rem 0;
}

.thank-you-message {
    color: var(--color-text);
    line-height: 1.8;
    margin: 2rem 0;
}

.thank-you-message p {
    margin: 0.5rem 0;
}

.wedding-details {
    margin: 2rem 0;
}

.wedding-date {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.venue-name {
    color: var(--color-brown);
    font-size: 1.1rem;
}

.reminders-section {
    text-align: left;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(139, 69, 19, 0.03);
    border-radius: 12px;
}

.reminders-title {
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 1rem;
}

.reminders-list {
    list-style: none;
    padding: 0;
}

.reminders-list li {
    color: var(--color-text);
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.reminders-list li:before {
    content: "•";
    color: var(--color-brown);
    position: absolute;
    left: 0;
}

.contact-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
}

.contact-text {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.contact-links a {
    color: var(--color-brown);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(139, 69, 19, 0.1);
}

.contact-links a:hover {
    background: rgba(139, 69, 19, 0.2);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .card-container {
        padding: 1rem;
    }
    
    .thank-you-card {
        padding: 1.5rem;
    }
    
    .couple-names {
        font-size: 2.8rem;
    }
    
    .thank-you-title {
        font-size: 2rem;
    }
    
    .reminders-section {
        padding: 1rem;
    }
}

.loading-indicator {
    text-align: center;
    padding: 1rem;
    color: var(--color-brown);
    font-style: italic;
}

.auth-button-container {
    text-align: center;
    margin: 1rem 0;
}

.auth-button {
    background: var(--color-brown);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: #6d3610;
    transform: translateY(-2px);
}

/* RSVP Button Styles */
.rsvp-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rsvp-button.accept {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.rsvp-button.decline {
    background: linear-gradient(135deg, #9E9E9E, #616161);
}

.response-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 2rem auto;
    max-width: 500px;
}

.response-card h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #8B4513;
    margin: 1rem 0 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.response-card p {
    color: var(--color-text);
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .rsvp-buttons {
        gap: 0.8rem;
    }
    
    .response-card {
        margin: 1.5rem;
        padding: 1.5rem;
    }
    
    .response-card h2 {
        font-size: 2.5rem;
        margin: 0.8rem 0 1.2rem;
    }
}

.rsvp-timestamp {
    font-size: 0.9em;
    color: #666;
    margin: 15px 0;
    font-style: italic;
}

#changeRsvp {
    margin-top: 20px;
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#changeRsvp:hover {
    background-color: #A0522D;
}

.response-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
}

.response-card h2 {
    color: #8B4513;
    margin-bottom: 15px;
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.column {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.side-title {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #8B4513;
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .column {
        margin-bottom: 1rem;
    }
}

.edit-guest-btn {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--color-brown), var(--color-orange));
    color: var(--color-cream);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 0.5rem;
}

.edit-guest-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(93, 64, 55, 0.2);
}

.edit-form {
    margin: 1.5rem 0;
}

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

.form-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(93, 64, 55, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lora', serif;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-brown);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.save-btn, .cancel-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-btn {
    background: linear-gradient(135deg, var(--color-brown), var(--color-orange));
    color: white;
    border: none;
}

.cancel-btn {
    background: #f5f5f5;
    color: var(--color-brown);
    border: 1px solid rgba(93, 64, 55, 0.2);
}

.save-btn:hover, .cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(93, 64, 55, 0.2);
}

@media (max-width: 768px) {
    .edit-guest-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .form-input {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .save-btn, .cancel-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Main Slideshow Styles */
.main-slideshow {
    margin: 2rem auto 4rem;
    max-width: 900px;
    position: relative;
    width: 100%;
    animation: fadeIn 2.2s ease-out;
}

.main-slideshow-container {
    position: relative;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(93, 64, 55, 0.25);
    overflow: hidden;
    border: 1px solid rgba(216, 67, 21, 0.1);
    width: 100%;
    touch-action: pan-y;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-slideshow-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(93, 64, 55, 0.3);
}

.main-slideshow .slide {
    display: none;
    width: 100%;
    position: relative;
}

.main-slideshow .slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    filter: sepia(0.2) saturate(1.3);
    transition: all 0.5s ease;
}

.main-slideshow .slide img:hover {
    filter: sepia(0) saturate(1.1);
}

.main-slideshow .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1.5rem;
    background: rgba(93, 64, 55, 0.7);
    color: white;
    font-weight: 600;
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    border-radius: 0 0 20px 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.main-slideshow .slideshow-dots {
    margin-top: 1rem;
    max-width: 100%;
    overflow-x: auto;
    justify-content: center;
    padding: 0.5rem 0;
    gap: 8px;
}

.main-slideshow .dot {
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.main-slideshow .dot:hover {
    transform: scale(1.2);
}

.main-slideshow .dot.active {
    transform: scale(1.3);
    background-color: var(--color-orange);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .save-the-date {
        font-size: 2.2rem;
    }
    
    .names {
        font-size: 2.5rem;
    }
    
    .wedding-date, .venue {
        font-size: 1.2rem;
    }
    
    .main-slideshow {
        margin: 1.5rem auto 2.5rem;
    }
    
    .main-slideshow .slide img {
        height: 300px;
    }
    
    .main-slideshow .slide-caption {
        padding: 0.8rem;
        font-size: 1.3rem;
    }
    
    .main-slideshow .slideshow-dots {
        gap: 6px;
    }
    
    .message-card {
        padding: 2rem;
    }
    
    .message-content {
        font-size: 1.8rem;
    }
    
    .rsvp-button {
        padding: 1rem 3rem;
        font-size: 1.1rem;
    }
    
    .info-section {
        margin: 2.5rem 0;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card h2 {
        font-size: 1.8rem;
    }
    
    .color-swatch {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .save-the-date {
        font-size: 2rem;
    }
    
    .names {
        font-size: 2.2rem;
    }
    
    .main-slideshow .slide img {
        height: 250px;
    }
    
    .main-slideshow .slide-caption {
        padding: 0.6rem;
        font-size: 1.1rem;
    }
    
    .rsvp-button {
        padding: 0.8rem 2.5rem;
        font-size: 1rem;
    }
    
    .prev, .next {
        height: 2.2rem;
        width: 2.2rem;
        font-size: 1rem;
    }
}

.venue-image {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.3);
    position: relative;
    width: 100%;
}

.venue-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: sepia(0.2) saturate(1.3);
    transition: filter 0.3s ease;
}

.venue-image img:hover {
    filter: sepia(0) saturate(1);
}

.venue-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(93, 64, 55, 0.7);
    color: white;
    padding: 0.8rem;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .venue-image {
        margin-top: 1rem;
    }
    
    .venue-image img {
        height: 200px;
    }
    
    .venue-caption {
        padding: 0.6rem;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .venue-image {
        margin-top: 0.8rem;
    }
    
    .venue-image img {
        height: 180px;
    }
    
    .venue-caption {
        padding: 0.5rem;
        font-size: 1.1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reels Video Section */
.reels-video {
    width: 100%;
    max-width: 600px;
    margin: 3rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(93, 64, 55, 0.25);
    position: relative;
    animation: fadeIn 2.2s ease-out;
    border: 1px solid rgba(216, 67, 21, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reels-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(93, 64, 55, 0.3);
}

.reels-style-video {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
    background: #000;
}

@media (max-width: 768px) {
    .reels-video {
        max-width: 90%;
        margin: 2rem auto;
    }
} 