:root {
    --primary-green: #3d5a44;
    --accent-gold: #b49667;
    --text-color: #333;
    --soft-white: #fcfaf7;
    --card-bg: #fffaf5;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--soft-white);
    background-image: url('../assets/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Page Layout */
.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Gallery Header (Line Above) */
.gallery-header {
    text-align: center;
    padding: 2rem 1rem;
    z-index: 10;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-green);
    margin: 0;
    line-height: 1;
}

.photo-caption {
    font-family: 'Great Vibes', cursive;
    color: var(--accent-gold);
    font-size: 2.2rem;
    margin-top: 5px;
}

/* Slideshow Container */
.slideshow-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
}

.photo-display {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide-image {
    position: absolute;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
    border: 12px solid white;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide-image.active {
    opacity: 1;
}

/* Login Page Specific */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.floral-card {
    background: var(--card-bg);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    max-width: 500px;
    width: 90%;
}

.card-border {
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.card-border::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--accent-gold);
    border-radius: 10px;
    pointer-events: none;
}

.celebration-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: var(--primary-green);
    margin-bottom: 0;
    font-weight: 400;
}

.subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-top: -10px;
    margin-bottom: 2rem;
}

.welcome-text {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #555;
}

.login-form-container input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
}

.login-form-container button {
    background-color: var(--primary-green);
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 10px;
}

/* Loading Overlay */
.loading-overlay {
    color: var(--primary-green);
    text-align: center;
}
