/* =====================================================
   BASIC RESET
   WHEN THIS IS WORKING:
   All pages should have cleaner spacing and sizing.

   W3Schools search:
   - CSS box-sizing
   - CSS margin
   - CSS padding
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================================================
   CHANGE NEEDED:
   Students should change these colors to match their brand.

   WHEN THIS IS WORKING:
   The whole site should have a consistent restaurant theme.

   W3Schools search:
   - CSS colors
   - CSS hex colors
===================================================== */
:root {
  --dark: #1f1f1f;
  --light: #fff9f2;
  --accent: #b85c38;
  --accent-hover: #94492d;
  --text: #333333;
  --white: #ffffff;
  --soft: #f0e7de;
}

/* =====================================================
   BODY STYLES
   WHEN THIS IS WORKING:
   Text should be easy to read and the page should have
   a soft background color.
===================================================== */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
}

/* =====================================================
   CONTAINER
   WHEN THIS IS WORKING:
   Content should not stretch too wide across the screen.
===================================================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* =====================================================
   HEADER + NAVIGATION
   WHEN THIS IS WORKING:
   A dark navigation bar should appear at the top.
   The logo should be on one side and the links on the other.

   W3Schools search:
   - CSS flexbox
   - CSS justify-content
   - CSS align-items
===================================================== */
.site-header {
  background-color: var(--dark);
  color: var(--white);
  
}

.navbar {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
}

/* CHANGE NEEDED:
   Students can change hover color if they want.
   WHEN THIS IS WORKING:
   Link color should change when the mouse moves over it.

   W3Schools search:
   - CSS hover
*/
.nav-links a:hover {
  color: var(--accent);
}

/* =====================================================
   HERO SECTION
   CHANGE NEEDED:
   Replace the hero image file path below with the correct image name.
   Make sure the image is saved inside the images folder.

   WHEN THIS IS WORKING:
   The home page should show a large background image with text
   centered on top of it.

   W3Schools search:
   - CSS background image
   - CSS background size
   - CSS background position
===================================================== */
.hero {
  min-height: 80vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("image.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
   
}

.hero-text {
  max-width: 700px;
  color: var(--white);
}

.tagline {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-text p {
  margin-bottom: 20px;
}

/* =====================================================
   BUTTON
   WHEN THIS IS WORKING:
   Buttons should have color, padding, and rounded corners.
===================================================== */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: bold;
}

.btn:hover {
  background-color: var(--accent-hover);
}

/* =====================================================
   PAGE BANNER
   WHEN THIS IS WORKING:
   About and Reservations pages should have a simple heading section.
===================================================== */
.page-banner {
  background-color: var(--soft);
  text-align: center;
  padding: 50px 20px;
}

.page-banner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* =====================================================
   CONTENT SECTIONS
   WHEN THIS IS WORKING:
   Each page section should have enough spacing above and below it.
===================================================== */
.content-section {
  padding: 60px 0;
}

.alt-section {
  background-color: var(--soft);
}

.section-intro {
  margin-top: 10px;
  margin-bottom: 30px;
}

/* =====================================================
   FLEX LAYOUTS
   WHEN THIS IS WORKING:
   Items should line up next to each other on larger screens.

   W3Schools search:
   - CSS flexbox
   - CSS gap
===================================================== */
.card-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.two-column {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.two-column > div {
  flex: 1 1 300px;
}

/* =====================================================
   INFO CARDS
   WHEN THIS IS WORKING:
   The three boxes on the home page should have a white background,
   padding, and a slight shadow.

   W3Schools search:
   - CSS box shadow
   - CSS border radius
===================================================== */
.info-card,
.team-card {
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.info-card h3,
.team-card h3 {
  margin-bottom: 10px;
}

.role {
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 10px;
}

/* =====================================================
   ABOUT PAGE IMAGES
   CHANGE NEEDED:
   Make sure image file names match the files in the images folder.

   WHEN THIS IS WORKING:
   Images should fit nicely and not look stretched.
===================================================== */
.about-image {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* =====================================================
   FORM STYLES
   WHEN THIS IS WORKING:
   The reservation form should be centered and easy to read.

   W3Schools search:
   - CSS forms
   - CSS input
===================================================== */
.form-container {
  max-width: 800px;
}

.reservation-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

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

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1 1 250px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* CHANGE NEEDED:
   Students can research how :focus works.
   WHEN THIS IS WORKING:
   Inputs should show a colored outline when clicked.

   W3Schools search:
   - CSS focus
*/
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

/* =====================================================
   FOOTER
   WHEN THIS IS WORKING:
   A dark footer should appear at the bottom of each page.
===================================================== */
.site-footer {
  background-color: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* =====================================================
   RESPONSIVE DESIGN
   WHEN THIS IS WORKING:
   On smaller screens, the nav links and columns should stack.

   W3Schools search:
   - CSS media queries
===================================================== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .hero-text h2 {
    font-size: 2.2rem;
  }

  .two-column {
    flex-direction: column;
  }
}

/* =====================================================
   OPTIONAL COOL SNIPPETS
   These are NOT required.
   Students can plug them in if they finish early.
===================================================== */

/* OPTIONAL 1: Make cards lift slightly on hover
   W3Schools search:
   - CSS transform
   - CSS transition

.info-card,
.team-card {
  transition: transform 0.3s ease;
}

.info-card:hover,
.team-card:hover {
  transform: translateY(-8px);
}
*/

/* OPTIONAL 2: Make button grow slightly on hover

.btn {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}
*/

/* OPTIONAL 3: Add underline animation to nav links

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
*/