:root {
    --primary: #800000; /* Royal Maroon */
    --secondary: #D4AF37; /* Antique Gold */
    --light: #FFFDD0; /* Cream */
    --dark: #333333;
    --white: #ffffff;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Decor */
.bg-decor {
    position: fixed;
    width: 300px;
    height: 300px;
    opacity: 0.1;
    z-index: -1;
    background-image: url('C:/Users/yuvraj/.gemini/antigravity/brain/c2854100-b800-4bfc-859f-e6976f8d53b0/wedding_background_royal_1776589107937.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.top-left { top: -50px; left: -50px; transform: rotate(15deg); }
.bottom-right { bottom: -50px; right: -50px; transform: rotate(195deg); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(128, 0, 0, 0.95);
    padding: 10px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-logo, 
.navbar.scrolled .nav-links a {
    color: var(--white);
}

.nav-logo {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('C:/Users/yuvraj/.gemini/antigravity/brain/c2854100-b800-4bfc-859f-e6976f8d53b0/wedding_background_royal_1776589107937.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 6rem;
    margin-bottom: 20px;
    line-height: 1;
}

.hero-title small {
    display: block;
    font-size: 2.5rem;
    color: var(--secondary);
}

.hero-date {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    font-style: italic;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

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

/* Sections General */
section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.section-title.white { color: var(--white); }

/* Welcome Section */
.welcome-section {
    text-align: center;
    background-color: var(--white);
}

.shloka {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 30px;
}

.welcome-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark);
}

/* Video Section */
.video-section {
    background-color: #f9f9f9;
}

.video-container {
    max-width: 400px; /* Vertical aspect ratio for Shorts */
    margin: 0 auto;
    background: var(--white);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 2px solid var(--secondary);
}

.video-wrapper {
    position: relative;
    padding-bottom: 177.77%; /* 9:16 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Couple Card */
.couple-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.couple-card {
    text-align: center;
    flex: 1;
    max-width: 350px;
}

.couple-img {
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.couple-img:hover {
    transform: scale(1.05);
}

.couple-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.couple-card h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary);
}

.location-tag {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 10px;
}

.heart-divider {
    color: var(--secondary);
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--secondary);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-date {
    position: absolute;
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    border: 4px solid var(--white);
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 350px;
    margin-right: 50px;
    transition: var(--transition);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 50px;
}

.timeline-content h3 {
    font-family: var(--font-serif);
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-item.highlight .timeline-content {
    border: 2px solid var(--secondary);
    background: #fffbef;
}

/* RSVP Form */
.rsvp-section {
    background: var(--primary);
    color: var(--white);
}

.rsvp-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

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

input, select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

input::placeholder { color: rgba(255,255,255,0.6); }

.btn-gold {
    background: var(--secondary);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.hidden { display: none; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3.5rem; }
    .hero-title small { font-size: 1.5rem; }
    .countdown { flex-wrap: wrap; }
    .couple-grid { flex-direction: column; }
    .timeline::before { left: 40px; }
    .timeline-item { padding-right: 0; padding-left: 80px; justify-content: flex-start; }
    .timeline-item:nth-child(even) { padding-left: 80px; }
    .timeline-date { left: 10px; }
    .timeline-content { margin-left: 0 !important; max-width: 100%; }
}
