:root {
 --accent: #07616d;
 --accent-2: rgb(6, 112, 77);
 --muted: #6b7280;
 --white: #ffffff;
 --card-radius: 12px;
 --header-top-h: 60px;
 --nav-h: 60px;
}

* {
 box-sizing: border-box;
}

html,
body {
 height: 100%;
 margin: 0;
 font-family: Inter, Arial, system-ui, "Segoe UI", Roboto;
 background: #f3f6f8;
 color: #0f172a;
 -webkit-font-smoothing: antialiased;
}

a {
 color: inherit;
}

/* ========== HEADER (top bar - fixed) ========== */
header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 height: var(--header-top-h);
 background: linear-gradient(180deg, var(--accent-2), var(--accent));
 display: flex;
 align-items: center;
 justify-content: space-between;
 z-index: 1200;
 box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
 padding: 0 14px;
 gap: 20px;
}

.header-top {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 flex-wrap: wrap;
 width: 100%;
}

.brand {
 display: flex;
 gap: 12px;
 align-items: center;
}

.logo {
 width: 46px;
 height: 46px;
 border-radius: 10px;
 background: conic-gradient(from 210deg, #22c55e, #34d399, #3b82f6);
 display: flex;
 align-items: center;
 justify-content: center;
 color: #fff;
 font-weight: 800;
}

.site-title {
 color: #fff;
 font-size: 16px;
 font-weight: 700;
}

nav {
 display: flex;
 gap: 8px;
 align-items: center;
 justify-content: center;
 flex: 1;
 padding: 10px 14px;
 position: sticky;
 top: var(--header-top-h);
 background: linear-gradient(180deg, var(--accent-2), var(--accent));
 z-index: 1100;
 box-shadow: 0 4px 12px rgba(2, 6, 23, 0.08);
 width: 100%;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-btn {
 -webkit-tap-highlight-color: transparent;
 background: rgba(255, 255, 255, 0.95);
 color: var(--accent-2);
 border-radius: 10px;
 padding: 8px 12px;
 font-weight: 700;
 text-decoration: none;
 border: 1px solid rgba(34, 197, 94, 0.08);
 box-shadow: 0 4px 12px rgba(2, 6, 23, 0.06);
 font-size: 14px;
}

.cat-btn:active {
 transform: translateY(1px);
}

.cat-btn--active {
 background: var(--accent-2);
 color: #fff;
}

.controls {
 display: flex;
 gap: 8px;
 align-items: center;
}

.lang-btn {
 background: transparent;
 border: 1px solid rgba(255, 255, 255, 0.2);
 color: #fff;
 padding: 6px 10px;
 border-radius: 8px;
 font-weight: 700;
 cursor: pointer;
}

.lang-btn:active {
 transform: scale(0.98);
}

.header-contact {
 display: flex;
 gap: 20px;
 align-items: center;
 flex-wrap: wrap;
}

.contact-item {
 display: flex;
 align-items: center;
 gap: 8px;
 color: #fff;
 font-size: 13px;
 font-weight: 600;
}

.contact-item span:first-child {
 font-size: 18px;
}

.social-links {
 display: flex;
 gap: 10px;
}

.social-btn {
 width: 36px;
 height: 36px;
 background: rgba(255, 255, 255, 0.15);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 18px;
 text-decoration: none;
 transition: all 0.3s ease;
 border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
 background: rgba(255, 255, 255, 0.25);
 transform: translateY(-2px);
}

/* ========== MAIN ========== */
main {
 padding-top: calc(var(--header-top-h) + var(--nav-h) + 8px);
 max-width: 1100px;
 margin: 0 auto;
}

section {
 padding: 22px 14px 48px;
}

.section-title {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 12px;
 margin-bottom: 18px;
}

.section-title span {
 background: var(--white);
 padding: 10px 18px;
 border-radius: 999px;
 font-weight: 800;
 color: var(--accent-2);
 box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06);
}

.section-title::before,
.section-title::after {
 content: "";
 flex: 1;
 height: 2px;
 background: linear-gradient(90deg, var(--accent-2), rgba(34, 197, 94, 0.6));
 border-radius: 2px;
 opacity: 0.95;
}

/* menu grid & cards */
.menu-grid {
 display: grid;
 gap: 12px;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
 background: var(--white);
 border-radius: var(--card-radius);
 overflow: hidden;
 box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
 display: flex;
 flex-direction: column;
 position: relative;
 border: 1px solid rgba(15, 23, 42, 0.04);
}

.card-img {
 width: 100%;
 height: 170px;
 object-fit: cover;
 display: block;
}

.card-body {
 padding: 12px;
 display: flex;
 flex-direction: column;
 gap: 8px;
 flex: 1;
}

.dish-title {
 font-weight: 800;
 font-size: 16px;
}

.dish-desc {
 color: var(--muted);
 font-size: 13px;
 line-height: 1.35;
}

.dish-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
 margin-top: auto;
}

