/* ===============================
   Global Styles for Chef Services
   Multilingual Responsive Layout
   =============================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
  overflow-x: hidden;
  background-color: #001F3F; /* Blue velvet */
  -webkit-font-smoothing: antialiased;
}

/* ======= HERO (Main Page image centered with blue velvet background) ======= */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: #001F3F;
  background-image: url('Main_Page.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* keep full image, center it */
}

@media (max-width: 1024px) {
  #hero { background-size: min(95vw, 900px) auto; }
}
@media (max-width: 768px) {
  #hero { background-size: 95vw auto; }
}
@media (max-width: 480px) {
  #hero { background-size: 100vw auto; }
}

/* ======= HEADER ======= */
header {
  position: fixed; inset: 0 0 auto 0; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; z-index: 1100;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.0) 100%);
}

.brand { 
  font-weight: 700; 
  text-shadow: 0 1px 1px rgba(0,0,0,.4); 
}

.hamburger { 
  background: none; 
  border: 0; cursor: pointer; 
  width: 40px; height: 40px; 
  display: grid; place-items: center; 
}

.hamburger .bars { 
  width: 24px; height: 14px; 
  position: relative; 
}

.hamburger .bars::before, .hamburger .bars::after, .hamburger .bar {
  content: ""; position: absolute; 
  left: 0; right: 0; height: 2px; 
  background: #fff; border-radius: 1px;
}

.hamburger .bar { top: 6px; }
.hamburger .bars::before { top: 0; }
.hamburger .bars::after { bottom: 0; }

/* ===== LANGUAGE SWITCH ===== */
.lang-switch {
  display: flex; 
  align-items: center; 
  gap: 8px;
}

.lang-switch button {
  appearance: none; 
  border: 0; 
  background: rgba(0,0,0,.45); 
  color: #fff;
  font-weight: 700; 
  padding: 6px 10px; 
  border-radius: 8px; 
  cursor: pointer;
}

.lang-switch button.active { 
  background: rgba(255,255,255,.2); 
}

/* ======= SIDEBAR ======= */
nav#sidebar {
  position: fixed; 
  top: 0; left: 0; bottom: 0; 
  width: 290px;
  transform: translateX(-100%);
  background: rgba(0,0,0,0.92); 
  backdrop-filter: blur(6px);
  padding: 18px; 
  z-index: 1200; 
  transition: transform .3s ease;
  overflow-y: auto;
}
nav#sidebar.open { transform: translateX(0); }

.sidebar-header { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  margin-bottom: 8px; 
}

.close-btn { 
  background: none; 
  border: 0; 
  color: #fff; 
  font-size: 24px; 
  cursor: pointer; 
}

.menu { 
  list-style: none; 
  padding: 8px 0; 
  margin: 0; 
}

.menu a, .menu button.menu-link {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  width: 100%; 
  color: #fff; 
  background: none; 
  border: 0; 
  cursor: pointer;
  font-size: 16px; 
  padding: 10px 12px; 
  border-radius: 10px; 
  text-align: left;
  text-decoration: none;
}

.menu a:hover, 
.menu button.menu-link:hover { 
  background: rgba(255,255,255,.08); 
}

.submenu { 
  list-style: none; 
  padding-left: 20px; 
  display: none; 
}

.has-children.open > .submenu { display: block; }

.chevron { margin-left: 12px; transition: transform .2s ease; }

.has-children.open .chevron { transform: rotate(90deg); }

.backdrop {
  position: fixed; inset: 0; 
  background: rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; 
  transition: opacity .3s ease;
  z-index: 1100;
}

.backdrop.show { opacity: 1; visibility: visible; }

.notice { 
  font-size: 12px; 
  opacity: .8; 
  margin-top: 16px; 
}

/* ==== Global link color fix ==== */
a:link,
a:visited {
  color: #ffffff;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  color: #d4af37;
  text-decoration: underline;
}

/* Small screens */
@media (max-width: 600px) {
  header .brand { font-size: 16px; }
  .lang-switch button { padding: 4px 8px; font-size: 12px; }
}

/* ==============================
   ABOUT US Overlay
   ============================== */
#about-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1300;
}

#about-overlay.show {
  display: block;
  opacity: 1;
}

.about-wrapper {
  max-width: 900px;
  margin: 80px auto 40px;
  padding: 32px 24px;
  background: #001F3F;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.about-wrapper h2 {
  text-align: center;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 24px;
}

.about-wrapper p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-wrapper ul {
  margin: 0 0 16px 1.2em;
  padding: 0;
}

.about-wrapper li {
  margin-bottom: 6px;
}

.about-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.about-content { display: none; }
.about-content.active { display: block; }

.about-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.about-actions button {
  min-width: 150px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-back {
  background: #ffffff;
  color: #001F3F;
}

.about-contact {
  background: #d4af37;
  color: #000000;
}

@media (max-width: 600px) {
  .about-wrapper {
    margin: 70px 12px 30px;
    padding: 24px 16px;
  }
}
