/* ===================================================
   MST DELIVERIES LTD — Main Stylesheet
   =================================================== */

/* === Variables === */
:root {
  --bg:          #050D12;
  --bg-alt:      #040A10;
  --ov:          rgba(5, 13, 18, 0.86);
  --ov-alt:      rgba(4, 10, 16, 0.93);
  --cyan:        #00D4FF;
  --cyan-dim:    rgba(0, 212, 255, 0.25);
  --text:        #E8F4F8;
  --text-muted:  #6B9BAA;
  --card-bg:     rgba(0, 212, 255, 0.04);
  --card-border: rgba(0, 212, 255, 0.14);
  --header-h:    70px;
  --r:           10px;
  --max-w:       1100px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .72; }
img { max-width: 100%; display: block; }
address { font-style: normal; }
button { font-family: inherit; }

/* === Parallax Background === */
#parallax-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
#parallax-img {
  width: 100%;
  height: auto;
  will-change: transform;
  transform-origin: top center;
  display: block;
}

/* === Container === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* === Section Base === */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ov);
  z-index: -1;
}
.section-alt::before { background: var(--ov-alt); }

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 620px;
  font-size: .975rem;
}
.accent { color: var(--cyan); }

/* === Header === */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(5, 13, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  transition: height .25s;
}
#site-header.compact { height: 54px; }

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
}
.brand-link:hover { opacity: 1; }

.header-logo,
.footer-logo {
  height: 42px;
  width: auto;
  background: #fff;
  border-radius: 7px;
  padding: 4px 8px;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .03em;
  transition: color .2s;
  opacity: 1;
}
nav a:hover { color: var(--text); }

/* === Buttons === */
.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  background: var(--cyan);
  color: #050D12;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .05em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-transform: uppercase;
}
.btn-primary:hover {
  background: #33DEFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.28);
  opacity: 1;
}
.btn-primary:disabled {
  background: var(--cyan-dim);
  color: rgba(5, 13, 18, 0.6);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-nav {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  color: var(--cyan) !important;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s;
}
.btn-nav:hover { background: rgba(0, 212, 255, 0.1); }

/* === Hero === */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
#hero::before { background: rgba(5, 13, 18, 0.78); }

.hero-content h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 38px;
  max-width: 500px;
  line-height: 1.75;
}

/* === About === */
.about-text--centred {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.about-text p {
  margin-bottom: 18px;
  color: var(--text-muted);
  line-height: 1.82;
  font-size: .96rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 600; }

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.service-card {
  padding: 28px 22px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  transition: border-color .25s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.07);
}
.service-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: .02em;
}
.service-card p {
  font-size: .865rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}
.price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .02em;
  margin-top: auto;
}
.pricing-note {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-row label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .03em;
}
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  transition: border-color .2s, background .2s;
  outline: none;
  width: 100%;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-muted); opacity: .6; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.055);
}
.form-row select option { background: #0A1820; color: var(--text); }
.form-row textarea { resize: vertical; min-height: 110px; }

.form-success {
  padding: 14px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--cyan);
  font-size: .9rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 2px;
}
.contact-item { display: flex; flex-direction: column; gap: 5px; }
.contact-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cyan);
  font-weight: 600;
}
.contact-item a,
.contact-item address,
.contact-item p {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.75;
}
.contact-item a:hover { color: var(--cyan); opacity: 1; }

/* === Footer === */
#site-footer {
  position: relative;
  z-index: 1;
  padding: 52px 0 34px;
  background: rgba(3, 8, 12, 0.97);
  border-top: 1px solid var(--card-border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-legal {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.footer-legal strong { color: var(--text); font-weight: 600; }
.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: .84rem;
  color: var(--text-muted);
  transition: color .2s;
  opacity: 1;
}
.footer-links a:hover { color: var(--cyan); }
.footer-copy {
  font-size: .76rem;
  color: var(--text-muted);
  opacity: .7;
}

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px; right: 20px;
  z-index: 200;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(6, 16, 24, 0.97);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}
.cookie-banner.hidden { display: none; }
.cookie-banner p {
  font-size: .83rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.6;
}
.cookie-banner a { color: var(--cyan); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cookie {
  padding: 8px 20px;
  background: var(--cyan);
  color: #050D12;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-size: .82rem;
  white-space: nowrap;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.btn-cookie:hover { background: #33DEFF; }
.btn-cookie--decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}
.btn-cookie--decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* === Legal Pages === */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 28px 90px;
  position: relative;
  z-index: 1;
}
.legal-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 18, 0.92);
  z-index: -1;
}
.legal-page h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.legal-page .meta {
  color: var(--text-muted);
  font-size: .82rem;
  margin-bottom: 52px;
}
.legal-page h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--cyan);
  letter-spacing: .03em;
}
.legal-page p,
.legal-page li {
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 12px;
  font-size: .945rem;
}
.legal-page ul {
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-page strong { color: var(--text); font-weight: 600; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
  font-size: .84rem;
  color: var(--text-muted);
  transition: color .2s;
  opacity: 1;
}
.back-link:hover { color: var(--cyan); }

/* === Responsive === */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid > .contact-info { order: -1; }
}
@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
  nav a:not(.btn-nav) { display: none; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
  .section { padding: 68px 0; }
  .hero-content h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
}
