:root {
    --primary-color: #d4af37; --bg-color: #111111; --text-color: #f5f5f5; --font-heading: 'Playfair Display', serif;
        --primary-color: #383838 !important;
        --bg-color: #ffffff !important;
      
    --font-family: 'Inter', sans-serif;
    --font-heading: 'Inter', serif;
    --bg-color: #ffffff;
    --text-color: #333333;
    --primary-color: #000000;
    --button-bg: #333333;
    --button-text: #ffffff;
    --border-color: #dddddd;
}

/* Base Styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow: hidden; /* Lock scroll until opened */
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 10px;
}
h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 10px;
}
h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 10px;
}
p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

button {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    font-family: var(--font-family);
    transition: opacity 0.3s;
}

button:hover {
    opacity: 0.8;
}

/* Scroll Container */
.scroll-container {
    height: 100vh;
    width: 100%;
    overflow-y: hidden; /* Initially hidden */
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.scroll-container.unlocked {
    overflow-y: scroll;
}

/* Section / Page Setup */
.page {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    padding: 20px;
}

.content-wrapper {
    width: 100%;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

/* Split Layout */
.split-layout {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.split-left {
    flex: 7; /* 70% width */
    height: 100vh;
    background-color: #f0f0f0;
}

.split-right {
    flex: 3; /* 30% width */
    min-width: 375px; /* mobile width */
    max-width: 480px;
    height: 100vh;
    position: relative;
    background-color: var(--bg-color);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

/* Cover Page (Now contained within split-right) */
.cover-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: top 1s ease-in-out;
}

.cover-page.slide-up {
    top: -100vh;
}

.cover-content {
    padding: 20px;
    margin: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* Scroll Icon */
.scroll-icon {
    margin-top: 40px;
    font-size: 24px;
    animation: bounce 2s infinite;
}

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

/* Profiles */
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}

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

.time-box {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 15px;
    border-radius: 8px;
    min-width: 60px;
}

.time-box span {
    font-size: 24px;
    font-weight: bold;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

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

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Form */
form input, form select, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
    font-family: var(--font-family);
}

/* Responsive */
@media (max-width: 768px) {
    .split-left {
        display: none;
    }
    .split-right {
        flex: 1;
        max-width: 100%;
    }
    .gallery-grid img {
        height: 100px;
    }
}
