/* Custom font import */
@font-face {
  font-family: 'MyCustomFont';
  src: url('myfont.woff2') format('woff2'),
       url('myfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/*---------------------------
  Base colors and variables
----------------------------*/
:root {
  --primary: #e53935;        /* Red */
  --primary-dark: #b71c1c;   /* Dark Red */
  --accent: #222;
  --accent-light: #333;
  --background: #f8f8f8;
  --card-bg: transparent;    /* Make cards transparent */
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-hover: 0 6px 20px rgba(0,0,0,0.15);
  --danger: #c00;
  --success: #2ecc40;
}

/*---------------------------
  Global styles
----------------------------*/
body {
  font-family: 'MyCustomFont', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  /* background: url('your-image.jpg') no-repeat center center fixed; */
  /* background-size: cover; */
  background: #fafafa; /* or your preferred solid color */
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 100vw;
  overflow-x: hidden;
  word-break: break-word;
}

/*---------------------------
  Header styles
----------------------------*/
header {
  background: var(--accent);
  color: #fff;
  padding: 1.5rem 0 1rem 0;
  text-align: center;
  letter-spacing: 2px;
  box-shadow: var(--shadow);
}

/*---------------------------
  Navigation bar styles
----------------------------*/
nav {
  background: var(--accent-light);
  display: flex;
  justify-content: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  padding: 0.7em 0.5em;
  font-size: 1em;
  box-sizing: border-box;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 5px 5px 0 0;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  padding: 0.5em 1em;
  border-radius: 6px;
  font-size: 1.1em;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

nav a:hover, nav a:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-3px) scale(1.05);
}

/*---------------------------
  Hero section styles
----------------------------*/
.hero {
  background: url('https://images.unsplash.com/photo-1550547660-d9450f859349?auto=format&fit=crop&w=1500&q=80') center/cover;
  color: #fff;
  padding: 4rem 2rem 3rem 2rem;
  text-align: center;
  animation: fadeIn 1.2s ease;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(1.5rem, 6vw, 3rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px #0008;
  word-break: break-word;
}

.hero a {
  background: var(--primary);
  color: var(--accent);
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1.5rem;
  display: inline-block;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hero a:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: scale(1.05);
}

/*---------------------------
  Menu section styles
----------------------------*/
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2vw;
  box-sizing: border-box;
}

.menu-category {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 1.2rem 1rem;
  width: 90vw;
  max-width: 400px;
  min-width: 220px;
  margin-left: auto;
  margin-right: auto;
  transition: box-shadow 0.2s, transform 0.2s;
  backdrop-filter: blur(2px);
  box-sizing: border-box;
}

.menu-category:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-4px) scale(1.03);
}

.menu-category h2 {
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  padding-bottom: 0.2em;
  background: none;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Menu item card */
.menu-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  width: 100%;
  padding: 1rem 0.5rem;
  margin-bottom: 0.7rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  will-change: transform, box-shadow;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.menu-item:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 1;
}

.menu-item h3 {
  margin: 0.5rem 0 0.2rem 0;
  color: var(--accent-light);
  font-size: 1.1rem;
  background: none;
  display: inline-block;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.menu-item strong {
  color: var(--primary-dark);
  font-weight: bold;
  font-size: 1.05rem;
}

.menu-item em {
  color: var(--success);
  font-style: normal;
  font-weight: 500;
}

/*---------------------------
  Contact section styles
----------------------------*/
.contact {
  background: transparent; /* Remove white background */
  padding: 2rem;
  max-width: 400px;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
  animation: fadeInUp 1.2s 0.5s both;
  max-width: 98vw;
  padding: 1.2rem 1rem;
}

.contact input, .contact textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border 0.2s;
}

.contact input:focus, .contact textarea:focus {
  border: 1.5px solid var(--primary-dark);
  outline: none;
}

.contact button {
  background: var(--primary);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  color: var(--accent);
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}

.contact button:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: scale(1.05);
}

/*---------------------------
  Info section styles
----------------------------*/
.info {
  background: transparent; /* Remove white background */
  max-width: 500px;
  margin: 2rem auto 1rem auto;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  animation: fadeInUp 1.2s 0.8s both;
  max-width: 98vw;
  padding: 1.2rem 1rem;
}

.info h2, .info h3 {
  color: var(--primary-dark);
  margin-bottom: 0.2em;
}

