@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --container-width: 1200px;
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 80px;

    /* Theme Colors */
    --primary: #311B6F;
    /* Deep Purple */
    --primary-light: #5236a0;
    /* Lighter Purple for interaction */
    --accent: #F6D300;
    /* Bright Yellow */

    --bg: #311B6F;
    /* Deep Purple Main Background */
    --bg-card: rgba(255, 255, 255, 0.05);
    /* Glassy Card Background */
    --bg-card-hover: rgba(255, 255, 255, 0.1);

    --text-main: #FFFFFF;
    --text-muted: #d1d5db;
    --text-dark: #333333;
    /* For elements that might still be light like inputs */

    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(246, 211, 0, 0.3);

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "Inter", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    margin: 0;
    color: var(--text-main);
    background: var(--bg);
    background-image: linear-gradient(135deg, #311B6F 0%, #1a0b3d 100%);
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0 0 var(--space-sm) 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: var(--space-sm) auto 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
}

a.more-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a.more-link:hover {
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
.site-header {
    background: rgba(49, 27, 111, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(246, 211, 0, 0.2);
}

.site-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header .logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.site-header .logo:hover {
    transform: scale(1.02);
}

.site-header .logo img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

.section {
    padding: var(--space-xxl) 0;
}

/* Utilities */
.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #311B6F;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: #311B6F;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #311B6F;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: var(--space-xl) 0;
    background: transparent;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: var(--space-md);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 550px;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* About Section */
.about {
    background-color: rgba(0, 0, 0, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.about-card {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card h3 {
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.highlights-list li strong {
    color: #fff;
}

.highlights-list li:last-child {
    border-bottom: none;
}

/* Schedule Section */
.schedule {
    background: transparent;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    align-items: flex-start;
    background: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item .time {
    background: var(--accent);
    color: #311B6F;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
}

.timeline-item .event-details h4 {
    margin-bottom: 4px;
    color: #fff;
}

.timeline-item .event-details p {
    margin: 0;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery {
    background-color: rgba(0, 0, 0, 0.1);
    text-align: center;
}

.section-subtitle {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-top: -30px;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

/* Pricing / QR Section */
.pricing {
    background-color: transparent;
    padding: var(--space-xxl) 0;
}

.qr-block {
    margin-bottom: var(--space-xl);
}

.qr-wrapper {
    background: white;
    padding: 15px;
    display: inline-block;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--accent);
}

.qr-wrapper img {
    max-width: 200px;
    display: block;
}

.qr-instruction {
    margin-top: var(--space-sm);
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(5px);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
    background: var(--bg-card-hover);
    z-index: 10;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    position: relative;
    box-shadow: var(--shadow-glow);
}

.pricing-card .card-header {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-lg);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: var(--radius) var(--radius) 0 0;
}

.pricing-card.featured .card-header {
    background: linear-gradient(135deg, rgba(246, 211, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #311B6F;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #fff;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent);
}

.pricing-card .card-body {
    padding: var(--space-lg);
    flex: 1;
}

.highlight-text {
    text-align: center;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--text-muted);
}

.benefit-list li strong {
    color: #fff;
}

.benefit-list li::before {
    content: '🔅';
    flex-shrink: 0;
    filter: hue-rotate(45deg);
    /* Slight shift to match gold */
}

.benefit-list li:last-child {
    border-bottom: none;
}

/* Response for Pricing Grid */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.rsvp {
    background: rgba(0, 0, 0, 0.1);
}

.rsvp-card {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Footer (Updated) */
.site-footer {
    background-color: #1a0b3d;
    /* Darker shade of purple */
    color: var(--text-muted);
    padding: var(--space-xxl) 0 var(--space-lg);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    margin: 5px 0;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
}

.social-icons a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #311B6F;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .about-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .timeline-item .time {
        min-width: auto;
        display: inline-block;
    }
}