:root {
    --primary: #d4af37; /* Luxe Gold */
    --primary-dark: #b38f2a;
    --dark-bg: #121212;
    --card-bg: #1a1a1a;
    --text-light: #f4f4f4;
    --text-muted: #a0a0a0;
    --border: #2a2a2a;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* 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;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    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: 1rem;
    margin-bottom: 2px;
}

.back-to-templates:hover {
    background-color: #801813;
    color: #ffffff;
    transform: scale(1.1);
    animation: none;
}

@keyframes flashPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 32, 26, 0.8);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 0 14px rgba(168, 32, 26, 0);
        opacity: 0.8;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(168, 32, 26, 0);
        opacity: 1;
    }
}

/* Navigation */
header {
    background: rgba(18, 18, 18, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark-bg);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(18, 18, 18, 0.75), rgba(18, 18, 18, 0.85)), 
                url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1200&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-light);
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Container & Sections */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

/* Pricing & Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-category {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.service-category h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.menu-item-info h4 {
    font-size: 1rem;
    font-weight: 600;
}

.menu-item-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.menu-item-price {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 280px;
    position: relative;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateY(10px);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-tag {
    align-self: flex-start;
    background: var(--primary);
    color: var(--dark-bg);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
}

.gallery-info h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.gallery-info p {
    color: var(--primary);
    font-size: 0.85rem;
    margin: 0;
}

.gallery-icon {
    margin-top: 8px;
    color: #ffffff;
    font-size: 0.9rem;
}

/* Booking CTA Box */
.booking-banner {
    background: linear-gradient(135deg, #222 0%, #151515 100%);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
}

.booking-banner h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.booking-banner p {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 50px 5% 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

.footer-info {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

/* 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;
    }
  }
  
/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
}