:root {
    /* Main Color Palette (Indian Wedding Inspired) */
    --primary-color: #8B1538; /* Deep Burgundy - Principal */
    --secondary-color: #F4C430; /* Golden Yellow - Secondary 1 */
    --accent-color: #E8B4B8; /* Soft Rose - Secondary 2 */
    --neutral-color: #F5F5DC; /* Cream - Secondary 3 */
    --forest-color: #2F5233; /* Forest Green - Secondary 4 */
    
    /* Primary Color Gradients */
    --gradient-start: #8B1538;
    --gradient-mid: #A73E56;
    --gradient-end: #E8B4B8;
    
    /* Derived Colors */
    --primary-dark: #6B0F2A;
    --primary-light: #B8507A;
    --secondary-dark: #D4A91C;
    --accent-dark: #D49FA3;
    --neutral-dark: #E8E8CD;
    
    /* Background Colors */
    --bg-light: #FEFEFE;
    --bg-section: #FDF9F7;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    
    /* Text Colors */
    --text-primary: #333333;
    --text-light: rgba(255, 255, 255, 0.95);
    --text-muted: #666666;
    
    /* Shadow Colors */
    --shadow-primary: rgba(139, 21, 56, 0.3);
    --shadow-secondary: rgba(244, 196, 48, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.15);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--primary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--bg-hero), url('images/background.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 21, 56, 0.25);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 60%, rgba(244, 196, 48, 0.4) 10px, transparent 10px),
        radial-gradient(circle at 50% 40%, rgba(244, 196, 48, 0.4) 10px, transparent 10px),
        radial-gradient(circle at 85% 70%, rgba(244, 196, 48, 0.4) 10px, transparent 10px),
        linear-gradient(45deg, 
            transparent 0%, 
            rgba(244, 196, 48, 0.15) 15%, 
            rgba(244, 196, 48, 0.25) 50%, 
            rgba(244, 196, 48, 0.15) 85%, 
            transparent 100%
        ),
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

/* Journey Location Labels for Main Hero */
.journey-labels {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    z-index: 3;
    width: 80%;
}

.journey-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.location-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.city {
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.country {
    font-size: 1.8rem;
}

.home-message {
    margin-top: 10px;
    font-size: 1.6rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.mandala-decoration {
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 4rem;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: white;
    text-shadow: 
        2px 2px 0px rgba(0,0,0,0.8),
        -2px -2px 0px rgba(0,0,0,0.8),
        2px -2px 0px rgba(0,0,0,0.8),
        -2px 2px 0px rgba(0,0,0,0.8),
        4px 4px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    color: white;
    font-weight: 500;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.8),
        -1px -1px 0px rgba(0,0,0,0.8),
        1px -1px 0px rgba(0,0,0,0.8),
        -1px 1px 0px rgba(0,0,0,0.8),
        2px 2px 4px rgba(0,0,0,0.6);
}

.wedding-date {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
    color: white;
    font-weight: 500;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.8),
        -1px -1px 0px rgba(0,0,0,0.8),
        1px -1px 0px rgba(0,0,0,0.8),
        -1px 1px 0px rgba(0,0,0,0.8),
        2px 2px 4px rgba(0,0,0,0.6);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.25);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.countdown-item span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: white;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.8),
        -1px -1px 0px rgba(0,0,0,0.8),
        1px -1px 0px rgba(0,0,0,0.8),
        -1px 1px 0px rgba(0,0,0,0.8),
        2px 2px 4px rgba(0,0,0,0.6);
}

.countdown-item label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    font-weight: 500;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.8),
        -1px -1px 0px rgba(0,0,0,0.8),
        1px -1px 0px rgba(0,0,0,0.8),
        -1px 1px 0px rgba(0,0,0,0.8);
}

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

/* Section Styles */
section {
    padding: 5rem 0;
    transition: all 0.3s ease;
}

