/* ==========================================================================
   MR & MRS OWOPETU WEDDING WEBSITE STYLESHEET
   Aesthetics: Luxury Ivory & Gold, High-End Typography, Glassmorphism, Smooth Animations
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Color Variables
   -------------------------------------------------------------------------- */
:root {
    --primary-bg: #faf7f2;
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.92);
    --text-primary: #1c1c24;
    --text-secondary: #5a5a66;
    --text-muted: #8c8c9a;
    
    /* Luxury Gold Palette */
    --gold-primary: #c59b27;
    --gold-light: #e6c875;
    --gold-dark: #9e7811;
    --gold-gradient: linear-gradient(135deg, #e6c875 0%, #c59b27 50%, #9e7811 100%);
    --gold-glow: rgba(197, 155, 39, 0.25);
    
    /* Complementary Colors */
    --rose-accent: #d98880;
    --emerald-accent: #2e5a44;
    --border-color: #eee6d8;
    --card-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 20px 40px rgba(197, 155, 39, 0.15);
    
    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;

    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-bg: #0d1117;
    --card-bg: #161b22;
    --header-bg: rgba(22, 27, 34, 0.92);
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    
    --gold-primary: #dfb239;
    --gold-light: #f2d57c;
    --gold-dark: #b38b19;
    --border-color: #30363d;
    --card-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    --hover-shadow: 0 20px 40px rgba(223, 178, 57, 0.25);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* --------------------------------------------------------------------------
   3. Common Layout & Typography
   -------------------------------------------------------------------------- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 90px 24px;
}

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

.section-header {
    margin-bottom: 50px;
}

.sub-heading {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 6px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 10px;
    font-weight: 300;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.divider::before, .divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--gold-gradient);
}

.divider i {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--primary-bg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #ffffff;
    border: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
    filter: brightness(1.08);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    flex-direction: column;
}

.brand-logo .initials {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--gold-primary);
    line-height: 1;
}

.brand-logo .full-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 6px 0;
}

.nav-link i {
    font-size: 0.85rem;
    color: var(--gold-primary);
}

.nav-link.gift-nav-highlight {
    color: var(--gold-primary);
    font-weight: 700;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle-btn, .mobile-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(197, 155, 39, 0.1);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover, .mobile-menu-btn:hover {
    background: var(--gold-primary);
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    color: #ffffff;
    text-align: center;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.8s ease, transform 6s ease;
}

.hero-slideshow .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, 
        rgba(12, 16, 23, 0.65) 0%, 
        rgba(12, 16, 23, 0.45) 50%, 
        rgba(12, 16, 23, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 40px 24px;
    animation: fadeInSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wedding-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--gold-light);
}

.badge-text {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 600;
}

.couple-names {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff 30%, #f3e5ab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.couple-sub {
    font-family: var(--font-script);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--gold-light);
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-tagline {
    font-size: 1.15rem;
    font-style: italic;
    color: #e0e0e0;
    max-width: 680px;
    margin: 0 auto 36px auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.scroll-down-indicator a:hover {
    color: var(--gold-light);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 2px;
    animation: scrollWheel 1.8s infinite;
}

/* --------------------------------------------------------------------------
   6. Thank You Message Section
   -------------------------------------------------------------------------- */
.thank-you-section {
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--card-bg) 100%);
    position: relative;
}

.thank-you-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 48px;
    box-shadow: var(--card-shadow);
    position: relative;
    max-width: 920px;
    margin: 0 auto 60px auto;
    background-image: radial-gradient(circle at 10% 10%, rgba(197, 155, 39, 0.03) 0%, transparent 40%),
                      radial-gradient(circle at 90% 90%, rgba(197, 155, 39, 0.03) 0%, transparent 40%);
}

.card-decor {
    position: absolute;
    color: var(--gold-primary);
    opacity: 0.4;
    font-size: 1.4rem;
}

.card-decor.top-left { top: 24px; left: 28px; }
.card-decor.top-right { top: 24px; right: 28px; }
.card-decor.bottom-left { bottom: 24px; left: 28px; }
.card-decor.bottom-right { bottom: 24px; right: 28px; }

