/* ============================================================
   SUMMIT TRADING SUPPLY - Main Stylesheet
   Color Scheme: Deep Navy (#0d1b2a) + Gold (#c9962b) + Light Gray
   ============================================================ */

:root {
  --navy: #0d1b2a;
  --navy-2: #14283f;
  --navy-light: #1b3a5b;
  --gold: #c9962b;
  --gold-light: #e0b455;
  --light: #f5f7fa;
  --gray: #6b7280;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 8px 30px rgba(13, 27, 42, 0.12);
  --shadow-hover: 0 14px 40px rgba(13, 27, 42, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #2b2b2b;
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all .25s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar i { color: var(--gold); margin-right: 6px; }

/* ---------- Navbar ---------- */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 46px; height: 46px; border-radius: 8px; }
.logo .logo-text { font-weight: 800; font-size: 20px; letter-spacing: .5px; color: var(--navy); line-height: 1.1; }
.logo .logo-text span { color: var(--gold); }
.logo .logo-sub { font-size: 11px; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; }

.nav-menu { display: flex; gap: 6px; align-items: center; }
.nav-menu > li > a {
  padding: 10px 16px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
  font-size: 15px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active {
  color: var(--gold);
  background: rgba(201,150,43,.08);
}
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(13,27,42,.92), rgba(20,40,63,.85)),
              url('../images/A_cinematic_wide_banner_of_glo_2026-08-19T03-16-54.png') center/cover;
  color: #fff;
  padding: 110px 0 120px;
  text-align: center;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 22px; }
.hero h1 span { color: var(--gold-light); }
.hero p { font-size: 19px; max-width: 720px; margin: 0 auto 36px; color: #d7e0ea; }
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s ease;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(201,150,43,.4); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 22px; font-size: 14px; }

/* ---------- Section ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--light); }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: 38px; font-weight: 800; color: var(--navy); position: relative; display: inline-block; }
.section-title h2::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -14px; width: 64px; height: 4px; background: var(--gold); border-radius: 2px;
}
.section-title p { color: var(--gray); margin-top: 18px; font-size: 16px; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  border: 1px solid var(--border);
  text-align: center;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.card .icon {
  width: 64px; height: 64px; margin: 0 auto 22px;
  background: rgba(201,150,43,.12); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--gold);
}
.card h3 { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 15px; }

.feature-img { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats .grid-4 .card { background: transparent; box-shadow: none; border: none; color: #fff; }
.stats .num { font-size: 44px; font-weight: 800; color: var(--gold-light); }
.stats .lbl { color: #b8c4d0; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: #fff; text-align: center; padding: 70px 0;
}
.cta h2 { font-size: 34px; margin-bottom: 16px; }
.cta p { color: #cbd5e1; margin-bottom: 30px; font-size: 17px; }

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(120deg, rgba(13,27,42,.95), rgba(27,58,91,.9)),
              url('../images/A_cinematic_wide_banner_of_glo_2026-08-19T03-16-54.png') center/cover;
  color: #fff; padding: 80px 0 70px; text-align: center;
}
.page-header h1 { font-size: 44px; font-weight: 800; }
.page-header .breadcrumb { color: var(--gold-light); margin-top: 14px; font-size: 15px; }

/* ---------- About ---------- */
.about-img img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.about-text h2 { font-size: 32px; color: var(--navy); margin-bottom: 20px; }
.about-text p { color: var(--gray); margin-bottom: 16px; }
.about-text ul.check li { padding-left: 30px; position: relative; margin-bottom: 10px; color: #3a3a3a; }
.about-text ul.check li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 800; }

/* ---------- Services list ---------- */
.service-item { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.service-item:last-child { border-bottom: none; }
.service-item .s-icon { flex: 0 0 60px; height: 60px; background: rgba(201,150,43,.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--gold); }
.service-item h3 { color: var(--navy); font-size: 20px; margin-bottom: 6px; }
.service-item p { color: var(--gray); }

/* ---------- Portfolio ---------- */
.portfolio-item { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.portfolio-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,42,.9), transparent);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff;
  opacity: 0; transition: opacity .35s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-size: 19px; margin-bottom: 4px; }
.portfolio-overlay span { color: var(--gold-light); font-size: 13px; letter-spacing: 1px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; transition: border .25s, box-shadow .25s; font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,150,43,.15); }
textarea.form-control { resize: vertical; min-height: 130px; }
.contact-info-box { background: var(--navy); color: #fff; border-radius: 14px; padding: 40px 34px; }
.contact-info-box h3 { color: var(--gold-light); margin-bottom: 22px; }
.contact-info-box .ci-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-box .ci-item i { color: var(--gold); font-size: 20px; flex: 0 0 24px; }
.contact-info-box .ci-item div span { display: block; color: #9fb0c0; font-size: 13px; }
.contact-info-box .ci-item div strong { font-size: 15px; }

/* ---------- Map / Banner ---------- */
.img-banner { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #cbd5e1; padding: 60px 0 24px; }
footer .grid-4 { gap: 40px; }
footer h4 { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--gold); }
footer a:hover { color: var(--gold-light); }
footer .f-links li { padding: 6px 0; }
footer .f-about p { color: #9fb0c0; font-size: 14px; margin: 14px 0; }
footer .social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: rgba(255,255,255,.08); border-radius: 50%; margin-right: 10px; font-size: 16px;
}
footer .social a:hover { background: var(--gold); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; text-align: center; font-size: 13px; color: #7c8ca0; }

/* ---------- Custom Modal (common.js) ---------- */
.st-modal-mask {
  position: fixed; inset: 0; background: rgba(13,27,42,.55);
  display: none; align-items: center; justify-content: center; z-index: 9999; padding: 20px;
}
.st-modal-mask.show { display: flex; animation: stFade .25s ease; }
@keyframes stFade { from { opacity: 0; } to { opacity: 1; } }
.st-modal {
  background: #fff; border-radius: 16px; max-width: 420px; width: 100%;
  padding: 40px 34px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: stPop .3s ease;
}
@keyframes stPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.st-modal .st-icon {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff;
}
.st-modal .st-icon.success { background: #2e9e5b; }
.st-modal .st-icon.error { background: #d9534f; }
.st-modal .st-icon.info { background: var(--gold); }
.st-modal h3 { color: var(--navy); font-size: 23px; margin-bottom: 10px; }
.st-modal p { color: var(--gray); font-size: 15px; margin-bottom: 26px; }
.st-modal .st-btn {
  background: var(--navy); color: #fff; border: none; padding: 12px 34px;
  border-radius: 50px; font-weight: 700; cursor: pointer; font-size: 15px; transition: background .25s;
}
.st-modal .st-btn:hover { background: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  footer .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 14px; box-shadow: 0 10px 20px rgba(0,0,0,.1);
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 36px; }
  .section { padding: 60px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  footer .grid-4 { grid-template-columns: 1fr; }
}
