/* ==========================================================================
   ALICE 15 ANOS - DRESS CODE & LANDING PAGE STYLESHEET
   Theme: Alice in Wonderland (Luxury Crimson & Gold)
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    --primary: #800f1c; /* Rich Crimson */
    --primary-light: #ab1f30;
    --primary-dark: #4d050d;
    --accent: #d4af37; /* Burnished Gold */
    --accent-light: #f3e5ab;
    --accent-dark: #aa803b;
    --bg-dark: #0f0204;
    --bg-darker: #060001;
    --bg-card: rgba(33, 4, 7, 0.75);
    --bg-card-hover: rgba(54, 7, 12, 0.85);
    --text-light: #fdfaf6;
    --text-muted: #d4bec2;
    --text-dark: #2c0e11;
    --border-gold: 1px solid rgba(212, 175, 55, 0.25);
    --border-gold-bright: 1px solid rgba(212, 175, 55, 0.6);
    --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.15);
    --shadow-gold-hover: 0 0 25px rgba(212, 175, 55, 0.35);
    --font-title: 'Cinzel Decorative', serif;
    --font-subtitle: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background: linear-gradient(rgba(15, 2, 4, 0.90), rgba(15, 2, 4, 0.95)), url('Fotos/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 2. Floating Elements Background */
.magic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.magic-particle {
    position: absolute;
    bottom: -50px;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    user-select: none;
    transition: transform 0.1s linear;
}

/* 3. Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0) 100%);
}

.main-header.scrolled {
    padding: 12px 40px;
    background: rgba(15, 2, 4, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-gold);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo .logo-link {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.logo .logo-link span {
    color: var(--accent);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-subtitle);
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

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

.btn-nav-rsvp {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: var(--border-gold);
    padding: 10px 20px !important;
    border-radius: 30px;
    box-shadow: var(--shadow-gold);
}

.btn-nav-rsvp:hover {
    box-shadow: var(--shadow-gold-hover);
    transform: translateY(-2px);
    border: var(--border-gold-bright);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle .bar {
    width: 28px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Music Control button */
.music-controller {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.music-btn {
    background: rgba(33, 4, 7, 0.7);
    border: var(--border-gold);
    color: var(--accent);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-gold);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-gold-hover);
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-subtitle);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 40px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    color: var(--text-light);
    border: var(--border-gold);
    box-shadow: var(--shadow-gold), 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-hover), 0 8px 25px rgba(0, 0, 0, 0.6);
    border: var(--border-gold-bright);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border: var(--border-gold);
    color: var(--accent);
}

/* Shine effect on primary buttons */
.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(35deg);
    transition: none;
}

.btn-shine:hover::after {
    left: 150%;
    transition: all 0.8s ease-in-out;
}

/* 4. Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
    background-image: linear-gradient(rgba(15, 2, 4, 0.25), rgba(15, 2, 4, 0.65)), url('Fotos/hero_bg.jpg');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(15, 2, 4, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 45px;
    border-radius: 20px;
    border: var(--border-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--shadow-gold);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-subtitle);
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4.8rem;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    margin-bottom: 10px;
    animation: zoomIn 1.2s ease-out;
}

.hero-decor {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.hero-decor .line {
    height: 1px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.6) 50%, rgba(212, 175, 55, 0) 100%);
    flex-grow: 1;
}

.hero-decor .gold-icon {
    color: var(--accent);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.hero-event {
    font-family: var(--font-subtitle);
    font-size: 1.8rem;
    color: var(--text-muted);
    letter-spacing: 6px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-date-text {
    font-family: var(--font-subtitle);
    font-size: 1.2rem;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    margin-bottom: 35px;
    letter-spacing: 2px;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.countdown-item {
    background: var(--bg-card);
    border: var(--border-gold);
    width: 90px;
    height: 95px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold), inset 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-5px);
    border: var(--border-gold-bright);
    box-shadow: var(--shadow-gold-hover);
}

.countdown-num {
    font-family: var(--font-subtitle);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero Image Ornate Frame */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 5;
    animation: fadeInUp 1.2s ease-out;
}

.hero-frame {
    position: relative;
    width: 330px;
    height: 480px;
    border-radius: 180px 180px 20px 20px; /* Gothic Arch Shape */
    padding: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--shadow-gold-hover);
}

.hero-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 185px 185px 25px 25px;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 170px 170px 15px 15px;
    filter: brightness(0.9) contrast(1.05);
    border: 2px solid var(--bg-dark);
}

.frame-border {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;
    border: 1px dashed rgba(212, 175, 55, 0.5);
    border-radius: 160px 160px 10px 10px;
    pointer-events: none;
}

.hero-bottom-scroll {
    align-self: center;
    margin-top: 30px;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.scroll-down:hover {
    color: var(--accent);
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

/* 5. Section General Layout */
section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.section-subtitle {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.section-divider::before, .section-divider::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.5));
}

.section-divider::after {
    background: linear-gradient(to left, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.5));
}