/* Event Summary Section */
.event-summary-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.event-summary-section .event-summary {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px var(--shadow-dark);
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    border: 2px solid var(--accent-color);
}

.event-summary-section .event-summary h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 2rem;
}

.event-summary-section .event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-summary-section .event-day {
    background: var(--bg-section);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.event-summary-section .event-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-primary);
}

.event-summary-section .event-day h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-summary-section .event-day p {
    color: var(--text-muted);
    font-weight: 500;
}

.color-palette {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.event-day p strong {
    color: var(--primary-color);
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-dot:hover {
    transform: scale(1.2);
}

.additional-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent-color);
}

.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-item {
    background: var(--bg-section);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
}

.info-item h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-item .location-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.info-item .location-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-family: 'Dancing Script', cursive;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Our Story Section */
.story {
    background: var(--bg-section);
}

.story-content {
    display: grid;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.story-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.story-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-primary);
}

.story-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, var(--primary-color) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.story-image:hover::before {
    opacity: 0.2;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-image:hover img {
    transform: scale(1.1);
}

.story-year {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.story-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}




/* Wedding Details Section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-card:hover::before {
    opacity: 0.3;
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px var(--shadow-primary));
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.location-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.location-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
}

/* Q&A Section */
.qa-section {
    background: var(--bg-section);
}

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

.qa-item {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-dark);
    border: 1px solid rgba(247, 115, 136, 0.1);
}

.qa-question {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.qa-question:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
}

.qa-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.qa-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.qa-item.active .qa-toggle {
    transform: rotate(45deg);
}

.qa-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-item.active .qa-answer {
    padding: 1.5rem;
    max-height: 200px;
}

/* Story Call-to-Action Section */
.story-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-color), var(--neutral-color));
    text-align: center;
}

.story-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-cta-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-cta-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.story-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.3);
}

.story-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
    margin-top: 1rem;
}

.story-cta-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

/* RSVP Section */
.rsvp {
    background: var(--bg-hero);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

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

.rsvp-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsvp-button:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-secondary);
}

.rsvp-deadline {
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.9;
}

/* Q&A Teaser Section */
.qa-teaser {
    background: var(--bg-section);
    text-align: center;
    padding: 4rem 0;
}

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

.qa-teaser-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.qa-link-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-primary);
}

.qa-link-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.rsvp .container {
    position: relative;
    z-index: 2;
}

.rsvp-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}


/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--neutral-dark) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-dark);
        padding: 2rem 0;
        backdrop-filter: blur(15px);
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .countdown {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .countdown-item span {
        font-size: 2rem;
    }

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

    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .story-content {
        gap: 2rem;
    }

    .story-item {
        padding: 1.5rem;
    }

}

/* Page-specific styles */

/* Story Page */
.story-hero, .qa-hero, .rsvp-hero {
    height: 50vh;
    background: var(--bg-hero), url('images/background.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

/* Map Background Journey */
.story-hero::before, .qa-hero::before, .rsvp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 60%, rgba(244, 196, 48, 0.3) 8px, transparent 8px),
        radial-gradient(circle at 50% 40%, rgba(244, 196, 48, 0.3) 8px, transparent 8px),
        radial-gradient(circle at 85% 70%, rgba(244, 196, 48, 0.3) 8px, transparent 8px),
        linear-gradient(45deg, 
            transparent 0%, 
            rgba(244, 196, 48, 0.2) 15%, 
            rgba(244, 196, 48, 0.3) 50%, 
            rgba(244, 196, 48, 0.2) 85%, 
            transparent 100%
        );
    z-index: 0;
}

/* Journey Location Labels for Other Pages */
.journey-labels-small {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    z-index: 3;
    width: 85%;
}

.journey-labels-small .journey-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 15px;
}

.journey-labels-small .location-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.journey-labels-small .city {
    margin-bottom: 3px;
    font-size: 1.5rem;
}

.journey-labels-small .country {
    font-size: 1.5rem;
}

