/*
Theme Name: Rosemount Joinery
Theme URI: https://rosemountjoinery.com.au
Author: Your Name
Description: A minimal custom theme for Rosemount Joinery.
Version: 1.0
*/

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #222;
  background: #fff;
}

a {
  color: #cc0000;
  text-decoration: none;
  transition: color 0.3s ease;

}

a:hover {
  text-decoration: underline;
  color: #990000;

}

/* === Buttons and Interactive === */
button,
input[type="submit"],
.btn {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
.btn:hover {
  background: #eaeaea;
}

/* === Paragraphs === */
p {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

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

/* === Layout Helpers === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 20px;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 50px 15px;
  }
}

/* Global Heading Styles */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: Plus Jakarta Sans,HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
  letter-spacing:-1;
  margin-bottom:30px;
}

/* Responsive Headings */
h1 {
  color: #fff; /* Ensures white text for hero headings */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h4 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

h5 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

h6 {
  font-size: clamp(1rem, 1vw, 1.1rem);
}

header {
  padding: 20px;
}

header, footer {
  background: #f7f7f7;
  text-align: center;
}

.site-logo {
  max-width:250px;
}

main {
  /*padding: 40px 20px;*/
}

@media (max-width: 768px) {
   img {
    max-width:480px!important;
    margin:0 auto;
  }
}

/* home page */

.hero {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: #fff;
  text-align: center;
  max-height:900px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35); /* optional dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 900px;
}
/*
.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
  font-weight:700;
  font-family:Plus Jakarta Sans,HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
}
*/
.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f1f1f1;
}

.hero-button {
  display: inline-block;
  background-color: #ffffff;
  color: #000;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background-color: #e3a800;
}

@media (max-width: 1024px) {
  .hero {
    max-height:750px;
  }
}

@media (max-width: 768px) {
  .hero {
    max-height:600px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

.about-section {
  padding: 80px 20px;
  background: #fff;
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
}

.about-image {
  flex: 1 1 50%;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1 1 40%;
}

@media (max-width: 768px) {
  .about-image img {
    max-width:480px;
    margin:0 auto;
  }
}

.section-label {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2.5px;
  color: #ca0018;
  margin-bottom: 10px;
  display: inline-block;
}
/*
.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.3;
}
*/
.about-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn-dark {
  background: #333;
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-dark:hover {
  background: #000;
}

.audience-strip {
  padding: 60px 20px;
  /*background: #f1f1f1;*/
  text-align: center;
}

.audience-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.audience-strip .section-label {
  margin-bottom: 40px;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.audience-item {
  flex: 1 1 200px;
  max-width: 220px;
}

.audience-item i {
  font-size: 42px;
  color: #ca0018;
  margin-bottom: 15px;
}

.audience-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.audience-item p {
  font-size:1rem;
}

/* Services section */

.services-section {
  background: #e8e8e8;
  padding: 80px 20px;
}

.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  max-width: 767px;
  margin: 0 auto 50px;
}

/* Split columns below image */
.services-split {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 40px;
}

.services-left {
  width: 33.333%;
}
/*
.services-left h2 {
  font-size: 2.7rem;
  margin: 20px 0;
  line-height:1.2;
}
*/
.services-right {
  width: 66.666%;
}

.btn-light {
  background: #fff;
  color: #333;
  padding: 10px 24px;
  border: 1px solid #ccc;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
}

.btn-light:hover {
  background: #eee;
}

/* Service grid */
/*.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}
*/

.service-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, 1fr);
}

.service-box {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: left;
}

.service-box i {
  font-size: 24px;
  color: #ca0018;
  margin-bottom: 10px;
  display: block;
}

.service-box h4 {
  margin: 10px 0 10px;
  font-size: 1.2rem;
}

.service-box p {
  font-size: 0.95rem;
  color: #555;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .services-split {
    flex-direction: column;
  }

  .services-left, .services-right {
    width: 100% !important;
  }
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
}
  /*
  .services-left h2 {
    font-size: 2.2rem;
  }
  */
  
}

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

/* Testimonial Section 

.testimonial-section {
  padding: 80px 20px;
  background: #f8f8f8;
  text-align: center;
}

.testimonial-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  color: #ca0018;
  margin-bottom: 30px;
}

.testimonial-quote {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: #444;
}

.testimonial-quote footer {
  margin-top: 20px;
  font-style: normal;
  background:transparent;
}

*/

.testimonial-strip {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
}

.testimonial-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-strip .section-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  /*color: #d0a44c;*/
  display: block;
  margin-bottom: 20px;
}

