/*
Theme Name: Modern Day Trading
Theme URI: https://example.com/
Author: Modern Day Trading
Description: Simple, bold theme for office chairs and office furniture.
Version: 1.4
Text Domain: modern-day-trading
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  --brand-red: #E21E22;
  --brand-red-light: #F36B7A;
  --brand-charcoal: #2C2A28;
  --paper: #F7F4F1;
  --ink: #1D1C1A;
  --accent-1: #FFB000;
  --accent-2: #2BC3C9;
  --accent-3: #8A63D2;
  --accent-4: #46C37B;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(135deg, var(--brand-red-light) 0%, var(--brand-charcoal) 60%);
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo img { height: 44px; width: auto; max-width: 160px; object-fit: contain; display: block; }

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav li { margin: 0; list-style: none; }

.nav a { padding: 8px 10px; border-radius: 6px; }

.nav a:hover { background: var(--brand-red); }

.hero {
  padding: 70px 0 50px;
  background: radial-gradient(circle at top left, #FFE7E7, transparent 55%),
              radial-gradient(circle at top right, #E7F9FF, transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin: 0 0 12px;
  color: var(--brand-charcoal);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--brand-red);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}

.hero-anim {
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp 0.7s ease-out forwards;
}

.hero-anim-1 { animation-delay: 0.05s; }
.hero-anim-2 { animation-delay: 0.15s; }
.hero-anim-3 { animation-delay: 0.25s; }
.hero-anim-4 { animation-delay: 0.35s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 28px;
  margin: 0 0 20px;
  color: var(--brand-charcoal);
}

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

.tile-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
}

.tile-card {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  text-align: center;
  border: 1px solid #e9e9e9;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.tile-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.tile-card h4 {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-charcoal);
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.card h3 { margin: 14px 0 6px; }

.cta {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--brand-red);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

.info-strip {
  background: var(--brand-charcoal);
  color: #fff;
  padding: 24px 0;
}

.info-strip .grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

.product-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.product-card {
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: 600;
}

.product-card span { font-size: 12px; opacity: 0.8; }

.product-card:nth-child(5n+1) { background: linear-gradient(135deg, #E21E22, #FF7B7B); }
.product-card:nth-child(5n+2) { background: linear-gradient(135deg, #2BC3C9, #5DE0FF); }
.product-card:nth-child(5n+3) { background: linear-gradient(135deg, #FFB000, #FFD56B); }
.product-card:nth-child(5n+4) { background: linear-gradient(135deg, #8A63D2, #C39DFF); }
.product-card:nth-child(5n+5) { background: linear-gradient(135deg, #46C37B, #8CF0B2); }

.form {
  display: grid;
  gap: 12px;
}

.form input, .form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.form button {
  padding: 12px 16px;
  border: 0;
  background: var(--brand-red);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  background: var(--brand-charcoal);
  color: #fff;
  padding: 18px 0;
  margin-top: 60px;
}

.site-footer .footer-grid {
  gap: 16px;
  font-size: 14px;
}

.site-footer p {
  margin: 6px 0 0;
  line-height: 1.4;
}

.footer-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

@media (max-width: 720px) {
  .site-header .bar { flex-direction: column; align-items: flex-start; }
  .nav { gap: 10px; }
}
