:root {
  --dark: #110a06;
  --dark-2: #1b1009;
  --brown: #4a2c18;
  --brown-2: #6a3d1e;
  --gold: #c89b4d;
  --gold-soft: #f5ddb0;
  --cream: #fff4dd;
  --paper: #fffaf0;
  --text: #2c1c11;
  --muted: #6d5845;
  --white: #ffffff;
  --border: rgba(200, 155, 77, 0.34);
  --shadow: 0 25px 70px rgba(25, 12, 4, 0.22);
  --radius: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Tahoma, Arial, sans-serif;
  background:
    linear-gradient(rgba(255,244,221,.91), rgba(255,244,221,.96)),
    url("assets/masguf.jpg") center / cover fixed no-repeat;
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: auto; }

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17,10,6,.94);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-box { display: flex; align-items: center; gap: 14px; color: var(--gold-soft); }
.logo-box img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  padding: 5px;
}
.logo-box h1 { font-size: 24px; line-height: 1.1; }
.logo-box span { color: var(--gold); font-size: 13px; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  color: var(--gold-soft);
  font-size: 15px;
  transition: .3s;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: .3s;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 100%; }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 32px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: bold;
  transition: .3s;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #8d5b27);
  color: var(--dark);
  box-shadow: 0 14px 30px rgba(141,91,39,.25);
}
.btn-gold:hover { transform: translateY(-3px); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold-soft); background: transparent; }
.btn-outline:hover { background: var(--gold-soft); color: var(--dark); }
.btn-outline.dark { color: var(--brown); }
.btn-outline.dark:hover { background: var(--brown); color: var(--cream); }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  background: rgba(200,155,77,.12);
  border: 1px solid rgba(200,155,77,.36);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 14px;
}
.section-title { max-width: 820px; margin-bottom: 38px; }
.section-title.center { text-align: center; margin: 0 auto 38px; }
.section-title.light h2,
.section-title.light p { color: var(--cream); }
.section-title h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.35;
  color: var(--brown);
  margin-bottom: 14px;
}
.section-title p { color: var(--muted); font-size: 18px; }

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,10,6,.97), rgba(17,10,6,.62)),
    url("assets/masguf.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(200,155,77,.35);
  z-index: 1;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 58px;
  align-items: center;
}
.hero-copy { color: var(--cream); }
.hero-copy h2 {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.18;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.hero-copy p { color: #ead5b5; font-size: 19px; max-width: 690px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  position: relative;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 44% 44% 28px 28px;
  background: rgba(255,244,221,.08);
}
.hero-card img {
  height: 560px;
  object-fit: cover;
  border-radius: 44% 44% 22px 22px;
  filter: sepia(.16) saturate(.98) contrast(1.04);
}
.hero-card-note {
  position: absolute;
  right: -24px;
  bottom: 42px;
  background: var(--cream);
  color: var(--brown);
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold);
  display: grid;
  gap: 4px;
}
.hero-card-note span { color: var(--muted); font-size: 13px; }

