html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* prevents any tiny overflow */
}
/* Fixed top nav */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #664f31;            /* dark grey */
  border-bottom: 1px solid rgba(163, 148, 192, 0.12);
}
/* Keeps nav content centered + spaced */
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

/* Nav links */
.nav-link {
  color: #f2f2f2;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(79, 170, 206, 0.12);
  transform: translateY(-1px);
}

/* Push page content down so nav doesn't overlap it */
.nav-offset {
  padding-top: 70px; /* approx nav height */
}

/* When you jump to anchors, keep them below the fixed nav */
#contact, #about, #services {
  scroll-margin-top: 90px;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Full viewport height to center vertically */
  text-align: center; /* Centers text within the headers */
    background-image: url("home5.jpg");
  background-size: cover;        /* fills the whole container */
  background-position: center;   /* keeps it centered */
  background-repeat: no-repeat;
   background-size: 100%;
  /* background-color: rgb(219, 218, 218); */
  background-color: rgb(235, 230, 222); 
}
.main-header {
  font-size: 80px;
   font-family: Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 30px;
  margin: 0 0 20px;
  text-align: center;
  color: #fff;

  /* subtle thickness */
  -webkit-text-stroke: 0.6px rgba(7, 6, 6, 0.9);
}
.sub-header {
  font-size: 30px;
  font-family: Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 5px;
  margin: 0;
  text-align: center;
  color: #ffffff;
    -webkit-text-stroke: 0.6px rgba(7, 6, 6, 0.9);
}

.cannon-logos {
  width: 100%;
  max-width: 1000px;       /* matches width of title visually */
  display: flex;
  justify-content: space-between; /* pushes cannons left & right */
  align-items: center;
  margin: 0 auto 40px auto; /* bottom spacing matches top */
}

/* Cannon images styling */
.cannon-img {
  width: 120px;
  height: auto;
  border-radius: 60px;     /* very curved corners */
  padding: 5px;
  background: white;       /* optional, improves visibility */
}
.title {
  font-size: 100px;
  font-family: 'courier new', Courier, monospace;
    /* font-family: "Lucida Handwriting", cursive; */
  font-weight: 500;
  letter-spacing: 15px;
  font-style: normal;
  /* ß */
  margin: 0;
  text-align: center;
  margin-bottom: 20px; 
}
.t-header {
  font-size: 40px;
  color: rgb(108, 40, 172);
  margin: 0;
  text-align: center;
}

.form-container {
  /* padding-top: 20px; */
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px; /* Adjust the maximum width as needed */
  margin: 0 auto; /* Center the container horizontally */
  border: 3px solid #ccc;
  border-radius: 30px; /* Add rounded corners */
  box-sizing: border-box;
  margin-top: 220px;
  margin-bottom: 20px;
}
.body-form {
  background-image: none;
}
.f1 {
  padding: 15px;
}
label {
  font-size: 20px;
  font-weight: 100;
  font-family: Arial, sans-serif;
  padding-right: 5px;
}
.form-header {
  font-size: 40px;
  font-weight: 100;
  margin-bottom: 5px;
}
.form-header2{
  font-size: 25px;
  font-weight: 100;
  margin-top: 0;  
}
input {
  padding: 10px;
}
.submit {
  padding-right: 120px;
  padding-left: 120px;
}
.about-us {
  display: flex;
  justify-content: center;
  align-items: center;
 
  padding: 70px;
  margin: 100px 0 200px 0;
  gap: 30px; /* nice spacing between the three sections */
}

