/* Meat Cutters - Professional Frontend Styles */
:root {
  --primary-red: #b91c1c;
  --primary-red-dark: #991b1b;
  --primary-blue: #1e3a8a;
  --primary-blue-dark: #1e40af;
  --accent-gold: #f59e0b;
  --white: #ffffff;
  --off-white: #f8fafc;
  --dark: #0f172a;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --success: #16a34a;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ========== HEADER ========== */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 6px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.header-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 52px;
  width: auto;
}

.logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-red);
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.nav a:hover,
.nav a.active {
  background: var(--primary-red);
  color: var(--white);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-call {
  background: var(--primary-blue);
  color: var(--white);
}

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

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

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

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
}

.btn-outline:hover {
  background: var(--primary-red);
  color: var(--white);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-red);
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 60%, #7f1d1d 100%);
  color: var(--white);
  padding: 70px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/meat2.jpg') center/cover no-repeat;
  opacity: 0.15;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero .tagline {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.95;
}

.hero .subtag {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== SECTIONS ========== */
.section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ABOUT / SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary-red);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

/* ========== PRODUCTS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 18px;
}

.product-info h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.product-info p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.product-price {
  font-weight: 700;
  color: var(--primary-red);
  font-size: 1.1rem;
}

/* ========== ORDERING SYSTEM ========== */
.order-section {
  background: linear-gradient(180deg, #f1f5f9 0%, var(--off-white) 100%);
  padding: 70px 20px;
}

.order-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.order-header {
  background: var(--primary-blue);
  color: var(--white);
  padding: 22px 28px;
}

.order-header h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.order-body {
  padding: 28px;
}

.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--light-gray);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
}

.cart-items {
  margin: 20px 0;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-gray);
  background: #fafafa;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item .qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--light-gray);
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.cart-item button:hover {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
}

.order-total {
  text-align: right;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-red);
  margin: 16px 0;
}

.order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.success-message {
  display: none;
  background: #dcfce7;
  border: 1px solid #16a34a;
  color: #166534;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  text-align: center;
}

/* ========== LOCATION ========== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.store-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 16px;
}

.store-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.location-info {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.location-info h3 {
  color: var(--primary-blue);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.location-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.location-info .icon {
  color: var(--primary-red);
  font-size: 1.2rem;
  min-width: 24px;
}

.coords {
  background: #f1f5f9;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.95rem;
  margin: 12px 0;
  word-break: break-all;
}

.directions-btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 50px 20px 25px;
}

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

.footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.footer p, .footer a {
  font-size: 0.92rem;
  margin-bottom: 8px;
  display: block;
}

.footer a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #334155;
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-coords {
  font-family: monospace;
  background: #1e293b;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 8px;
  color: #94a3b8;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .order-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .nav.open {
    display: flex;
  }
  .header-main {
    flex-wrap: wrap;
  }
  .header-actions {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  .hero {
    padding: 50px 16px 60px;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.hidden { display: none; }
