/*
Theme Name: Takara India
Theme URI: http://localhost/takaraindia/
Author: Takara India
Description: Catalog site for Takara car audio, party speakers and LED TVs.
Version: 1.0
Text Domain: takara
*/

:root {
  --red: #e10600;
  --red-dark: #b10500;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --bg: #f6f6f6;
  --max: 1120px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav a {
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  border-radius: 4px;
}
.nav a:hover, .nav a.active { background: var(--red); color: #fff; }
.nav a.soc-gap { margin-left: 16px; }
.nav a.soc {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
}
.nav a.soc svg { width: 16px; height: 16px; fill: currentColor; }
.nav a.soc:hover { background: var(--red); color: #fff; }
.ig-link { color: var(--red); }
.menu-toggle { display: none; background: var(--red); color: #fff; border: 0; padding: 8px 12px; }

.hero {
  background: linear-gradient(120deg, #1a1a1a 0%, #3a0a0a 55%, var(--red) 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.hero h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; }
.hero p { margin: 0; max-width: 640px; font-size: 18px; color: #f3d6d4; }
.since { display: inline-block; margin-bottom: 12px; letter-spacing: 0.18em; font-size: 12px; font-weight: 700; }

.section { padding: 48px 0; }
.section h2 { margin: 0 0 6px; font-size: 28px; }
.lede { color: var(--muted); margin: 0 0 24px; }
.band { background: var(--bg); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card .photo {
  height: 210px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.card .photo img { max-height: 186px; width: auto; margin: 0 auto; object-fit: contain; }
.ph {
  width: 100%;
  height: 100%;
  border: 1px dashed #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a9a9a;
  font-size: 13px;
  text-align: center;
  padding: 12px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(135deg, #f3f3f3, #f3f3f3 8px, #fafafa 8px, #fafafa 16px);
}
.card .meta { padding: 12px 14px 16px; text-align: center; }
.card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 650; }
.card p { margin: 0; color: var(--muted); font-size: 13px; }

.cat-title {
  color: #2b6cb0;
  font-size: 18px;
  margin: 28px 0 12px;
  font-weight: 650;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.about h2 { color: #163a66; }
.stats { display: grid; gap: 12px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 14px 16px;
}
.stat strong { display: block; font-size: 18px; }

.feature-link { display: block; border-radius: 12px; overflow: hidden; background: #e10600; }
.feature-link img { width: 100%; height: auto; object-fit: cover; max-height: 420px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { border: 1px solid var(--line); padding: 20px; border-radius: 8px; }
.contact-card h3 { margin: 0 0 8px; }
.contact-card a { color: var(--red); display: block; }
.info-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}
.info-icon svg { width: 20px; height: 20px; fill: #fff; }
.info-row h3 { margin: 0 0 2px; }
.map-wrap { margin-top: 8px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); min-height: 280px; }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }
.enquiry-form { display: grid; gap: 12px; margin-top: 8px; }
.enquiry-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 650; }
.enquiry-form input, .enquiry-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 100%;
}
.enquiry-form button {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}
.captcha-img { height: 48px; width: 160px; border: 1px solid var(--line); border-radius: 6px; }
.hp { position: absolute; left: -9999px; }
.form-note { padding: 10px 12px; border-radius: 6px; }
.form-note.ok { background: #e8f7ee; color: #146c36; }
.form-note.bad { background: #fdecec; color: #9b1c1c; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: #444;
  font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .grid, .grid.cols-3, .about, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; padding: 10px 0; }
  .grid, .grid.cols-3, .about, .contact-grid { grid-template-columns: 1fr; }
}
