/* 
 * Fuerza Torres S.a.C. | Futosa - Professional Logistics Website
 * High Performance & Modern Design
 */

:root {
  /* Color Palette */
  --primary-color: #0d253f; /* Deep Navy Blue */
  --primary-light: #1a3c5e; /* Lighter Navy */
  --secondary-color: #f7a400; /* Safety Orange/Gold */
  --secondary-dark: #d68b00; /* Darker Gold */
  --accent-color: #0096c7; /* Bright Blue for accents */

  /* Neutrals */
  --text-color: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --grey-light: #e9ecef;
  --grey-dark: #343a40;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --section-padding: 80px 0;

  /* Effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 8px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: var(--section-padding);
}

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--off-white);
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(247, 164, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 164, 0, 0.6);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 15px;
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-text {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-text:hover {
  color: var(--secondary-dark);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -1px;
}

.logo .dot {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.nav-links li a:hover:not(.btn-primary) {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: url("images/hero.png"); /* Local generated high-quality truck image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-top: 0px; /* Offset by navbar is handled by specific section padding or hero height */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 37, 63, 0.85) 0%, rgba(13, 37, 63, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding-top: var(--header-height);
}

.hero-subtitle {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Stats Section */
.stats {
  background-color: var(--secondary-color);
  padding: 40px 0;
  color: var(--white);
  position: relative;
  z-index: 10;
  transform: translateY(-50%);
  width: 80%;
  max-width: var(--max-width);
  margin: 0 auto -60px; /* Negative margin to pull up and overlap */
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.stat-item {
  padding: 0 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  display: inline-block;
}

.stat-item span {
  font-size: 2.5rem;
  font-weight: 800;
}

.stat-item p {
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Section Titles */
.section-subtitle {
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* About Section */
.about {
  padding-top: 60px; /* Reduced padding to fix alignment */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-wrapper {
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  background-color: #ddd;
  background-image: url("images/about.png");
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.image-wrapper:hover .img-placeholder {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.experience-badge .years {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.experience-badge .text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.section-text {
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature i {
  color: var(--secondary-color);
  font-size: 1.5rem;
  background-color: rgba(247, 164, 0, 0.1);
  padding: 10px;
  border-radius: 50%;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Services Section */
.services {
  background-color: #f4f7f6;
}

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

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--secondary-color);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(13, 37, 63, 0.05); /* Light primary */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background-color: var(--primary-color);
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.learn-more {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.learn-more:hover {
  color: var(--primary-color);
}

/* Fleet Section */
.fleet {
  background-color: var(--white);
  padding: 80px 0;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.fleet-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.fleet-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.fleet-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.fleet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-image img {
  transform: scale(1.1);
}

.fleet-info {
  padding: 25px;
}

.fleet-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.fleet-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.specs-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  border-top: 1px solid var(--grey-light);
  padding-top: 15px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-color);
  font-weight: 600;
}

.spec-item i {
  color: var(--secondary-color);
}

/* CTA */
.cta {
  background-image: url("images/cta.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: var(--white);
  padding: 100px 0;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 37, 63, 0.85); /* Dark blue overlay */
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-info {
  padding: 50px;
  background-color: var(--primary-color);
  color: var(--white);
}

.contact-info .section-title {
  color: var(--white);
}

.contact-info .section-subtitle {
  color: var(--secondary-color);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item .icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.info-item h4 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--white);
}

.contact-form {
  padding: 50px;
}

.contact-form h3 {
  margin-bottom: 30px;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Open Sans", sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 5px rgba(247, 164, 0, 0.2);
}

.w-full {
  width: 100%;
}

/* Footer */
.footer {
  background-color: #0b1e33; /* Very dark navy */
  color: var(--white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--white);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.newsletter-form button {
  padding: 10px 15px;
  background-color: var(--secondary-color);
  border: none;
  border-radius: 0 4px 4px 0;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-dark);
}

.footer-bottom {
  background-color: #081728;
  padding: 20px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 992px) {
  .stats {
    width: 90%;
    transform: translateY(-30%);
  }

  .stats-grid {
    flex-direction: column;
    gap: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .stats {
    position: static;
    transform: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .btn-secondary {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