.section-divider i {
    color: var(--accent);
    font-size: 0.95rem;
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.4));
}

/* 6. Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

/* Masonry items sizing classes */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: var(--border-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-row: span 2;
}

.gallery-item:nth-child(6) {
    grid-column: span 2;
}

.gallery-item:nth-child(8) {
    grid-column: span 3;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 4, 7, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(3px);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border: var(--border-gold-bright);
    box-shadow: var(--shadow-gold-hover);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.view-btn {
    font-family: var(--font-subtitle);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: var(--shadow-gold);
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-item:hover .view-btn {
    transform: translateY(0);
}

/* 7. Event Details Section */
.event-details-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.details-cards-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.details-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), var(--shadow-gold);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.details-card:hover {
    transform: translateX(10px);
    background: var(--bg-card-hover);
    border: var(--border-gold-bright);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), var(--shadow-gold-hover);
}

.card-icon-wrapper {
    background: rgba(212, 175, 55, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

.card-icon-wrapper i {
    font-size: 1.5rem;
}

.card-content h3 {
    font-family: var(--font-subtitle);
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-card-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-card-action:hover {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
}

/* Map Card */
.map-card {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: var(--border-gold-bright);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--shadow-gold-hover);
}

.map-card iframe {
    /* Subtle dark filter to make the map match the theme */
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.2) sepia(10%);
}

.map-border-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

/* 8. Dress Code Section */
.dress-code-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), var(--shadow-gold);
    backdrop-filter: blur(10px);
}

.dress-code-info h3 {
    font-family: var(--font-subtitle);
    font-size: 1.8rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dress-code-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.dress-code-warning {
    background: rgba(128, 15, 28, 0.15);
    border-left: 4px solid var(--primary);
    border-radius: 4px 12px 12px 4px;
    padding: 24px;
    display: flex;
    gap: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.warning-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-top: 3px;
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.3));
}

