/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  order: 2;
  margin-right: 150px;
}

.logo img {
  max-height: 100px;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 5px;
  background-color: #333;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-right: 1.5rem;
}

.menu a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #ff6600;
}

.theme-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.theme-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #ff6600;
}

input:checked + .slider:before {
  transform: translateX(30px);
}

/* Hero Video Section Styles */
.hero-video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding-top: 60px;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #fff;
  text-align: center;
  max-width: 80%;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background-color: #ff6600;
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #e65c00;
}

.video-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Parallax Section Styles */
.parallax-section {
  height: 500px;
  background-image: url('../images/parallax-background.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  position: relative;
  background-color: rgba(0, 0, 0, 0.3);
}

.parallax-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
}

.about-us-content {
     /* Existing styles... */
    /* Change text color to white for better contrast */
    /* color: #C0A000;  *//* Dark Gold */
    /* color: #D4AF00; */ /* Medium Gold */
    /* color: #FFD700; */ /* Bright Gold */
    /* color: #CFB53B;  */ /* Old Gold */
   /*  color: #B8860B;  */ /* Brass Gold */
  color: #CD7633;
}

.about-us-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-us-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.about-us-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.value-card {
  width: 350px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  text-align: left;
}

.value-card img {
  width: 60px;
  margin-bottom: 15px;
}

.value-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.btn {
  display: block;
  margin: 30px auto;
  padding: 15px 30px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover {
  background-color: #0056b3;
}

/* Services Section Styles */
.services-section {
  text-align: center;
   padding: 4rem 2rem;
  background-color: #ffffff;
}

.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.services-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  width: 300px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: left;
}

.service-card img {
  width: 18%;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.service-card ul {
  list-style-type: disc;
  padding-left: 20px;
}

.service-card li {
  margin-bottom: 5px;
}


  /* Contact Section Styles */
  .contact-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f5f5f5; /* Color de fondo gris claro */
  }

  .service-card img {
    width: 25%;  /* Reduce width to 50% of its original size */
    height: auto; /* Maintain aspect ratio by letting height adjust automatically */
  }
  
  /* Footer Styles */

  footer .footer-container {
    display: flex;
    justify-content: space-between;  /* Distributes sections evenly */
    align-items: center;              /* Aligns sections vertically */
  }

  footer {
    background-color: #333;
    color: #fff;
    padding: 2rem;
    text-align: center;
  }
  
  .social-links a {
    color: #fff;
    margin: 0 1rem;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #ff6600;
  }
  
  .address p {
    margin: 0.5rem 0;  /* Reduced margin for less space */
  }
  
  .info-links a {
    color: #fff;
    margin: 0 0.5rem;  /* Reduced margin for less space */
    transition: color 0.3s ease;
  }
  
  .info-links a:hover {
    color: #ff6600;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .menu ul {
      flex-direction: column;
    }
  
    .menu li {
      margin-right: 0;
      margin-bottom: 1rem;
    }
  
    .hero-content {
      max-width: 90%;
    }
  
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .hero-content p {
      font-size: 1.2rem;
    }
  }
  
  /* Estilos para el menú responsive */
  .menu-toggle {
    display: none;
    cursor: pointer;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #333;
  }
  
  .menu {
    display: flex;
  }
  
  /* estilos para pantallas grandes */
/* Estilos para pantallas grandes */
@media (min-width: 769px) {
  .logo {
    text-align: left;
  }
  .menu {
    order: 2;
    text-align: center;
  }
}


