:root {
    --navy: #0e4c70;
    --navy-dark: #08354f;
    --cream: #fbf4ee;
    --peach: #efcab9;
    --rose: #a4204a;
    --sand: #eadfd7;
    --ink: #2f2a27;
    --white: #ffffff;
    --gold: #d7af54;
    --border: #cdbdb0;
    --table-border: #eadfd7;
    --table-head: #f4e7de;
    --shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background: linear-gradient(180deg, #faf5f1 0%, #f4ece6 100%);
}

h1,
h2,
h3 {
    color: var(--navy-dark);
    margin-top: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}



.site-nav,
nav:not(.site-nav) {
    background: var(--navy);
    color: var(--white);
    padding: 14px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    border-bottom: 4px solid var(--gold);
}

.site-nav {
    justify-content: space-between;
    gap: 18px;
}

.site-brand {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.site-nav a,
nav:not(.site-nav) a,
.nav-links a {
    color: var(--white);
    font-size: 15px;
}

.nav-links a {
    margin-left: 14px;
}



.page-shell,
.admin-shell,
#content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 18px 48px;
}

#content > div {
    text-align: left;
}



.hero {
    background:
        linear-gradient(135deg, rgba(14, 76, 112, 0.92), rgba(14, 76, 112, 0.72)),
        linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    color: var(--white);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    margin-bottom: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.hero-copy {
    padding: 42px 34px;
}

.hero-copy h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-copy p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 560px;
}

.hero-visual {
    min-height: 320px;
    position: relative;
    background:
        radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.08) 18%, transparent 19%),
        radial-gradient(circle at 40% 65%, rgba(239, 202, 185, 0.95) 0, rgba(239, 202, 185, 0.8) 20%, transparent 21%),
        radial-gradient(circle at 65% 55%, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0.35) 11%, transparent 12%),
        linear-gradient(160deg, rgba(239, 202, 185, 0.88), rgba(251, 244, 238, 0.35));
}

.hero-visual:before,
.hero-visual:after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.hero-visual:before {
    width: 180px;
    height: 180px;
    right: 55px;
    top: 54px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0.65) 28%, rgba(164, 32, 74, 0.28) 29%, rgba(164, 32, 74, 0.18) 40%, rgba(255, 255, 255, 0) 41%);
}

.hero-visual:after {
    width: 120px;
    height: 120px;
    right: 140px;
    bottom: 45px;
    background: radial-gradient(circle, rgba(164, 32, 74, 0.9) 0, rgba(164, 32, 74, 0.15) 68%, rgba(164, 32, 74, 0) 69%);
}



.button-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.primary-btn,
.secondary-btn,
input[type="submit"],
button {
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 15px;
    cursor: pointer;
}

.primary-btn,
input[type="submit"] {
    background: var(--rose);
    color: var(--white);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}



.section-grid,
.info-grid,
.menu-grid,
.contact-grid,
.admin-card-grid {
    display: grid;
    gap: 20px;
}

.section-grid {
    grid-template-columns: repeat(3, 1fr);
}

.info-grid {
    grid-template-columns: 1.2fr 1fr;
    margin-top: 24px;
}

.contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-top: 20px;
}

.admin-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}



.section-card,
.contact-card,
.menu-card,
.admin-panel,
.admin-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.section-card.alt,
.contact-card.highlight,
.menu-header {
    background: var(--peach);
}

.quote-card {
    background: var(--sand);
}

.admin-card {
    text-align: center;
}

.admin-card a {
    color: var(--rose);
    font-weight: bold;
}

.admin-panel {
    margin-bottom: 22px;
}

.admin-title {
    font-size: 32px;
    margin-bottom: 6px;
}

.admin-subtitle {
    margin-bottom: 24px;
}

.front-brand-note {
    color: var(--navy-dark);
    font-style: italic;
}



.map-card {
    min-height: 260px;
    position: relative;
    background:
        linear-gradient(90deg, rgba(14, 76, 112, 0.1) 0 2px, transparent 2px 100%),
        linear-gradient(rgba(14, 76, 112, 0.1) 0 2px, transparent 2px 100%),
        linear-gradient(135deg, rgba(239, 202, 185, 0.7), rgba(255, 255, 255, 0.9));
    background-size: 64px 64px, 64px 64px, 100% 100%;
}

.map-card:before {
    content: "Downtown Dining District";
    position: absolute;
    left: 24px;
    top: 22px;
    color: var(--navy-dark);
    font-size: 22px;
    font-weight: bold;
}

.map-card:after {
    content: "Besa Diner • 8 AM - 6 PM";
    position: absolute;
    left: 24px;
    bottom: 22px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 14px;
    border-radius: var(--radius-md);
}

.footer-band {
    background: var(--navy);
    color: var(--white);
    margin-top: 30px;
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.menu-header {
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-bottom: 22px;
}

.menu-card {
    position: relative;
    min-height: 220px;
    padding-top: 92px;
}

.menu-card:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 18px;
    width: 92px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--peach), #f7dbc6 60%, #fff 100%);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.menu-card h3 {
    margin: 0 0 10px;
    color: var(--navy-dark);
}

.price-tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--rose);
    color: var(--white);
    margin-top: 12px;
}



form,
table {
    width: 100%;
}

table,
.admin-table {
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

th,
td,
.admin-table th,
.admin-table td {
    border: 1px solid var(--table-border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

th,
.admin-table th {
    background: var(--table-head);
}

th {
    width: 220px;
}

label,
.admin-panel p {
    line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
    font-family: inherit;
    font-size: 15px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.search-row input {
    flex: 1;
}

.notice {
    padding: 12px 14px;
    background: #fff8df;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.error_container {
    color: var(--rose);
    font-size: 13px;
    margin-top: 6px;
}



.admin-body {
    background: #eef3f6;
}

.admin-nav {
    background: var(--navy-dark);
}



@media (max-width: 900px) {
    .hero,
    .info-grid,
    .contact-grid,
    .admin-flex,
    .section-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links a {
        margin: 0 12px 8px 0;
        display: inline-block;
    }
}

@media (max-width: 800px) {
    th {
        width: 140px;
    }

    .hero,
    .info-grid,
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links a {
        margin-left: 0;
        margin-right: 12px;
        margin-bottom: 8px;
        display: inline-block;
    }
}

@media (max-width: 640px) {
    .hero-copy h1 {
        font-size: 34px;
    }

    .form-grid,
    .search-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-band {
        flex-direction: column;
    }
}

.admin-nav-dropdowns {
    background: var(--navy);
    color: var(--white);
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    border-bottom: 4px solid var(--gold);
    position: relative;
    z-index: 1000;
}

.admin-nav-dropdowns > a,
.admin-nav-dropdowns .nav-dropbtn {
    color: var(--white);
    font-size: 15px;
    padding: 14px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    display: block;
}

.admin-nav-dropdowns > a:hover,
.admin-nav-dropdowns .nav-dropdown:hover .nav-dropbtn,
.admin-nav-dropdowns .nav-dropbtn:hover {
    background: var(--navy-dark);
    text-decoration: none;
}

.admin-nav-dropdowns .nav-dropdown {
    position: relative;
}

.admin-nav-dropdowns .nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    overflow: hidden;
}

.admin-nav-dropdowns .nav-dropdown-content a {
    color: var(--ink);
    padding: 12px 14px;
    display: block;
    font-size: 14px;
}

.admin-nav-dropdowns .nav-dropdown-content a:hover {
    background: var(--sand);
    text-decoration: none;
}

.admin-nav-dropdowns .nav-dropdown:hover .nav-dropdown-content {
    display: block;
}
