/* Jamkita.com - Watch Review Magazine */
:root {
  --navy: #1a1a2e;
  --navy-mid: #16213e;
  --accent: #e94560;
  --accent-hover: #ff6b81;
  --gold: #c9a227;
  --white: #ffffff;
  --off: #f7f7f9;
  --gray-100: #f0f0f3;
  --gray-200: #e4e4e8;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --text: #1f2937;
  --shadow: 0 4px 16px rgba(26,26,46,.08);
  --shadow-lg: 0 12px 32px rgba(26,26,46,.14);
  --radius: 10px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --max: 1120px;
  --transition: .25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--off);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-top {
  background: var(--navy-mid);
  font-size: .8rem;
  padding: .35rem 0;
  text-align: center;
  color: rgba(255,255,255,.75);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  gap: 1rem;
}
.logo img { height: 42px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  padding: .4rem .65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}
.main-nav ul {
  display: flex;
  gap: .15rem;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,.9);
  padding: .45rem .85rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(233,69,96,.25);
  color: var(--white);
}
.nav-search {
  display: flex;
  gap: .35rem;
}
.nav-search input {
  padding: .4rem .7rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  width: 140px;
  font-size: .85rem;
}
.nav-search input::placeholder { color: rgba(255,255,255,.5); }
.nav-search button {
  background: var(--accent);
  border: none;
  color: var(--white);
  padding: .4rem .7rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: .85rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: .85rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 1.5rem;
  max-width: 480px;
}
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-mid); }
.btn-sm { padding: .4rem .85rem; font-size: .8rem; }

/* Sections */
.section { padding: 3rem 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
  margin-bottom: .35rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-top: .5rem;
}
.section-sub {
  color: var(--gray-500);
  margin-bottom: 1.75rem;
  font-size: .95rem;
}

/* Category pills */
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.cat-pill {
  padding: .4rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: .85rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Article cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.article-card .thumb {
  height: 160px;
  background: var(--navy);
  overflow: hidden;
}
.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card .body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card .cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: .35rem;
}
.article-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: .5rem;
  font-family: var(--font-display);
}
.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: var(--accent); }
.article-card .excerpt {
  font-size: .88rem;
  color: var(--gray-500);
  flex: 1;
  margin-bottom: .75rem;
}
.article-card .meta {
  font-size: .78rem;
  color: var(--gray-500);
  display: flex;
  justify-content: space-between;
}

/* Featured large */
.featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.featured-main {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.featured-main .thumb { height: 260px; background: var(--navy); }
.featured-main .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-main .body { padding: 1.5rem; }
.featured-main h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.featured-main h2 a { color: inherit; }
.featured-main h2 a:hover { color: var(--accent); }
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.featured-side .mini-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: .85rem;
  padding: .85rem;
  transition: var(--transition);
}
.featured-side .mini-card:hover { box-shadow: var(--shadow-lg); }
.featured-side .mini-card .thumb {
  width: 90px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy);
}
.featured-side .mini-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-side h4 {
  font-size: .9rem;
  color: var(--navy);
  line-height: 1.35;
  font-family: var(--font-display);
}
.featured-side h4 a { color: inherit; }
.featured-side h4 a:hover { color: var(--accent); }
.featured-side .meta { font-size: .75rem; color: var(--gray-500); margin-top: .25rem; }

/* Article page */
.article-page { padding: 2rem 0 3rem; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}
.article-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.article-content h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .75rem;
}
.article-meta {
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.article-body h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 1.5rem 0 .6rem;
  font-family: var(--font-display);
}
.article-body p { margin-bottom: .9rem; }
.article-body ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.article-body li { margin-bottom: .35rem; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.sidebar-widget h3 {
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: .85rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--accent);
  font-family: var(--font-display);
}
.sidebar-widget ul li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .88rem;
}
.sidebar-widget ul li:last-child { border-bottom: none; }

/* Breadcrumb */
.breadcrumb {
  background: var(--white);
  padding: .65rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: .85rem;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: .3rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--navy); }
.breadcrumb span { color: var(--gray-500); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 2.5rem 0 1.25rem;
  margin-top: auto;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.footer-grid h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: .75rem;
  font-family: var(--font-display);
}
.footer-grid a { color: rgba(255,255,255,.7); }
.footer-grid a:hover { color: var(--accent); }
.footer-grid li { margin-bottom: .3rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  text-align: center;
  font-size: .8rem;
}

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
  font-size: .9rem;
  color: var(--navy);
}
.form-control {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233,69,96,.15);
}
textarea.form-control { min-height: 120px; resize: vertical; }

/* Page content card */
.page-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}
.page-card h1 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .hero .container, .featured, .article-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    padding: 1rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { display: block; padding: .7rem 1rem; }
  .nav-search { margin-top: .75rem; }
  .nav-search input { flex: 1; width: auto; }
  .header-main { position: relative; flex-wrap: wrap; }
}
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
