
:root {
    --maroon: #5c061c;
    --maroon-dark: #3b0311;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --cream: #fdfbf7;
    --text-dark: #2c2c2c;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
}

.hidden {
    display: none !important;
}

/* Welcome Screen with Ribbon */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.welcome-card {
    background: var(--cream);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    border: 3px solid var(--gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
}

.om-symbol {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.welcome-card h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--maroon);
    margin-bottom: 10px;
}

.invite-sub {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
}

/* Ribbon Button */
.ribbon-container {
    background: linear-gradient(135deg, var(--maroon), #800a28);
    color: var(--gold-light);
    padding: 18px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px rgba(92, 6, 28, 0.4);
    border: 2px solid var(--gold);
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ribbon-container:hover {
    transform: scale(1.03);
    background: linear-gradient(135deg, #700722, var(--maroon));
}

.ribbon-container:active {
    transform: scale(0.98);
}

/* Main Content */
.main-content {
    animation: fadeIn 1s ease forwards;
}

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

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('images/couple_1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 3, 11, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.om-badge {
    font-size: 1.2rem;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: var(--gold-light);
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.amp {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--gold);
}

.wedding-date {
    font-size: 1.4rem;
    letter-spacing: 2px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 40px;
}

.scroll-down {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--gold-light);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Invitation Message */
.invitation-msg {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.invitation-msg p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

/* Couple Card */
.couple-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(92,6,28,0.2);
    border: 2px solid var(--gold);
}

.couple-card h2 {
    font-size: 2.5rem;
    font-family: 'Great Vibes', cursive;
    color: var(--gold-light);
}

.heart-divider {
    font-size: 2rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

/* Countdown */
.countdown-section {
    background: #f4efe6;
    padding: 50px 20px;
    text-align: center;
}

.countdown-section h3 {
    font-size: 1.8rem;
    color: var(--maroon);
    margin-bottom: 30px;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.time-box {
    background: white;
    padding: 20px 15px;
    border-radius: 10px;
    min-width: 100px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--gold);
}

.time-box span:first-child {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--maroon);
    font-family: 'Cinzel', serif;
}

.time-box .label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Events & Venue */
.events-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-card, .venue-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.event-card h2, .venue-card h2 {
    color: var(--maroon);
    font-size: 2rem;
    margin-bottom: 15px;
}

.event-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.event-time {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
}

.venue-name {
    font-size: 1.6rem;
    color: var(--maroon);
    margin-bottom: 10px;
}

.venue-address {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.venue-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.primary-btn {
    background: var(--maroon);
    color: white;
    border: 2px solid var(--maroon);
}

.primary-btn:hover {
    background: var(--maroon-dark);
}

.secondary-btn {
    background: transparent;
    color: var(--maroon);
    border: 2px solid var(--maroon);
}

.secondary-btn:hover {
    background: var(--maroon);
    color: white;
}

/* Gallery */
.gallery-section {
    text-align: center;
}

.gallery-section h2 {
    color: var(--maroon);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.gallery-subtitle {
    color: #666;
    margin-bottom: 30px;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Footer */
.footer {
    background: var(--maroon-dark);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.footer p {
    font-size: 1.3rem;
    font-family: 'Great Vibes', cursive;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.footer h4 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--gold);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    border: 2px solid var(--gold);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

@media(max-width: 768px) {
    .couple-names { font-size: 3.8rem; }
    .couple-card { flex-direction: column; gap: 10px; text-align: center; }
}
