:root {
    --primary: #c84b31;
    --dark: #2d4263;
    --light: #ecdbba;
    --bg: #191919;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--light);
    line-height: 1.6;
}

/* Navigation */
nav {
    background: rgba(25, 25, 25, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1200&q=80') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    margin-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: #d95338;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--light);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--light);
    color: var(--bg);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.menu-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.menu-img-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.menu-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-card:hover .menu-img-wrapper img {
    transform: scale(1.05);
}

.menu-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #a8201a;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-item {
    background: #222;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--white);
}

.menu-header h3 {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 700;
}

.menu-header .price {
    font-size: 1.1rem;
    color: #a8201a;
    font-weight: 800;
    margin-left: 10px;
}

.menu-content p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.price {
    color: var(--primary);
}

/* Catering Section */
.catering-box {
    background: var(--dark);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.catering-box p {
    margin: 1.5rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact & Hours Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    background: #222;
    padding: 2.5rem;
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.footer-main {
    background-color: #1e293b;
    color: #94a3b8;
    padding: 60px 5% 20px;
    font-size: 0.9rem;
    border-top: 4px solid #a8201a; /* Matches your deli red theme */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: #a8201a;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: #a8201a;
    font-size: 1.1rem;
    margin-top: 3px;
}

/* Newsletter Input */
.footer-newsletter-form {
    display: flex;
    margin-top: 15px;
}

.footer-newsletter-form input {
    padding: 10px;
    border: 1px solid #334155;
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
}

.footer-newsletter-form button {
    background-color: #a8201a;
    color: #ffffff;
    border: none;
    padding: 0 16px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.footer-newsletter-form button:hover {
    background-color: #801813;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.footer-socials a:hover {
    background-color: #a8201a;
}

/* Bottom Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 15px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links a {
        margin: 0 8px;
    }
}

/* Floating "Go Back" Circle Button */
.back-to-templates {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 99999;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #a8201a; /* Matches your deli red */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid #ffffff;
    animation: flashPulse 1.8s infinite;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  
  .back-to-templates i {
    font-size: 1.1rem;
    margin-bottom: 2px;
  }
  
  .back-to-templates:hover {
    background-color: #801813;
    color: #ffffff;
    transform: scale(1.1);
    animation: none; /* Stops flashing when hovered so it's easy to click */
  }
  
  /* Smooth flashing animation */
  @keyframes flashPulse {
    0% {
      box-shadow: 0 0 0 0 rgba(168, 32, 26, 0.7);
      opacity: 1;
    }
    50% {
      box-shadow: 0 0 0 12px rgba(168, 32, 26, 0);
      opacity: 0.75;
    }
    100% {
      box-shadow: 0 0 0 0 rgba(168, 32, 26, 0);
      opacity: 1;
    }
  }
  
/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; } /* Simplified for single-page demo */
    .btn-outline { margin-left: 0; margin-top: 1rem; }
}