/* Global Styles */

/* Define colour variables for easy theming */
:root {
  --primary-color: #f29902; /* warm orange accent used for buttons and highlights */
  --background-color: #0d0d0d; /* almost black background for high contrast */
  --text-color: #f5f5f5; /* light grey text for readability */
  --secondary-color: #1f1f1f; /* dark grey panels for cards and tables */
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Hero Section */
/* Hero section fills the viewport height and centres its content both vertically and horizontally. */
.hero {
  position: relative;
  background: url('../images/truck1.png') no-repeat center center/cover;
  color: #fff;
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

/* dark overlay on the hero image to improve text contrast */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.logo {
  width: 220px;
  margin-top: -150px;

}

.hero h1 {
  font-size: 2.8em;
  margin: 0 0 15px;
}

.hero p {
  font-size: 1.25em;
  margin-bottom: 25px;
}

/* Base CTA button styling: larger size for better visibility */
.cta-btn {
  display: inline-block;
  padding: 20px 45px;
  background-color: var(--primary-color);
  color: #000;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover state for CTA buttons */
.cta-btn:hover {
  background-color: #ffa726;
  transform: scale(1.05);
}

/* Animated CTA used on the first screen to draw attention */
.cta-animate {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(242, 153, 2, 0.4);
  }
  50% {
    background-color: #ffb75d;
    box-shadow: 0 0 15px 5px rgba(242, 153, 2, 0.5);
  }
  100% {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(242, 153, 2, 0.4);
  }
}

/* language switcher */
.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  font-weight: bold;
  background-color: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border-radius: 4px;
  color: #fff;
}

/* Sections */
section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: var(--primary-color);
}

/* Features */
.features ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.features li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Services */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 260px;
  max-width: 300px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.3em;
}

.card p {
  font-size: 0.95em;
}

/* Pricing */
.pricing-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.table {
  background-color: var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 260px;
  max-width: 300px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.table h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.3em;
}

.table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table li {
  padding: 8px 0;
  border-bottom: 1px solid #333;
  font-size: 0.95em;
}

.table li:last-child {
  border-bottom: none;
}

.note {
  margin-top: 25px;
  font-style: italic;
  text-align: center;
  font-size: 0.9em;
  color: #ccc;
}

/* Call-now section: centre its content */
.call-now {
  text-align: center;
}

/* Emphasise call-now section headings and paragraphs */
.call-now h2 {
  font-size: 2.2em;
  margin-bottom: 15px;
}

.call-now p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Make call-now button even larger */
/* For call-now CTA, use the same sizing as the hero button for spójny wygląd */
.call-now .cta-btn {
  padding: 20px 45px;
  font-size: 1.2em;
}
}

/* Footer */
footer {
  padding: 40px 20px;
  background-color: #000;
  color: #ddd;
  font-size: 0.9em;
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 40px;
}

footer p {
  margin: 10px 0;
  line-height: 1.4;
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Floating call button */
.float-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: #000;
  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.float-call .call-icon {
  margin-right: 8px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.2em;
  }
  .hero p {
    font-size: 1.1em;
  }
  .cta-btn {
    padding: 12px 28px;
    font-size: 1em;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 15px;
  }
  .hero h1 {
    font-size: 1.8em;
  }
  .hero p {
    font-size: 0.95em;
  }
  .cta-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .logo {
    width: 160px;
  }
  .lang-switch {
    font-size: 0.85em;
    padding: 4px 8px;
  }
}