/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .menu.active {
    display: flex;
  }
  .menu li {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .menu-toggle {
    display: block;
  }
}




  .logo {
     order: 2; 
     margin-right: 150px; 
   }

  @media (max-width: 768px) {
    .menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background-color: #fff;
      padding: 1rem;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
  
    .menu.active {
      display: flex;
    }
  
    .menu li {
      margin-right: 0;
      margin-bottom: 1rem;
    }
  
    .menu-toggle {
      display: block;
    }
  }



    .logo-text {
      font-size: 0.7rem; /* Adjust font size for smaller screens */
    }

  
  /* Estilos para el botón deslizante del tema */
  .theme-toggle {
    display: none; /* Oculta el botón de cambio de tema en dispositivos móviles */
  }
  
  .theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }
  
  input:checked + .slider {
    background-color: #ff6600;
  }
  
  input:checked + .slider:before {
    transform: translateX(30px);
  }
  
  /* Estilos para el modo oscuro */
  body.dark-mode {
    background-color: #333;
    color: #fff;
  }
  
  body.dark-mode header {
    background-color: #222;
    box-shadow: none;
  }
  
  body.dark-mode .menu a {
    color: #fff;
  }
  
  body.dark-mode .menu a:hover {
    color: #ff6600;
  }
  
  body.dark-mode footer {
    background-color: #222;
  }

  /* seccion servicios */
  .services-section {
    text-align: center; /* Center the content horizontally */
    padding: 50px 0; /* Add spacing around the section */
  }
  
  .services-section h2 {
    font-size: 2.5rem; /* Adjust font size as needed */
    margin-bottom: 20px;
  }
  
  .services-section p {
    font-size: 1.1rem; /* Adjust font size as needed */
    line-height: 1.6; /* Add spacing between lines */
    margin-bottom: 40px;
  }
  
  .service-cards {
    display: flex; /* Arrange cards in a row */
    flex-wrap: wrap; /* Wrap cards to multiple rows if needed */
    justify-content: center; /* Center the cards horizontally */
    gap: 30px; /* Add spacing between cards */
  }
  
  .service-card {
    width: 300px; /* Adjust card width as needed */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: left;
  }
  
  .service-card img {
    width: 80px; /* Adjust icon size as needed */
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 1.8rem; /* Adjust heading size as needed */
    margin-bottom: 10px;
  }
  
  .service-card p {
    font-size: 1rem; /* Adjust paragraph size as needed */
    line-height: 1.5;
  }
  
  .service-card ul {
    list-style-type: disc; /* Use disc bullets */
    padding-left: 20px;
  }
  
  .service-card li {
    margin-bottom: 5px;
  }
  
  .btn {
    display: block; /* Make the button a block element */
    margin: 30px;
  }

  /* seccion parallax */
  .parallax-section {
    background-image: url('../images/parallax-background.jpg'); /* Replace with your background image */
    background-attachment: fixed; /* Keep the background fixed during scrolling */
    background-size: cover; /* Cover the entire section with the background image */
    height: 500px; /* Adjust the height as needed */
    padding: 100px 0; /* Add spacing around the content */
    color: #fff; /* Use white text for contrast */
  }

  @media (max-width: 768px) {
    .parallax-section {
      height: auto;  /* Remove fixed height for mobile */
      padding: 50px 0;  /* Adjust padding for smaller screens */
    }
  }
  
  .about-us-content {
    text-align: center;
  }
  
  .about-us-content h2 {
    font-size: 3rem; /* Adjust font size as needed */
    margin-bottom: 20px;
  }
  
  .about-us-content p {
    font-size: 1.2rem; /* Adjust font size as needed */
    line-height: 1.6;
    margin-bottom: 40px;
  }
  
  .about-us-values {
    display: flex; /* Arrange value cards in a row */
    flex-wrap: wrap; /* Wrap cards to multiple rows if needed */
    justify-content: center; /* Center the cards horizontally */
    gap: 30px; /* Add spacing between cards */
  }
  
  .value-card {
    width: 350px; /* Adjust card width as needed */
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    text-align: left;
  }
  
  .value-card img {
    width: 60px; /* Adjust icon size as needed */
    margin-bottom: 15px;
  }
  
  .value-card h3 {
    font-size: 1.6rem; /* Adjust heading size as needed */
    margin-bottom: 10px;
  }
  
  .value-card p {
    font-size: 1rem; /* Adjust paragraph size as needed */
    line-height: 1.5;
  }
  
  .btn {
    display: block; /* Make the button a block element */
    margin: 30px auto;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #0056b3;
  }

  /* formulario contact */
  .contact-section {
    text-align: center;
    padding: 50px 0;
  }
  
  .contact-section h2 {
    font-size: 2.5rem; /* Adjust font size as needed */
    margin-bottom: 20px;
  }
  
  .contact-section p {
    font-size: 1.1rem; /* Adjust font size as needed */
    line-height: 1.6;
    margin-bottom: 40px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-control {
    width: 50%; /* Adjust width as needed */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .form-control:focus {
    outline: none;
    border-color: #007bff;
  }
  
  .btn {
    display: block;
    margin: 30px auto;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #0056b3;
  }

  /* footer */
  footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
  }
  
  .footer-section {
    flex: 1;
    text-align: center;
  }
  
  .social-links {
    margin-bottom: 20px;
  }
  
  .social-icon {
    display: inline-block;
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s ease;
  }
  
  .social-icon:hover {
    color: #007bff;
  }
  
  .address {
    margin-bottom: 20px;
  }
  
  .address p {
    margin-bottom: 5px;
  }
  
  .info-links {
    list-style: none;
    padding: 0;
  }
  
  .info-links li {
    margin-bottom: 10px; /* Adjust spacing as needed */
  }
  
  .info-links a {
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .info-links a:hover {
    color: #007bff;
  }
  
  @media (max-width: 768px) {
    .footer-section {
      flex: 1 0 50%; /* Equal width for each section on mobile */
    }
  }
  
  @media (max-width: 480px) {
    .footer-section {
      flex: 1 0 100%; /* Stack sections vertically on extra small screens */
    }
  }


/* form contacte fix label */
.contact-section label {
  width: auto; 
  height: auto; 
  background: none; 
  box-shadow: none; 
  cursor: auto; 
}

.contact-section label:after {
  display: none; 
}

.contact-section label svg {
  display: none; 
}

.contact-section input {
  width: 50%; 
  height: 40%; 
  visibility: visible; 
}