.story-section,
.visit-section,
.booking-section,
.contact-section,
.menu-cta-section { padding: 95px 0; }
.story-card,
.menu-cta,
.booking-panel,
.contact-card {
  background: rgba(255,244,221,.9);
  border: 1px solid rgba(74,44,24,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 50px;
  backdrop-filter: blur(12px);
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.features-grid article {
  background: var(--white);
  border: 1px solid rgba(74,44,24,.14);
  border-radius: 22px;
  padding: 24px;
}
.features-grid span { color: var(--gold); font-weight: bold; }
.features-grid h3 { color: var(--brown); margin: 8px 0; }

.branches-section {
  padding: 95px 0;
  background:
    linear-gradient(rgba(17,10,6,.9), rgba(17,10,6,.84)),
    url("assets/masguf.jpg") center / cover fixed no-repeat;
}
.branches-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.branch-card {
  min-height: 210px;
  border-radius: 24px;
  padding: 24px;
  background: rgba(255,244,221,.92);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition: .3s;
}
.branch-card:hover { transform: translateY(-7px); }
.branch-card.main { background: linear-gradient(135deg, var(--gold-soft), #fff); }
.branch-card span { display: inline-block; color: var(--gold); font-weight: bold; font-size: 13px; margin-bottom: 12px; }
.branch-card h3 { color: var(--brown); font-size: 32px; margin-bottom: 10px; }
.branch-card p { color: var(--muted); font-size: 14px; }

.menu-cta {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background:
    linear-gradient(90deg, rgba(255,244,221,.96), rgba(255,244,221,.74)),
    url("assets/masguf.jpg") center / cover no-repeat;
}
.menu-cta h2,
.visit-text h2,
.booking-info h2,
.contact-card h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.35;
  color: var(--brown);
  margin-bottom: 14px;
}
.menu-cta p { max-width: 670px; color: var(--muted); font-size: 18px; }

.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; align-items: center; }
.visit-image {
  border: 1px solid var(--gold);
  padding: 12px;
  border-radius: 32px;
  background: rgba(255,244,221,.55);
  box-shadow: var(--shadow);
}
.visit-image img { height: 480px; object-fit: cover; border-radius: 24px; }
.visit-text {
  background: rgba(255,244,221,.9);
  border-radius: var(--radius);
  padding: 45px;
  box-shadow: var(--shadow);
}
.visit-text p,
.booking-info p,
.contact-card p { color: var(--muted); }
.visit-text ul { margin-top: 20px; list-style: none; display: grid; gap: 10px; }
.visit-text li {
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  border-right: 4px solid var(--gold);
}

.booking-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.booking-form { display: grid; gap: 15px; }
.booking-form input,
.booking-form textarea,
.settings-window input,
.settings-window textarea {
  width: 100%;
  padding: 15px 17px;
  border-radius: 16px;
  border: 1px solid rgba(74,44,24,.18);
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.booking-form textarea { height: 120px; resize: none; }
.booking-form input:focus,
.booking-form textarea:focus,
.settings-window input:focus,
.settings-window textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,155,77,.14);
}

.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a { background: var(--brown); color: var(--cream); padding: 11px 18px; border-radius: 999px; }

/* Menu */
.menu-hero {
  padding: 105px 0 55px;
  background:
    linear-gradient(rgba(17,10,6,.88), rgba(17,10,6,.82)),
    url("assets/masguf.jpg") center / cover no-repeat;
  text-align: center;
  color: var(--cream);
}
.menu-hero h2 {
  font-size: clamp(42px, 7vw, 86px);
  color: var(--gold-soft);
  line-height: 1.2;
  margin-bottom: 16px;
}
.menu-hero p { color: #ead5b5; font-size: 18px; }
.menu-price-section { padding: 80px 0 95px; }
.price-category {
  background: rgba(255,244,221,.94);
  border: 1px solid rgba(74,44,24,.18);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 34px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}
.category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(74,44,24,.16);
}
.category-title span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
.category-title h2 { color: var(--brown); font-size: 34px; }
.price-list { display: grid; gap: 14px; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  background: #fffaf0;
  border: 1px solid rgba(74,44,24,.12);
  border-radius: 18px;
  padding: 18px 22px;
  transition: .3s;
}
.price-row:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 14px 28px rgba(74,44,24,.10); }
.price-row h3 { color: var(--brown); font-size: 21px; margin-bottom: 4px; }
.price-row p { color: var(--muted); font-size: 14px; }
.price-row strong {
  color: var(--brown);
  background: rgba(200,155,77,.18);
  border: 1px solid rgba(200,155,77,.35);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: 15px;
  white-space: nowrap;
}
.menu-actions { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.loading-menu,
.empty-menu { padding: 25px; text-align: center; color: var(--muted); font-weight: bold; }

/* Admin Floating Button */
.admin-floating-btn {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(200, 155, 77, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17, 10, 6, 0.92), rgba(74, 44, 24, 0.92));
  color: var(--gold-soft);
  font-family: inherit;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  transition: 0.3s ease;
}
.admin-floating-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--gold), #8d5b27);
  color: var(--dark);
  border-color: var(--gold-soft);
}
.admin-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 244, 221, 0.12);
  border: 1px solid rgba(245, 221, 176, 0.25);
  font-size: 16px;
}
.admin-text { white-space: nowrap; }