.info p {
  margin: 0.2em 0 1em 0;
  color: var(--accent-light);
  font-size: 1.05em;
}

.info span {
  color: var(--primary-dark);
}

/*---------------------------
  Footer styles
----------------------------*/
footer {
  background: transparent;
  text-align: center;
  padding: 1rem 0;
  color: #000;
  margin-top: 2rem;
  letter-spacing: 1px;
  font-size: 1em;
  box-shadow: var(--shadow);
  padding: 1rem 0.5rem;
  word-break: break-word;
  box-sizing: border-box;
}

/*---------------------------
  Animations
----------------------------*/
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 1;}
}

/* Staggered animation for menu categories */
.menu-category:nth-child(1) { animation-delay: 0.2s;}
.menu-category:nth-child(2) { animation-delay: 0.4s;}
.menu-category:nth-child(3) { animation-delay: 0.6s;}
.menu-category:nth-child(4) { animation-delay: 0.8s;}
.menu-category:nth-child(5) { animation-delay: 1.0s;}
.menu-category:nth-child(6) { animation-delay: 1.2s;}
.menu-category:nth-child(7) { animation-delay: 1.4s;}
.menu-category:nth-child(8) { animation-delay: 1.6s;}
.menu-category:nth-child(9) { animation-delay: 1.8s;}
.menu-category:nth-child(10) { animation-delay: 2.0s;}
.menu-category:nth-child(11) { animation-delay: 2.2s;}
.menu-category:nth-child(12) { animation-delay: 2.4s;}
.menu-category:nth-child(13) { animation-delay: 2.6s;}
.menu-category:nth-child(14) { animation-delay: 2.8s;}

/*---------------------------
  Order Online Section styles
----------------------------*/
#order-online {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 2rem auto;
  max-width: 600px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

#order-online.in-view {
  opacity: 1;
  transform: translateY(0);
}

.order-btn {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, transform 0.2s;
}

.order-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Uber Eats Button Styles */
.order-btn.uber-eats {
  background: #05a357;
  color: #fff;
  padding: 1.2rem 2.7rem;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  margin-top: 0.5rem;
  border: 2px solid #222;
  display: flex;
  align-items: center;
  gap: 0.7em;
  transition: background 0.2s, transform 0.2s;
}

