/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

.center {
  text-align: center;
  padding: 2rem 0;
}

/* Header */
header {
  background: #f8f8f8;
  padding: 1rem 0;
  position: relative; 
}

/* NEW: Accent Bar at the bottom of the header */
header::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px; 
    background: #d43f00; 
}

/* LOGO IMAGE SIZE CONTROL (DESKTOP/LARGE SCREEN - 80px) */
.header-logo {
    height: 80px; 
    width: auto;
    vertical-align: middle; 
    margin-right: 8px; 
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  /* LOGO TEXT SIZE CONTROL (DESKTOP/LARGE SCREEN - 2.5rem) */
  font-size: 2.5rem; 
  font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* Style for the word "BRUTAL" */
.brutal-text {
    color: #d43f00; 
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.2s; 
  padding: 0.5rem 0.8rem; 
}

.nav-links a:hover {
  color: #d43f00;
}

/* Highlight current page in nav with red background */
.nav-links a.active {
  color: white !important; 
  background: #d43f00; 
  font-weight: bold;
  border-radius: 4px; 
}

/* ------------------ STYLES FOR HERO SECTION & BUTTONS ------------------ */

/* Primary Button Styling (Red - View Our Full Menu) */
.button-primary {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: none;
    background: #d43f00; 
    color: white !important; 
    text-decoration: none; 
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
    margin-top: 1.5rem; 
}

.button-primary:hover {
    background: #a32f00;
}

/* Secondary Button Styling (Dark Green - Contact us/Order) */
.button-secondary {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: none;
    background: #1e8449; 
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
    margin-left: 10px; 
    margin-top: 1.5rem;
}

.button-secondary:hover {
    background: #196f3d;
}

/* HERO SECTION STYLING */
.hero-image-container {
    text-align: center;
    padding-top: 2rem; 
}

.main-hero-image {
    max-width: 100%; 
    height: auto;
    max-height: 500px; 
    display: block; 
    margin: 0 auto;
}

.welcome-text-overlay {
    text-align: center;
    padding: 1rem 0 4rem; 
}

.welcome-text-overlay h2 {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.welcome-text-overlay p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto;
}

/* ------------------ MENU PAGE STYLES ------------------ */

/* Menu page */
.menu-page {
  padding: 2rem 0;
}

/* Submenu (only on Menu page) */
.submenu {
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 2rem;
}

.menu-categories {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

/* Menu Category Buttons (Red/Maroon) */
.menu-categories a {
  text-decoration: none;
  color: #333; 
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border: 1px solid #d43f00; 
  border-radius: 4px;
  transition: all 0.2s;
}

.menu-categories a:hover {
  background: #9c3400; 
  color: #fff;
}

/* Active Menu Category Button is Primary Red */
.menu-categories a.active {
    background: #d43f00; 
    color: #fff !important;
    border-color: #d43f00;
}

/* Menu list items */
.menu-page .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.menu-page .menu-list li {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 6px;
  transition: transform 0.2s;
}

.menu-page .menu-list li:hover {
  transform: scale(1.03);
}

/* styles for Featured Items on Home Page */
.menu-list li {
  padding: 1rem; 
  display: flex;
  align-items: center; 
  gap: 15px; 
}

.menu-list li img {
  width: 100px; 
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.menu-list li .item-details {
  display: flex;
  flex-direction: column;
}

.menu-list li .item-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.menu-list li .item-price {
  color: #d43f00;
  font-size: 0.9rem;
}


/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  padding: 0.6rem;
  border: none;
  background: #d43f00;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #a32f00;
}

/* Footer */
footer {
  background: #f8f8f8;
  border-top: 1px solid #ddd;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 2rem;
}

/* ------------------ MOBILE RESPONSIVENESS FIX (Hide Text Logo) ------------------ */
@media (max-width: 768px) {
    /* HIDE the text part of the logo on mobile screens */
    .logo-text {
        display: none;
    }
    
    /* Reduce the size of the logo image on mobile */
    .header-logo {
        height: 45px; 
        margin-right: 0; /* Remove space next to the now-hidden text */
    }
    
    /* Make sure the nav links don't wrap and cause issues, though they should be fine now. */
    header nav {
        flex-wrap: nowrap;
    }
}