/* ================================
   RESET / NORMALIZE
================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ================================
   HTML & BODY BASE
================================== */
html {
  scroll-behavior: smooth;
}
:root {
  --font-body: "Lato", sans-serif;
  --clr-black: #000;
  --clr-white: #fff;
}
body {
    margin: 0;
    font-family: var(--font-body);
    color: #333;
    font-weight: 400;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-size: 16px;
}

/* ================================
   GLOBAL ELEMENTS
================================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
a:hover {
  color: #007b55; /* Accent color */
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}
button {
  cursor: pointer;
}

h1 {
    margin: 0;
    font-weight: 400;
}
h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
h4 {
    font-size: 18px;
}
h5 {
    font-size: 16px;
}
p {
  margin-bottom: 15px;
  font-size: 16px;
}

.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.align-center {
  align-items: center;
}

.grid {
  display: grid;
  gap: 1rem;
}
.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
.relative {
  position: relative;
}

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

header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    font-size: 14px;
}

nav ul li a {
    text-decoration: none;
    color: #666;
}

nav ul li a.active,
nav ul li a:hover {
    color: #f7931e;
}

.hero {
    position: relative;
    text-align: center;
    color: #fff;
}

.hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding-inline: 20px;
}
.hero-text p {
    color: inherit;
    font-size: 30px;
    font-weight: 300;
    max-width: 600px;
    margin: 10px auto;
}

.hero .btn {
    font-weight: 300;
    font-size: 20px;
    line-height: 20px;
    color: inherit;
    text-shadow: none;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.35);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 14px 20px;
    display: inline-block;
    margin-top: 25px;
}

.about {
    background: #4ee5d1;
    color: var(--clr-white);
    padding: 70px 0;
    text-align: center;
}
.about p {
    max-width: 680px;
    margin-inline: auto;
    line-height: 1.5;
}

.products {
    padding: 70px 0;
    text-align: center;
}
.products h5 {
    margin-top: 10px;
}

.product-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.product-item img {
    width: 100%;
    border-radius: 4px;
}

.our-work {
    text-align: center;
    padding: 50px 0;
}
.our-work h4 {
    margin-top: 10px;
}
section.about.our-work {
    padding-block: 40px 30px;
}

.work-grid {
    margin-block: 20px;
}
.work-item img {
    width: 100%;
    border-radius: 4px;
}

.quote {
    background: #4ee5d1;
    color: var(--clr-white);
    text-align: center;
    padding: 50px 0;
}

/* Gate HTML*/
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 5px;
  border-bottom: 1px solid #ddd;
}

.logo {
  display: flex;
  flex: 1;
}

.orange {
  color: #f7a600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a.active {
  color: #f7a600;
}

/* ====== Menu Button (Hamburger) ====== */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #f5a631; /* orange */
  display: block;
  transition: 0.3s ease;
}
/* ====== Toggle Animation ====== */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.8em;
    padding-block: 20px 0;
    color: #777;
}

.breadcrumb a {
  color: #555;
  text-decoration: none;
}

/* Main content */
.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 60px 60px;
}