.testimonial-strip h2 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 60px;
  font-weight: 700;
  color: #2b2b2b;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.testimonial-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  /*box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);*/
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote i {
  color: #ca0018;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.testimonial-quote p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 30px;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin:0;
}

.testimonial-author strong {
  font-weight: bold;
  font-size: 1rem;
  color: #2b2b2b;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .testimonial-strip h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 30px 20px;
  }
}

/* Projects Section */

.project-gallery {
  background: #fff;
  padding: 80px 20px;
}

.project-text {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
/*
.project-text h2 {
  font-size: 2.2rem;
  margin: 10px 0 20px;
}
*/
.project-text p {
  font-size: 1.05rem;
  color: #444;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f6f6f6;
  border-radius: 4px;
  position: relative;
}

.project-thumb-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}

.project-grid img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.project-grid img:hover {
  transform: scale(1.02);
}

/* CTA Strip */

.cta-strip {
    background: url('/wp-content/themes/rosemount-joinery/assets/milestone-bg.jpg') no-repeat center center / cover;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-subhead {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #d0a44c; /* warm gold accent */
  display: block;
  margin-bottom: 15px;
}

.btn-cta {
  display: inline-block;
  background: #fff;
  color: #2f2f2c;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #eaeaea;
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {
  .cta-strip {
    padding: 60px 20px;
  }

  .btn-cta {
    padding: 12px 26px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-strip {
    padding: 50px 15px;
  }
/*
  .cta-strip h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
*/
  .btn-cta {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}

/* Process Strip */

.process-strip {
  background: #e8e8e8;
  padding: 80px 20px;
  text-align: center;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}
/*
.process-strip h2 {
  font-size: 2.7rem;
  margin: 20px 0 60px;
  line-height:1.2;
}
*/
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 30px 0 60px;
}

.process-box {
  background: #fff;
  border-radius: 6px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
  position: relative;
  min-height:250px;
}

.process-number {
  font-size: 1.2rem;
  font-weight: bold;
  background: #ca0018;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-bottom: 10px;
  display: inline-block;
}

.process-box h4 {
  font-size: 1.1rem;
  margin: 10px 0;
}

.process-box p {
  font-size: 0.95rem;
  color: #555;
  margin-top:20px;
}

.btn-dark {
  background: #333;
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.btn-dark:hover {
  background: #111;
}

/* Factory section */
.factory-section {
  background: #fff;
  padding: 80px 20px;
}

.factory-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap;
}

.factory-text {
  flex: 0 1 45%;
}
/*
.factory-text h2 {
  font-size: 2rem;
  margin: 20px 0;
  line-height:1.2;
}
*/
.factory-text p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #444;
  max-width: 600px;
}

.factory-image {
  flex: 1 1 50%;
}

.factory-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.factory-section .btn-dark {
  margin: 50px auto;
  text-align: center;
  display: block;
  width: 250px;
}

/* Responsive layout: stack only below 768px */
@media (max-width: 768px) {
  .factory-inner {
    flex-direction: column;
  }

  .factory-text,
  .factory-image {
    width: 100%;
  }
/*
  .factory-text h2 {
    font-size: 1.6rem;
  }
  */
}

/* Inner Pages */

/* Breadcrumbs */

.breadcrumbs-wrap {
  background: #f9f9f9;
  border-bottom: 1px solid #e8e8e8;
  padding: 8px 20px;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: #555;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.breadcrumbs a {
  color: #cc0000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  color: #990000;
}

.breadcrumbs span.separator {
  margin: 0 8px;
  color: #999;
}

@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .breadcrumbs-wrap {
    padding: 12px 10px;
  }
}

.page-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.page-hero-overlay {
  background: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

/* About page image/text layout */
.about-intro {
  padding: 60px 20px;
  background: #fff;
}

.about-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap; /* Prevent early wrapping */
}

.about-text {
  width: 40%;
}

.about-image {
  width: 55%;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  height: auto;
}

/* Responsive layout — only stack below 768px */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
  }
}

@media (max-width: 469px) {
.about-intro {
  padding: 30px 20px;
  background: #fff;
}
}

.milestone-strap {
  background: url('/wp-content/themes/rosemount-joinery/assets/milestone-bg.jpg') no-repeat center center / cover;
  color: #fff;
  position: relative;
  /*padding: 100px 20px;*/
  margin:80px 0;
}

.milestone-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 60px 0;
}

.milestone-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding:0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.milestone-left {
  flex: 1 1 50%;
}

.milestone-left .section-label {
  color: #d0a44c;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
}