.price {
 font-weight: 900;
 color: var(--accent-2);
 font-size: 15px;
}

/* sticker & fav */
.sticker {
 position: absolute;
 left: 12px;
 top: 12px;
 padding: 6px 10px;
 border-radius: 999px;
 color: #fff;
 font-weight: 800;
 font-size: 12px;
 box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
}

.sticker.hot {
 background: linear-gradient(90deg, #fb923c, #ef4444);
}

.sticker.new {
 background: linear-gradient(90deg, #06b6d4, #0ea5a9);
}

.choose-btn {
 background: var(--accent-2);
 color: #fff;
 border: 0;
 padding: 8px 12px;
 border-radius: 10px;
 font-weight: 800;
 cursor: pointer;
}

.choose-btn:active {
 transform: scale(0.99);
}

.ghost {
 background: #fff;
 color: var(--accent-2);
 border: 1px solid rgba(34, 197, 94, 0.12);
}

/* order bar (bottom) */
.order-bar {
 position: fixed;
 left: 12px;
 right: 12px;
 bottom: 14px;
 background: linear-gradient(90deg, var(--accent-2), var(--accent));
 color: #fff;
 padding: 10px 12px;
 border-radius: 14px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 z-index: 1400;
 box-shadow: 0 12px 36px rgba(3, 7, 18, 0.26);
}

.order-btn {
 background: rgba(255, 255, 255, 0.15);
 border: 0;
 color: #fff;
 padding: 8px 12px;
 border-radius: 10px;
 font-weight: 800;
 cursor: pointer;
}

.order-count {
 background: rgba(255, 255, 255, 0.12);
 padding: 6px 10px;
 border-radius: 999px;
 font-weight: 800;
}

/* ========== FOOTER ========== */
footer {
 background: linear-gradient(180deg, var(--accent-2), var(--accent));
 color: #fff;
 padding: 40px 20px 20px;
 margin-top: 60px;
}

.footer-content {
 max-width: 1100px;
 margin: 0 auto;
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
 padding-bottom: 20px;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
 margin-bottom: 12px;
 font-size: 16px;
 font-weight: 700;
}

.footer-section p {
 margin: 8px 0;
 font-size: 14px;
 opacity: 0.9;
 line-height: 1.6;
}

.footer-section a {
 color: #fff;
 text-decoration: none;
 transition: opacity 0.3s ease;
}

.footer-section a:hover {
 opacity: 0.8;
 text-decoration: underline;
}

.footer-socials {
 display: flex;
 flex-direction: column;
 gap: 8px;
}

.footer-social {
 padding: 8px 12px;
 background: rgba(255, 255, 255, 0.15);
 border-radius: 8px;
 display: inline-block;
 font-size: 13px;
 font-weight: 600;
 transition: all 0.3s ease;
}

.footer-social:hover {
 background: rgba(255, 255, 255, 0.25);
}

.footer-bottom {
 text-align: center;
 padding-top: 20px;
 font-size: 12px;
 opacity: 0.8;
 max-width: 1100px;
 margin: 0 auto;
}

/* modal */
.modal-backdrop {
 position: fixed;
 inset: 0;
 background: rgba(2, 6, 23, 0.45);
 display: none;
 align-items: center;
 justify-content: center;
 z-index: 1600;
 padding: 12px;
}

.modal {
 background: var(--white);
 width: 100%;
 max-width: 720px;
 border-radius: 12px;
 padding: 14px;
 max-height: 86vh;
 overflow: auto;
}

.cart-item {
 display: flex;
 gap: 12px;
 align-items: center;
 padding: 8px 0;
 border-bottom: 1px solid #f1f5f9;
}

.cart-item img {
 width: 64px;
 height: 48px;
 object-fit: cover;
 border-radius: 8px;
}

.cart-actions {
 display: flex;
 gap: 8px;
 align-items: center;
}

/* small screens */
/* ========== AOS ANIMATIONS ========== */
[data-aos] {
 opacity: 1;
 transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

[data-aos="fade-up"] {
 transform: translateY(0);
}

[data-aos].aos-animate {
 opacity: 1;
 transform: translateY(0);
}

/* small screens */
@media (max-width: 600px) {
 .card-img {
 height: 140px;
 }

 header {
 height: auto;
 flex-direction: column;
 }

 .header-top {
 flex-direction: column;
 align-items: flex-start;
 gap: 10px;
 }

 .header-contact {
 gap: 12px;
 font-size: 11px;
 flex-wrap: wrap;
 }

 .contact-item {
 font-size: 11px;
 }

 nav {
 width: 100%;
 justify-content: center;
 padding-bottom: 6px;
 gap: 6px;
 top: auto;
 }

 .brand {
 order: 1;
 }

 .controls {
 order: 2;
 }

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

 .footer-content {
 grid-template-columns: 1fr;
 gap: 20px;
 }

 :root {
 --header-top-h: auto;
 --nav-h: 50px;
 }
}