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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f7;
}

/* Navigation Bar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 500;
    color: #8b7355;
    letter-spacing: 1px;
    display: none; /* Hidden on desktop, shown on mobile */
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #5a5a5a;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 1rem;
    flex: 1;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #5a5a5a;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    display: block;
}

.nav-link:hover {
    color: #8b7355;
}

.nav-link.active {
    color: #8b7355;
    border-bottom: 2px solid #8b7355;
}

/* Mobile Menu Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-in;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #8b7355;
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: 1px;
}

.couple-names {
    font-size: 4rem;
    font-weight: 400;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

.wedding-details {
    font-size: 1.3rem;
    color: #6a6a6a;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Photo Container */
.photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.photo-placeholder {
    width: 100%;
    max-width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #e8dcd0 0%, #d4c4b8 100%);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.photo-placeholder:hover {
    transform: scale(1.02);
}

.photo-placeholder p {
    font-size: 1.5rem;
    color: #8b7355;
    font-style: italic;
}

/* When you add an actual photo, use this style */
.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    color: #8b7355;
    font-size: 0.9rem;
    border-top: 1px solid #e0d5c7;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .couple-names {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .wedding-details {
        font-size: 1.1rem;
    }

    .nav-brand {
        display: block;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        background-color: #fff;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        padding: 5rem 1.5rem 2rem;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        gap: 0;
        z-index: 1002;
        justify-content: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        flex-shrink: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.9rem 1rem;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
    }

    .nav-link.active {
        border-bottom: none;
        background-color: #faf9f7;
    }

    .photo-placeholder {
        height: 400px;
    }

    .hero-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 2rem;
    }

    .nav-menu {
        width: 80%;
        padding: 4rem 1rem 2rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.75rem 0.8rem;
    }

    .photo-placeholder {
        height: 300px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .nav-menu {
        padding: 4rem 0.8rem 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.65rem 0.7rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }
}

/* Landscape phones / short screens */
@media (max-height: 600px) and (max-width: 768px) {
    .nav-menu {
        padding: 3.5rem 1rem 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
}

/* RSVP Page Styles */
.rsvp-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 300px);
}

.rsvp-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    animation: fadeIn 0.8s ease-in;
}

.rsvp-content {
    text-align: center;
}

.rsvp-title {
    font-size: 3rem;
    font-weight: 400;
    color: #4a4a4a;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

.rsvp-subtitle {
    font-size: 1.2rem;
    color: #8b7355;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.rsvp-form {
    text-align: left;
}

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

.form-label {
    display: block;
    font-size: 1rem;
    color: #5a5a5a;
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e0d5c7;
    border-radius: 8px;
    font-family: 'Georgia', serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #faf9f7;
}

.form-input:focus {
    outline: none;
    border-color: #8b7355;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-input::placeholder {
    color: #b0a89f;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    background-color: #8b7355;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #6f5a43;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background-color: #c9b9a8;
    cursor: not-allowed;
    opacity: 0.6;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: #c9b9a8;
}

/* RSVP Page Responsive */
@media (max-width: 768px) {
    .rsvp-container {
        padding: 2rem;
    }

    .rsvp-title {
        font-size: 2.5rem;
    }

    .rsvp-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .rsvp-section {
        padding: 2rem 1rem;
    }

    .rsvp-container {
        padding: 1.5rem;
    }

    .rsvp-title {
        font-size: 2rem;
    }
    
    .help-section {
        padding: 1rem;
    }
    
    .help-text {
        font-size: 0.9rem;
    }
    
    .help-link {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Additional RSVP Form Elements */
.form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Georgia', serif;
}

.guest-info {
    background-color: #faf9f7;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #e0d5c7;
}

.guest-info p {
    margin: 0.5rem 0;
    color: #5a5a5a;
    font-size: 0.95rem;
}

.guest-info strong {
    color: #4a4a4a;
    margin-right: 0.5rem;
}

.error-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    font-size: 0.95rem;
}

.success-message {
    font-size: 1.1rem;
    color: #5a5a5a;
    margin: 2rem 0;
    line-height: 1.8;
}

.back-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #8b7355;
    background-color: transparent;
    border: 2px solid #8b7355;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
    margin-top: 1rem;
}

.back-btn:hover {
    background-color: #faf9f7;
    color: #6f5a43;
    border-color: #6f5a43;
}

select.form-input {
    cursor: pointer;
    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='%238b7355' 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: 1.2em;
    padding-right: 3rem;
}

/* Guest Selection Styles */
.guest-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.guest-card-display {
    background-color: #fff;
    border: 2px solid #e0d5c7;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.guest-card-display:hover {
    border-color: #8b7355;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.2);
    transform: translateY(-2px);
}

.guest-card-display.selected {
    border-color: #8b7355;
    background-color: #f9f5f1;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.guest-card-display.selected::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background-color: #8b7355;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.guest-name {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.guest-details {
    font-size: 0.95rem;
    color: #6a6a6a;
    margin: 0.25rem 0;
}

.guest-details:empty {
    display: none;
}

