/* ===== Globex Asia - Static Site ===== */
:root {
  --orange: #f5a623;
  --orange-dark: #e09000;
  --orange-light: #ffb84d;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --gray: #2c3e50;
  --gray-light: #f5f6fa;
  --text: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(245,166,35,0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .name {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-text .tagline {
  font-size: 11px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--orange);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2d1b4e 0%, #4a1942 40%, #6b2d5c 70%, #8b3a5c 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(245,166,35,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,166,35,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
}

/* ===== Section Common ===== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ===== Commodities ===== */
.commodities {
  background: var(--gray-light);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-img {
  height: 180px;
  background: linear-gradient(135deg, #3d2a5c, #6b3a5c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
}

.card-body {
  padding: 28px;
}

.card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.card-body ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.card-body ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

.card-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
}

.card-link:hover {
  color: var(--orange-dark);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--gray-light);
  border-radius: 12px;
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 6px;
}

.about-image {
  background: linear-gradient(135deg, #2d1b4e, #6b2d5c);
  border-radius: 20px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  text-align: center;
  padding: 40px;
}

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

.service-item {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s;
}

.service-item:hover {
  border-color: var(--orange);
  box-shadow: 0 10px 30px rgba(245,166,35,0.15);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(245,166,35,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  color: var(--orange);
}

.service-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.service-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Partners ===== */
.partners {
  background: var(--gray-light);
  text-align: center;
}

.partners-text {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ===== Contact ===== */
.contact-section {
  background: linear-gradient(135deg, #1a1a2e, #2d1b4e);
  color: white;
}

.contact-section .section-header h2,
.contact-section .section-header p {
  color: white;
}

.contact-section .section-header p {
  opacity: 0.8;
}

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

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(245,166,35,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  font-size: 18px;
}

.contact-item .text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  opacity: 0.7;
}

.contact-item .text p {
  font-size: 1.05rem;
}

.contact-form {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.85;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.footer-logo .name {
  font-size: 20px;
  color: white;
  font-weight: 700;
}

.footer-copy {
  font-size: 0.9rem;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #2d1b4e, #6b2d5c);
  padding: 160px 0 80px;
  text-align: center;
  color: white;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-hero p {
  opacity: 0.85;
  font-size: 1.15rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

  .about-image {
    height: 280px;
  }

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

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
