:root {
    /* Warm & Earthy Palette */
    --color-primary: #ffad4a;
    /* Soft Coral */
    --color-secondary: #f15c58;
    /* Deep Mocha */
    --color-accent: #ffc85b;
    /* Peach Blush */
    --color-background: #ffe1b1;
    /* Cream */
    --color-text: #b53f00;
}

html,
body {
    margin: 0;
    padding: 0;
    /* Use min-height so content can grow if it needs to scroll */
    min-height: 100vh;
    width: 100%;
    /* Center everything */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.white-text-shadow {}

.white-text-shadow-small {}

.location-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(174, 99, 0, .3);
    padding: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.location-container:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-background);
    background-image: url('./photos/main.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

#overlay {
    background-color: var(--color-background);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: .7;
}

a,
a:visited,
a:hover {
    color: var(--color-text);
    /* text-decoration: none; */
}

h1 {
    /* Large for desktop */
    font-size: 8rem;
    color: #FFFFFF;
    margin: 0;
    text-align: center;
    text-shadow:
        4px 4px 0px var(--color-secondary),
        8px 8px 0px var(--color-accent);

    user-select: none;
}

h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}



form {
    /* Ensure the form doesn't hit the screen edges */
    /* width: 90%; */
    /* max-width: 400px; */
}

.date {
    color: var(--color-text);

}



input,
textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(174, 99, 0, 0.2);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    transition: all 0.2s ease;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(174, 99, 0, 0.1);
    background-color: white;
}

input[type="submit"] {
    background-color: var(--color-secondary);
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    padding: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (hover: hover) {
    input[type="submit"]:hover {
        background-color: #8a4e00;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(174, 99, 0, 0.2);
    }
}

.suggestion {
    color: var(--color-text);
    font-size: 1em;
    text-align: center;
}

.form-container {
    background-color: var(--color-primary);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: flex-start;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    margin-top: 4em;
    margin-bottom: 4em;
    /* Premium Multi-Layered Shadow */
    box-shadow:
        0 1px 2px rgba(174, 99, 0, 0.1),
        0 2px 4px rgba(174, 99, 0, 0.1),
        0 4px 8px rgba(174, 99, 0, 0.1),
        0 8px 16px rgba(174, 99, 0, 0.1),
        0 16px 32px rgba(174, 99, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

label {
    align-self: flex-start;
    color: white;
}

/* 
fonts
*/

.lobster-regular {
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.figtree-medium {
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.literata-regular {
    font-family: "Literata", serif;
    font-weight: 400;
    font-style: normal;
}

.figtree-bold {
    font-family: "Figtree", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.header-image {
    object-fit: cover;
    height: 50vh;
}

.literata-bold {
    font-family: "Literata", serif;
    font-weight: 700;
    font-style: normal;
}

.spacer {
    margin-bottom: 1em;
}

/* Container */
.calendar-dropdown {
    position: relative;
    display: inline-block;
    /* margin-top: 40px; */
}

/* The Main Button */
.calendar-btn {
    background-color: #FFFFFF;
    color: #8c6a5e;
    padding: 7px 14px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 1em;
}

/* Hover effect for the button itself - only on devices that support hover */
@media (hover: hover) {
    .calendar-btn:hover {
        /* transform: translateY(-2px); */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        border-color: #FFFFFF;
    }
}

/* The Dropdown Menu (Hidden by default) */
.calendar-options {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: #FFFFFF;
    min-width: 200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* Hidden State */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 8px 0;
}

/* The Reveal Logic */
@media (hover: hover) {
    .calendar-dropdown:hover .calendar-options {
        opacity: 1;
        visibility: visible;
        /* transform: translateX(-50%) translateY(8px); */
    }
}

/* For mobile/touch - open on active class */
.calendar-dropdown.is-open .calendar-options {
    opacity: 1;
    visibility: visible;
}

/* Individual Links inside the menu */
.calendar-options a {
    color: #555;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-family: "Figtree", sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-align: center;
}

@media (hover: hover) {
    .calendar-options a:hover {
        background-color: #fff5eb;
        /* Light peach highlight */
        color: #d4a373;
    }
}

.getting-married {
    color: white;
    text-shadow:
        2px 2px 0px var(--color-secondary),
        4px 4px 0px var(--color-accent);
}


/* --- MOBILE STYLES --- */
@media (max-width: 600px) {
    h1 {
        /* Scale down the font for phones */
        margin-top: 15vh;
        font-size: 4rem;
    }

    .form-container {
        /* width: 85%; */
        min-width: auto;
        margin-bottom: 0;
        box-shadow: none;
    }
}