/* Reset & Box sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f7f1e3;
    color: #3b2f2f;
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(59,47,47,0.9);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 50px;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 300;
}

nav a:hover {
    border-bottom: 2px solid #d4af37;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}

.overlay {
    position: relative;
    z-index: 1;
    background: rgba(0,0,0,0.5);
    padding: 40px;
    color: white;
    text-align: center;
}

.overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
}

/* CONTENT */
.content {
    padding: 120px 20px 60px 20px;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    margin-top: 60px;
}

.content p {
    margin-bottom: 25px;
    line-height: 1.7;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select, button {
    padding: 12px;
    font-size: 1rem;
    width: 100%;
}

button {
    background-color: #3b2f2f;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #5c4033;
}

/* Hidden class for dynamic fields */
.hidden {
    display: none;
}

/* Textareas styled consistently with inputs */
textarea {
    padding: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 80px;
    width: 100%;
    resize: vertical;
}

/* Optional: maintain consistent spacing between form elements */
form > div, form > label, form > input, form > textarea {
    margin-bottom: 15px;
}

/* Flash messages */
#flashMessages div.success {
    color: green;
    margin-bottom: 15px;
    font-weight: bold;
}

#flashMessages div.error {
    color: red;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Dress Code Color Palette */
.color-palette {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #aaa;
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}