/* inspired by https://wolfgangssteakhouse.net/ */

body {
  font-family: Arial, sans-serif;
  background-color: #d4af37;
  color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background-color: #111111;
  border-bottom: 1px solid #d4af37;
  text-align: center;
  padding: 10px 0;
}

header,
.hero-section {
  margin-top: 65px;
}

.about-header,
.menu-header,
.contact-header,
.gallery-header {
  padding: 60px 0;
  text-align: center;
  background-color: #0a0a0a;
  border-bottom: 1px solid #d4af37;
}

header h1 {
  color: #d4af37;
  font-family: "Georgia", serif;
  font-size: 24px;
}

header p {
  color: #888888;
  font-size: 12px;
}

nav {
  position: fixed; /* Sticks nav to the top */
  top: 0; /* Keeps it at the top */
  width: 100%;
  z-index: 1000; /* Places it infront of everything else */

  background-color: #000000;
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #333;
  cursor: default; /* Fixes small bug between the nav items */
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 20px;
  font-size: 17px;
  font-family: "Georgia", serif;
  letter-spacing: 2px;
}

nav a:hover {
  color: #d4af37;
  transition: color 0.3s ease;
}

/* Logo Tweak */
nav a:first-child {
  position: absolute;
  left: 0%; /* Keeps the logo on the left side */
  top: 13%; /* Perfectly centered vertically */
}

nav a img {
  width: 2.3rem;
}

nav a:hover img {
  filter: brightness(1.2);
}

/* Hero Container */
.hero {
  position: relative;
  height: 80vh;
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.65); /* Black with 65% transparency */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text Styling */
.hero-content {
  color: #d4af37;
  max-width: 600px;
}

.hero-content h1 {
  font-family: "Georgia", serif;
  font-size: 48px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  font-style: italic;
  color: #cccccc;
}

/* Hero Button */
.cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #d4af37;
  color: #000;
  transform: scale(1.1); /* Makes the button grow slightly */
}

.story-section {
  padding: 80px 10%;
  background-color: #000000;
  color: #ffffff;
}

.story-container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-direction: row;
  max-width: 1600px;
  justify-self: center;
}

.story-image {
  flex: 1; /* Tells the image box to take up 50% of the space */
  max-width: 800px; /* Prevents it from getting too big on huge screens */
}

.story-image img {
  width: 100%; /* Makes the image fill its container */
  height: auto;
  border: 1px solid #d4af37;
}

.story-content {
  flex: 1; /* Tells the text box to take up the other 50% of the space */
}

.gold-subtitle {
  color: #d4af37;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.story-content h3 {
  font-family: "Georgia", serif;
  font-size: 36px;
  margin-bottom: 20px;
}

.story-content p {
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 20px;
}

/* Chefs Section */
.chefs-section {
  padding: 50px 10%;
  background-color: #0a0a0a;
  text-align: center;
  color: #ffffff;
  border-top: 1px solid #1a1a1a;
  font-family: "Georgia", serif;
}

.chefs-section::before {
  content: ""; /* Necessary for the line to appear */
  display: block;
  width: 80px; /* Length of the divider */
  height: 2px; /* Thickness */
  background-color: #d4af37;
  margin: 0 auto 50px auto; /* Centers it and pushes the text down */
}

.chefs-container {
  display: flex;
  justify-content: center; /* Centers the group of chefs horizontally */
  gap: 80px; /* Creates the space between the chefs */
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 40px;
}

.chef-card {
  flex: 1; /* Tells each chef to take up an equal 'slice' of the row */
  max-width: 350px; /* Prevents them from getting too wide on huge screens */
  display: flex; /* Keep this to center the text inside the card */
  flex-direction: column;
  align-items: center;
  border: #d4af37 solid 1px;
  padding: 20px;
  border-radius: 1%;
}

.chef-image {
  width: 200px;
  height: 200px;
  margin-top: 40px;
  margin-bottom: 20px;
  border: 2px solid #d4af37;
  border-radius: 50%; /* changes the square box into a circle */
  overflow: hidden; /* Hides the overflow of the image */
}

.chef-image img {
  width: 100%;
  height: 100%;
}

.chef-card h4 {
  font-family: "Georgia", serif;
  font-size: 24px;
  margin-bottom: 5px;
}