.milestone-left h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  color: #fff;
}

.milestone-right {
  flex: 1 1 45%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width:350px;
}

.milestone-box, .milestone-icon {
  text-align: center;
}

.milestone-number, .milestone-icon {
  font-size: 2.4rem;
  font-weight: bold;
  color: #f4b400;
  display: block;
  margin-bottom: 5px;
}

.milestone-label {
  font-size: 1rem;
  color: #fff;
}

@media (max-width: 839px) {
  .milestone-inner {
    flex-direction: column;
    text-align:center;
  }

  .milestone-left,
  .milestone-right {
    width: 100%;
  }

  .milestone-left h2 {
    font-size: 1.8rem;
  }

 /*
  .milestone-right {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 20px;
  }
*/

.milestone-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 20px 30px; /* tighter spacing */
    justify-content: center;
    /*max-width: 350px; keeps the whole block visually centered */
    margin: 0 auto;
    text-align: center;
  }

  .milestone-box {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .milestone-right {
    grid-template-columns: repeat(2, 1fr);
  }

  .milestone-number {
    font-size: 2rem;
  }

  .milestone-left h2 {
    font-size: 1.5rem;
  }
}

.story-mission-section {
  background: #fff;
  padding: 80px auto;
}

.story-mission-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding:0 0 60px;
}

/* Our Story */
.story-box {
    padding: 0 20px;
}
.story-box h2 {
  font-size: 2rem;
  margin: 15px 0 20px;
  line-height: 1.3;
}

.story-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.story-text {
  flex: 1 1 50%;
}

.story-image {
  flex: 1 1 40%;
}

.story-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .story-image img {
    max-width:480px;
    margin:0 auto;
  }
}

/* Our Mission 

.mission-box h2 {
  font-size: 2rem;
  margin: 15px 0 20px;
  line-height: 1.3;
}

.mission-box p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 20px;
}

.mission-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.mission-points li {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #333;
  display: flex;
  align-items: center;
}

.mission-points i {
  color: #ca0018;
  margin-right: 10px;
  font-size: 1rem;
}
*/

.mission-content {
  width:100%;
  max-width: 1000px;
  margin: 0 auto;
  background: #e8e8e8;
  padding: 80px 5px;
  text-align: center;
}

.mission-content h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  line-height: 1.3;
}

.mission-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 700px;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.bullet-icon {
  color: #ca0018;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
  margin-right: 15px;
}

.bullet-text {
  text-align: left;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
}

.mission-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.mission-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #444;
}

/* Responsive Layout */

@media (max-width: 768px) {
  .story-content {
    flex-direction: column;
  }

  .story-text, .story-image {
    width: 100%;
  }

  .story-box h2,
  .mission-box h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .mission-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mission-content h2 {
    font-size: 1.8rem;
  }

  .bullet-icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .mission-points li {
    font-size: 1rem;
  }
}

/* Footer */

.site-footer {
  font-size: 0.95rem;
  color: #fff;
}

.footer-main {
  position: relative;
  background: url('./assets/rosemount-joinery-bg-gs.webp') no-repeat center center;
  background-size: cover;
  padding: 60px 20px;
  overflow: hidden;
  /*display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  text-align: left;*/
}

/* Dark overlay */
.footer-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* adjust darkness here */
  z-index: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  text-align:left;
   position: relative;
  z-index: 1;
}

.footer-column {
  flex: 1 1 100px;
  min-width: 100px;
}

.column-menu {
  margin-left: 60px;
}

.footer-logo {
  max-width: 180px!important;
  margin-bottom: 15px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #ddd;
  margin-top: 10px;
}

.footer-heading {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #fff;
}

.footer-column p {
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.5;
}

.footer-column i {
  color: #f4b400;
  margin-right: 8px;
}

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

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background: #222;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive layout */
@media (max-width: 800px) {
  .footer-main {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 40px 60px;
    text-align: left;
  }

  .footer-column {
    max-width: 200px;
  }

  .footer-column,
  .column-menu {
    margin-left: 0 !important;
  }

  .footer-nav {
    padding-left: 0;
  }

  .footer-nav li {
    margin-bottom: 6px;
  }
}

@media (max-width: 469px) {
  .footer-logo {
    margin: 0 auto 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-column {
    width:100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
  }
}

/* Services Page */

.services-intro-section {
  background: #fff;
  padding: 80px 20px;
}

.services-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
  justify-content: space-between;
}

.services-intro-text {
  flex: 1 1 60%;
}

.services-intro-text .section-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #d0a44c;
  display: block;
  margin-bottom: 10px;
}

