
:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #ffd800;
  --accent-soft: rgba(255, 216, 0, 0.12);
  --accent-blue: #174b9f;
  --text: #f5f7ff;
  --muted: #b0b4c3;
  --border-subtle: rgba(255,255,255,0.06);
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
  --radius-lg: 18px;
  --radius-xl: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #182648 0, #050816 55%, #02030a 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5,8,22,0.96), rgba(5,8,22,0.82));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

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

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #fff 0, #ffd800 26%, #174b9f 72%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(255,216,0,0.6);
}

.nav-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-title {
  display: flex;
  flex-direction: column;
}

.nav-title span:first-child {
  font-weight: 650;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
}

.nav-title span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #03040b;
  background: var(--accent);
}

/* Hero */

.hero {
  padding: 32px 0 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 10px;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(9,16,44,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  font-size: 0.8rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255,216,0,0.9);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffe666);
  color: #050816;
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(0,0,0,0.6);
}

.btn-ghost {
  background: rgba(8,14,40,0.9);
  color: var(--muted);
  border-color: rgba(255,255,255,0.12);
}

.hero-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero visual */

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at top, #1f2a4d 0, #050816 50%, #02030a 100%);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.hero-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.hero-gradient {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(5,8,22,0.96), transparent);
}

.hero-truck {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(2,4,13,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.7);
  backdrop-filter: blur(14px);
}

.hero-truck-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff 0, #ffd800 28%, #174b9f 76%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(255,216,0,0.7);
}

.hero-truck-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-truck-text {
  display: flex;
  flex-direction: column;
}

.hero-truck-text span:first-child {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-truck-text span:last-child {
  font-size: 0.9rem;
}

/* Sections */

.section {
  padding: 12px 0 26px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.section-heading p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Cards row */

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: rgba(7,11,30,0.96);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 14px 14px 16px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.58);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Masonry gallery */

.gallery-masonry {
  column-count: 3;
  column-gap: 12px;
}

.gallery-masonry img {
  width: 100%;
  display: block;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.7);
}

/* Slideshow on home */

.home-slideshow {
  margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  background: #000;
}

.home-slideshow-inner {
  position: relative;
  width: 100%;
  height: 420px;
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #000;
}

.home-slide.active {
  opacity: 1;
}

.home-slideshow-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.home-slideshow-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
}

.home-slideshow-dots span.active {
  background: rgba(255,255,255,0.95);
}

/* Content pages */

.text-block {
  background: rgba(7,11,30,0.96);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 16px 18px 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.6);
  font-size: 0.95rem;
  color: var(--muted);
}

.text-block p {
  margin-top: 0;
}

.partners {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.owners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.owner-card img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.7);
}

.owner-card p {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.owner-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 20px;
}

.contact-card {
  background: rgba(7,11,30,0.96);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  box-shadow: 0 14px 32px rgba(0,0,0,0.6);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.contact-details dt {
  font-weight: 600;
  margin-top: 6px;
  color: var(--text);
}

.contact-details dd {
  margin: 0;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

/* Footer */

.footer-inner {
  text-align: center;
  font-size: 0.82rem;
  color: #d3d5e2;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 24px;
}

.footer-logo {
  max-width: 150px;
  display: block;
  margin: 0 auto 8px auto;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card img {
    height: 260px;
  }
  .home-slideshow-inner {
    height: 340px;
  }
  .gallery-masonry {
    column-count: 2;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero {
    padding-top: 22px;
  }
  .hero-card img {
    height: 230px;
  }
  .home-slideshow-inner {
    height: 260px;
  }
  .gallery-masonry {
    column-count: 1;
  }
}


/* Floating TP logo on hero image */
.hero-logo-tp {
  position: absolute;
  left: 14px;
  bottom: 14px;
}

.hero-logo-tp img {
  width: 56px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.8));
}
