/* === RAVIOLI KITCHEN — DESIGN SYSTEM === */
/* Colors: burgundy #6b2d3c, cream #faf3e0, teal #1f5f5f */

:root {
  --burgundy: #6b2d3c;
  --burgundy-dark: #4e1f2b;
  --burgundy-light: #8a3f4e;
  --cream: #faf3e0;
  --cream-dark: #e8dcc8;
  --teal: #1f5f5f;
  --teal-dark: #164545;
  --teal-light: #2a7a7a;
  --white: #fffef9;
  --black: #1a1a1a;
  --gray: #555;
  --gray-light: #888;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
}

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

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--burgundy); line-height: 1.3; }
h1 { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 1.2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 0.8rem; }
h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
p { margin-bottom: 1.2rem; }

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--burgundy); text-decoration: underline; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--burgundy); color: var(--cream);
  box-shadow: 0 2px 24px rgba(107,45,60,0.25);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 700;
  color: var(--cream); text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-brand:hover { color: var(--white); text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.nav-links a { color: var(--cream); padding: 0.5rem 0.9rem; border-radius: 4px; font-size: 0.95rem; transition: background 0.2s; }
.nav-links a:hover { background: var(--burgundy-light); text-decoration: none; color: var(--white); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: 6px; box-shadow: var(--shadow); min-width: 200px;
  padding: 0.5rem 0; z-index: 1001;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 0.55rem 1.2rem; color: var(--black); font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--cream); color: var(--burgundy); text-decoration: none; }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--cream); font-size: 1.5rem;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: var(--cream); padding: 8rem 1.5rem 4.5rem;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
  pointer-events: none;
}
.hero h1 { color: var(--cream); font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; opacity: 0.9; max-width: 700px; margin: 0 auto 2rem; }
.hero .btn { display: inline-block; }

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

/* === SECTIONS === */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--burgundy); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h2, .section-teal h3 { color: var(--white); }

/* === BUTTONS === */
.btn {
  display: inline-block; padding: 0.75rem 2rem; border-radius: 6px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); text-decoration: none; }
.btn-secondary { background: var(--burgundy); color: var(--cream); }
.btn-secondary:hover { background: var(--burgundy-dark); color: var(--white); text-decoration: none; }
.btn-outline { border: 2px solid var(--cream); color: var(--cream); background: transparent; }
.btn-outline:hover { background: var(--cream); color: var(--burgundy); text-decoration: none; }

/* === CARDS === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--cream-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.card-body { padding: 1.5rem; }
.card-body h3 { color: var(--burgundy); }
.card-icon {
  font-size: 2.5rem; display: block; margin-bottom: 0.8rem; color: var(--teal);
}

/* === STATEMENT / QUOTE === */
.statement {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-style: italic;
  color: var(--burgundy); text-align: center;
  max-width: 750px; margin: 0 auto 2rem;
  line-height: 1.6;
}
.statement::before { content: '\201C'; }
.statement::after { content: '\201D'; }

/* === VALUES LIST === */
.values-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.values-list li {
  background: var(--white); padding: 1.5rem; border-radius: 8px;
  border-left: 4px solid var(--teal); box-shadow: var(--shadow);
}

/* === TIMELINE === */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute; left: 0.6rem; top: 0; bottom: 0;
  width: 3px; background: var(--teal); border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -2.35rem; top: 0.4rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}

