@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

@font-face {
    font-family: 'BlackMango';
    src: url('/fonts/black-mango-semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #4A6652;
    background-size: cover;
    color: #BBA76A;
    display: block;
    min-height: 100vh;
    justify-content: unset;
    align-items: unset;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    background: #BBA76A;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 16px;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
    color: #BBA76A;
    font-family: 'BlackMango', serif;
}

form {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Montserrat', sans-serif;
}

form input[type="text"],
form input[type="email"],
form select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form input[type="submit"] {
    background: #5cb85c;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
}

form input[type="submit"]:hover {
    background: #4cae4c;
}

.landing-page {
    text-align: inherit;
    padding: 0;
    font-family: inherit;
}

.landing-page h2,
.landing-page p {
    color: inherit;
    font-size: inherit;
}

.dashboard-title {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    text-align: center;
    font-family: 'BlackMango', serif;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

.dashboard-table th {
    background: #f0f0f0;
}

.dashboard-table tr:nth-child(even) {
    background: #fafafa;
}

.site-header {
    background: #4A6652;
    /* If you want to keep the image as an overlay, use: */
    /* background: linear-gradient(rgba(25,135,84,0.85),rgba(25,135,84,0.85)), url('/images/header-bg.jpg') no-repeat center/cover; */
}

.site-header .container-fluid {
    /* Add or override for extra height */
    min-height: 240px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    justify-content: center !important;
    text-align: center;
}

.site-header .nav {
    margin-bottom: 1rem;
    gap: 7.5rem;
}

.site-title {
    font-size: 3rem;
    font-weight: 700;
    color: #BBA76A !important;
    font-family: 'BlackMango', serif;
    width: 100%;
    text-align: center;
}

.nav-link {
    font-size: 1rem;
    text-transform: uppercase;
    color: #BBA76A !important;
    font-family: 'Montserrat', sans-serif;
}

.split-layout {
    display: flex;
    min-height: 100vh;
}

.split-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 40vw;
    height: 100vh;
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

.split-right {
    padding: 4rem;
    margin-left: 40vw;
    margin-top: 0;
    margin-bottom: 0;
    flex: 1 1 65%;
    background: #4A6652;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.rsvp-card, .thank-card {
    max-width: 100%;
    width: 100%;
    margin: 3rem auto;
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
    background: #f8f5f0;
    padding: 2.5rem 2rem 2rem 2rem;
}
.rsvp-card h1, .thank-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #4A6652;
    text-align: center;
}
.form-label {
    font-weight: 500;
    color: #333;
}
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    background: #fafbfc;
}
.btn-primary {
    background: #BBA76A;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.75rem 2rem;
    transition: background 0.15s;
    color: #4A6652;
}
.btn-primary:hover {
    background: #a8956a;
    color: #4A6652;
}
.thank-card {
    text-align: center;
}
.thank-card pre {
    background: #f0ede7;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #333;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
}
.rsvp-card > * + * {
    margin-top: 2rem;
}

/* Center the RSVP card horizontally only */
.rsvp-card {
    display: block;
    width: 70%;
    min-height: unset;
    margin-left: auto;
    margin-right: auto;
}

/* Custom code styling */
code {
    background-color: #f0ede7 !important;
    color: #4A6652 !important;
    border: 1px solid #e0d6c7;
}

/* Bootstrap card styling */
.card {
    background-color: #f8f5f0 !important;
    border: 1px solid #e0d6c7 !important;
}

.card-body {
    color: #4A6652 !important;
}

.card-title {
    color: #4A6652 !important;
}

.card-text {
    color: #4A6652 !important;
}

/* Schedule list styling */
.schedule-list {
    max-width: 600px;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid #BBA76A;
    color: #BBA76A;
    font-weight: 500;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(187, 167, 106, 0.1);
    transform: translateY(-2px);
}

.schedule-time {
    font-weight: 600;
    min-width: 80px;
    text-align: right;
    margin-right: 1.5rem;
    color: #BBA76A;
}

.schedule-event {
    flex: 1;
    text-align: left;
    color: #BBA76A;
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
    }
    .split-left {
        position: static;
        width: 100%;
        height: 40vh;
        padding: 1rem;
    }
    .split-right {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        min-height: unset;
        padding: 1rem;
    }
    body {
        display: block;
        justify-content: unset;
        align-items: unset;
    }
    .rsvp-card, .thank-card {
        padding: 1.5rem 0.5rem 1rem 0.5rem;
        max-width: 100%;
        min-height: unset;
        display: block;
    }
}