/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Montserrat:wght@300;400&display=swap');

:root {
    --bg-color: #FDFBF8;
    --text-color: #5D5D5D;
    --primary-color: #BDB7AB;
    --secondary-color: #EAE7E1;
    --accent-color: #8C7D6B;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

h1, h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--accent-color);
    text-align: center;
}

h1 { font-size: 2.8em; margin-bottom: 10px; }
h2 { font-size: 1.8em; border-bottom: 1px solid var(--secondary-color); padding-bottom: 15px; margin-top: 40px; margin-bottom: 20px; }
p.subtitle { text-align: center; margin-bottom: 40px; font-size: 1.1em; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: bold; }

input[type="text"], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    box-sizing: border-box;
}

/* --- New Elegant File Input --- */
input[type="file"] {
    display: none; /* Hide the default input */
}

.file-input-label {
    display: block;
    padding: 15px;
    background-color: var(--secondary-color);
    border: 2px dashed var(--primary-color);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.file-input-label:hover {
    background-color: #e0ddd5;
}

#file-name-display {
    margin-top: 10px;
    font-style: italic;
    color: var(--text-color);
}

/* --- New Progress Bar --- */
.progress-bar-container {
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 5px;
    margin-top: 20px;
    display: none; /* Hidden by default */
}

.progress-bar {
    width: 0%;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: white;
    transition: width 0.4s ease;
}


button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover { background-color: #736555; }
button:disabled { background-color: var(--primary-color); cursor: not-allowed; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item { position: relative; }
.gallery-item img, .gallery-item video {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
}

.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; text-align: center; }
.alert-success { background-color: #d4edda; color: #155724; }
.alert-error { background-color: #f8d7da; color: #721c24; }

/* --- Admin Dashboard Updates --- */
.admin-gallery { margin-top: 20px; }
.guest-section { margin-bottom: 40px; border: 1px solid var(--secondary-color); padding: 20px; border-radius: 8px; }
.guest-section-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--secondary-color); padding-bottom: 10px; }
.guest-section-header h3 { margin: 0; color: var(--accent-color); }
.guest-message { font-style: italic; background: var(--bg-color); padding: 15px; border-radius: 4px; margin: 20px 0; }

.download-zip-btn {
    padding: 8px 15px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.download-zip-btn:hover { background-color: #736555; }
