:root {
  --text-font: "WDXL Lubrifont TC", sans-serif;
  --nav-height: 75px;
  --footer-height: 50px;
  --color-bg: #222;
  --color-bar: #ba1f00;
  --color-yellow: #efff61;
  --color-orange: #ff2a00;
  --text-size-l: 4rem;
}

/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
  font-family: var(--text-font);
  background-color: var(--color-bg);
  color: #fff;
}

.navbar {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  background-color: var(--color-bar);
  position: sticky;
  top: 0;
  left: 0;
}

.logo {
  margin-left: 20px;
}

.logo img {
  width: 80px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 20px;
  margin-right: 35px;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  padding: 30px 15px;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-links a:focus {
  color: var(--color-orange);
  text-decoration: underline;
}

.footer-nav {
  /* display: none; */
  position: relative;
  width: 100%;
  background-color: #fff;
}

#home {
  position: relative;
  width: 100%;
  min-height: 80vh;
}

.home-bg {
  position: absolute;
  width: 100%;
  height: 70vh;
  background-image: url("../img/bg_1.jpg");
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-bg h1 {
  color: #fff;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: var(--text-size-l);
  letter-spacing: 7px;
}

.home-bg-first {
  color: var(--color-orange);
  font-size: 1.2em;
}

.home-bg p {
  color: var(--color-yellow);
  text-align: center;
  font-size: 1.2rem;
  max-width: 600px;
}

#menu, #about, #contact {
  width: 100%;
  min-height: 100vh;
  padding: 30px 0;
}

/* Menu */

#menu h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 3rem;
  color: var(--color-orange);
}

.menu-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.menu-item {
  width: 400px;
}

.menu-item img {
  width: 100%;
  border-radius: 50%;
}

.menu-item h3 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-orange);
  margin: 10px 0;
}

.menu-item-price {
  text-align: center;
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--color-yellow);
}

/* About */

#about {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-bar);
}

.about-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-container h2 {
  margin-bottom: 40px;
  font-size: 3rem;
  color: #000;
}

.about-container p {
  max-width: 800px;
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 20px;
}

.about-container img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  margin-bottom: 20px;
}

#contact h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 3rem;
  color: var(--color-orange);
}

#contact {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
} 

.contact-container form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.contact-container form label {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.contact-container form input,
.contact-container form textarea {
  width: 100%;
  max-width: 600px;
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-container form button {
  padding: 15px 30px;
  background-color: var(--color-orange);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
}

.contact-container form button:hover {
  background-color: #000;
}

/* Footer */
.footer-nav {
  display: none;
}

footer {
  width: 100%;
  min-height: var(--footer-height);
  background-color: var(--color-bar);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

footer p {
  margin-bottom: 8px;
  font-size: 17px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  .footer-nav {
    display: block;
    position: sticky;
    bottom: 0;
    height: var(--nav-height);
    z-index: 1000;
    background-color: var(--color-bar);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .footer-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 10px;
    margin-right: 0;
  }

  .footer-nav-links a {
    width: 100%;
    padding: 30px 20px;
    display: block;
    color: #000;
  }

  .footer-nav-links a:focus {
    color: #fff;
  }
  
  #home {
    min-height: 70vh;
  }

  .home-bg {
    height: 60vh;
  }

  .home-bg h1 {
    font-size: 2.5rem;
    margin-top: 20px;
  }

  .home-bg p {
    font-size: 1rem;
    padding: 0 20px;
  }

  #about {
    padding: 20px;
    text-align: center;
  }

  footer {
    padding: 20px;
    margin-bottom: 10px;
  }
}