/* Team General Trading LLC - Main Styles */
:root {
  --primary: #0d47a1;
  --primary-dark: #002171;
  --accent: #00838f;
  --accent-red: #8b1538;
  --text: #1a237e;
  --text-muted: #5c6bc0;
  --bg: #f8f9fa;
  --white: #ffffff;
  --border: #e8eaf6;
  --shadow: 0 2px 12px rgba(13, 71, 161, 0.08);
  --shadow-lg: 0 8px 32px rgba(13, 71, 161, 0.12);
  --font: 'Segoe UI', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Header & Nav */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}
.logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.logo .logo-text {
  display: none;
}
.logo .logo-text span {
  color: var(--accent);
  font-weight: 600;
}
.logo span {
  color: var(--accent);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.25rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}
.nav-menu li a {
  display: block;
  padding: 0.6rem 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  background: rgba(13, 71, 161, 0.08);
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
}

/* Page sections */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.page-hero p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
}
.section-title {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.25rem;
}

/* Founder block (About page) */
.founder-block {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 2rem;
  align-items: start;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-image-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--border);
}
.founder-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.founder-content .section-title {
  margin-top: 0;
}
.founder-content p {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .founder-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .founder-image-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Product image auto-scroll slider */
.product-slider-wrap {
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 0.75rem 0;
}
.product-slider {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: product-slider-scroll 30s linear infinite;
}
.product-slider-wrap:hover .product-slider {
  animation-play-state: paused;
}
.product-slider-item {
  flex: 0 0 auto;
  width: 200px;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-slider-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.product-slider-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
@keyframes product-slider-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Home hero */
.home-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #01579b 50%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}
.home-hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.home-hero .tagline {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.home-hero .contact-mini {
  font-size: 0.95rem;
  opacity: 0.9;
}
.home-hero .contact-mini a {
  color: var(--white);
  text-decoration: underline;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.card p, .card ul {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}

/* Content blocks */
.content-block {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.content-block h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

/* Product categories */
.product-category {
  margin-bottom: 2rem;
}
.product-category h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--border);
}
.product-category ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}
.product-category li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.product-category li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Clients grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.client-item {
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}
.clients-logo-intro {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.client-logo-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 110px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.client-logo-item img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.contact-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.contact-card p, .contact-card a {
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #001a4d 100%);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
  text-align: center;
  border-top: 4px solid var(--accent);
}
.site-footer .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-footer a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}
.site-footer p {
  margin: 0.25rem 0;
}
.site-footer .tagline {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

/* Lists */
ul.bullet {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
ul.bullet li {
  margin-bottom: 0.35rem;
}

/* Image gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.gallery-item {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-item img.img-placeholder,
.product-slider-item img.img-placeholder {
  background: var(--border);
  object-fit: none;
}
.gallery-item.gallery-logo img {
  aspect-ratio: auto;
  object-fit: contain;
  padding: 0.5rem;
  max-height: 140px;
}
.gallery-item.gallery-founder img {
  aspect-ratio: 3/4;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

/* Product category with image */
.product-category-with-img {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.product-category-with-img img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
}
@media (max-width: 640px) {
  .product-category-with-img {
    grid-template-columns: 1fr;
  }
}

/* Social icons */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}
.social-links a:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
  color: var(--white);
}
.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.site-footer .social-links {
  margin-top: 1rem;
}

/* Floating social / contact widget */
.floating-widget {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.floating-widget a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-widget a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  color: var(--white);
}
.floating-widget a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.floating-widget .float-whatsapp { background: #25d366; }
.floating-widget .float-email { background: var(--primary); }
.floating-widget .float-map { background: #34a853; }
.floating-widget .float-fb { background: #1877f2; }
.floating-widget .float-in { background: #0a66c2; }
.floating-widget .float-ig { background: linear-gradient(135deg, #f58529, #dd2a7b); }
@media (max-width: 480px) {
  .floating-widget { right: 0.75rem; bottom: 1rem; }
  .floating-widget a { width: 44px; height: 44px; }
  .floating-widget a svg { width: 22px; height: 22px; }
}

/* Google Map embed */
.map-wrap {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Utility */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