.chef-title {
  color: #d4af37;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.chef-bio {
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.6;
  max-width: 320px;
  font: 0.875em sans-serif;
}

/* Chefs Starting state before scrolling */
.reveal {
  opacity: 0; /* Makes it invisible */
  transform: translateY(200px); /* Pushes it down */
  transition: all 1s ease; /* Sets the speed of the fade-in */
}

/* Chefs revealed after scrolling enough */
.reveal.active {
  opacity: 1; /* Makes it visible */
  transform: translateY(0); /* Moves it back to its original position */
}

/* Menu CTA Section */
.menu-cta {
  padding: 60px 10%;
  background-color: #111111;
  text-align: center;
  border-top: 1px solid #d4af37;
}

.menu-cta h3 {
  font-family: "Georgia", serif;
  font-size: 28px;
  color: #d4af37;
  margin-bottom: 10px;
}

.menu-cta p {
  color: #aaaaaa;
  margin-bottom: 30px;
}

/* Menu CTA Button */
.gold-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #d4af37;
  color: #000000;
  text-decoration: none;
  font-family: "Georgia", serif;
  font-weight: bold;
  letter-spacing: 2px;
  transition: transform 0.3s ease;
  cursor: pointer;
  border: none; /* Fixes clipping in contact button */
}

.gold-button:hover {
  transform: scale(1.1); /* Makes the button grow slightly */
}

/* Menu Page */
.menu-page {
  background-color: #000000;
  color: #ffffff;
}

.menu-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.category-title {
  font-family: "Georgia", serif;
  color: #d4af37;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* CSS Grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* This creates two equal columns */
  gap: 40px 60px;
}

.menu-category:first-child {
  margin-top: 10px;
}

.menu-category {
  margin-top: 60px;
}

.menu-item {
  display: flex;
  flex-direction: column;
}

.item-header {
  display: flex;
  justify-content: space-between; /* Pushes name to left, price to right */
  align-items: baseline;
  border-bottom: 1px dotted #444;
  margin-bottom: 8px;
}

.item-name {
  font-family: "Georgia", serif;
  font-size: 18px;
  font-weight: bold;
}

.item-price,
.item-currency {
  color: #d4af37;
  font-weight: bold;
}

.item-currency {
  font-size: 10px;
}

.item-description {
  font-size: 14px;
  color: #888888;
  line-height: 1.4;
}

/* About Page */
.about-page {
  background-color: #000000;
  color: #ffffff;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Split Layout */
.about-split {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
}

.about-split:last-child {
  margin-bottom: 0px; /* Removes the bottom margin from the last split section */
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-family: "Georgia", serif;
  font-size: 32px;
  color: #d4af37;
  margin-bottom: 20px;
}

.about-text p {
  line-height: 1.8;
  color: #cccccc;
  font-size: 16px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 1px solid #d4af37;
}

/* Gallery Page */

.gallery-page {
  background-color: black;
  color: #ffffff;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: black;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 equal columns */
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid #333;
  height: 300px;
  border: #d4af37 solid 1px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1); /* Zoom effect on hover */
}

/* Contact Page */
.contact-page {
  background-color: #000000;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.contact-wrapper {
  display: flex; /* Aligns form and info side-by-side */
  gap: 100px;
  align-items: flex-start;
}

/* Form Styling */
.contact-form-section {
  flex: 2; /* Gives the form more space than the info info-block */
}

.contact-form-section h3 {
  font-family: "Georgia", serif;
  font-size: 28px;
  margin-top: 10px;
  margin-bottom: 30px;
  color: #d4af37;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #aaaaaa;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: #111111;
  border: 1px solid #333333;
  color: #ffffff;
  font-family: inherit;
  transition: 0.3s ease;
}

.form-group textarea{
   min-height: 50px;
   resize: vertical; /* Allows the user to resize the textarea vertically only */
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d4af37; /* Highlights gold when typing */
  outline: none;
}

/* Info Sidebar Styling */
.contact-info {
  flex: 1;
}

.info-block {
  margin-bottom: 70px;
}

.info-block h4 {
  font-family: "Georgia", serif;
  color: #d4af37;
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 0.8;
}

.info-block p {
  color: #cccccc;
  line-height: 1.6;
}
