/* GrittleNGrill Website Theme */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  --primary-color: #4B1E00;
  --accent-color: #FDBE34;
  --highlight-color: #D72626;
  --light-bg: #FFF3D1;
  --white: #FFFFFF;
  --black: #000000;

  --font-primary: 'Roboto', sans-serif;
  --font-secondary: Arial, Helvetica, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Body Styling */
body {
  font-family: var(--font-primary);
  background-color: var(--light-bg);
  color: var(--primary-color);
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-family: var(--font-primary);
}

p, li, span, a {
  font-family: var(--font-secondary);
  font-size: 1rem;
}

a {
  color: var(--highlight-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Links and Buttons */
button, .btn {
  background-color: var(--highlight-color);
  color: var(--white);
  border: none;
  padding: 0.6em 1.2em;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover, .btn:hover {
  background-color: var(--primary-color);
}

/* Navigation Bar */
nav {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1em;
}

nav a {
  color: var(--white);
  margin-right: 1em;
}

nav a:hover {
  color: var(--accent-color);
}

/* Header Section */
header {
  background-color: var(--accent-color);
  color: var(--primary-color);
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1em;
  text-align: center;
}

/* Section Styling */
section {
  padding: 2em;
  /*background-color: var(--light-bg); */
  background-color: var(--white);
  margin: 1em 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Forms */
input, select, textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-primary);
}

input:focus, textarea:focus {
  border-color: var(--highlight-color);
  outline: none;
}

/* Tables */
table {
  width: 100%;
  margin-top: 0px;
 }

th, td {
  text-align: left;
}

th {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Lists */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.5em;
}

/* Blockquotes */
blockquote {
  font-style: italic;
  border-left: 5px solid var(--highlight-color);
  padding-left: 1em;
  margin-left: 0;
  margin-right: 0;
  color: var(--black);
  background-color: var(--light-bg);
}

/* Code */
code {
  font-family: 'Courier New', Courier, monospace;
  background-color: #f4f4f4;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

pre {
  font-family: 'Courier New', Courier, monospace;
  background-color: #f4f4f4;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
}


/* Forms */
input, textarea, select {
  width: 100%;
  padding: 0.75em;
  margin: 1em 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--highlight-color);
  outline: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Media Queries for Responsiveness */
@media only screen and (max-width: 768px) {
  header {
    padding: 1em;
  }

  nav {
    text-align: center;
  }

  nav a {
    display: block;
    margin: 0.5em 0;
  }

  section {
    padding: 1.5em;
  }

  .btn {
    width: 100%;
    padding: 1em;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.bg-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.bg-accent {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.text-highlight {
  color: var(--highlight-color);
}

.rounded {
  border-radius: 10px;
}

.shadow {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hide {
  display: none;
}

.visible {
  visibility: visible;
}

/* Lists */
ul, ol {
  margin-left: 1.5em;
}

ul li, ol li {
  margin-bottom: 0.5em;
}

/* Paragraphs */
p {
  margin-bottom: 1.5em;
}

/* Horizontal Rules */
hr {
  border: 0;
  border-top: 2px solid var(--primary-color);
  margin: 2em 0;
}

/* Input / Textareas */
input[type="text"], input[type="email"], input[type="password"], textarea {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 0.8em;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
  border-color: var(--highlight-color);
  outline: none;
}

/* Select */
select {
  padding: 0.75em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

select:focus {
  border-color: var(--highlight-color);
  outline: none;
}

 /*------------------- NAVBAR for Grittle n Grill ------------------- */
    .navbar {
      background-color: #333;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .navbar .logo {
      font-size: 1.5em;
      font-weight: bold;
    }

    .nav-links {
      display: flex;
      gap: 20px;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      font-size: 1em;
      transition: color 0.3s ease;
    }

    .nav-links a:hover {
      color: #ffa500; /* Optional hover color */
    }

    /* Hamburger for mobile */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 4px 0;
    }
/* ---------------- Header ------------ */
    .menu-table{
    width: 100%;
    border-collapse: collapse;
  }
  .menu-td-1{
    width: 20%;
    text-align: center;
}
  .menu-td-2{
    width: 80%;
    text-align: center;
    vertical-align: middle;
  
}
/* ---------------- Media Querires for Grittle n Grill Page ---------------- */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 599px) {
    .menu-grid-container {
        grid-template-columns: 1fr; /* Single column */
    }
    .menu-grid-item {
        padding: 16px;
        font-size: 1rem;
    }
    .tab-buttons {
        flex-direction: column;
    }
    .tab-button {
        width: 100%;
        text-align: center;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 991px) {
    .menu-grid-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
    }
        .tab-buttons {
        flex-direction: column;
    }
    .tab-button {
        width: 100%;
        text-align: center;
    }
    
      .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #333;
        flex-direction: column;
        width: 200px;
        padding: 10px;
        border-radius: 4px;
      }

      .nav-links.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }
    }

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .menu-grid-container {
        grid-template-columns: repeat(3, 1fr); /* Two columns */
    }
     .tab-buttons {
        flex-direction: column;
    }
    .tab-button {
        width: 100%;
        text-align: center;
    }
}


/* Large devices (laptops/desktops, 1200px and up) */
@media only screen and (min-width: 1200px)  {
    .menu-grid-container {
        grid-template-columns: repeat(4, 1fr); /* Four columns */
    }
    }