.wax-seal {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -80px auto 30px auto;
    box-shadow: 0 8px 20px rgba(197, 155, 39, 0.35);
    border: 3px solid var(--card-bg);
}

.wax-seal span {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
}

.thank-you-body {
    text-align: center;
}

.letter-salutation {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 24px;
}

.letter-paragraph {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 300;
}

.signature-block {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px stroke var(--border-color);
}

.valediction {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.signature-names {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--gold-primary);
    margin: 8px 0;
    line-height: 1;
}

.wedding-tag {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

/* Stats Counter Grid */
.wedding-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.stat-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--hover-shadow);
}

.stat-item i {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   6B. Gifting & Registry Section
   -------------------------------------------------------------------------- */
.gifting-section {
    background: var(--primary-bg);
}

.gifting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gift-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.gift-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--hover-shadow);
}

.gift-card.featured-gift-card {
    border: 2px solid var(--gold-primary);
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(197, 155, 39, 0.04) 100%);
}

.gift-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(197, 155, 39, 0.12);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.gift-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.gift-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.bank-account-box, .digital-wallet-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    margin-top: auto;
}

.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 8px;
}

.account-row.highlight-acc {
    background: var(--card-bg);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px dashed var(--gold-primary);
}

.acc-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.acc-val {
    font-weight: 700;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 1rem;
}

.wallet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    gap: 8px;
}

.wallet-type {
    color: var(--gold-primary);
    font-weight: 600;
}

.wallet-val {
    font-family: monospace;
    font-weight: 600;
    color: var(--text-primary);
}

.copy-btn {
    background: var(--gold-gradient);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    transform: scale(1.05);
}

.fund-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fund-chip-btn {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: var(--transition-fast);
}

.fund-chip-btn i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.fund-chip-btn:hover {
    border-color: var(--gold-primary);
    background: rgba(197, 155, 39, 0.08);
}

/* Couple Vault Banner & Vault Dialog */
.couple-vault-banner {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    background: var(--card-bg);
    border: 1px dashed var(--gold-primary);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: var(--card-shadow);
}

.vault-banner-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
}

.vault-banner-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.passcode-hint {
    font-size: 0.8rem;
    color: var(--gold-primary);
    margin-top: 8px;
}

.vault-dialog {
    max-width: 620px;
    width: 92%;
}

.vault-item-card {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    transition: var(--transition-fast);
}

.vault-item-card:hover {
    border-color: var(--gold-primary);
}

.v-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v-item-giver {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.v-item-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
}

.v-item-badge.private {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.v-item-badge.public {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.v-item-amount {
    font-family: monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.v-item-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.v-item-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1c1c24;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    z-index: 3000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   7. Highlights Section
   -------------------------------------------------------------------------- */
.highlights-section {
    background: var(--primary-bg);
    overflow: hidden;
}

.highlights-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.highlights-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 4px 30px 4px;
    scrollbar-width: none;
}

.highlights-track::-webkit-scrollbar {
    display: none;
}

.highlight-card {
    min-width: 340px;
    max-width: 360px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.highlight-card:hover img {
    transform: scale(1.08);
}

.highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: #ffffff;
    transition: var(--transition-fast);
}

.highlight-number {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 6px;
    font-weight: 600;
}

.highlight-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
}

.highlight-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.slider-btn:hover {
    background: var(--gold-primary);
    color: #ffffff;
}

.slider-btn.prev-btn { left: -25px; }
.slider-btn.next-btn { right: -25px; }

/* --------------------------------------------------------------------------
   8. Full Gallery Section (334 Photos)
   -------------------------------------------------------------------------- */
.gallery-section {
    background: var(--card-bg);
}

.gallery-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold-primary);
    color: #ffffff;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
}

.gallery-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px 20px;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.search-input-group i {
    color: var(--gold-primary);
}

.search-input-group input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.clear-search-btn {
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 4px;
}

.clear-search-btn:hover {
    color: var(--text-primary);
}

