/* Eugene Computers — style.css */

:root {
  --teal:        #009999;
  --teal-dark:   #007a7a;
  --teal-hover:  #00b3b3;
  --teal-light:  #e8f5f5;
  --gold:        #b89800;
  --text:        #2d3748;
  --text-muted:  #718096;
  --bg:          #f4fafa;
  --white:       #ffffff;
  --border:      #cde4e4;
  --shadow:      0 2px 10px rgba(0,120,120,0.10);
  --radius:      8px;
}

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

body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

/* ── Header ────────────────────────────────── */
header {
  background: var(--teal);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-title { display: flex; flex-direction: column; line-height: 1.2; }
.site-title a { color: #fff; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.site-title span { color: rgba(255,255,255,0.6); font-size: 0.72rem; font-weight: 400; }

nav { display: flex; flex-wrap: wrap; gap: 0.2rem; }
nav a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a.active {
  background: rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
}

/* ── Layout ─────────────────────────────────── */
.page-wrapper {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 1.75rem;
  align-items: start;
}
.page-wrapper.full-width {
  grid-template-columns: 1fr;
  max-width: 820px;
}

/* ── Main Content ───────────────────────────── */
main {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}
main h1 { font-size: 1.7rem; color: var(--teal-dark); margin-bottom: 0.6rem; }
main h2 {
  font-size: 1.25rem;
  color: var(--teal-dark);
  margin: 1.75rem 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--teal-light);
}
main h2:first-child { margin-top: 0; }
main h3 { font-size: 1rem; color: var(--text-muted); margin: 1rem 0 0.4rem; }
main p { margin-bottom: 0.9rem; }
main ul, main ol { margin: 0.4rem 0 1rem 1.5rem; }
main li { margin-bottom: 0.3rem; }
main strong { color: var(--teal-dark); }

/* ── Sidebar ─────────────────────────────────── */
aside { display: flex; flex-direction: column; gap: 1rem; }

.builds-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}
.builds-card h3 {
  color: var(--teal-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.6rem;
}
.builds-card ul { list-style: none; margin: 0; padding: 0; }
.builds-card li { margin-bottom: 0.35rem; }
.builds-card a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  transition: background 0.18s, color 0.18s;
}
.builds-card a:hover { background: var(--teal); color: #fff; text-decoration: none; }
.builds-card a.silver  { border-left: 3px solid #999; }
.builds-card a.gold    { border-left: 3px solid var(--gold); }
.builds-card a.platinum { border-left: 3px solid #7b68ee; }

.contact-card {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  color: white;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.75);
}
.contact-card p { font-size: 0.875rem; line-height: 1.65; color: rgba(255,255,255,0.95); }
.contact-card a { color: #fff; font-weight: 700; }

/* ── Spec Card (builds) ─────────────────────── */
.spec-card {
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
  border-left: 4px solid var(--teal);
}
.spec-card h3 {
  color: var(--teal-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.6rem;
}
.spec-card ul { margin: 0; padding: 0; list-style: none; }
.spec-card li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(0,153,153,0.15);
  font-size: 0.91rem;
}
.spec-card li:last-child { border-bottom: none; }

/* ── Price badge ─────────────────────────────── */
.price-note {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-top: 0.75rem;
}

/* ── Info box ────────────────────────────────── */
.info-box {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
  margin: 1rem 0;
  font-size: 0.91rem;
}

/* ── Map ─────────────────────────────────────── */
.map-wrap {
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ── Video ───────────────────────────────────── */
.video-wrap {
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ── Affiliates ──────────────────────────────── */
.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.affiliate-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.affiliate-card:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.affiliate-card img { max-width: 160px; height: auto; margin-bottom: 0.75rem; }
.affiliate-card p { font-size: 0.875rem; color: var(--text-muted); }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0 0;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
}
footer h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.6rem;
}
footer p, footer address { font-size: 0.875rem; font-style: normal; line-height: 1.7; }
footer a { color: rgba(255,255,255,0.82); }
footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding: 0.9rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .page-wrapper { grid-template-columns: 1fr; }
  aside { order: -1; }
  .builds-card ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .builds-card li { margin: 0; }
  main { padding: 1.25rem 1rem; }
}
@media (max-width: 520px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  nav { width: 100%; }
  nav a { font-size: 0.78rem; padding: 0.3rem 0.55rem; }
}
