/* 7Trade Main Stylesheet - Ultra Sleek & Elegant Header */

/* Header & Navigation */
.topbar {
  background-color: var(--dark);
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.topbar-info-item svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.social-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: white;
  font-size: 0.7rem;
  transition: var(--transition);
}

.social-nav-btn.wa { background: #25d366; }
.social-nav-btn.tg { background: #0088cc; }
.social-nav-btn.vb { background: #7360f2; }

.social-nav-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active, .lang-btn:hover {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

/* Header Navbar (Slim & Elegant) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

/* Adjust sticky header position when WordPress Admin Bar is visible */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

/* Strict Logo Sizing to prevent bloated headers in WP */
.logo-brand img,
.custom-logo,
a.custom-logo-link img {
  max-height: 42px !important;
  height: 42px !important;
  width: auto !important;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  margin: 4px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--dark);
  z-index: 1001;
  padding: 30px 24px;
  transition: var(--transition);
  box-shadow: -5px 0 25px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-menu-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  margin-top: 24px;
}

.mobile-nav-list li {
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 12px;
}

.mobile-nav-list a {
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
}

/* 1-Click Messaging Action Badges */
.messaging-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: white !important;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.msg-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.msg-btn.telegram { background: linear-gradient(135deg, #0088cc, #006699); }
.msg-btn.viber { background: linear-gradient(135deg, #7360f2, #5944d3); }

.msg-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 90px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 87, 34, 0.15);
  border: 1px solid rgba(255, 87, 34, 0.4);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 36px;
}

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

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Stats Bar */
.stats-bar {
  background: var(--dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 35px 40px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
}

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

/* Products Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  transition: var(--transition);
}

.product-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  stroke: var(--primary);
  fill: none;
  transition: var(--transition);
}

.product-link:hover svg {
  transform: translateX(4px);
}

/* Logistics Section */
.logistics-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.logistics-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.logistics-info p {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .logistics-banner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .messaging-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .topbar {
    padding: 6px 0;
  }

  .topbar-content {
    justify-content: space-between;
  }

  .nav-menu, .site-header .header-cta-btn {
    display: none !important;
  }

  .mobile-toggle {
    display: block !important;
  }

  .navbar {
    height: 62px;
  }

  .logo-brand img,
  .custom-logo,
  a.custom-logo-link img {
    max-height: 36px !important;
    height: 36px !important;
  }

  .hero-section {
    padding: 60px 0 80px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

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

  .hero-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .messaging-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }
}
