:root {
    --primary: #d97706; /* Durable Amber/Orange */
    --primary-dark: #b45309;
    --dark: #0f172a;    /* Deep Slate */
    --slate: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--slate);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, .btn {
    font-family: 'Montserrat', sans-serif;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 8px 5%;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-info i {
    color: var(--primary);
    margin-right: 6px;
}

/* Header Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-dark {
    background-color: var(--dark);
}

.btn-dark:hover {
    background-color: #1e293b;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: var(--white);
    padding: 100px 5% 120px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #94a3b8;
}

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

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-top: 5px;
}

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

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 35px 25px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #64748b;
}

/* Gallery Section */
.bg-light {
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Quote Section */
.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--dark);
    color: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

.quote-info {
    padding: 60px 40px;
}

.quote-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.quote-info p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-method i {
    width: 45px;
    height: 45px;
    background-color: rgba(217, 119, 6, 0.15);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.quote-form-container {
    background-color: var(--white);
    padding: 60px 40px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
footer {
    background-color: #090d16;
    color: #64748b;
    padding: 40px 5% 20px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}


/* 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 Adjustments */
@media (max-width: 900px) {
    .quote-wrapper {
        grid-template-columns: 1fr;
    }
    .quote-info, .quote-form-container {
        padding: 40px 25px;
    }
    .top-bar {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none; /* Can be enhanced with mobile toggle */
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}