@font-face {
    font-family: 'WeddingFont';
    src: url('/../fonts/wedding.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: Georgia, serif;
    background-color: #fff5f7;
    color: #4a2d2e;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
}

.navbar a {
    padding: 14px;
    text-decoration: none;
    color: #333;
}

.navbar a:hover,
.navbar a.active {
    background-color: #f0d9df;
    color: #b03a5b;
}

.content {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    background: #ffffffcc;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

form {
    width: 100%;
    max-width: 600px;
    background: white;
    padding: 2rem;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

fieldset {
    margin-bottom: 1.5rem;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 8px;
}

legend {
    font-weight: bold;
    padding: 0 0.5rem;
}

label {
    display: block;
    margin-top: 0.5rem;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.2rem;
    box-sizing: border-box;
}

.submit {
    margin-top: 1rem;
    text-align: center;
}

button[type="submit"] {
    background: #e91e63;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

.signup-button {
    font-size: 18px;
    background: #b03a5b;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
}

.signup-button:hover {
    background: #8f2d49;
}

h1 {
    font-family: 'WeddingFont', Georgia, serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 0.5em;
    text-align: center;
    color: #4a2d2e;
}

h2 {
    font-family: 'WeddingFont', Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    text-align: center;
    color: #4a2d2e;
}

h3 {
    font-family: 'WeddingFont', Georgia, serif;
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: #b03a5b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.wedding-banner {
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.header-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #b03a5b;
}

.wedding-text {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: rgb(191, 0, 255);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.mobile-header {
    position: relative;
    background-color: #fff5f7;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    left: auto !important;
    transform: none !important;
    font-size: 1.8rem;
    padding: 8px 16px;
    background: none;
    color: #b03a5b;
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 1000;
}

.menu-toggle:hover {
    color: #8f2d49;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
        position: absolute;
        top: 60px;
        right: 10px;
        left: auto;
        transform: none;
        background-color: #fff5f7;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 10px;
        gap: 8px;
        width: max-content;
        max-width: 90vw;
    }

    .navbar.show {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        justify-items: center;
    }

    .navbar a {
        padding: 10px;
        font-size: 15px;
        background: #f8f8f8;
        border-radius: 6px;
        text-align: center;
        border: 1px solid #eee;
        width: 100%;
    }

    .navbar a:hover {
        background: #f0d9df;
    }

    .wedding-banner {
        margin-top: 60px;
        font-size: 1.8rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.admin-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2em;
}
.admin-table th, .admin-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}
.admin-table th {
    background-color: #eee;
}