/* ============================================================
   Chilli Chocolate Marketing — shared stylesheet
   ============================================================ */

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

:root {
  --accent:      #c0392b;
  --accent-hover:#e74c3c;
  --nav-bg:      #0d0908;
  --nav-border:  #3a2826;
  --text:        #2d2d2d;
  --text-muted:  #666;
  --border:      #e0dbd8;
  --bg-tint:     #faf9f8;
  --footer-bg:   #110c0b;
  --footer-border:#3a2826;
  --max-w:       1100px;
  --font-head:   'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --font-body:   'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

/* ── Hero banner (top of page, full-width photo, no text) ── */
.hero-banner {
  width: 100%;
  line-height: 0; /* remove gap under img */
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Site header / nav (sits below the hero banner) ────── */
header {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: #f0ece8;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-icons a {
  color: #b0a9a5;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.social-icons a:hover { color: var(--accent); }

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── White content wrapper ──────────────────────────────── */
.content {
  background: #fff;
  flex: 1;
}

/* ── Intro section (homepage) ───────────────────────────── */
.intro-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.intro-tags {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.intro-section h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 20px;
}

.intro-section p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Services grid ──────────────────────────────────────── */
.services {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(192, 57, 43, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Page title bar (inner pages) ───────────────────────── */
.page-title {
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.page-title h1 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.3;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 28px 32px;
}

.testimonial blockquote {
  font-size: 0.975rem;
  line-height: 1.75;
  color: #444;
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial cite {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Contact page ───────────────────────────────────────── */
.contact-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 56px 24px;
}

.contact-section .intro {
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 44px;
}

.contact-details h2 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.contact-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.contact-details p strong {
  color: var(--text);
  display: inline-block;
  min-width: 70px;
}

/* ── Form ───────────────────────────────────────────────── */
.contact-form h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 44px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: #f0ece8;
  letter-spacing: 0.04em;
}

.footer-details {
  font-size: 0.85rem;
  color: #b0a9a5;
  line-height: 1.8;
}

.footer-details a { color: #b0a9a5; }
.footer-details a:hover { color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    gap: 10px;
  }

  nav { gap: 18px; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonial { padding: 20px 18px; }
  .contact-details { padding: 20px 18px; }
}
