:root {
    --bg-dark-warm: #1a0f0a;
    --text-light: #ffeedd;
    --accent-color: #ff6030;
    --overlay-color: rgba(26, 15, 10, 0.5);
    --nav-bg: rgba(15, 10, 8, 0.95);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'AppleGothic', serif;
    background-color: #0f0a08;
    color: var(--text-light);
    line-height: 1.6;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 10, 8, 0.4); /* More transparent background */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 96, 48, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.nav-logo {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    position: relative;
    transition: background-color 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 10, 8, 0.9);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    /* Hamburger Animation */
    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    background-color: rgba(15, 10, 8, 0.7);
}

header {
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 40px;
    background-image: linear-gradient(rgba(15, 10, 8, 0.0), rgba(15, 10, 8, 0.3)), url('assets/images/hand with candle.jpg');
    background-size: cover;
    background-position: center;
}

.header-content {
    background-color: rgba(26, 15, 10, 0.4);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

main {
    padding: 0 40px;
}

h1 {
    font-size: 2.8em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--accent-color);
}

h2 {
    font-size: 2.3em;
    margin-top: 0;
}

.event-details {
    font-size: 1.4em;
    font-weight: bold;
    margin: 20px 0 0 0;
}

section {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    section {
        flex-direction: row;
        align-items: center;
    }
    section:nth-child(even) {
        flex-direction: row-reverse;
    }
    .section-text {
        flex: 1;
    }
    .section-image {
        flex: 1;
        text-align: center;
    }
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    border: 1px solid #444;
}

footer {
    margin-top: 60px;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-image: linear-gradient(rgba(15,10,8,0.0), rgba(15,10,8,0.5)), url('assets/images/candlelight.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

footer a {
    color: var(--text-light);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 0 40px;
    box-sizing: border-box;
    gap: 10px;
    flex-wrap: wrap;
}

#contact-container {
    font-size: 0.9em;
    opacity: 0.9;
}

#contact-container a {
    margin-left: 5px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.copyright {
    font-size: 0.9em;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}