.journey-labels-small .home-message {
    margin-top: 10px;
    font-size: 1.3rem;
}

.story-hero .hero-overlay, .qa-hero .hero-overlay, .rsvp-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 21, 56, 0.4);
    z-index: 1;
}

.story-hero .hero-content, .qa-hero .hero-content, .rsvp-hero .hero-content {
    z-index: 2;
    position: relative;
}

.page-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 
        2px 2px 0px rgba(0,0,0,0.8),
        -2px -2px 0px rgba(0,0,0,0.8),
        2px -2px 0px rgba(0,0,0,0.8),
        -2px 2px 0px rgba(0,0,0,0.8),
        4px 4px 8px rgba(0,0,0,0.6);
}

.page-subtitle {
    font-size: 1.3rem;
    color: white;
    font-weight: 500;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.8),
        -1px -1px 0px rgba(0,0,0,0.8),
        1px -1px 0px rgba(0,0,0,0.8),
        -1px 1px 0px rgba(0,0,0,0.8),
        2px 2px 4px rgba(0,0,0,0.6);
}

.rsvp-deadline {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.8),
        -1px -1px 0px rgba(0,0,0,0.8),
        1px -1px 0px rgba(0,0,0,0.8),
        -1px 1px 0px rgba(0,0,0,0.8);
}

/* Story Timeline */
.story-timeline {
    padding: 5rem 0;
    background: var(--bg-light);
}

.story-chapter {
    margin-bottom: 5rem;
    position: relative;
}

.story-chapter.reverse .story-content-wrapper {
    flex-direction: row-reverse;
}

.story-content-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-image-circle {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--secondary-color);
    box-shadow: 0 15px 40px var(--shadow-primary);
    position: relative;
}

.story-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-image-circle:hover .story-photo {
    transform: scale(1.1);
}

.story-text {
    flex: 1;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    position: relative;
}

.story-text .story-year {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.story-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'Dancing Script', cursive;
}

.story-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Story Gallery */
.story-gallery {
    text-align: center;
    margin-top: 4rem;
}

.story-gallery h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-10px);
}

.gallery-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


.photo-item:hover .gallery-photo {
    transform: scale(1.05);
}

/* Q&A Page Styles */
.qa-content {
    padding: 5rem 0;
    background: var(--bg-light);
}

.qa-section {
    margin-bottom: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.section-toggle {
    width: 100%;
    background: white;
    color: var(--primary-color);
    border: none;
    border-left: 6px solid var(--primary-color);
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.section-toggle:hover {
    background: var(--bg-section);
    color: var(--primary-dark);
    border-left: 6px solid var(--secondary-color);
}

.section-content {
    padding: 0;
    background: white;
    border: none;
}

.qa-item {
    border-bottom: 1px solid rgba(139, 21, 56, 0.1);
}

.qa-item:last-child {
    border-bottom: none;
}

.question-toggle {
    width: 100%;
    background: white;
    color: var(--text-primary);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-color);
    text-align: left;
}

.question-toggle:hover {
    background: var(--bg-section);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid rgba(139, 21, 56, 0.1);
}

.answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.answer ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.answer a:hover {
    text-decoration: underline;
}

.dress-code-section, .shopping-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-section);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.dress-code-section h4, .shopping-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* RSVP Page Styles */
.rsvp-content {
    padding: 5rem 0;
    background: var(--bg-light);
}

.rsvp-info {
    text-align: center;
    margin-bottom: 4rem;
}

.rsvp-info h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.rsvp-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.event-summary {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.event-summary h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.event-day {
    background: var(--bg-section);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid var(--secondary-color);
}

.event-day h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.venue-info {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.rsvp-form-container {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    margin: 3rem 0;
}

.rsvp-form-container h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.rsvp-form-container iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 15px;
}

.rsvp-additional-info {
    margin: 4rem 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-dark);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.info-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.gift-section {
    background: var(--bg-section);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid var(--accent-color);
}

.gift-section h3 {
    color: var(--primary-color);
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.gift-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.details-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.details-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--secondary-color);
}