.content h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

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

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gate-item img {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.gate-item p {
  margin-top: 10px;
  font-weight: bold;
}

/* Footer */
footer {
  background: #2e2e2e;
  color: var(--clr-white);
  padding-block: 40px 0px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

footer h4 {
  margin-bottom: 10px;
  color: #f7a600;
}

footer p {
  font-size: .95em;
  line-height: 1.4;
}

.footer-note {
  text-align: center;
  font-size: 0.8em;
  color: #aaa;
  border-top: 1px solid #333;
  padding-top: 10px;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-grid div {
    width: 20%;
}

.footer-bottom {
    text-align: left;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-block: 20px 5px;
    background-color: rgba(0, 0, 0, 0.32);
    color: #666;
    font-weight: 700;
}

/* About Section */
.about-section {
  padding: 40px 0;
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
  color: #333;
  padding: 40px 0;
  border-radius: 4px;
}

.about-content img {
  width: 45%;
  border-radius: 5px;
}

.about-text {
  width: 50%;
  text-align: left;
}

.about-text h2 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.3em;
}
.about-text p {
    font-size: 14px;
    line-height: 1.5;
}

/* Recent Work */
.recent-work {
  background: #6fe2d2;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.recent-work h2 {
  font-size: 1.8em;
  margin-bottom: 5px;
}

.recent-work p {
  font-size: 0.95em;
}

/* Work Gallery */
.work-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px;
}

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

.work-item p {
  margin-top: 10px;
  font-weight: 600;
}

/* Contact CTA */
.contact-cta {
  background: #6fe2d2;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}

.contact-cta h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.contact-cta p {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: #3e8c7a;
  color: var(--clr-white);
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #2b6c5e;
  color: var(--clr-white);
}



/* Responsive */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-content img, .about-text {
    width: 100%;
  }
}


/*Our Work*/

/* Banner */
.banner {
  background: #4ad7d1;
  text-align: center;
  padding: 50px 20px;
  color: white;
}

.banner h2 {
  font-size: 24px;
  margin-bottom: 5px;
}

.banner p {
  font-size: 12px;
}

/* Projects */
.projects {
  padding-block: 50px;
}

.project {
  text-align: left;
  margin-bottom: 40px;
}

.project img {
  width: 100%;
  border: 1px solid #ddd;
}

.project p {
  margin-top: 10px;
  font-size: 22px;
  color: #333;
}

/* Contact Banner */
.contact-banner {
  background: #4ad7d1;
  text-align: center;
  padding: 50px 20px;
  color: white;
}

.contact-banner .btn {
  display: inline-block;
  margin-top: 15px;
  background: #2e9c97;
  color: white;
  padding: 10px 20px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
}

/* Main Content */
main.container {
  width: 90%;
  margin: 30px auto;
}
.sorting {
    margin: 20px 0;
    text-align: right;
}
select.orderby {
    background-color: #ececec;
    border: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #666;
    font-size: 12px;
    padding: 4px 8px;
    font-weight: 500;
}

select {
  padding: 5px 10px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product {
  text-align: center;
}

.product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product h3 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 500;
}
h1.page-title {
    font-size: 26px;
    font-weight: 700;
    margin-block: 0 10px;
}
.rte p {
    line-height: 1.45;
    font-size: 14px;
    color: #333;
}

/* Responsive */
@media screen and (min-width: 981px) {
  h1 {
      font-size: 55px;
  }
}
@media (max-width: 980px) {
  .hero-text p {
      font-size: 20px;
      max-width: 450px;
  }
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 3px solid #f5a631;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 10px 0;
    gap: 0;
  }
  .main-nav li {
    border-bottom: 1px solid #eee;
  }
  .main-nav li:last-child {
    border-bottom: none;
  }
  .main-nav a {
    display: block;
    padding: 15px 20px;
    color: #222;
  }

  h4 {
      font-size: 14px;
  }
  h2 {
      font-size: 24px;
  }
  footer p {
      font-size: .75em;
  }
}
@media (max-width: 767px) {
  .hero .btn {
      font-size: 14px;
      padding: 10px 20px;
      margin-top: 15px;
  }
  .hero-text p {
      font-size: 16px;
  }
  h1 {
      font-size: 28px;
  }
  .hero img {
      height: 400px;
  }
  .our-work,
  .products,
  .about {
      padding: 35px 0;
  }
  p {
      font-size: 14px;
  }
  .col-3 {
      grid-template-columns: repeat(1, 1fr);
  }
  .work-grid {
      margin-block: 0;
  }
  .footer-grid {
      flex-direction: column;
  }
  .footer-grid div {
      width: 100%;
  }
  footer {
      padding-block: 35px 0px;
  }
  footer p {
      font-size: .9em;
  }
  footer h4 {
      font-size: 18px;
  }
  .footer-grid div:not(:last-child) {
      margin-bottom: 15px;
  }
  .projects {
      padding-block: 30px;
  }
  .project p {
      font-size: 16px;
  }
  .project {
      margin-bottom: 20px;
  }
  .about-content {
      padding: 0;
  }
}