/* styles.css */

/* ===== Reset / Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background-color: #fafafa;
  color: #222;
}
body,
h1,
h2,
h3,
p,
ul,
li,
a,
button,
input,
textarea {
  margin: 0;
  padding: 0;
  font-weight: 400;
  line-height: 1.5;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  z-index: 1000;
  backdrop-filter: saturate(180%) blur(10px);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #2c3e50;
  user-select: none;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

.nav-links li a {
  font-weight: 600;
  font-size: 1rem;
  color: #34495e;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
  color: #e67e22;
}

.nav-links li a:focus-visible {
  outline: 2px solid #e67e22;
  outline-offset: 2px;
}

/* Burger Button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 100%;
  height: 3.2px;
  background-color: #34495e;
  border-radius: 3px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  will-change: transform, opacity;
}

/* Burger Open Animation */
.burger[aria-expanded='true'] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded='true'] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: #fff;
    flex-direction: column;
    padding-top: 5rem;
    gap: 2rem;
    box-shadow: -4px 0 20px rgb(0 0 0 / 0.12);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    overscroll-behavior: contain;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    margin-left: 1.3rem;
  }
  .nav-links li a {
    font-size: 1.2rem;
    color: #2c3e50;
  }
  .burger {
    display: flex;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  max-height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  background-color: #1a1a1a;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: #121212;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.7), rgba(231, 76, 60, 0.7));
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  padding: 1rem 2rem;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.2rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.cta-btn {
  background-color: #e67e22;
  color: #fff;
  padding: 0.9rem 2.4rem;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 40px;
  box-shadow: 0 6px 18px rgb(230 126 34 / 0.7);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
}
.cta-btn:hover,
.cta-btn:focus-visible {
  background-color: #d35400;
  box-shadow: 0 8px 25px rgb(211 84 0 / 0.85);
  outline: none;
}

/* ===== MENU ===== */
.menu {
  max-width: 1200px;
  margin: 5rem auto 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.menu h2 {
  font-weight: 700;
  font-size: 2.8rem;
  color: #2c3e50;
  margin-bottom: 2.5rem;
  user-select: none;
}

.menu-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.menu-item {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.12);
  padding: 1.3rem 1.3rem 2rem 1.3rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  user-select: none;
}

.menu-item:hover,
.menu-item:focus-within {
  transform: translateY(-14px);
  box-shadow: 0 18px 50px rgb(230 126 34 / 0.3);
  outline: none;
}

.menu-item img {
  margin-bottom: 1.2rem;
  border-radius: 16px;
  object-fit: cover;
  height: 190px;
  width: 100%;
  user-select: none;
}

.menu-item h3 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: #e67e22;
}

.menu-item p {
  flex-grow: 1;
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.1rem;
  user-select: text;
}

.price {
  font-weight: 700;
  font-size: 1.2rem;
  color: #34495e;
}

/* ===== RESERVATION ===== */
.reservation {
  max-width: 700px;
  margin: 4rem auto 4rem auto;
  padding: 0 1rem;
  text-align: center;
}

.reservation h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
  color: #2c3e50;
  user-select: none;
}

.reservation p {
  margin-bottom: 2.3rem;
  font-size: 1.1rem;
  color: #555;
}

.reservation-form {
  display: grid;
  gap: 1.4rem;
}

.reservation-form input,
.reservation-form textarea {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1.8px solid #ccc;
  font-size: 1.1rem;
  transition: border-color 0.35s ease;
  resize: vertical;
  font-family: 'Poppins', sans-serif;
  user-select: text;
}

.reservation-form input:focus,
.reservation-form textarea:focus {
  border-color: #e67e22;
  outline: none;
  box-shadow: 0 0 12px rgba(230, 126, 34, 0.55);
}

.reservation-form button {
  background-color: #e67e22;
  border: none;
  padding: 1.1rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
  user-select: none;
}

.reservation-form button:hover,
.reservation-form button:focus-visible {
  background-color: #d35400;
  box-shadow: 0 6px 22px rgb(211 84 0 / 0.75);
  outline: none;
}

/* ===== ABOUT ===== */
.about {
  background-color: #f3f4f6;
  max-width: 900px;
  margin: 5rem auto 5rem auto;
  padding: 3rem 2.2rem;
  border-radius: 28px;
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.05);
  text-align: center;
  color: #2c3e50;
  user-select: text;
}

.about h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 1.4rem;
  user-select: none;
}

.about p {
  font-size: 1.2rem;
  line-height: 1.85;
  max-width: 680px;
  margin: 0 auto;
}

/* ===== CONTACT ===== */
.contact {
  max-width: 900px;
  margin: 5rem auto 3rem auto;
  padding: 1rem;
  color: #34495e;
  text-align: center;
  user-select: text;
}

.contact h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 1.1rem;
  user-select: none;
}

.contact p,
.contact a {
  font-size: 1.1rem;
  color: #34495e;
  margin-bottom: 0.7rem;
}

.contact a:hover,
.contact a:focus-visible {
  color: #e67e22;
  outline: none;
}

/* Map */
.map-container {
  margin-top: 2.3rem;
  border-radius: 28px;
  overflow: hidden;
  height: 360px;
  box-shadow: 0 7px 22px rgb(0 0 0 / 0.1);
  user-select: none;
}

.map-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #2c3e50;
  color: #ccc;
  padding: 1.8rem 1rem;
  user-select: none;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
  user-select: none;
}

.footer-nav a {
  margin: 0 0.7rem;
  color: #ccc;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #e67e22;
  outline: none;
}

/* Social Icons */
.social-icons a {
  margin-left: 1rem;
  color: #ccc;
  transition: color 0.3s ease;
  display: inline-block;
}

.social-icons a:hover,
.social-icons a:focus-visible {
  color: #e67e22;
  outline: none;
}

/* Responsive Footer */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
  }
}

/* Accessibility focus outline */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e67e22;
  outline-offset: 2px;
}

/* Scrollbar Styling for Webkit */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: #e67e22;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}
