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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    overflow-x: hidden;
}

.opening-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.opening-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.opening-content {
    text-align: center;
    position: relative;
    animation: fadeInUp 1s ease;
}

.gold-ornament {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 20px auto;
    position: relative;
}

.gold-ornament::before,
.gold-ornament::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #d4af37;
    border-radius: 50%;
    top: -3.5px;
}

.gold-ornament::before { left: 0; }
.gold-ornament::after { right: 0; }

.opening-title {
    font-size: 3rem;
    color: #d4af37;
    margin: 30px 0;
    font-weight: 300;
    letter-spacing: 3px;
    animation: shimmer 3s infinite;
}

.opening-date {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
}

.open-button {
    padding: 15px 50px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.open-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.main-content {
    display: none;
    animation: fadeIn 1s ease;
}

.main-content.visible {
    display: block;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

.gold-frame {
    border: 3px solid #d4af37;
    padding: 60px;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    animation: fadeInScale 1.2s ease;
}

.gold-frame::before,
.gold-frame::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid #d4af37;
}

.gold-frame::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

.gold-frame::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

.hero-content {
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    color: #fff;
    margin: 20px 0;
    font-weight: 300;
    line-height: 1.2;
}

.ampersand {
    display: block;
    font-size: 3rem;
    color: #d4af37;
    margin: 20px 0;
    font-style: italic;
}

.hero-date {
    font-size: 1.3rem;
    color: #ccc;
    margin-top: 30px;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 60px;
    position: relative;
    font-weight: 300;
    letter-spacing: 3px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 20px auto 0;
}

.couple-section {
    background: #1a1a1a;
}

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

.couple-card {
    background: rgba(45, 45, 45, 0.8);
    padding: 50px 30px;
    text-align: center;
    border: 2px solid #d4af37;
    position: relative;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease;
}

.couple-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.couple-ornament {
    width: 60px;
    height: 60px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    margin: 0 auto 30px;
    position: relative;
}

.couple-ornament::before {
    content: '♥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #d4af37;
}

.couple-card h3 {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 20px;
    font-weight: 300;
}

.couple-card p {
    color: #ccc;
    line-height: 1.8;
}

.event-section {
    background: #2d2d2d;
}

.event-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 60px;
    text-align: center;
    border: 2px solid #d4af37;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInScale 1s ease;
}

.event-icon {
    font-size: 4rem;
    margin-bottom: 30px;
}

.event-card h3 {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.event-time,
.event-location,
.event-address {
    color: #ccc;
    margin: 10px 0;
    font-size: 1.1rem;
}

.countdown-section {
    background: #1a1a1a;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.countdown-item span {
    display: block;
    font-size: 4rem;
    color: #d4af37;
    font-weight: bold;
    margin-bottom: 10px;
}

.countdown-item p {
    color: #ccc;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-section {
    background: #2d2d2d;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    border: 2px solid #d4af37;
    cursor: pointer;
    animation: fadeInScale 0.6s ease;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.rsvp-section {
    background: #1a1a1a;
}

.rsvp-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(45, 45, 45, 0.8);
    padding: 50px;
    border: 2px solid #d4af37;
    animation: fadeInUp 1s ease;
}

.rsvp-card p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #ccc;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #d4af37;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid #d4af37;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f4d03f;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0%, 100% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
    50% { text-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@media (max-width: 768px) {
    .opening-title { font-size: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .ampersand { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .gold-frame { padding: 30px; }
    .countdown-item span { font-size: 3rem; }
}

/* Navigation Menu */
#navbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    display: flex;
    gap: 30px;
    transition: all 0.5s ease;
    width: max-content;
    max-width: 90vw;
}

#navbar a {
    color: #d4af37;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#navbar a:hover {
    color: #f4d03f;
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
}

#navbar a.active {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
    #navbar {
        gap: 15px;
        padding: 12px 20px;
    }

    #navbar a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
