@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

/* Beige color scheme */
:root {
  --primary-beige: #F5F5DC;
  --secondary-beige: #D2B48C;
  --dark-beige: #B8860B;
  --light-beige: #FFF8DC;
  --text-color: #3D2914;
  --white: #FFFFFF;
}

/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background: url('images/savanna.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

/* Header styles */
header {
  background-color: #F1D582;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  vertical-align: middle;
}

.antelope-icon {
  font-size: 2.5rem;
}

.logo a {
  font-size: 2rem;
  font-weight: bold;
  color: var(--dark-beige);
}

.logo a:hover {
  color: var(--text-color);
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  font-family: 'Dancing Script', cursive;
  font-weight: bold;
  font-size: 1.0rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: var(--secondary-beige);
}

.phone {
  font-family: 'Garamond', serif;
  font-weight: bold;
  color: var(--text-color);
}

.reservation {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reservation span {
  font-size: 0.8rem;
  color: var(--dark-beige);
  font-weight: bold;
  margin-bottom: 0.2rem;
}

/* Main content */
main {
  flex: 1;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

/* Homepage styles */
.hero {
  text-align: center;
  padding: 4rem 0;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 2px 2px 4px #000000;
}

.new-banner {
  background-color: rgba(255, 248, 220, 0.9);
  border: 8px solid #ff0000;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.banner {
  background-color: rgba(255, 248, 220, 0.9);
  color: var(--text-color);
  padding: 3rem;
  border-radius: 10px;
  border: 8px solid #ff0000;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 2rem;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

/* Menu page styles */
.menu-navigation {
  text-align: center;
  padding: 1rem 0;
  background-color: rgba(255, 248, 220, 0.9);
  margin-bottom: 1rem;
  border-radius: 10px;
  margin-top: 60px;
  /* a few pixels below the fixed header */
  position: sticky;
  top: 90px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-nav a {
  display: inline-block;
  margin: 0.1rem 0.5rem;
  padding: 0.2rem 0.5rem;
  background-color: var(--dark-beige);
  color: var(--white);
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.menu-nav a:hover {
  background-color: var(--secondary-beige);
}

.menu-section {
  margin-bottom: 2rem;
  padding: 1.0rem 1.0rem;
  background-color: rgba(255, 248, 220, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-section h3 {
  font-family: 'Dancing Script', cursive;
  color: var(--dark-beige);
  margin-bottom: 0.1rem;
  font-size: 1.5rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--secondary-beige);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item .price {
  font-weight: bold;
  color: var(--dark-beige);
  text-align: right;
  min-width: 5.5rem;
}

.menu-description {
  font-size: 0.64rem;
  color: var(--text-color);
  display: block;
  font-style: italic;
  margin-top: 0.2rem;
}

/* About page styles */
.about-content {
  text-align: center;
  padding: 3rem 5rem;
  background-color: rgba(255, 248, 220, 0.9);
  border-radius: 10px;
  margin-top: 60px;
  /* a few pixels below the fixed header */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-content img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.2rem;
  color: var(--text-color);
}

.about-content p a {
  color: blue;
  text-decoration: underline;
  font-family: 'Garamond', serif;
  font-weight: bold;
}

/* Contacts page styles */
.contacts-content {
  text-align: center;
  padding: 3rem 5rem;
  background-color: rgba(255, 248, 220, 0.9);
  border-radius: 10px;
  margin-top: 60px;
  /* a few pixels below the fixed header */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contacts-content h2 {
  font-family: 'Dancing Script', cursive;
  color: var(--dark-beige);
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.contacts-content p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contacts-content a {
  font-family: 'Garamond', serif;
  font-weight: bold;
}

.contacts-content img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 2rem;
}

/* Footer styles */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: white;
  text-shadow: 1px 1px 2px black;
}

footer a {
  color: white;
  text-decoration: underline;
}

footer a:hover {
  color: var(--primary-beige);
}

/* Responsive design */
@media (max-width: 800px) {
  header {
    min-height: auto;
  }

  .header-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0.2rem;
  }

  .logo {
    flex-direction: row;
    text-align: center;
    justify-content: center;
    order: 0;
  }

  .antelope-icon {
    font-size: 1.5rem;
  }

  .logo a {
    font-size: 1.2rem;
  }

  nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    display: flex;
    gap: 0.2rem;
  }

  nav a {
    font-size: 1.0rem;
    padding: 0.25rem 1rem;
  }

  .phone {
    order: 1;
    font-size: 0.8rem;
  }

  .reservation span {
    font-size: 0.6rem;
  }

  .container {
    padding: 5rem 1rem 2rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .banner {
    font-size: 1.5rem;
    padding: 1rem 0.3rem;
    width: 95%;
  }

  .new-banner {
    font-size: 1.5rem;
    padding: 1rem 0.3rem;
    width: 95%;
  }

  .menu-nav a {
    margin: 0.1rem 0.2rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }

  .menu-navigation {
    top: 9rem;
  }

  .about-content {
    padding: 2rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .contacts-content p {
    font-size: 1rem;
  }

  .about-content img {
    max-width: 95%;
  }

  .contacts-content {
    padding: 2rem;
  }
}