.guest-plus-one {
    font-size: 0.9rem;
    color: #8b7355;
    margin: 0.5rem 0 0 0;
    font-style: italic;
    font-weight: 500;
}

/* Guest Section Styling */
.guest-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0d5c7;
}

.guest-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    color: #8b7355;
    margin-bottom: 1rem;
    font-weight: 500;
    font-family: 'Georgia', serif;
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: #8b7355;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Help Section Styles */
.help-section {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
}

.help-text {
    font-size: 1rem;
    color: #6a6a6a;
    margin-bottom: 1rem;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: #8b7355;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
}

.help-link:hover {
    background-color: #6f5a43;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.help-label {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Guest Selection Instructions */
.selection-instructions {
    font-size: 0.95rem;
    color: #8b7355;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9f5f1;
    border-radius: 8px;
    border-left: 4px solid #8b7355;
    text-align: left;
}

/* Our Story Page Styles */
.story-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 300px);
}

.story-container {
    width: 100%;
}

.story-title {
    font-size: 3rem;
    font-weight: 400;
    color: #8b7355;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.story-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: #6a6a6a;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
}

.story-block {
    margin-bottom: 3rem;
}

.story-row {
    margin-bottom: 1.5rem;
}

.story-row.photo-left,
.story-row.photo-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.story-row.full-width {
    width: 100%;
}

.story-photo {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
}

.story-text {
    padding: 1rem;
}

.story-text p,
.story-row.full-width p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1rem;
    text-align: justify;
}

.story-row.full-width p {
    padding: 0 1rem;
}

.story-closing {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.closing-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: #8b7355;
    font-style: italic;
    letter-spacing: 1px;
}

/* Story Page Responsive Design */
@media (max-width: 768px) {
    .story-section {
        padding: 3rem 1.5rem;
    }

    .story-title {
        font-size: 2.2rem;
    }

    .story-subtitle {
        font-size: 1.1rem;
    }

    .story-row.photo-left,
    .story-row.photo-right {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-row.photo-right .story-photo {
        order: 1;
    }

    .story-row.photo-right .story-text {
        order: 2;
    }

    .story-text p,
    .story-row.full-width p {
        font-size: 1rem;
        text-align: left;
    }

    .story-row.full-width p {
        padding: 0;
    }

    .closing-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .story-section {
        padding: 2rem 1rem;
    }

    .story-title {
        font-size: 1.8rem;
    }

    .story-subtitle {
        font-size: 1rem;
    }

    .story-block {
        margin-bottom: 2rem;
    }

    .story-row {
        margin-bottom: 1rem;
    }

    .story-text {
        padding: 0.5rem;
    }

    .story-text p,
    .story-row.full-width p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .closing-text {
        font-size: 1.1rem;
    }
}

/* Photos Page Styles */
.photos-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 300px);
}

.photos-container {
    width: 100%;
}

.photos-title {
    font-size: 3rem;
    font-weight: 400;
    color: #8b7355;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.photos-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: #6a6a6a;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
}

.setup-instructions {
    background-color: #f9f5f1;
    border: 2px solid #e0d5c7;
    border-left: 5px solid #8b7355;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-in;
}

.setup-instructions h3 {
    color: #8b7355;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.setup-instructions p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.setup-instructions ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.setup-instructions li {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.setup-instructions code {
    background-color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #6f5a43;
    border: 1px solid #e0d5c7;
}

.setup-instructions em {
    color: #8b7355;
    font-size: 0.95rem;
}

.photos-embed-container {
    margin-bottom: 3rem;
}

.section-heading {
    font-size: 2rem;
    font-weight: 400;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.google-photos-container {
    width: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.google-photos-preview {
    width: 100%;
    min-height: 300px;
}

.album-preview-link {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, #f9f5f1 0%, #f0e8e0 100%);
    border: 2px solid #e0d5c7;
    border-radius: 16px;
    padding: 4rem 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.album-preview-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(139, 115, 85, 0.2);
    border-color: #8b7355;
}

.album-preview-content {
    text-align: center;
}

.album-icon {
    color: #8b7355;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.album-preview-content h3 {
    font-size: 2rem;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.album-preview-content p {
    font-size: 1.1rem;
    color: #6a6a6a;
    margin-bottom: 1.5rem;
}

.view-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #8b7355;
    color: #fff;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.album-preview-link:hover .view-button {
    background-color: #6f5a43;
    transform: scale(1.05);
}

.placeholder-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #8b7355;
}

.placeholder-message p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Manual Photo Grid (alternative option) */
.photo-grid-section {
    margin-top: 4rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    background-color: #f5f0eb;
}

.photo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.photo-item img:hover {
    opacity: 0.9;
}

/* Album Link Section */
.album-link-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f9f5f1 0%, #f0e8e0 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.album-link-text {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.album-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    background-color: #8b7355;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.album-button:hover {
    background-color: #6f5a43;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 115, 85, 0.4);
}

.album-button:active {
    transform: translateY(0);
}