.order-btn.uber-eats:hover,
.order-btn.uber-eats:focus {
  background: #059e4b;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

/* Uber Eats SVG icon in button */
.order-btn.uber-eats svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* DoorDash Button Styles */
.order-btn.doordash {
  background: #ff3008;
  color: #fff;
  padding: 1.2rem 2.7rem;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  margin-top: 0.5rem;
  border: 2px solid #b71c1c;
  display: flex;
  align-items: center;
  gap: 0.7em;
  transition: background 0.2s, transform 0.2s;
}

.order-btn.doordash:hover,
.order-btn.doordash:focus {
  background: #d72600;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

/* DoorDash SVG icon in button */
.order-btn.doordash svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* SkipTheDishes Button Styles */
.order-btn.skip {
  background: #ff6600;
  color: #fff;
  padding: 1.2rem 2.7rem;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  margin-top: 0.5rem;
  border: 2px solid #b71c1c;
  display: flex;
  align-items: center;
  gap: 0.7em;
  transition: background 0.2s, transform 0.2s;
}

.order-btn.skip:hover,
.order-btn.skip:focus {
  background: #e65c00;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

/* SkipTheDishes SVG icon in button */
.order-btn.skip svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/*---------------------------
  Party Order Section Styles
----------------------------*/
.party-order {
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin: 2rem auto 1rem auto;
  max-width: 600px;
  width: 90vw;
  text-align: center;
  transition: box-shadow 0.2s;
}
.party-order h2 {
  margin-top: 0;
  color: #b71c1c;
  font-size: 2rem;
  letter-spacing: 1px;
}
.party-order p {
  font-size: 1.1em;
  margin-bottom: 1.5rem;
}
.party-order a {
  display: inline-block;
  padding: 0.75em 2em;
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.party-order a:hover,
.party-order a:focus {
  background: #b71c1c;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
@media (max-width: 600px) {
  .party-order {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
  .party-order h2 {
    font-size: 1.3rem;
  }
  .party-order p {
    font-size: 1em;
  }
  .party-order a {
    font-size: 1em;
    padding: 0.6em 1.2em;
  }
}

/*---------------------------
  Responsive styles
----------------------------*/
@media (max-width: 1200px) {
  .menu-category {
    max-width: 350px;
  }
  header h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }
}

@media (max-width: 900px) {
  .menu {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2vw;
  }
  .menu-category {
    max-width: 95vw;
    padding: 1em 0.5em;
  }
  .info, .contact, #order-online {
    max-width: 95vw;
    padding: 1em 0.5em;
  }
  header h1 {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  .menu {
    padding: 1em 0.1em;
    gap: 1rem;
  }
  .menu-category {
    min-width: 0;
    max-width: 100vw;
    width: 98vw;
    padding: 0.7em 0.2em;
  }
  .info, .contact, #order-online {
    padding: 0.7em 0.2em;
    max-width: 100vw;
  }
  nav {
    gap: 0.5em;
    font-size: 0.95em;
    flex-direction: row;
    flex-wrap: wrap;
  }
  header h1 {
    font-size: clamp(1rem, 6vw, 1.3em);
  }
  footer {
    font-size: 0.9em;
    padding: 0.7em 0;
  }
  .order-btn svg {
    width: 1.7em !important;
    height: 1.7em !important;
  }
}

@media (max-width: 400px) {
  .menu-category {
    max-width: 98vw;
    padding: 0.5em 0.1em;
  }
  .info, .contact, #order-online {
    padding: 0.5em 0.1em;
    max-width: 98vw;
  }
  nav a {
    font-size: 1em;
    padding: 0.4em 0.5em;
  }
}

/* Ensure SVGs and icons scale smoothly */
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Prevent horizontal scroll on all devices */
body, html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* --- Responsive Refinements for All Devices --- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}

header h1, .hero h1 {
  font-size: clamp(1.5rem, 6vw, 3rem);
  word-break: break-word;
}

.menu {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2vw;
  box-sizing: border-box;
}

.menu-category {
  width: 90vw;
  max-width: 400px;
  min-width: 220px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.menu-item {
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.info, .contact, #order-online {
  max-width: 95vw;
  padding: 1.2rem 1rem;
  margin: 2rem auto 1rem auto;
  box-sizing: border-box;
  word-break: break-word;
}

nav {
  gap: 1vw;
  padding: 0.7em 0.5em;
  flex-wrap: wrap;
  font-size: 1em;
  box-sizing: border-box;
}

nav a {
  font-size: 1.1em;
  padding: 0.5em 1em;
  border-radius: 6px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

footer {
  font-size: 1em;
  padding: 1rem 0.5rem;
  word-break: break-word;
  box-sizing: border-box;
}

.order-btn, .order-btn.uber-eats, .order-btn.doordash, .order-btn.skip, .order-btn.call {
  min-width: 44px;
  min-height: 44px;
  font-size: clamp(1em, 2vw, 1.3em);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/*---------------------------
  Scroll-in animation for sections
----------------------------*/
.menu-category,
.order-online,
.contact,
.info {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.menu-category.in-view,
.order-online.in-view,
.contact.in-view,
.info.in-view {
  opacity: 1;
  transform: translateY(0);
}

/*---------------------------
  Smooth scroll for anchor links
----------------------------*/
html {
  scroll-behavior: smooth;
}

/* --- Order Online SVG Row --- */
.order-online div {
  margin-top: 0.5rem;
  display: flex;
  gap: 2em;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.order-online a.order-btn {
  /* Remove padding, font, etc. for SVG-only buttons */
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
  transition: none;
}

.order-online a.order-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.10));
  transition: transform 0.2s;
}

.order-online a.order-btn:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(229,57,53,0.15));
}

/* --- Navbar active link highlight (optional) --- */
nav a {
  padding: 0.5em 1em;
  border-radius: 6px;
  transition: background 0.2s;
}

nav a:hover, nav a:focus {
  background: #ffeaea;
  color: #e53935;
  text-decoration: none;
}

/* Laptop-only background image */
@media (min-width: 1025px) {
  body {
    background-image: url('London_Burgers.jpg'); /* Replace with actual image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keeps image static while scrolling */
  }
}

/* Phone background override */
@media (max-width: 1024px) {
  body {
    background: white;
  }
}
