/* ============================================
   HongWill Enterprises — Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2744;
  --navy-light: #2a3f6a;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray-light: #eaeaea;
  --gray: #777777;
  --gray-dark: #444444;
  --text: #333333;
  --ebay-blue: #0064D2;
  --ebay-red: #e53238;
  --ebay-yellow: #f5af02;
  --ebay-green: #86b817;
  --accent-ebay: #0064D2;
  --accent-ebay-dark: #004a9e;
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --max-width: 1140px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
}

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Header / Nav --- */
header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.logo-link { display: flex; align-items: center; gap: 12px; }

.logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 1px;
  font-weight: 700;
}

.logo-text span { color: var(--gold); }

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

nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

nav a:hover, nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

nav a.btn-nav {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}

nav a.btn-nav:hover {
  background: var(--gold-light);
  color: var(--navy);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero .btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  text-transform: uppercase;
}

.hero .btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

/* --- Sections --- */
section { padding: 80px 0; }

section.alt { background: var(--off-white); }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-top: 3px solid var(--gold);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Why Us / Features --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  text-align: center;
}

.feature-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--gray-dark);
  font-size: 0.95rem;
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

/* --- How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.step-item {
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-item p {
  color: var(--gray-dark);
  font-size: 0.95rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-banner .btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all var(--transition);
  text-transform: uppercase;
}

.cta-banner .btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* --- eBay Section (Bold/Modern) --- */
.ebay-hero {
  background: linear-gradient(135deg, #0064D2 0%, #004a9e 50%, #0064D2 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
}

.ebay-hero h1 {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.ebay-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 36px;
}

.ebay-hero .btn {
  display: inline-block;
  background: var(--ebay-yellow);
  color: #333;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  transition: all var(--transition);
  text-transform: uppercase;
}

.ebay-hero .btn:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.ebay-colors {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.ebay-colors span {
  display: inline-block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
}

.ebay-colors .ec-red { background: #e53238; }
.ebay-colors .ec-blue { background: #0064D2; }
.ebay-colors .ec-yellow { background: #f5af02; }
.ebay-colors .ec-green { background: #86b817; }

.ebay-feature h3 { color: var(--ebay-blue); }

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.brand-tag {
  background: var(--off-white);
  color: var(--gray-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--gray-light);
}

.ebay-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 32px 0;
}

.ebay-stat { text-align: center; }
.ebay-stat .number { font-size: 2rem; font-weight: 800; color: var(--ebay-blue); }
.ebay-stat .label { font-size: 0.85rem; color: var(--gray); margin-top: 4px; }

.ebay-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.ebay-feature h3 { color: var(--accent-ebay); margin-bottom: 8px; font-size: 1.1rem; }
.ebay-feature p { color: var(--gray-dark); font-size: 0.95rem; }

/* --- About Page --- */
.about-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-content h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.6rem;
  margin: 40px 0 16px;
}

.about-content p { margin-bottom: 20px; }

.about-content ul {
  list-style: none;
  padding: 0;
}

.about-content ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 1rem;
}

.about-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact-info .label {
  font-weight: 600;
  color: var(--navy);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-main);
  margin-bottom: 20px;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea { height: 140px; resize: vertical; }

.contact-form button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form button:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* --- Footer --- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

footer a { color: var(--gold); }
footer a:hover { color: var(--gold-light); }

.footer-links { margin-bottom: 16px; }
.footer-links a { margin: 0 12px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1, .ebay-hero h1 { font-size: 2rem; }
  .hero p, .ebay-hero p { font-size: 1rem; }
  .section-title { font-size: 1.7rem; }
  .header-inner { height: 60px; }
  .logo-text { font-size: 1rem; }

  nav { 
    display: none; 
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  nav.open { display: flex; }
  nav a { padding: 12px 16px; width: 100%; text-align: left; }

  .nav-toggle { display: block; }

  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero, .ebay-hero { padding: 64px 24px 56px; }
}