.warning-text h4 {
    font-family: var(--font-subtitle);
    color: var(--text-light);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.warning-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Color Guide Palette */
.color-guide-container h3 {
    font-family: var(--font-subtitle);
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.palette-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.palette-colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.color-swatch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.color-swatch-wrapper:hover .color-swatch {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(212,175,55,0.2);
}

/* Swatch Colors mapping */
.color-crimson { background-color: #800f1c; }
.color-gold { background-color: #d4af37; }
.color-emerald { background-color: #165b33; }
.color-rose { background-color: #dca0a0; }
.color-burgundy { background-color: #4a050d; }
.color-champagne { background-color: #ebdcb9; }
.color-blue { background-color: #1d4ed8; }

.prohibited-color {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: center;
}

.color-swatch-wrapper.restricted {
    cursor: default;
}

.color-swatch-wrapper.restricted .color-blue {
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(128,15,28,0.5);
}

.slash-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 3px;
    background-color: var(--primary);
    transform: translate(-50%, -50%) rotate(-45deg);
    border: 1px solid var(--bg-dark);
}

.restricted-text {
    font-weight: 600;
    color: #ff6b6b !important;
    letter-spacing: 1px;
}

/* 9. RSVP Section */
.rsvp-container {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 40px;
    align-items: stretch;
}

.rsvp-visual {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
    border: var(--border-gold);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.rsvp-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, rgba(0,0,0,0) 70%);
    top: -50px;
    left: -50px;
}

.rsvp-invitation-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    padding: 40px 30px;
    border-radius: 12px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.envelope-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.rsvp-invitation-card h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.rsvp-date-limit {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.rsvp-date-limit strong {
    color: var(--accent);
    font-size: 1.1rem;
}

.rsvp-card-decor {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
    color: var(--primary);
}

.card-suit {
    transition: var(--transition);
}

.rsvp-invitation-card:hover .card-suit {
    color: var(--accent);
    transform: scale(1.2);
}

/* RSVP Form Wrapper */
.rsvp-form-wrapper {
    background: var(--bg-card);
    border: var(--border-gold-bright);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), var(--shadow-gold-hover);
    backdrop-filter: blur(10px);
}

.rsvp-form-container h2 {
    font-family: var(--font-subtitle);
    font-size: 2rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.form-group select option {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Custom Radios for attendance */
.radio-group {
    display: flex;
    gap: 25px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.radio-label input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.radio-label input[type="radio"]:checked + .custom-radio {
    border-color: var(--accent);
    background-color: rgba(212, 175, 55, 0.1);
}

.radio-label input[type="radio"]:checked + .custom-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-label:hover {
    color: var(--text-light);
}

/* Conditional input smooth show */
.form-group-conditional {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 2px dashed rgba(212, 175, 55, 0.2);
    padding-left: 20px;
    margin-top: 5px;
    animation: slideRight 0.4s ease-out;
}

.hidden {
    display: none !important;
}

.btn-submit {
    margin-top: 15px;
    width: 100%;
    border-radius: 8px;
    padding: 15px;
    font-size: 1rem;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Success Card Styling */
.rsvp-success {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: zoomIn 0.5s ease-out;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.4));
    margin-bottom: 10px;
}

.rsvp-success h3 {
    font-family: var(--font-subtitle);
    font-size: 1.6rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.rsvp-success p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.copy-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    resize: none;
    outline: none;
}

.success-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.success-actions .btn {
    flex: 1;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-reset {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-decoration: underline;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-reset:hover {
    color: var(--text-light);
}

/* 10. Footer Section */
.main-footer {
    padding: 60px 0;
    background-color: var(--bg-darker);
    border-top: var(--border-gold);
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-decor {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-icon {
    font-size: 1.8rem;
    color: rgba(212, 175, 55, 0.35);
    transition: var(--transition);
}

.footer-icon:hover {
    color: var(--accent);
    transform: scale(1.2) rotate(15deg);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.footer-quote {
    font-family: var(--font-subtitle);
    font-style: italic;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 25px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.footer-divider {
    width: 150px;
    height: 1px;
    background: linear-gradient(to right, rgba(212,175,55,0), rgba(212,175,55,0.4), rgba(212,175,55,0));
    margin: 0 auto 20px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* 11. Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 200;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(6, 0, 1, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-muted);
    font-size: 40px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    z-index: 210;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    transform: scale(1.1);
}

.lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 85%;
    max-height: 80%;
    position: relative;
}

.lightbox-img {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: var(--border-gold-bright);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    animation: zoomIn 0.4s ease-out;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
    text-align: center;
    color: var(--text-light);
    font-family: var(--font-subtitle);
    padding: 15px 0;
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(33, 4, 7, 0.6);
    border: var(--border-gold);
    color: var(--accent);
    font-size: 2rem;
    padding: 15px 22px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
    transition: var(--transition);
    z-index: 205;
}

.lightbox-nav:hover {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* 12. Calendar Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 150;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(6, 0, 1, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    border: var(--border-gold-bright);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), var(--shadow-gold-hover);
    position: relative;
    animation: zoomIn 0.4s ease-out;
}

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

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

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

.modal-big-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.modal-body h2 {
    font-family: var(--font-subtitle);
    font-size: 1.6rem;
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.calendar-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-cal-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    font-family: var(--font-subtitle);
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-cal-option.google {
    background: #4285f4;
    color: white;
    border: none;
}

.btn-cal-option.google:hover {
    background: #357ae8;
    transform: translateY(-2px);
}

.btn-cal-option.AppleOutlook {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-cal-option.AppleOutlook:hover {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   13. Animations
   ========================================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Magic Particles Floating Animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}


/* ==========================================================================
   14. Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    body {
        background-attachment: scroll;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        grid-column: 1;
    }

    .hero-image-wrapper {
        order: -1; /* Place photo on top for tablet/mobile */
    }

    .hero-frame {
        width: 280px;
        height: 400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2) {
        grid-row: span 1;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .gallery-item:nth-child(8) {
        grid-column: span 2;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-card {
        height: 350px;
    }

    .dress-code-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 35px;
    }

    .rsvp-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rsvp-visual {
        padding: 30px;
    }

    .rsvp-invitation-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    /* Header toggle menu */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 2, 4, 0.98);
        border-left: var(--border-gold);
        padding: 100px 40px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    }

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

    .nav-menu ul {
        flex-direction: column;
        gap: 35px;
        align-items: flex-start;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Text resizing & Hero Mobile optimization */
    .hero-section {
        justify-content: flex-end;
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .hero-content {
        padding: 24px 16px;
        border-radius: 16px;
        width: 95%;
        max-width: 380px;
        margin: 0 auto;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), var(--shadow-gold);
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 8px;
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
        text-align: center;
        width: 100%;
    }

    .hero-decor {
        margin-bottom: 10px;
    }

    .hero-event {
        font-size: 1.1rem;
        margin-bottom: 12px;
        letter-spacing: 4px;
        text-align: center;
        width: 100%;
    }

    .hero-date-text {
        font-size: 0.9rem;
        padding: 6px 0;
        margin-bottom: 20px;
        letter-spacing: 1px;
        text-align: center;
        width: 100%;
    }

    .countdown-container {
        gap: 8px;
        margin-bottom: 20px;
        justify-content: center;
        width: 100%;
    }

    .countdown-item {
        width: 58px;
        height: 62px;
        border-radius: 8px;
    }

    .countdown-num {
        font-size: 1.3rem;
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .hero-content .btn {
        padding: 10px 24px;
        font-size: 0.85rem;
        width: 100%;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(2) {
        grid-row: span 1;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .gallery-item:nth-child(8) {
        grid-column: span 1;
    }

    .details-card {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .details-card:hover {
        transform: translateY(-5px);
    }

    .rsvp-form-wrapper {
        padding: 30px 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .success-actions {
        flex-direction: column;
        gap: 10px;
    }

    .lightbox-prev, .lightbox-next {
        padding: 10px 15px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}
