/* 
  style.css
  Dark greys + orange for a modern industrial vibe 
  Fonts: Roboto and Bebas Neue from Google Fonts 
*/

/* Root Variables for easy color management */
:root {
  --dark-grey: #1a1a1a;
  --medium-grey: #2a2a2a;
  --accent-color: #ff7a00; /* Orange */
  --text-light: #f4f4f4;
  --text-grey: #ccc;
}

/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--dark-grey);
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container Utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header / Navbar */
.header {
  background-color: var(--medium-grey);
  padding: 1rem 0;
}

/* Company Name Styling */
.company-name {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem; /* Adjust size as needed */
  font-weight: 700; /* Choose from 400 (regular), 500 (medium), 700 (bold) */
  color: #ff6600; /* Optional: set a bold color, e.g., orange */
  text-transform: uppercase; /* Optional: make the text uppercase */
  letter-spacing: 2px; /* Optional: space out the letters */
  text-align: center; /* Optional: center the text */
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

/* Logo */
.logo-image {
  width: 150px;
  height: auto;
}

/* Company Name */
.company-name {
  text-align: center;
  flex: 1; /* Allows the company name to take up remaining space */
}

.company-name h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem; /* Larger font size for emphasis */
  color: var(--accent-color);
  margin: 0; /* Remove default margins */
}

/* Phone Number */
.contact-info .phone {
  color: var(--text-light);
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
}

.contact-info .phone:hover {
  color: var(--accent-color);
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  margin-bottom: 2rem;
}

.carousel-slide {
  position: relative;
}

.carousel-image {
  width: 100%;
  height: 90vh; /* Adjust the hero height as needed */
  object-fit: cover;
  display: block;
}

/* Tinted Overlay */
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Tinted overlay */
  pointer-events: none; /* Let user interact with underlying elements if needed */
}

/* Carousel Caption (Text on top of images) */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.carousel-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.carousel-caption p {
  font-size: 1.2rem;
}

/* Swiper Navigation & Pagination */
.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-color);
}

.swiper-pagination-bullet {
  background: var(--accent-color);
}

/* Services Section */
.services {
  background-color: var(--medium-grey);
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0.5rem auto 2rem;
  color: var(--text-grey);
}

.service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.service-item {
  background-color: var(--dark-grey);
  padding: 1.5rem;
  border: 1px solid #444;
  border-radius: 4px;
  text-align: center;
}

.service-item h3 {
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

/* About Section */
.about {
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}

/* About Section Refinements */
.about-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-image img {
  width: 100%;        /* Ensure the image is responsive */
  max-width: 600px;   /* Limit the maximum width */
  max-height: 600px;       /* Maintain aspect ratio */
  border-radius: 4px;
  object-fit: cover;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--medium-grey);
  padding: 3rem 0;
}

.testimonials .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.testimonial-item {
  background-color: var(--dark-grey);
  padding: 1.5rem;
  border: 1px solid #444;
  border-radius: 4px;
  text-align: center;
}

.testimonial-item p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-item h4 {
  font-size: 1rem;
  color: var(--accent-color);
  margin: 0;
}

/* Responsive Adjustments for Testimonials */
@media (max-width: 992px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
.about-cta {
  text-align: center;
  margin-top: 2rem;
}

.about-cta .cta-button {
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 500;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.3s;
  text-decoration: none;
}

.about-cta .cta-button:hover {
  background-color: #e86e00;
}



/* Contact Section */
.contact {
  padding: 3rem 0;
  background-color: var(--medium-grey);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form label {
  font-weight: 500;
  color: var(--text-grey);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  background-color: #333;
  border: 1px solid #444;
  border-radius: 4px;
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.cta-button {
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 500;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #e86e00;
}

.inline-phone {
  color: var(--accent-color);
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: var(--dark-grey);
  padding: 1rem 0;
  text-align: center;
}

.footer-content p {
  color: var(--text-grey);
}

.footer-content small {
  color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .carousel-image {
    height: 70vh;
  }

  /* Navbar Adjustments */
  .company-name h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    margin-bottom: 1rem;
  }

  .carousel-caption h2 {
    font-size: 1.75rem;
  }

  .carousel-image {
    height: 50vh;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* Navbar Adjustments for Mobile */
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .company-name {
    text-align: center;
    margin: 1rem 0;
  }

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

  .logo-image {
    width: 120px; /* Adjust logo size for smaller screens */
  }

  .company-name h1 {
    font-size: 1.75rem; /* Adjust company name font size */
  }
}