/* Photos Page Responsive Design */
@media (max-width: 768px) {
    .photos-section {
        padding: 3rem 1.5rem;
    }

    .photos-title {
        font-size: 2.2rem;
    }

    .photos-subtitle {
        font-size: 1.1rem;
    }

    .setup-instructions {
        padding: 1.5rem;
    }

    .setup-instructions h3 {
        font-size: 1.3rem;
    }

    .setup-instructions p,
    .setup-instructions li {
        font-size: 0.95rem;
    }

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

    .album-link-section {
        padding: 2rem 1.5rem;
    }

    .album-link-text {
        font-size: 1.1rem;
    }

    .album-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .photos-section {
        padding: 2rem 1rem;
    }

    .photos-title {
        font-size: 1.8rem;
    }

    .photos-subtitle {
        font-size: 1rem;
    }

    .setup-instructions {
        padding: 1rem;
    }

    .setup-instructions h3 {
        font-size: 1.1rem;
    }

    .setup-instructions ol {
        margin-left: 1rem;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .album-link-section {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .album-link-text {
        font-size: 1rem;
    }

    .album-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background-color: rgba(139, 115, 85, 0.8);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    max-width: 80%;
}

/* Lightbox Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
        width: 45px;
        height: 45px;
    }

    .lightbox-caption {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        bottom: 1rem;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Wedding Party Page Styles */
.party-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 300px);
}

.party-container {
    width: 100%;
}

.party-title {
    font-size: 3rem;
    font-weight: 400;
    color: #8b7355;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.party-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: #6a6a6a;
    text-align: center;
    margin-bottom: 4rem;
    font-style: italic;
}

.party-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.party-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column-title {
    font-size: 2rem;
    font-weight: 400;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #8b7355;
    padding-bottom: 0.75rem;
    width: 100%;
    max-width: 300px;
}

.party-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease;
    animation: fadeIn 0.6s ease-in;
}

.party-member:hover {
    transform: translateY(-5px);
}

.party-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #e8dcd0 0%, #d4c4b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-bottom: 1.25rem;
}

.party-member:hover .party-photo {
    box-shadow: 0 12px 32px rgba(139, 115, 85, 0.25);
    transform: scale(1.05);
}

.party-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.party-photo:empty::before {
    content: '📷';
    font-size: 3rem;
    color: #8b7355;
    opacity: 0.5;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.member-role {
    font-size: 1rem;
    font-weight: 400;
    color: #8b7355;
    text-align: center;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Wedding Party Responsive Design */
@media (max-width: 900px) {
    .party-grid {
        gap: 3rem;
    }

    .party-photo {
        width: 180px;
        height: 180px;
    }

    .member-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .party-section {
        padding: 3rem 1.5rem;
    }

    .party-title {
        font-size: 2.2rem;
    }

    .party-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .party-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .column-title {
        font-size: 1.8rem;
    }

    .party-photo {
        width: 180px;
        height: 180px;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .party-section {
        padding: 2rem 1rem;
    }

    .party-title {
        font-size: 1.8rem;
    }

    .party-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .party-grid {
        gap: 3rem;
    }

    .column-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .party-member {
        margin-bottom: 2rem;
    }

    .party-photo {
        width: 160px;
        height: 160px;
    }

    .member-name {
        font-size: 1.2rem;
    }

    .member-role {
        font-size: 0.9rem;
    }
}

/* Q&A Page Styles */
.qa-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 300px);
}

.qa-container {
    width: 100%;
}

.qa-title {
    font-size: 3rem;
    font-weight: 400;
    color: #8b7355;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.qa-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: #6a6a6a;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
}

.qa-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qa-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-in;
    border-left: 4px solid #e0d5c7;
}

.qa-item:hover {
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.15);
    transform: translateY(-2px);
    border-left-color: #8b7355;
}

.question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.question-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #8b7355;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
}

.question-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: #4a4a4a;
    margin: 0;
    padding-top: 0.4rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.answer {
    padding-left: 3.5rem;
}

.answer p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a5a5a;
    margin: 0;
}

.inline-link {
    color: #8b7355;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #8b7355;
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: #6f5a43;
    border-bottom-color: #6f5a43;
}

/* Q&A Page Responsive Design */
@media (max-width: 768px) {
    .qa-section {
        padding: 3rem 1.5rem;
    }

    .qa-title {
        font-size: 2.2rem;
    }

    .qa-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .qa-item {
        padding: 1.5rem;
    }

    .question {
        gap: 0.75rem;
    }

    .question-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .question-text {
        font-size: 1.2rem;
        padding-top: 0.3rem;
    }

    .answer {
        padding-left: 2.85rem;
    }

    .answer p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .qa-section {
        padding: 2rem 1rem;
    }

    .qa-title {
        font-size: 1.8rem;
    }

    .qa-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .qa-list {
        gap: 1.5rem;
    }

    .qa-item {
        padding: 1.25rem;
    }

    .question {
        gap: 0.65rem;
        flex-direction: row;
    }

    .question-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .question-text {
        font-size: 1.1rem;
        padding-top: 0.2rem;
    }

    .answer {
        padding-left: 0;
        padding-top: 0.5rem;
    }

    .answer p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

