/* ========================================
   Modern Minimal White Theme
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #ffffff 0%, #fefcf3 50%, #fff8dc 100%);
    overflow-x: hidden;
    position: relative;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #fefcf3 50%, #fff8dc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.loading-logo {
    margin-bottom: 2rem;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.logo-circle i {
    color: white;
    font-size: 2rem;
}

.loading-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.loading-text p {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out;
}

/* Main Content */
.main-content {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.main-content.hidden {
    opacity: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #2d3748;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Header Section */
.header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero Photo Carousel */
.hero-photo-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    filter: brightness(0.6) blur(2px);
    transform: scale(1.1);
}

.hero-photo.active {
    opacity: 1;
}

.hero-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    opacity: 0.45;
    filter: brightness(0.8) contrast(1.1);
    transition: opacity 1.2s ease-in-out;
}

.header-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    opacity: 0.4;
    filter: brightness(0.8) contrast(1.1);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(2px);
    z-index: 2;
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 3;
    animation: fadeInUp 1.2s ease-out;
    transform: translateY(10px);
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.header-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 400;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.header-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 600;
    color: #fff;
    text-shadow: none;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    color: #ffffff;
    font-weight: 300;
    text-shadow: none;
}

.title-name {
    display: block;
    background: none;
    -webkit-text-fill-color: #fff;
    opacity: 0.95;
    margin-top: 0.5rem;
    font-weight: 600;
}

.header-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    text-shadow: none;
    font-weight: 400;
}

/* Music Toggle */
.music-toggle {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.music-toggle:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.music-toggle i {
    font-size: 1rem;
}

/* Event Info Cards */
.event-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.8s both;
    flex-wrap: wrap;
}

.info-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 1rem;
    min-width: 110px;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
}

.card-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 0.9rem;
}

.card-content {
    text-align: center;
}

.card-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.card-value {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

/* Countdown Section */
.countdown-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fefcf3 0%, #fff8dc 100%);
    position: relative;
}