.view-toggles {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.view-btn:hover, .view-btn.active {
    background: var(--gold-primary);
    color: #ffffff;
}

.gallery-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding: 0 6px;
}

.click-tip {
    font-size: 0.85rem;
    color: var(--gold-primary);
}

/* Gallery Grid Layouts */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    transition: var(--transition-smooth);
}

.gallery-grid.comfortable-view {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.gallery-grid.masonry-view {
    column-count: 3;
    column-gap: 20px;
    display: block;
}

.gallery-grid.masonry-view .photo-card {
    break-inside: avoid;
    margin-bottom: 20px;
}

/* Photo Card Component */
.photo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    animation: fadeIn 0.5s ease forwards;
}

.photo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    background: #eaeaea;
}

.photo-card:hover img {
    transform: scale(1.06);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12, 16, 23, 0.85) 0%, rgba(12, 16, 23, 0.1) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    color: #ffffff;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-badge-number {
    align-self: flex-start;
    background: rgba(197, 155, 39, 0.9);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.photo-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.photo-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.action-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.action-icon-btn:hover {
    background: var(--gold-primary);
}

/* Load More Container */
.load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   9. Guest Book Section
   -------------------------------------------------------------------------- */
.guestbook-section {
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--primary-bg) 100%);
}

.guestbook-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.guestbook-form-card, .guestbook-messages-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--card-shadow);
}

.guestbook-form-card h3, .guestbook-messages-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guestbook-form-card h3 i, .guestbook-messages-card h3 i {
    color: var(--gold-primary);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}

.messages-list::-webkit-scrollbar {
    width: 6px;
}

.messages-list::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 10px;
}

.message-card {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    transition: var(--transition-fast);
}

.message-card:hover {
    border-color: var(--gold-primary);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.guest-author {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.guest-relation-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(197, 155, 39, 0.15);
    color: var(--gold-primary);
    font-weight: 600;
}

.message-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: right;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: #0f141d;
    color: #ffffff;
    padding: 70px 24px 40px 24px;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-monogram {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 12px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-message {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    margin-bottom: 12px;
}

.footer-date {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
}

.footer-divider {
    width: 80px;
    height: 1px;
    background: var(--gold-gradient);
    margin: 30px auto;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* --------------------------------------------------------------------------
   11. Fullscreen Lightbox Modal
   -------------------------------------------------------------------------- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 15, 0.95);
    backdrop-filter: blur(16px);
}

.lightbox-container {
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.lightbox-info {
    display: flex;
    flex-direction: column;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.lightbox-counter {
    font-size: 0.85rem;
    color: var(--gold-light);
}

.lightbox-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.lb-btn:hover {
    background: var(--gold-primary);
}

.lb-btn.close-btn {
    background: rgba(235, 87, 87, 0.2);
    color: #ff6b6b;
}

.lb-btn.close-btn:hover {
    background: #ff4d4d;
    color: #ffffff;
}

.lightbox-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.lightbox-image-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}

.lightbox-image-wrapper img.zoomed {
    transform: scale(1.6);
    cursor: grab;
}

.lightbox-spinner {
    position: absolute;
    font-size: 2.5rem;
    color: var(--gold-primary);
    display: none;
}

.lightbox-spinner.active {
    display: block;
}

.lightbox-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(8px);
    transition: var(--transition-fast);
    z-index: 20;
}

.lightbox-nav-btn:hover {
    background: var(--gold-primary);
    transform: scale(1.1);
}

.lightbox-footer {
    padding: 20px 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.keyboard-hints {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

kbd {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 600;
}

/* Back to top button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

/* --------------------------------------------------------------------------
   12. Animations & Responsive Breakpoints
   -------------------------------------------------------------------------- */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .guestbook-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-track {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .slider-btn.prev-btn { left: 10px; }
    .slider-btn.next-btn { right: 10px; }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .nav-menu.open {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .thank-you-card {
        padding: 40px 24px;
    }

    .gallery-search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .gallery-status-bar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .lightbox-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .lightbox-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .btn-text {
        display: none;
    }
}
