/* Reset and base styles */
:root {
  --primary-color: #8B4513;
  --secondary-color: #FDBA74;
  --accent-color: #3B82F6;
  --text-color: #333;
  --light-text: #FFF;
  --background: #FFF9F3;
  --header-font: 'Playfair Display', serif;
  --body-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--background);
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 10px;
}

.logo h1 {
  font-family: var(--header-font);
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--light-text);
  font-weight: 600;
  padding: 10px 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../images/tavern-bg.svg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: var(--light-text);
  text-align: center;
  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hero h2 {
  font-family: var(--header-font);
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* About Section */
.about {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-family: var(--header-font);
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary-color);
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 10px auto;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.about-text {
  padding: 20px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Menu Section */
.menu {
  padding: 80px 0;
  background-color: #FFF3E0;
}

.menu-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.category-btn {
  padding: 8px 16px;
  margin: 0 10px 10px 0;
  background: none;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn.active, .category-btn:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.menu-item {
  background-color: var(--light-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-10px);
}

.menu-item-image {
  height: 200px;
  overflow: hidden;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-content {
  padding: 20px;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.menu-item-title {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.menu-item-price {
  font-weight: 700;
  color: var(--accent-color);
}

.menu-item-description {
  color: #666;
  margin-bottom: 15px;
}

/* Games Section */
.games {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--light-text);
}

.games .section-title {
  color: var(--light-text);
}

.games-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px 20px;
  transition: all 0.3s ease;
}

.game-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.game-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.game-card p {
  margin-bottom: 20px;
}

.game-card a {
  color: var(--secondary-color);
  font-weight: 600;
}

.game-card a:hover {
  color: var(--light-text);
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info {
  padding: 20px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-details i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--primary-color);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: #333;
  color: var(--light-text);
  padding: 40px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  margin-right: 10px;
}

.footer-logo h2 {
  font-family: var(--header-font);
  font-size: 1.5rem;
}

.footer-links h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-top: 10px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #bbb;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-text);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: var(--primary-color);
    padding: 80px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: 20px;
  }
  
  .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .header-container {
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .about-content, .contact-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media screen and (max-width: 576px) {
  .menu-categories {
    flex-direction: column;
    align-items: center;
  }
  
  .category-btn {
    width: 80%;
    margin-bottom: 10px;
  }
}
