/* Half-Blood Restaurant - Magical Theme */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=IM+Fell+English+SC&family=IM+Fell+English:ital@0;1&display=swap');

:root {
    --maroon: #740001;
    --gold: #eeba30;
    --dark-gold: #ae8625;
    --parchment: #f0ead6;
    --dark-grey: #2a2a2a;
    --wizard-glow: 0 0 10px rgba(238, 186, 48, 0.5);
    /* New Font Variables */
    --title-font: 'Cinzel Decorative', serif;
    --body-font: 'IM Fell English', serif;
    --caps-font: 'IM Fell English SC', serif;
    --border-style: 2px solid var(--gold);
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('images/hogwarts_bg.png');
    /* Hogwarts atmospheric background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--parchment);
    font-family: var(--body-font);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1,
h2,
h3,
.magical-font {
    font-family: var(--title-font);
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(174, 134, 37, 0.4);
    letter-spacing: 2px;
}

h1 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #f0ead6 20%, #eeba30 50%, #ae8625 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    background: rgba(44, 30, 17, 0.9);
    padding: 40px;
    border: var(--border-style);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 50px rgba(92, 10, 10, 0.3);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin: 10px;
    pointer-events: none;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px;
    background: rgba(244, 228, 188, 0.1);
    border: 1px solid var(--gold);
    color: var(--parchment);
    font-family: var(--body-font);
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    box-shadow: 0 0 10px var(--gold);
    background: rgba(244, 228, 188, 0.2);
}

.btn {
    background: var(--maroon);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 24px;
    font-family: var(--caps-font);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background: var(--gold);
    color: var(--maroon);
    box-shadow: 0 0 15px var(--gold);
}

/* Nav */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 15px;
}

nav a {
    color: var(--parchment);
    text-decoration: none;
    margin: 0 15px;
    font-family: var(--caps-font);
    font-size: 1.1rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--parchment);
}

/* Grid/Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.magical-card {
    background: rgba(92, 10, 10, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.magical-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.status-msg {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    text-align: center;
}

.success {
    background: rgba(0, 255, 0, 0.1);
    color: #4cd964;
    border: 1px solid #4cd964;
}

.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff3b30;
    border: 1px solid #ff3b30;
}