/* Settings */
.settings-modal {
  position: fixed;
  inset: 0;
  background: rgba(17,10,6,.78);
  z-index: 6000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.settings-modal.active { display: flex; }
.settings-window {
  width: min(980px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff4dd;
  color: var(--text);
  border-radius: 28px;
  padding: 34px;
  border: 1px solid var(--gold);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  position: relative;
}
.settings-close {
  position: absolute;
  top: 16px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--brown);
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
}
.settings-window h2 { color: var(--brown); font-size: 32px; margin-bottom: 12px; }
.settings-window p { color: var(--muted); margin-bottom: 18px; }
.settings-window textarea { min-height: 90px; resize: vertical; }
.full-btn { width: 100%; }
.hidden { display: none !important; }
.settings-message { margin-top: 14px; font-weight: bold; color: var(--muted); }
.settings-message.error { color: #b00020; }
.settings-message.success { color: #1d7a34; }
.admin-note {
  background: rgba(200,155,77,.16);
  border: 1px solid rgba(200,155,77,.35);
  color: var(--brown);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 14px 0 20px;
  font-weight: bold;
}
.add-category-box { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 24px 0; }
.admin-category {
  background: #fffaf0;
  border: 1px solid rgba(74,44,24,.14);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 22px;
}
.admin-category-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(74,44,24,.12);
  padding-bottom: 16px;
}
.delete-category-btn,
.delete-item-btn {
  border: 0;
  background: #9c1c1c;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.admin-items { display: grid; gap: 14px; margin-bottom: 18px; }
.admin-item {
  background: #fff;
  border: 1px solid rgba(74,44,24,.12);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 12px;
}
.admin-item textarea { grid-column: 1 / -1; }
.admin-item .delete-item-btn { grid-column: 1 / -1; width: fit-content; }
.add-item-box {
  background: rgba(200,155,77,.12);
  border: 1px dashed rgba(74,44,24,.22);
  border-radius: 18px;
  padding: 16px;
}
.settings-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.empty-admin {
  background: #fffaf0;
  padding: 22px;
  border-radius: 18px;
  color: var(--muted);
  font-weight: bold;
  text-align: center;
}

.footer { background: var(--dark); color: var(--gold-soft); text-align: center; padding: 28px 0; border-top: 1px solid var(--border); }

@media (max-width: 1100px) {
  .branches-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .hero-grid,
  .visit-grid,
  .booking-panel { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .menu-cta,
  .contact-card { flex-direction: column; align-items: flex-start; }
  .hero-card { max-width: 520px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 88px;
    right: 0;
    width: 100%;
    background: rgba(17,10,6,.98);
    border-top: 1px solid var(--border);
    padding: 22px 6%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.active { display: flex; }
  .hero { min-height: auto; padding: 85px 0; }
  .hero::before { inset: 15px; }
  .hero-copy h2 { font-size: 42px; }
  .hero-card img { height: 360px; }
  .hero-card-note { position: static; margin-top: 14px; }
  .story-card,
  .menu-cta,
  .booking-panel,
  .contact-card,
  .visit-text { padding: 28px 22px; }
  .story-section,
  .visit-section,
  .booking-section,
  .contact-section,
  .menu-cta-section,
  .branches-section { padding: 70px 0; }
  .visit-image img { height: 330px; }
  .branches-grid { grid-template-columns: 1fr; }
  .menu-hero { padding: 80px 0 45px; }
  .price-category { padding: 24px 18px; }
  .category-title h2 { font-size: 26px; }
  .price-row { grid-template-columns: 1fr; text-align: right; }
  .price-row strong { width: fit-content; }
  .settings-window { padding: 28px 18px; }
  .add-category-box,
  .admin-category-head,
  .admin-item { grid-template-columns: 1fr; }
  .admin-floating-btn {
    left: 16px;
    bottom: 16px;
    height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }
  .admin-icon { width: 28px; height: 28px; }
}


/* General Settings Tabs */
.admin-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.admin-tab {
  border: 1px solid rgba(200,155,77,.45);
  background: #fffaf0;
  color: var(--brown);
  padding: 12px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: .3s;
}

.admin-tab.active,
.admin-tab:hover {
  background: var(--brown);
  color: var(--cream);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.general-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.general-settings-grid label {
  color: var(--brown);
  font-weight: bold;
}

.general-settings-grid input,
.general-settings-grid textarea {
  margin-top: 8px;
}

.general-settings-grid .wide-field {
  grid-column: 1 / -1;
}

.bottom-actions {
  border-top: 1px solid rgba(74,44,24,.14);
  padding-top: 18px;
}

@media (max-width: 768px) {
  .general-settings-grid {
    grid-template-columns: 1fr;
  }
}


/* Footer Settings + Developer Credit */
.footer {
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-settings-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, #3b2414, #1f130b);
  color: #f7d77b;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  transition: .25s ease;
}

.footer-settings-btn:hover {
  transform: translateY(-2px) rotate(20deg);
  background: linear-gradient(135deg, #4a2c18, #2c1a0f);
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
}

.developer-credit {
  font-size: 13px;
  letter-spacing: .9px;
  color: #d4af37;
  font-weight: 700;
  direction: ltr;
  font-family: Arial, sans-serif;
}

@media (max-width: 600px) {
  .footer-inner {
    gap: 10px;
  }

  .developer-credit {
    width: 100%;
    text-align: center;
  }
}