/* text column */
.about-us .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* both image columns */
.about-us .image,
.about-us .struck {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* both images */
.about-us .image img,
.about-us .struck img {
  width: 100%;        /* was 80% */
  max-width: 800px;   /* you can try 700–800px if you want it huge */
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}
.h-who {
  text-align: center;
  font-size: 70px;
  /* font-family: Arial, sans-serif; */
  font-weight: 100;
  letter-spacing: 10px;
  font-style: normal;
  color: #ccc;
}

.h-who2 {
  font-size: 25px;
  text-align: center;
}
.p-who {
  line-height: 40px;
  letter-spacing: 1px;
  text-align: center;
   font-size: 25px;
}
img {
  width: 750px;
}
body {
  /* padding-bottom: 80px; Adds 50 pixels of space at the bottom of the page */
}
.s-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 250px;
  padding-right: 250px;
  padding-bottom: 40px;
}
.t-services {
  text-align: center;
  font-size: 70px;
  /* font-family: Arial, sans-serif; */
  font-weight: 100;
  letter-spacing: 5px;
  font-style: normal;
  color: rgb(7, 7, 7);
}
.w-services {
  padding: 20px;
  width: 45%; /* Adjust width as needed */
  box-sizing: border-box; /* Ensures padding and border are included in the width */
}
.w-container {
  display: flex;
  gap: 20px; /* Optional: space between the divs */
  justify-content: space-between; /* Distribute space between the divs */
  padding: 50px;
}
.h-services {
  text-align: center;
  font-size: 35px;
  /* font-family: Arial, sans-serif; */
  font-weight: 100;
  letter-spacing: 5px;
  font-style: normal;
}
.p-who1 {
  line-height: 40px;
  letter-spacing: 1px;
  text-align: center;
  font-size: 20px;
}
.s-container {
  background-color: rgb(248, 244, 238); 
  padding-bottom: 100px;
  padding-top: 100px;
}
footer {
  background: #664f31;
  color: #fff;
  text-align: center;
  padding: 5px;
  /* position: fixed; */
  bottom: 0;
  width: 100%;
}
/* .pic1{
  display: flex;
  size 10px
  display: flex;
} */
/* Mobile styles */
@media (max-width: 1200px) {
  .header-container {
    height: 85vh;               /* let it grow naturally on mobile */
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;    
    align-items: center;
   background-color: rgb(248, 244, 238); 
    text-align: center;
    background-size: 100%;
  }
   .main-header {
    font-size: 38px;
    letter-spacing: 4px;
    padding: 0 14px;          /* keeps it from touching edges */
    word-break: break-word;   /* prevents overflow on long words */
  }

  .sub-header {
    font-size: 16px;
    letter-spacing: 3px;
    padding: 0 14px;
    word-break: break-word;
  }

  .nav-inner {
    padding: 12px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 14px;
    padding: 9px 12px;
  }

  .nav-offset {
    padding-top: 85px; /* nav gets taller when it wraps */
  }
  .title {
    font-size: 55px;            /* readable but not crazy huge */
    letter-spacing: 8px;
    margin-bottom: 10px;
  }

  .t-header {
    font-size: 20px;
  }

  .form-container {
  margin: 20px auto;      /* centers horizontally */
  max-width: 600px;       /* or whatever width you want */
  width: 100%;
  border-radius: 20px;
}

  .about-us {
    flex-direction: column;     /* stack text and image vertically */
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .about-us .text {
    text-align: center;
  }

  img {
    width: 100%;             /* image fills screen width */
    max-width: 400px;           /* but doesn't get ridiculous */
    height: auto;               /* keep proportions */
  }

  .h-who {
    font-size: 36px;
    letter-spacing: 4px;
  }

  .p-who {
    font-size: 18px;
    line-height: 28px;
    padding: 0 10px;
  }

  .s-container {
    padding: 40px 15px;
  }

  .s-header {
    padding-left: 0;
    padding-right: 0;
  }

  .t-services {
    font-size: 36px;
    letter-spacing: 3px;
  }

  .w-container {
    display: flex;
    flex-direction: column;     /* stack the two service boxes vertically */
    padding: 0;
    gap: 20px;
    align-items: center;
  }

  .w-services {
    width: 100%;
    max-width: 400px;
  }

  .p-who1 {
    font-size: 16px;
    line-height: 26px;
    padding: 0 10px;
  }
  footer {
  background: #664f31;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  width: 100%;
  box-sizing: border-box; /* extra safety */
  }
  /* footer {
    /* padding: 10px; */
    /* font-size: 14px; */
    
  /* }  */
   .cannon-logos {
    max-width: 300px;           /* shrink container on phones */
    justify-content: center;    /* center images instead of spacing apart */
    gap: 20px;                  /* adds space between the cannons */
  }

  .cannon-img {
    width: 80px;                /* smaller cannons for phones */
    border-radius: 40px;        /* maintain curved corners */
  }
}
@media (max-width: 1400px) {
  .about-us {
    padding: 40px 20px;     /* less padding so it has room */
    gap: 20px;
    margin: 60px 0 100px 0;
  }
  

  .h-who {
    font-size: 48px;        /* smaller headline */
    letter-spacing: 6px;
  }

  .p-who {
    font-size: 20px;        /* smaller paragraph */
    line-height: 30px;      /* less tall lines */
  }

  .about-us .image img,
  .about-us .struck img {
    width: 95%;             /* let images be a bit larger in their column */
  }
     #about .h-who {
    font-size: 38px;     /* adjust smaller/bigger as you like */
    letter-spacing: 6px;
  }
  /* Laptop / tablet: make the form smaller */
  .form-container {
    max-width: 560px;     /* was 700px */
    margin-top: 120px;    /* was 220px */
    padding: 12px 16px;
    border-radius: 24px;
  }

  .form-header {
    font-size: 30px;      /* was 40px */
  }

  label {
    font-size: 16px;      /* was 20px */
  }

  input,
  textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .submit {
    padding-left: 60px;   /* was 120px */
    padding-right: 60px;
  }

  .f1 {
    padding: 10px;        /* was 15px */
  }
}


/* ===== Gallery Page ===== */

.gallery-page-header {
  text-align: center;
  padding: 40px 20px 10px;
}

.gallery-title {
  font-size: 70px;
  font-weight: 100;
  letter-spacing: 6px;
  margin: 0;
  letter-spacing: 15px;
}

.gallery-subtitle {
  font-size: 22px;
  font-weight: 100;
  margin: 10px 0 0;
  letter-spacing: 7px;
}

/* Main container (you want 4 of these) */
.gallery-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px 20px;
  border: 2px solid #ddd;
  border-radius: 24px;
  background: rgb(248, 244, 238);
}

.gallery-section-title {
  text-align: center;
  font-size: 35px;
  font-weight: 100;
  letter-spacing: 4px;
  margin: 0 0 22px 0;
}

/* Row holding Before + After */
.gallery-pair {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}

/* The two sub-containers */
.gallery-card {
  width: 50%;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.08);
}

.gallery-card-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 8px 0 14px;
}

/* Images */
.gallery-img {
  width: 100%;
  height: 360px;         /* keeps before/after boxes the same size */
  object-fit: cover;     /* crops nicely */
  border-radius: 14px;
  display: block;
}

/* Mobile: stack Before over After */
@media (max-width: 900px) {
  .gallery-pair {
    flex-direction: column;
  }

  .gallery-card {
    width: 100%;
  }

  .gallery-img {
    height: 260px;
  }

  .gallery-title {
    font-size: 42px;
  }
}