.countdown-content {
    text-align: center;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.countdown-item:nth-child(1) { animation-delay: 0.1s; }
.countdown-item:nth-child(2) { animation-delay: 0.2s; }
.countdown-item:nth-child(3) { animation-delay: 0.3s; }
.countdown-item:nth-child(4) { animation-delay: 0.4s; }

.countdown-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.9rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Modern Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #e2e8f0 10%, 
        #cbd5e1 50%, 
        #e2e8f0 90%, 
        transparent 100%
    );
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out both;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-time {
    flex: 0 0 120px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.time-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.time-badge:hover::before {
    left: 100%;
}

.time-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.time-number {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.time-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    line-height: 1;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    margin: 0 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.02) 0%, 
        rgba(118, 75, 162, 0.02) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-content:hover .timeline-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.timeline-content:hover .timeline-icon::before {
    opacity: 1;
}

.timeline-content h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.timeline-content p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Removed timeline dots - cleaner design */

/* Appearing Effects */
.timeline-item {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline-item:nth-child(1).animate-in { transition-delay: 0.1s; }
.timeline-item:nth-child(2).animate-in { transition-delay: 0.3s; }
.timeline-item:nth-child(3).animate-in { transition-delay: 0.5s; }
.timeline-item:nth-child(4).animate-in { transition-delay: 0.7s; }
.timeline-item:nth-child(5).animate-in { transition-delay: 0.9s; }

.timeline-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.animate-in .timeline-content {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(1).animate-in .timeline-content { transition-delay: 0.2s; }
.timeline-item:nth-child(2).animate-in .timeline-content { transition-delay: 0.4s; }
.timeline-item:nth-child(3).animate-in .timeline-content { transition-delay: 0.6s; }
.timeline-item:nth-child(4).animate-in .timeline-content { transition-delay: 0.8s; }
.timeline-item:nth-child(5).animate-in .timeline-content { transition-delay: 1.0s; }

.timeline-icon {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.timeline-item.animate-in .timeline-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.timeline-item:nth-child(1).animate-in .timeline-icon { transition-delay: 0.3s; }
.timeline-item:nth-child(2).animate-in .timeline-icon { transition-delay: 0.5s; }
.timeline-item:nth-child(3).animate-in .timeline-icon { transition-delay: 0.7s; }
.timeline-item:nth-child(4).animate-in .timeline-icon { transition-delay: 0.9s; }
.timeline-item:nth-child(5).animate-in .timeline-icon { transition-delay: 1.1s; }

.time-badge {
    opacity: 0;
    transform: translateX(-50px) scale(0.8);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.animate-in .time-badge {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.timeline-item:nth-child(1).animate-in .time-badge { transition-delay: 0.15s; }
.timeline-item:nth-child(2).animate-in .time-badge { transition-delay: 0.35s; }
.timeline-item:nth-child(3).animate-in .time-badge { transition-delay: 0.55s; }
.timeline-item:nth-child(4).animate-in .time-badge { transition-delay: 0.75s; }
.timeline-item:nth-child(5).animate-in .time-badge { transition-delay: 0.95s; }

.timeline-content h3 {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.animate-in .timeline-content h3 {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(1).animate-in .timeline-content h3 { transition-delay: 0.4s; }
.timeline-item:nth-child(2).animate-in .timeline-content h3 { transition-delay: 0.6s; }
.timeline-item:nth-child(3).animate-in .timeline-content h3 { transition-delay: 0.8s; }
.timeline-item:nth-child(4).animate-in .timeline-content h3 { transition-delay: 1.0s; }
.timeline-item:nth-child(5).animate-in .timeline-content h3 { transition-delay: 1.2s; }

.timeline-content p {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.animate-in .timeline-content p {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(1).animate-in .timeline-content p { transition-delay: 0.5s; }
.timeline-item:nth-child(2).animate-in .timeline-content p { transition-delay: 0.7s; }
.timeline-item:nth-child(3).animate-in .timeline-content p { transition-delay: 0.9s; }
.timeline-item:nth-child(4).animate-in .timeline-content p { transition-delay: 1.1s; }
.timeline-item:nth-child(5).animate-in .timeline-content p { transition-delay: 1.3s; }

/* Dress Code Section */
.dress-code-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fefcf3 0%, #fff8dc 100%);
}

.dress-code-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dress-code-text {
    text-align: center;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.color-swatch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.color-swatch:hover::before {
    opacity: 1;
}

.color-swatch.white {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.color-swatch.ivory {
    background: linear-gradient(135deg, #fffff0, #fff8dc);
    box-shadow: 0 5px 15px rgba(255, 248, 220, 0.3);
}

.dress-code-description {
    font-size: 1.2rem;
    color: #718096;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* Dress Code Section */
.dress-code-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fefcf3 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.dress-code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.dress-code-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.dress-code-subtitle {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 3rem;
    font-style: italic;
    font-weight: 400;
}

.dress-code-polaroid-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.dress-code-polaroid {
    background: white;
    padding: 1rem 1rem 3rem 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    max-width: 250px;
    flex: 1;
    min-width: 200px;
}

.dress-code-polaroid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.dress-code-polaroid:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.dress-code-polaroid:hover::before {
    opacity: 1;
}

.dress-code-polaroid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.dress-code-polaroid:hover img {
    transform: scale(1.02);
}

.dress-code-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #667eea;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.dress-code-colors {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.color-palette {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.color-swatch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.color-swatch:hover::before {
    opacity: 1;
}

.color-swatch.white {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.color-swatch.ivory {
    background: linear-gradient(135deg, #fff8dc 0%, #f5f5dc 100%);
}

.dress-code-description {
    font-size: 1rem;
    color: #667eea;
    font-weight: 500;
    margin: 0;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photo-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.photo-scroll::-webkit-scrollbar {
    display: none;
}

.photo-card {
    flex: 0 0 200px;
    height: 250px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-overlay i {
    transform: scale(1);
}

.scroll-hint {
    text-align: center;
    margin-top: 1rem;
    color: #667eea;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-hint i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(-5px); }
    60% { transform: translateX(5px); }
}

/* Polaroid Section */
.polaroid-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fefcf3 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.polaroid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.polaroid-card {
    background: white;
    padding: 1rem 1rem 3rem 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.polaroid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.polaroid-card:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.polaroid-card:hover::before {
    opacity: 1;
}

.polaroid-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.polaroid-card:hover img {
    transform: scale(1.02);
}

.polaroid-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #667eea;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.polaroid-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.see-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.see-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.see-more-btn:hover::before {
    left: 100%;
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.see-more-btn i {
    font-size: 1.1rem;
}

.dress-code-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.dress-code-carousel:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 28px;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-track {
    display: flex;
    width: 600%; /* 6 slides * 100% */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: autoScroll 20s infinite ease-in-out;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-track.dragging {
    transition: none !important;
    animation-play-state: paused !important;
    cursor: grabbing;
}

.carousel-slide {
    flex: 0 0 16.666%; /* 100% / 6 slides */
    position: relative;
    overflow: hidden;
    filter: brightness(0.95) saturate(1.05) contrast(1.02);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 24px;
    margin: 8px 4px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.carousel-slide:hover {
    filter: brightness(1.05) saturate(1.1) contrast(1.05);
    transform: scale(1.02) translateY(-4px);
    z-index: 10;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: relative;
    border-radius: 20px;
}

.carousel-slide img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-slide:hover img::after {
    opacity: 1;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-slide:hover .slide-overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(10px);
}

.slide-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-slide:hover .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.carousel-btn:hover::before {
    left: 100%;
}

.dress-code-carousel:hover .carousel-btn {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn i {
    color: #667eea;
    font-size: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.indicator.active::before {
    width: 20px;
    height: 20px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.indicator:hover::before {
    width: 16px;
    height: 16px;
}

/* Carousel Hint */
.carousel-hint {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.dress-code-carousel:hover .carousel-hint {
    opacity: 1;
}

.carousel-hint i {
    font-size: 0.9rem;
    animation: wave 2s infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes autoScroll {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    40% { transform: translateX(-16.666%); }
    60% { transform: translateX(-16.666%); }
    80% { transform: translateX(-33.333%); }
    100% { transform: translateX(-33.333%); }
}

/* Pause animation on hover */
.dress-code-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .dress-code-section {
        padding: 4rem 0;
    }
    
    .dress-code-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .dress-code-polaroid-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .dress-code-polaroid {
        max-width: 280px;
        min-width: 250px;
    }
    
    .dress-code-polaroid img {
        height: 200px;
    }
    
    .dress-code-label {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    
    .color-swatch {
        width: 50px;
        height: 50px;
    }
    
    .dress-code-description {
        font-size: 0.9rem;
    }
    
    .polaroid-section {
        padding: 4rem 0;
    }
    
    .polaroid-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 500px;
    }
    
    .polaroid-card {
        padding: 0.8rem 0.8rem 2.5rem 0.8rem;
    }
    
    .polaroid-card img {
        height: 150px;
    }
    
    .polaroid-label {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 250px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
    }
    
    .carousel-btn i {
        font-size: 0.7rem;
    }
    
    .slide-title {
        font-size: 0.8rem;
    }
    
    .slide-overlay {
        padding: 1rem 0.8rem 0.8rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Questionnaire Section */
.questionnaire-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fefcf3 100%);
}

.questionnaire-content {
    max-width: 700px;
    margin: 0 auto;
}

.rsvp-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-group input[type="text"]::placeholder {
    color: #a0aec0;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    color: #4a5568;
}

.radio-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.radio-label:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.radio-label:hover::before {
    opacity: 1;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
    background: white;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radio-text {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 500;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked ~ .radio-text {
    color: #667eea;
    font-weight: 600;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    color: #4a5568;
}

.checkbox-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.checkbox-label:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.checkbox-label:hover::before {
    opacity: 1;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    font-size: 14px;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

.checkbox-text {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 500;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-text {
    color: #667eea;
    font-weight: 600;
}

/* Custom Select */
.custom-select {
    position: relative;
}

.custom-select select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.custom-select select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 1);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.custom-select:hover .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fefcf3 0%, #fff8dc 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.15);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.contact-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.contact-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-role {
    font-size: 1rem;
    color: #667eea;
    font-style: italic;
    margin: 0;
    font-weight: 500;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.contact-method:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.contact-method:hover::before {
    opacity: 1;
}

.method-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.contact-method:hover .method-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.method-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
}

.method-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-value {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.contact-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    color: #667eea;
    font-size: 0.9rem;
    font-style: italic;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.contact-note i {
    color: #e53e3e;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 3rem 0;
}

.footer p {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 2rem 0;
    }
    
    .header-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    .event-info {
        flex-direction: column;
        gap: 1rem;
        max-width: 300px;
    }

    .info-card {
        padding: 0.8rem 1.2rem;
        min-width: auto;
    }

    .card-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .card-label {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }

    .card-value {
        font-size: 0.9rem;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .countdown-item {
        padding: 1.5rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    /* Timeline modern mobile view */
    .timeline {
        position: relative;
        margin: 2rem auto;
        padding-left: 0;
    }

    .timeline::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(to bottom, #667eea, #764ba2);
        transform: translateX(-50%);
    }

    .timeline-item {
        position: relative;
        width: 100%;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    /* Removed mobile timeline dots - cleaner design */

    /* Mobile Appearing Effects */
    .timeline-item {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .timeline-item.animate-in {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .timeline-item:nth-child(1).animate-in { transition-delay: 0.1s; }
    .timeline-item:nth-child(2).animate-in { transition-delay: 0.2s; }
    .timeline-item:nth-child(3).animate-in { transition-delay: 0.3s; }
    .timeline-item:nth-child(4).animate-in { transition-delay: 0.4s; }
    .timeline-item:nth-child(5).animate-in { transition-delay: 0.5s; }

    .timeline-content {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .timeline-item.animate-in .timeline-content {
        opacity: 1;
        transform: translateY(0);
    }

    .timeline-item:nth-child(1).animate-in .timeline-content { transition-delay: 0.15s; }
    .timeline-item:nth-child(2).animate-in .timeline-content { transition-delay: 0.25s; }
    .timeline-item:nth-child(3).animate-in .timeline-content { transition-delay: 0.35s; }
    .timeline-item:nth-child(4).animate-in .timeline-content { transition-delay: 0.45s; }
    .timeline-item:nth-child(5).animate-in .timeline-content { transition-delay: 0.55s; }

    .timeline-icon {
        opacity: 0;
        transform: scale(0.7) rotate(-90deg);
        transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .timeline-item.animate-in .timeline-icon {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    .timeline-item:nth-child(1).animate-in .timeline-icon { transition-delay: 0.2s; }
    .timeline-item:nth-child(2).animate-in .timeline-icon { transition-delay: 0.3s; }
    .timeline-item:nth-child(3).animate-in .timeline-icon { transition-delay: 0.4s; }
    .timeline-item:nth-child(4).animate-in .timeline-icon { transition-delay: 0.5s; }
    .timeline-item:nth-child(5).animate-in .timeline-icon { transition-delay: 0.6s; }

    .time-badge {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .timeline-item.animate-in .time-badge {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .timeline-item:nth-child(1).animate-in .time-badge { transition-delay: 0.1s; }
    .timeline-item:nth-child(2).animate-in .time-badge { transition-delay: 0.2s; }
    .timeline-item:nth-child(3).animate-in .time-badge { transition-delay: 0.3s; }
    .timeline-item:nth-child(4).animate-in .time-badge { transition-delay: 0.4s; }
    .timeline-item:nth-child(5).animate-in .time-badge { transition-delay: 0.5s; }

    .timeline-time {
        flex: 0 0 auto;
        text-align: center;
        margin-bottom: 1rem;
        position: relative;
        z-index: 3;
    }

    .time-badge {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 0.6rem 1rem;
        border-radius: 16px;
        font-size: 0.8rem;
        font-weight: 600;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .time-badge:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }

    .time-number {
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 0.1rem;
    }

    .time-label {
        font-size: 0.6rem;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        opacity: 0.9;
        line-height: 1;
    }

    .timeline-content {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 
            0 15px 30px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(255, 255, 255, 0.05);
        margin: 0;
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 350px;
    }

    .timeline-content:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        color: #1a202c;
        font-weight: 700;
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.3;
    }

    .timeline-content p {
        font-size: 0.9rem;
        color: #4a5568;
        line-height: 1.6;
        margin: 0;
        font-weight: 400;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-radius: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .timeline-content:hover .timeline-icon {
        transform: scale(1.05) rotate(3deg);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        top: 20px;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

    .timeline-item:nth-child(odd) .timeline-content::before {
        right: -8px;
        border-left: 8px solid white;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -8px;
        border-right: 8px solid white;
    }

    .time-number {
        font-size: 0.75rem;
        font-weight: 700;
        line-height: 1;
    }

    .time-label {
        font-size: 0.55rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.8;
        line-height: 1;
        margin-top: 0.1rem;
    }
    
    .dress-code-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .color-palette {
        gap: 1rem;
    }
    
    .color-swatch {
        width: 60px;
        height: 60px;
    }
    
    .rsvp-form {
        padding: 2rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-time {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }
    
    .time-number {
        font-size: 1rem;
    }
    
    .time-label {
        font-size: 0.65rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .timeline-item {
        margin-bottom: 1.5rem;
    }
    
    .rsvp-form {
        padding: 1.5rem;
    }
    
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .contact-info h3 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-role {
        font-size: 0.9rem;
    }
    
    .contact-methods {
        gap: 0.8rem;
    }
    
    .contact-method {
        padding: 1rem 1.2rem;
        gap: 0.8rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .method-label {
        font-size: 0.75rem;
    }
    
    .method-value {
        font-size: 0.9rem;
    }
    
    .contact-note {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        gap: 0.6rem;
    }
}

/* Message Styles */
.message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.message.show {
    transform: translateX(0);
}

.message-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.message-error {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.message-warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #f093fb);
}

/* Selection */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: #2d3748;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.2);
    color: #2d3748;
}

/* ========================================
   RSVP Section with Google Form
   ======================================== */

.rsvp-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.rsvp-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.rsvp-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
}

.rsvp-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.rsvp-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.rsvp-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05), 
                0 0 0 1px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 1rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.rsvp-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px 24px 0 0;
}

.rsvp-form-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(102, 126, 234, 0.2);
}

.form-iframe-wrapper {
    width: 100%;
    height: 620px; /* very compact container height */
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    background: #ffffff;
}

.form-iframe-wrapper iframe {
    width: 100%;
    height: 2000px; /* much larger than container */
    border: none;
    margin-top: -250px; /* increased negative margin to hide more header */
    transition: all 0.3s ease;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .rsvp-section {
        padding: 3rem 1rem;
    }
    
    .rsvp-container {
        max-width: 100%;
    }
    
    .rsvp-form-wrapper {
        padding: 0.5rem;
        border-radius: 20px;
    }
    
    .form-iframe-wrapper {
        height: 820px; /* very compact container height */
        border-radius: 12px;
    }
    
    .form-iframe-wrapper iframe {
        height: 2200px; /* much larger than container */
        margin-top: -250px; /* increased negative margin to hide more header */
    }
    
    .rsvp-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 0.8rem;
    }
    
    .rsvp-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .rsvp-section {
        padding: 2rem 0.5rem;
    }
    
    .rsvp-form-wrapper {
        padding: 0.25rem;
        border-radius: 16px;
    }
    
    .form-iframe-wrapper {
        height: 920px; /* very compact container height */
        border-radius: 8px;
    }
    
    .form-iframe-wrapper iframe {
        height: 2400px; /* much larger than container */
        margin-top: -250px; /* increased negative margin to hide more header */
    }
}