/* === FOOTER === */
.footer {
  background: var(--burgundy-dark); color: var(--cream-dark);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer h4 { color: var(--cream); margin-bottom: 1rem; font-family: var(--font-heading); }
.footer a { color: var(--cream-dark); font-size: 0.9rem; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(250,243,224,0.15);
  padding-top: 1.5rem; text-align: center; font-size: 0.85rem;
}

/* === ABOUT PAGE === */
.about-hero {
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--teal-dark) 100%);
  padding: 8rem 1.5rem 5rem; text-align: center; color: var(--cream);
}
.about-hero h1 { color: var(--cream); font-size: 3rem; }
.about-hero p { font-size: 1.2rem; opacity: 0.9; max-width: 700px; margin: 1rem auto 0; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.principle-card { background: var(--white); border-radius: 8px; padding: 2rem; border-top: 4px solid var(--teal); box-shadow: var(--shadow); }
.principle-card h3 { color: var(--burgundy); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; text-align: center; }

/* === SERVICES PAGE === */
.services-hero {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 8rem 1.5rem 5rem; text-align: center; color: var(--white);
}
.services-hero h1 { color: var(--white); font-size: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card {
  background: var(--white); border-radius: 8px; padding: 2rem;
  border: 1px solid var(--cream-dark); box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card h3 { color: var(--burgundy); }
.service-card .tag {
  display: inline-block; background: var(--teal); color: var(--white);
  padding: 0.2rem 0.7rem; border-radius: 4px; font-size: 0.8rem;
  margin-bottom: 1rem; font-weight: 600;
}

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; counter-reset: step; }
.process-step { text-align: center; position: relative; padding: 1.5rem; }
.process-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-size: 1.3rem; font-weight: 700;
  margin: 0 auto 1rem;
}

/* === CONTACT PAGE === */
.contact-hero {
  background: linear-gradient(160deg, var(--burgundy-dark) 0%, var(--teal) 100%);
  padding: 8rem 1.5rem 5rem; text-align: center; color: var(--cream);
}
.contact-hero h1 { color: var(--cream); font-size: 3rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { margin-top: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--burgundy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--cream-dark);
  border-radius: 6px; font-size: 1rem; font-family: var(--font-body);
  background: var(--white); transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--teal);
}

/* === LEGAL PAGES === */
.legal-hero {
  background: linear-gradient(160deg, var(--burgundy-dark) 0%, var(--teal-dark) 100%);
  padding: 8rem 1.5rem 3rem; text-align: center; color: var(--cream);
}
.legal-hero h1 { color: var(--cream); font-size: 2.6rem; }
.legal-content { max-width: 850px; margin: 0 auto; }
.legal-content h2 { color: var(--burgundy); margin-top: 2.5rem; padding-bottom: 0.3rem; border-bottom: 2px solid var(--cream-dark); }
.legal-content p { text-align: justify; }
.legal-content ul { margin: 0 0 1.2rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-date { text-align: center; color: var(--gray-light); font-style: italic; margin-bottom: 2rem; }

/* === STATS BAND === */
.stats-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem;
  text-align: center; padding: 3rem 0;
}
.stat-number {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700;
  color: var(--teal); line-height: 1.2;
}
.stat-label { color: var(--gray); font-size: 0.95rem; }

/* === PAGE BANNER === */
.page-banner {
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--teal) 100%);
  padding: 8rem 1.5rem 4rem; text-align: center; color: var(--cream);
}
.page-banner h1 { color: var(--cream); font-size: 3rem; }
.page-banner p { font-size: 1.2rem; opacity: 0.9; max-width: 700px; margin: 1rem auto 0; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute; top: 68px;
    left: 0; right: 0; background: var(--burgundy); padding: 1rem;
  }
  .nav-links.active { display: flex; }
  .dropdown-menu { position: static; background: transparent; border: none; box-shadow: none; padding-left: 1rem; }
  .dropdown-menu a { color: var(--cream); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1, .about-hero h1, .services-hero h1, .contact-hero h1, .page-banner h1 { font-size: 2.2rem; }
  .statement { font-size: 1.2rem; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-band { grid-template-columns: 1fr; }
  .card-grid, .services-grid, .principles, .process-steps { grid-template-columns: 1fr; }
}

/* === ACCORDION === */
.accordion { border: 1px solid var(--cream-dark); border-radius: 8px; overflow: hidden; }
.accordion-header {
  width: 100%; text-align: left; padding: 1rem 1.5rem; background: var(--white);
  border: none; border-bottom: 1px solid var(--cream-dark); cursor: pointer;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600;
  color: var(--burgundy); transition: background 0.2s;
  display: flex; align-items: center; justify-content: space-between;
}
.accordion-header:hover { background: var(--cream); }
.accordion-header::after { content: '+'; font-size: 1.3rem; color: var(--teal); }
.accordion-header.active::after { content: '\2212'; }
.accordion-body { display: none; padding: 1.5rem; background: var(--white); }
.accordion-body.show { display: block; }

/* === UTILITY === */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-burgundy { color: var(--burgundy); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.py-2 { padding: 2rem 0; }
.py-3 { padding: 3rem 0; }

/* === ACCENTS === */
.accent-bar {
  width: 60px; height: 4px; background: var(--teal); border-radius: 2px;
  margin: 0.5rem auto 1.5rem;
}
.accent-bar-left { margin-left: 0; margin-right: auto; }
