/* Custom CSS for PARQUET JOSE S.A. - Professional & Modern Design */

/* General Styles */
body {
  font-family: 'Roboto', sans-serif; /* Modern, clean font */
  line-height: 1.7;
  color: #333;
  background-color: #f0f2f5; /* Soft light background */
  padding-top: 0; /* Navbar is initially transparent and covers top */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif; /* Stronger font for headings */
  font-weight: 700;
  color: #2c3e50; /* Darker, professional tone */
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 40px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 4px;
  width: 80px;
  background-color: #a0522d; /* Sienna - accent color */
  border-radius: 2px;
}

/* Section Backgrounds for better division */
.bg-light-section {
  background-color: #f8f9fa; /* Light gray */
}

.bg-white-section {
  background-color: #ffffff; /* Pure white */
}

.bg-dark-section {
  background-color: #212529; /* Dark for footer */
}

/* Navbar */
.navbar {
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  z-index: 1030; /* Ensure it's above other content */
}

.navbar.scrolled {
  background-color: #2c3e50; /* Dark blue/charcoal when scrolled */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff !important;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #a0522d; /* Sienna - accent color */
}

.navbar.scrolled .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
  color: #a0522d; /* Sienna - accent color */
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/imagen1.jpeg') no-repeat center center; /* Darker overlay */
  background-size: cover;
  background-attachment: fixed; /* Parallax effect */
  min-height: 90vh; /* Occupy more space */
  position: relative;
  padding: 150px 0; /* More padding */
  display: flex;
  align-items: center;
  justify-content: center; /* Reverted to center */
}

.hero-section h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Removed hero-title-effect and @keyframes text-glow */

.hero-section p.lead {
  font-size: 1.75rem;
  margin-bottom: 3rem;
  color: #e0e0e0;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.btn-primary {
  background-color: #a0522d; /* Sienna - main accent */
  border-color: #a0522d;
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px; /* Pill shape */
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #8b4513; /* SaddleBrown - darker on hover */
  border-color: #8b4513;
  transform: translateY(-3px);
}

/* Sections General Padding */
section {
  padding: 100px 0; /* More vertical spacing */
}

/* Services Section */
.service-card {
  border: none;
  border-radius: 1rem; /* More rounded corners */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.service-card .card-body {
  padding: 2rem;
  text-align: center;
}

.service-icon-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.service-icon-title .fa-solid {
  color: #a0522d; /* Sienna for icons */
}

.service-card .card-title {
  font-size: 1.8rem;
  margin-bottom: 0; /* Adjusted margin */
  color: #2c3e50; /* Darker heading color */
}

.service-card .card-text {
  color: #555;
}

/* Materials Section - Redesigned */
.material-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.material-item .fa-solid {
  color: #a0522d; /* Sienna for icons */
}

.brand-logo {
  max-height: 120px;
  width: auto;
  filter: grayscale(80%); /* Slightly less grayscale */
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Work Carousel Section */
.carousel-item img.carousel-img {
  height: 600px; /* Taller carousel images */
  object-fit: cover;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 0.75rem;
  padding: 1.5rem;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.carousel-caption h5 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  color: #e9ecef;
  font-size: 1.2rem;
}

.carousel-control-prev, .carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 1.5rem;
}

/* Contact Section */
.contact-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 15px;
  border-radius: 1rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-button i {
  margin-bottom: 15px;
  font-size: 3rem; /* Larger icons */
}

.contact-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  color: #fff; /* Keep text white on hover */
}

/* Specific Social Button Colors */
.whatsapp-btn { background-color: #25D366; }
.whatsapp-btn:hover { background-color: #1DA851; }

.instagram-btn {
  background: #f09433;
  background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2743 75%,#bc1888 100%); /* Adjusted for consistency */
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
.instagram-btn:hover {
  filter: brightness(1.1);
}

.facebook-btn { background-color: #1877F2; }
.facebook-btn:hover { background-color: #145CB3; }

.email-btn { background-color: #a0522d; } /* Sienna for email */
.email-btn:hover { background-color: #8b4513; }

.location-info {
  background-color: #f8f9fa; /* Light background for location info */
  border: 1px solid #e0e0e0;
  padding: 2rem; /* Consistent padding */
  border-radius: 0.5rem; /* Slightly less rounded for a more contained look */
}

.location-info .fa-map-marker-alt {
  color: #a0522d; /* Sienna for map icon */
}

/* Footer */
.footer {
  padding: 80px 0; /* Increased padding for a larger footer */
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer .social-icons a {
  color: #fff;
  transition: color 0.3s ease;
}

.footer .social-icons a:hover {
  color: #a0522d; /* Sienna on hover */
}

/* Back to Top Button */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 1.5rem;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTopBtn:hover {
  transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .hero-section h1 {
    font-size: 3.8rem;
  }
  .hero-section p.lead {
    font-size: 1.5rem;
  }
  .carousel-item img.carousel-img {
    height: 500px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background-color: #2c3e50; /* Always dark on smaller screens */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .navbar-collapse {
      background-color: #2c3e50;
      padding: 1rem;
      border-radius: 0.5rem;
      margin-top: 0.5rem;
  }
  .navbar-nav .nav-link {
      padding: 0.75rem 1rem;
      text-align: center;
  }
  .hero-section {
      min-height: 70vh;
      padding: 100px 0;
  }
  .hero-section h1 {
      font-size: 3rem;
  }
  .hero-section p.lead {
      font-size: 1.3rem;
  }
  section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .service-card .card-title {
    font-size: 1.6rem;
  }
  .carousel-item img.carousel-img {
    height: 400px;
  }
  .carousel-caption h5 {
    font-size: 1.5rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .contact-button {
    padding: 20px 10px;
    font-size: 1.1rem;
  }
  .contact-button i {
    font-size: 2.5rem;
  }
  .footer {
    padding: 60px 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
      min-height: 60vh;
      padding: 80px 0;
  }
  .hero-section h1 {
      font-size: 2.5rem;
  }
  .hero-section p.lead {
      font-size: 1.1rem;
  }
  section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .service-card .card-title {
    font-size: 1.4rem;
  }
  .carousel-item img.carousel-img {
    height: 300px;
  }
  .carousel-caption {
    padding: 1rem;
    bottom: 15px;
  }
  .carousel-caption h5 {
    font-size: 1.3rem;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }
  .contact-button {
    padding: 15px 8px;
    font-size: 1rem;
  }
  .contact-button i {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  #backToTopBtn {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p.lead {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .carousel-item img.carousel-img {
    height: 250px;
  }
  .carousel-caption {
    display: none !important; /* Hide caption on very small screens */
  }
  .contact-button {
    width: 100%; /* Full width buttons on extra small screens */
  }
}
