/* Reynolds - Soluciones Electromecánicas */
/* Main Stylesheet */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #848484;
  background-color: #fff;
}

h1 {
  font-family: Raleway, sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #333333;
  line-height: 1.17;
}

h2 {
  font-family: Raleway, sans-serif;
  font-weight: 400;
  font-size: 21px;
  color: #333333;
  line-height: 1.16;
}

h3 {
  font-family: Raleway, sans-serif;
  font-weight: 300;
  font-size: 17px;
  color: #333333;
  line-height: 1.23;
}

a {
  color: #333333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 14px;
  color: #666;
}

.header-top-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-top-item strong {
  color: #333;
}

/* Logo and Navigation */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo {
  background-color: #DC143C;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

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

nav a {
  color: #333;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

nav a:hover {
  color: #DC143C;
  text-decoration: none;
}

.btn-contactanos {
  background-color: #DC143C;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
}

.btn-contactanos:hover {
  background-color: #b01030;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../images/camion-ruta-2.png') center/cover;
  color: white;
  padding: 100px 20px;
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  color: white;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  color: white;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 20px;
}

.section-alt {
  background-color: #f5f5f5;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.services-grid.reverse {
  direction: rtl;
}

.services-grid.reverse > * {
  direction: ltr;
}

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

.service-image img {
  max-width: 100%;
  height: auto;
}

.service-content h2 {
  margin-bottom: 20px;
  color: #333;
}

.service-content p {
  margin-bottom: 15px;
  color: #666;
  line-height: 1.6;
}

.btn-ver-mas {
  background-color: #DC143C;
  color: white;
  padding: 10px 30px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 15px;
}

.btn-ver-mas:hover {
  background-color: #b01030;
}

/* Brands Section */
.brands-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.brands-section h2 {
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #333;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Footer */
footer {
  background-color: #333333;
  color: white;
  padding: 40px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 14px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
}

.footer-section ul li strong {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

.footer-logo {
  background-color: #DC143C;
  padding: 8px 15px;
  display: inline-block;
  margin-bottom: 15px;
  color: white;
  font-weight: bold;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #DC143C;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  z-index: 999;
}

.scroll-to-top.show {
  display: flex;
}

.scroll-to-top:hover {
  background-color: #b01030;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-main {
    flex-direction: column;
    gap: 20px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .header-top {
    flex-direction: column;
    gap: 10px;
  }
}