.services-intro-text h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  line-height: 1.3;
  color: #222;
}

.service-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 30px 25px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card i {
  font-size: 2rem;
  color: #ca0018;
  margin-bottom: 15px;
  display: inline-block;
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.services-intro-image {
  flex: 1 1 35%;
}

.services-intro-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .services-intro-inner {
    flex-direction: column;
    text-align: center;
  }

  .services-intro-text,
  .services-intro-image {
    width: 100%;
  }

  .services-intro-text h2 {
    font-size: 2rem;
  }

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

.services-page .service-box {
  background:#e8e8e8;
}

/* Factory Page */

/* Factory Intro Section */
.factory-intro-section {
  background: #fff;
  padding: 80px 20px;
}

.factory-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.factory-text {
  flex: 1 1 50%;
}

.factory-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.factory-image {
  flex: 1 1 45%;
}

.factory-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.factory-inner .btn-dark {
  margin: 0 auto;
}

/* Capabilities Section */
.capabilities-strip {
  background: #e8e8e8;
  padding: 80px 20px;
}

.capabilities-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.capabilities-strip h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  text-align: left;
}

.capability h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

.capability p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Project Gallery */
.project-gallery {
  background: #fff;
  padding: 80px 20px;
}

.project-text {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.project-text h2 {
  font-size: 2.2rem;
  margin: 10px 0 20px;
}

.project-text p {
  font-size: 1.05rem;
  color: #444;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-grid a {
  display: block;
  outline: none;
  border: none;
  background: none;
}

.project-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  cursor: zoom-in;
  display: block;
}

.project-grid img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .factory-intro-inner {
    flex-direction: column;
    text-align: center;
  }

  .factory-text,
  .factory-image {
    width: 100%;
  }

  .factory-text h2 {
    font-size: 2rem;
  }

  .capabilities-strip h2,
  .project-text h2 {
    font-size: 1.8rem;
  }
}

.machinery-strip {
  background: #fff;
  padding: 80px 20px;
}

.machinery-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.machinery-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.machinery-block.reverse {
  flex-direction: row-reverse;
}

.machinery-image {
  flex: 1 1 45%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
}

.machinery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* Fill and crop to frame */
  object-position: center; /* Center the image focus */
  display: block;
}

.machinery-text {
  flex: 1 1 50%;
}

.machinery-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #2b2b2b;
}

.machinery-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
}

/* Responsive layout */
@media (max-width: 768px) {
  .machinery-block,
  .machinery-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .machinery-text h3 {
    font-size: 1.6rem;
  }

  .machinery-text,
  .machinery-image {
    width: 100%;
  }
}

/* Contact Page Styles */
.contact-section {
  width:100%;
  background: #fff;
  padding: 80px 0;
}

.contact-inner {
  /*max-width: 1200px;*/
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 2.4rem;
  margin: 20px 0;
  line-height: 1.3;
}

.contact-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Info Strip */
.contact-info-strip {
  width:100%;
  background: #e8e8e8;
  padding: 60px 20px;
  margin-bottom: 60px;
}

.contact-info-grid {
  max-width: 1000px;
  padding:0 10px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 30px;
  text-align: center;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.info-item i {
  font-size: 2rem;
  color: #ca0018;
}

.info-item p,
.info-item a {
  font-size: 1rem;
  color: #333;
  margin: 0;
  line-height: 1.5;
}

.info-item a:hover {
  text-decoration: underline;
}

/* WPForms - Global Modern Minimalist Style */

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea {
  width: 100%;
  padding: 14px 16px 14px 44px; /* space for icon */
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  box-sizing: border-box;
}

.wpforms-form input:focus,
.wpforms-form textarea:focus {
  border-color: #ca0018;
  box-shadow: 0 0 0 3px rgba(202, 0, 24, 0.1);
  outline: none;
}

.wpforms-form .wpforms-submit {
  background: #ca0018;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpforms-form .wpforms-submit:hover {
  background: #a80015;
}

/* WPForms - Field Wrapper with Icons */
.wpforms-container-full {
    max-width:1024px;
}

.wpforms-field-container {
  position: relative;
}

.wpforms-field-container .wpforms-field {
  position: relative;
}

.wpforms-field-container .wpforms-field::before {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1rem;
  color: #888;
  pointer-events: none;
}

/* Label spacing */
.wpforms-field-label {
  display: none; /* Hidden for minimalist design */
}

.wpforms-field-description {
  font-size: 0.85rem;
  color: #777;
}

@media (max-width: 1024px) {
  .contact-form-centered {
    padding:20px;
  }
}