.gift-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.gift-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--secondary-color);
}

/* Gift Contributions Page */
.gift-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.gift-intro h2 {
    color: var(--primary-color);
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.payment-options h3 {
    color: var(--primary-color);
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.payment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.payment-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-dark);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-primary);
}

.payment-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.account-details {
    background: var(--bg-section);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.account-details p {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.account-details strong {
    color: var(--primary-color);
}

.account-details small {
    color: var(--text-muted);
    font-style: italic;
    display: block;
    margin-top: 0.5rem;
}

.gift-note {
    background: var(--bg-section);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid var(--accent-color);
}

.gift-note h3 {
    color: var(--primary-color);
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.gift-note p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.back-link {
    text-align: center;
    margin-top: 3rem;
}

.back-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.back-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
}

/* Navigation active state */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Toggle icons */
.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    /* Responsive Background Images */
    .hero {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 100vh;
    }
    
    .story-hero, .qa-hero, .rsvp-hero {
        background-size: cover;
        background-position: center;
    }
    
    /* Responsive Journey Labels */
    .journey-labels {
        font-size: 1.4rem;
        bottom: 60px;
        width: 95%;
    }
    
    .journey-labels .home-message {
        font-size: 1.2rem;
    }
    
    .journey-labels-small {
        font-size: 1.2rem;
        bottom: 40px;
        width: 95%;
    }
    
    .journey-labels-small .home-message {
        font-size: 1rem;
    }
    
    /* Story CTA Mobile */
    .story-cta-title {
        font-size: 2.5rem;
    }
    
    .story-cta-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .story-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .highlight-item {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    
    .story-cta-button {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }
    
    /* Adjust map background for mobile */
    .hero::before {
        background: 
            radial-gradient(circle at 20% 65%, rgba(244, 196, 48, 0.4) 6px, transparent 6px),
            radial-gradient(circle at 50% 35%, rgba(244, 196, 48, 0.4) 6px, transparent 6px),
            radial-gradient(circle at 80% 75%, rgba(244, 196, 48, 0.4) 6px, transparent 6px),
            linear-gradient(45deg, 
                transparent 0%, 
                rgba(244, 196, 48, 0.15) 20%, 
                rgba(244, 196, 48, 0.25) 50%, 
                rgba(244, 196, 48, 0.15) 80%, 
                transparent 100%
            ),
            radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
            radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
    }
    
    .story-hero::before, .qa-hero::before, .rsvp-hero::before {
        background: 
            radial-gradient(circle at 20% 65%, rgba(244, 196, 48, 0.3) 5px, transparent 5px),
            radial-gradient(circle at 50% 35%, rgba(244, 196, 48, 0.3) 5px, transparent 5px),
            radial-gradient(circle at 80% 75%, rgba(244, 196, 48, 0.3) 5px, transparent 5px),
            linear-gradient(45deg, 
                transparent 0%, 
                rgba(244, 196, 48, 0.2) 20%, 
                rgba(244, 196, 48, 0.3) 50%, 
                rgba(244, 196, 48, 0.2) 80%, 
                transparent 100%
            );
    }
    
    .story-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .story-chapter.reverse .story-content-wrapper {
        flex-direction: column;
    }
    
    .story-image-circle {
        flex: none;
        width: 250px;
        height: 250px;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .event-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .rsvp-form-container iframe {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .countdown-item {
        flex: 1;
        min-width: 70px;
    }

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

    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .story-image-circle {
        width: 200px;
        height: 200px;
    }
    
    .story-text {
        padding: 1.5rem;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
    }
    
    .rsvp-form-container {
        padding: 1rem;
    }
    
    .rsvp-form-container iframe {
        height: 500px;
    }
}