/* =========================================================
   HSIU-HUI WU — TRADE SHOW CONSULTING WEBSITE
   Organized stylesheet
========================================================= */

/* 1. RESET / VARIABLES / BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #111111;
  --navy-2: #2f80c9;
  --text: #1f1f1f;
  --muted: #6d6d6d;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* 2. PAGE VIEW */
.page-view {
    display: block;
}


/* 3. HEADER / NAVIGATION */
.navbar {
  min-height: 84px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-with-mark img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo h2 {
  font-family: Arial Narrow, Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--navy);
}

.logo span {
  display: block;
  font-size: 9px;
  letter-spacing: 2.2px;
  color: var(--muted);
  margin-top: 4px;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a {
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  text-align: center;
}

.desktop-nav .nav-chinese {
  font-size: 18px;
  font-weight: 700;
  margin-top: 3px;
}

.desktop-nav a:hover {
  color: var(--navy-2);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu-button {
  display: none;
  min-width: 44px;
  border: 1px solid #ccd5df;
  background: white;
  color: var(--navy);
  border-radius: 24px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 700;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 10px 6% 18px;
  position: sticky;
  top: 84px;
  z-index: 90;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--navy);
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

/* 4. SHARED TYPOGRAPHY / SECTION ELEMENTS */
.eyebrow {
  color: var(--navy-2);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 10px;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.8);
}

.chinese {
  color: var(--muted);
}

.section {
  padding: 64px 6%;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title h2 {
  font-size: 24px;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.section-title span {
  margin-left: 8px;
  font-weight: 500;
}

/* 5. HERO / HOME */
.hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 90px 6%;
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 247, 255, 0.98) 0%,
      rgba(235, 235, 252, 0.92) 30%,
      rgba(220, 215, 245, 0.55) 48%,
      rgba(220, 215, 245, 0.08) 65%
    ),
    url("images/hero-tradeshow.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  width: 58%;
  max-width: 760px;
}

.hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--navy);
}

.hero h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 18px;
  color: var(--navy);
}

.hero-lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-lead + .chinese {
  font-size: 17px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.contact-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 700;
}

.primary-button {
  background: var(--navy-2);
  color: white;
  border: 1px solid var(--navy-2);
}

.secondary-button {
  border: 1px solid var(--navy-2);
  color: var(--navy-2);
  background: white;
}

/* 6. WHY WORK WITH ME */
.why-section {
  padding-top: 50px;
}

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

.why-item {
  border-top: 3px solid var(--navy);
  padding: 18px 4px 8px;
  width: 100%;
}

.why-item strong,
.why-item span {
  display: block;
}

.why-item strong {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-item span {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

/* 7. SERVICES */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: white;
}

.service-card {
  padding: 34px 28px;
  min-height: 320px;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: none;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--navy);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  border-radius: 50%;
  margin: 0;
}

.service-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
}

.service-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.service-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.service-card p.chinese {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* 8. EXPERIENCE / PORTFOLIO */
.experience-section {
  background: var(--soft);
}

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

.experience-card {
  background: white;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.experience-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f5f5f5;
}

.experience-card-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.experience-info {
  padding: 20px;
  flex: 1;
}

.experience-info h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 5px;
}

.experience-info p {
  font-size: 14px;
}

.portfolio-disclaimer {
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.6;
  color: #777;
  text-align: left;
}

/* 9. ABOUT */
#about {
  background: linear-gradient(
    135deg,
    #f5f8fd 0%,
    #dce9fa 45%,
    #d9cbed 100%
  );
}

.about-container {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 50px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: none;
}

.about-text {
  max-width: 680px;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* 10. CONTACT */
.contact-form-section {
  width: 100%;
}

.contact-section {
  position: relative;
  width: 100%;
  margin: 0;
  background-image: url("images/contact-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 0;
  color: white;
  overflow: hidden;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 58, 0.70);
  z-index: 1;
}

.contact-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 88%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 75px;
  align-items: center;
}

.contact-left {
  width: 100%;
}

.contact-heading {
  margin-bottom: 24px;
}

.contact-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #79a6e6;
}

.contact-heading h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.2;
  color: white;
}

.contact-heading h2 span {
  margin-left: 8px;
}

.contact-intro {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.5;
  color: white;
}

.contact-intro-cn {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  background: rgba(255, 255, 255, 0.97);
  padding: 30px;
  color: #111;
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.contact-form label span {
  color: #4f82ca;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 17px;
  border: 1px solid #ccd3dc;
  background: white;
  font-family: inherit;
  font-size: 14px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #5688cf;
  box-shadow: 0 0 0 2px rgba(86, 136, 207, 0.15);
}

.contact-form button {
  width: 100%;
  padding: 15px 20px;
  border: none;
  background: #5688cf;
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-form button:hover {
  background: #456fa9;
}

.form-message {
  margin-top: 16px;
}

.contact-cta {
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.contact-line {
  width: 65px;
  height: 2px;
  background: white;
  margin-bottom: 25px;
}

.cta-eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: white;
}

.contact-cta h2 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.15;
  color: white;
}

.contact-cta h3 {
  margin: 0 0 25px;
  font-size: 27px;
  line-height: 1.3;
  color: white;
}

.cta-description {
  margin: 0 0 30px;
  max-width: 470px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.contact-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  padding: 14px 25px;
  border: 2px solid white;
  color: white;
  font-size: 15px;
  font-weight: 700;
  transition: 0.25s ease;
}

.contact-button span + span {
  margin-top: 4px;
}

.contact-button:hover {
  background: white;
  color: #12294d;
}

/* 11. FOOTER */
footer {
  padding: 28px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

footer strong {
  color: var(--navy);
}

/* 12. RESPONSIVE — TABLET */
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-block;
  }

  .hero-content {
    width: 72%;
  }

  .service-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2) {
    border-right: none;
  }

  .service-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .contact-section {
    padding: 55px 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-cta {
    max-width: none;
    justify-self: stretch;
  }

  .contact-cta h2 {
    font-size: 32px;
  }

  .contact-cta h3 {
    font-size: 23px;
  }
}

/* 13. RESPONSIVE — SMALL TABLET / MOBILE */
@media (max-width: 760px) {
  .navbar {
    padding: 0 5%;
  }

  .logo h2 {
    font-size: 18px;
  }

  .logo span {
    letter-spacing: 2.2px;
  }

  .hero {
    min-height: 560px;
    padding: 64px 5%;
    background-image:
      linear-gradient(
        90deg,
        rgba(245, 247, 255, 0.98) 0%,
        rgba(235, 235, 252, 0.95) 45%,
        rgba(220, 215, 245, 0.70) 70%,
        rgba(220, 215, 245, 0.35) 100%
      ),
      url("images/hero-tradeshow.png");
    background-position: center;
    background-size: cover;
  }

  .hero-content {
    width: 100%;
  }

  .section {
    padding: 54px 5%;
  }

  .experience-grid,
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    height: auto;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .contact-inner {
    width: 92%;
  }

  .contact-heading h2 {
    font-size: 27px;
  }

  .contact-form {
    padding: 22px;
  }

  .contact-cta h2 {
    font-size: 27px;
  }

  .contact-cta h3 {
    font-size: 21px;
  }

  .cta-description {
    font-size: 15px;
  }

  .contact-button {
    width: 100%;
  }
}

/* 14. RESPONSIVE — PHONE */
@media (max-width: 560px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    text-align: center;
  }

  .service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .section-title h2 {
    font-size: 21px;
  }
}
