:root {
  --magenta: #b80d6b;
  --magenta-hover: #960a56;
  --cyan: #00a8e8;
  --cyan-bright: #00c2ff;
  --blue-dark: #07193b;
  --blue-deep: #050e26;
  --text-dark: #1e2432;
  --text-muted: #5a6474;
  --bg-light: #f7f9fb;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-dark); background: #ffffff; line-height: 1.6; overflow-x: hidden; }
.container { width: 92%; max-width: 1220px; margin: 0 auto; position: relative; }

/* -----------------------------------------------------------
   Header & Clean Navigation matching reference
   ----------------------------------------------------------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; min-height: 80px; }

.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo { height: 60px; width: auto; max-width: 300px; display: block; object-fit: contain; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--blue-dark); padding: 5px; }

.main-nav ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
.main-nav a { text-decoration: none; color: var(--blue-dark); font-weight: 600; font-size: 0.95rem; position: relative; padding: 8px 0; transition: color 0.2s; }
.main-nav a:hover { color: var(--magenta); }

/* Pink active underline on Home */
.main-nav a.active { color: var(--blue-dark); font-weight: 700; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--magenta);
  border-radius: 2px;
}
.lang-switch a { font-size: 0.85rem; padding: 0; }

/* -----------------------------------------------------------
   Hero Split Banner (Curved Diagonal Wave + Oven Photo)
   ----------------------------------------------------------- */
.hero-split {
  position: relative;
  min-height: 580px;
  background: #000;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background conveyor oven photography on right half */
.hero-bg-oven {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: url('/assets/images/biscuit-oven.png') center right/cover no-repeat;
  z-index: 1;
}

/* Dark semi-transparent wash over oven picture for contrast */
.hero-bg-oven::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,14,38,0.7) 0%, rgba(5,14,38,0.1) 100%);
}

/* Curved gradient shape overlay on left side */
.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #101c44 40%, #201338 75%, var(--magenta) 120%);
  clip-path: ellipse(90% 115% at 0% 45%);
  z-index: 2;
  box-shadow: 10px 0 35px rgba(0, 168, 232, 0.25);
}

/* Secondary cyan accent glow */
.hero-gradient-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(0, 168, 232, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  z-index: 3;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 5.5rem;
}

.hero-content {
  max-width: 580px;
  color: var(--white);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}
.badge-line {
  width: 32px;
  height: 3px;
  background: var(--magenta);
  display: inline-block;
  border-radius: 2px;
}
.hero-badge span:last-child {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: #d1d9e6;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* 4 Feature Items */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.4rem;
  max-width: 520px;
}
.feat-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.feat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
}
.feat-item span {
  font-size: 0.76rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

/* Pill Button */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #d81159 0%, #a00c60 100%);
  color: #ffffff;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(216, 17, 89, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-pill-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(216, 17, 89, 0.6);
}
.btn-pill-primary .arrow {
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.btn-pill-primary:hover .arrow {
  transform: translateX(4px);
}

/* -----------------------------------------------------------
   Floating Bottom Spares Strip
   ----------------------------------------------------------- */
.hero-spares-strip {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  z-index: 4;
}
.spares-strip-inner {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.spare-thumb {
  width: 82px;
  background: #ffffff;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}
.spare-thumb:hover { transform: translateY(-4px); }
.spare-thumb img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.spare-thumb span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}

/* -----------------------------------------------------------
   Standard Sections & Cards
   ----------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.1rem; color: var(--blue-dark); margin-bottom: 0.6rem; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; }

.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { 
  background: var(--white); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 2.2rem; 
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.card-badge { display: inline-block; font-size: 0.75rem; text-transform: uppercase; font-weight: 800; color: var(--magenta); margin-bottom: 0.6rem; }
.card h3 { font-size: 1.35rem; color: var(--blue-dark); margin-bottom: 0.8rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }

.btn { display: inline-block; padding: 0.85rem 1.8rem; font-weight: 600; border-radius: 5px; text-decoration: none; }
.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: var(--magenta); }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; background: #25d366; color: #fff; border-radius: 50px;
  padding: 10px 18px 10px 14px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25); z-index: 9999; text-decoration: none; font-weight: 600; font-size: 0.9rem;
}
.whatsapp-float:hover { transform: translateY(-3px); }

/* Footer */
.site-footer { background: #060e22; color: #c0c8d8; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h3 { color: var(--white); margin-bottom: 1.2rem; font-size: 1.2rem; }
.footer-col p { font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a { color: #8fa0bc; text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: #697892; }

/* -----------------------------------------------------------
   Mobile Responsiveness
   ----------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-gradient-overlay { width: 75%; clip-path: none; border-radius: 0 0 40px 0; }
  .spares-strip-inner { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 999;
  }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.2rem; }

  .hero-split { min-height: auto; padding: 3rem 0; }
  .hero-gradient-overlay { width: 100%; height: 100%; clip-path: none; opacity: 0.95; }
  .hero-bg-oven { width: 100%; }
  .hero-title { font-size: 2.1rem; }
  .hero-features { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .spares-strip-inner { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .whatsapp-label { display: none; }
  .whatsapp-float { padding: 12px; border-radius: 50%; }
}

/* -----------------------------------------------------------
   Live On-Page Visual Editor Toolbar & Outlines
   ----------------------------------------------------------- */
.live-editor-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  z-index: 100000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.88rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.editor-badge {
  background: #f59e0b;
  color: #000;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.editor-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.editor-btn:hover { background: #1d4ed8; }
.editor-btn-save { background: #10b981; }
.editor-btn-save:hover { background: #059669; }
.editor-btn-dark { background: #374151; }
.editor-btn-dark:hover { background: #4b5563; }

/* Dashed Editable Outlines for Logged-In Admins */
.admin-mode [data-editable] {
  outline: 2px dashed rgba(245, 158, 11, 0.85);
  outline-offset: 4px;
  cursor: text;
  transition: background 0.2s;
}
.admin-mode [data-editable]:hover,
.admin-mode [data-editable]:focus {
  outline-color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 4px;
}

/* Image trigger badge */
.admin-mode .hero-split {
  position: relative;
}
.hero-img-upload-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(17, 24, 39, 0.85);
  color: #fff;
  border: 1px dashed #f59e0b;
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  z-index: 10;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.hero-img-upload-btn:hover {
  background: #f59e0b;
  color: #000;
}

/* -----------------------------------------------------------
   Polished Form Controls & Contact Layout
   ----------------------------------------------------------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3.5px rgba(184, 13, 107, 0.12);
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6474' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
}
