/* Modern Wedding Website Styles - Dark Mode */

:root {
    /* Dark Mode Color Palette - Black & White with Gold Accents */
    --primary: #ffffff;
    --secondary: #2a2a2a;
    --accent: #cccccc;
    --gold: #D4AF37;
    --light-bg: #1a1a1a;
    --white: #0a0a0a;
    --dark-text: #ffffff;
    --light-text: #b0b0b0;
    --card-bg: #1f1f1f;
    --border-color: #333333;
    
    /* Fonts */
    --font-primary: 'Cinzel', serif;
    --font-secondary: 'Cormorant Garamond', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-text);
    background: #0a0a0a;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0a0a0a !important;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 0 20px;
}

.nav-link {
    color: #ffffff !important;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #D4AF37 !important;
}

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

.lang-switcher {
    color: var(--gold) !important;
    transition: all 0.3s ease;
}

.lang-switcher:hover {
    color: #ffffff !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    padding: 100px 20px 50px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.papyrus-border {
    background: rgba(31, 31, 31, 0.98);
    padding: 60px 80px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    position: relative;
}

.hieroglyph-decoration {
    font-size: 2.5rem;
    margin: 10px 0;
    opacity: 0.3;
}

.names {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 400;
    color: #ffffff;
    margin: 20px 0;
    letter-spacing: 5px;
}

.invitation-text {
    font-size: 1.2rem;
    color: var(--gold);
    font-family: var(--font-secondary);
    margin: 0 0 20px 0;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.5rem;
    color: var(--light-text);
    font-style: italic;
    margin: 20px 0 10px 0;
    font-weight: 300;
}

.tagline-attribution {
    font-size: 1rem;
    color: var(--gold);
    font-style: normal;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.date-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.egyptian-line {
    width: 80px;
    height: 1px;
    background: var(--gold);
}

.wedding-date {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 400;
}

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

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    display: block;
    min-width: 80px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    color: var(--light-text);
    font-weight: 500;
}

/* Story Section */
.story-section {
    padding: 100px 20px;
    background: #0a0a0a;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 80px;
    font-weight: 400;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hieroglyph {
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.4;
}

/* Story Timeline */
.story-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--gold) 10%, 
        var(--gold) 90%, 
        transparent 100%);
    transform: translateX(-50%);
}

.story-chapter {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.story-chapter.left {
    justify-content: flex-end;
    padding-right: 50%;
    padding-left: 0;
}

.story-chapter.right {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: 0;
}

.chapter-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    max-width: 450px;
    margin: 0 40px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chapter-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.story-chapter.left .chapter-content::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid var(--card-bg);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.story-chapter.right .chapter-content::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 20px solid var(--card-bg);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 4px solid #0a0a0a;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--card-bg);
}

.timeline-dot.last {
    width: 24px;
    height: 24px;
    background: var(--primary-gold);
    box-shadow: 0 0 0 4px #0a0a0a, 0 0 20px rgba(212, 175, 55, 0.5);
}

.chapter-icon {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    opacity: 0.3;
}

.chapter-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
}

.chapter-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.chapter-content:hover .chapter-image img {
    transform: scale(1.05);
}

.chapter-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chapter-content:hover .chapter-image::after {
    opacity: 1;
}

.chapter-content h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 400;
}

.chapter-date {
    font-size: 0.95rem;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 500;
}

.chapter-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--light-text);
}

.edit-note {
    font-style: italic;
    color: var(--accent) !important;
    font-size: 0.95rem !important;
    margin-top: 10px;
}

/* Pharaoh Quote */
.pharaoh-quote {
    text-align: center;
    margin-top: 100px;
    padding: 60px 40px;
    background: var(--card-bg);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.quote-marks {
    font-size: 4rem;
    color: var(--gold);
    line-height: 0;
    font-family: Georgia, serif;
    opacity: 0.3;
}

.pharaoh-quote p {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: #ffffff;
    font-style: italic;
    margin: 20px 0;
    font-weight: 300;
}

/* Details Section */
.details-section {
    padding: 100px 20px;
    background: #0f0f0f;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.detail-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.4;
}

.detail-card h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
}

.detail-time {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.detail-location {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--light-text);
}

.timeline-schedule {
    text-align: left;
    margin-top: 20px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 12px 0;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.event-icon {
    font-size: 1.8rem;
    animation: bounce 2s ease-in-out infinite;
    min-width: 40px;
    text-align: center;
}

.event-item:nth-child(1) .event-icon {
    animation-delay: 0s;
}

.event-item:nth-child(2) .event-icon {
    animation-delay: 0.2s;
}

.event-item:nth-child(3) .event-icon {
    animation-delay: 0.4s;
}

.event-item:nth-child(4) .event-icon {
    animation-delay: 0.6s;
}

.event-item:nth-child(5) .event-icon {
    animation-delay: 0.8s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.timeline-schedule p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--light-text);
    flex: 1;
}

.timeline-schedule strong {
    color: var(--gold);
    font-weight: 600;
}

/* Map Container */
.map-container {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.map-container h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
}

.map-embed {
    margin: 20px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.map-link {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 40px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(201, 168, 106, 0.3);
}

.map-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 106, 0.4);
    background: #B8945D;
}

/* RSVP Section */
.rsvp-section {
    padding: 100px 20px;
    background: #0a0a0a;
}

.rsvp-section .section-title {
    color: #ffffff;
}

.rsvp-section .hieroglyph {
    color: var(--gold);
}

.rsvp-intro {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.rsvp-intro p {
    margin: 10px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 50px auto 0;
}

.contact-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.contact-card h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    text-align: center;
}

.contact-label {
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-link {
    display: inline-block;
    font-size: 1.3rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(201, 168, 106, 0.1);
}

.contact-link:hover {
    background: var(--gold);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: var(--light-text);
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-hieroglyphs {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--gold);
    opacity: 0.4;
}

.footer p {
    margin: 10px 0;
}

.footer-names {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: #ffffff;
    margin: 20px 0 !important;
    letter-spacing: 3px;
    font-weight: 400;
}

.footer-date {
    font-size: 1rem;
    margin-bottom: 30px !important;
    color: var(--gold);
}

/* Remove Egyptian Patterns */
.egyptian-pattern {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .names {
        font-size: 2.5rem;
    }
    
    .papyrus-border {
        padding: 40px 30px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
        min-width: 60px;
        padding: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-timeline::before {
        left: 30px;
    }
    
    .story-chapter.left,
    .story-chapter.right {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .chapter-content {
        max-width: 100%;
        margin: 0;
    }
    
    .story-chapter.left .chapter-content::after,
    .story-chapter.right .chapter-content::after {
        display: none;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .rsvp-form {
        padding: 30px 20px;
    }
    
    .radio-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .names {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .countdown-item {
        flex: 1;
    }
    
    .countdown-number {
        font-size: 1.5rem;
        min-width: 50px;
        padding: 12px;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(16, 52, 166, 0.95), rgba(16, 52, 166, 0.9));
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--primary-gold);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
}

.nav-link {
    color: var(--light-gold);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-gold);
}

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