﻿:root {
  --primary-color: #a9a9a9;
  --secondary-color: #aa0000;
  --dark-color: #000000;
  --light-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  background-color: #000000;
  color: var(--primary-color);
}

.archivo-black-regular {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


/* HEADER */
.top-bar {
  color: #ffffff;
  padding: 10px 0;
  font-size: 14px;
}

.navbar {
  background: rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0;
}

.navbar-brand {
  color: #ffffff !important;
  margin: mx-auto;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Archivo Black';
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  margin: 0 15px;
  transition: color 0.3s ease;
  font-weight: 400;
  letter-spacing: 2px;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:active {
  color: #a9a9a9 !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.dropdown-menu.show {
  display: block;
  background: rgba(0, 0, 0, 0.9) !important;
}

a.dropdown-item, a.dropdown-item:active {
  color: #a9a9a9 !important;
  background-color: #000000;
}


/* -- BUTTONS -- */
.btn-primary-custom {
  color: #000000 !important;
  border: none;
  margin: 0px;
  display: inline-block;
  padding: 12px 30px;
  background: #ffffff;
  transition: all 0.3s ease;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 1px;
  border: 2px solid #ffffff
}

.btn-primary-custom:hover {
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #ffffff
}

.btn-outline-custom {
  color: #ffffff;
  border: 2px solid white;
  margin: 0 10px;
  display: inline-block;
  padding: 10px 30px;
  transition: all 0.3s ease;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}

.btn-outline-custom:hover {
  color: var(--dark-color);
  background: white;
}

.btn-primary {
  width: auto;
  color: #ffffff !important;
  border: 2px solid var(--secondary-color);
  margin: 24px 0px 0px 0px;
  padding: 12px 30px;
  display: inline-block;
  text-align: center;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 1px;
}

.btn-primary:hover {
  color: #ffffff;
  background: #000000;
  border: 2px solid var(--secondary-color)
}

.btn-primary-alt {
  width: auto;
  color: #ffffff !important;
  border: 2px solid var(--secondary-color);
  margin: 0px;
  padding: 12px 30px;
  display: inline-block;
  text-align: center;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 1px;
}

.btn-primary-alt:hover {
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #ffffff
}

/* -- CAROUSEL -- */
.carousel-caption h1 {
  font-size: 3rem;
  font-family: 'Archivo Black', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  padding-bottom: 20px;
  border-bottom: 2px solid #ffffff;
  margin-bottom: 30px;
}

.image-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
}

/* -- SECTIONS -- */
.welcome {
  margin-top: 120px;
}

.quote {
  padding: 100px 0px;
  margin-top: 120px;
  background: url(../images/parallax01.webp);
  background-position: center;
}

.fencing-solutions {
  margin-top: 120px;
}

.contact {
  margin-top: 120px;
}

.deliver {
  margin-top: 120px
}

.spikes {
  padding: 50px 0px;
  margin: 100px 0px;
  background: 000000;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(87, 87, 87, 1) 100%);
}


/* -- TYPOGRAPHY --*/
h1,
h2,
h3,
h4 {
  font-family: 'Archivo Black', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h5,
h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: none;
  letter-spacing: 1px;
  font-weight: normal;
}

h2 {
  color: var(--primary-color);
}

h3 {
  color: #e2e2e2;
}

h3.heading-alt {
  color: #b80000;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: fs-3;
  text-transform: none;
  text-align: center;
}

h4 {
  color: #e2e2e2;
  margin-bottom: 22px;
}

p {
  font-size: 1.1rem;
  margin: 25px 0px;
}

p.large {
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary-color);
  margin: 24px 0px 0px 0px
}

p.imgtitles {
  font-size: 22px;
  text-align: center;
  color: #ffffff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  margin: 10px 0px 20px 0px
}

hr {
  height: 2px;
  border: 0;
  color: #ffffff;
  background-color: #ffffff;
  margin-bottom: 50px;
}


/* -- LINKS -- */
a:link,
a:visited {
  color: #eb0202;
  text-decoration: none;
}

a:hover,
a:active {
  color: #ffffff;
}

/* -- IMAGES -- */
img {
  width: auto\9;
  /* ie8 */
  height: auto\9;
  margin: 0px;
  padding: 0px;
  max-width: 100%;
  border-style: none;
  border-color: inherit;
  border-width: 0;
  border-radius: 5px
}

.projects {
  width: 100%
}

.partnerlogo {
  width: 100%;
  max-width: 500px;
  background-color: #ffffff;
  padding: 10px;
}

.gallery-item-customer {
  display: inline;
}

.gallery-item-customer img {
  width: auto;
  height: 140px;
  object-fit: cover;
  border-radius: 5px;
}

.carousel-item img {
  border-radius: 0px;
}


/* -- MAPS --*/
.google-maps {
  position: relative;
  padding-bottom: 0%;
  /* This is the aspect ratio */
  height: 0;
  overflow: hidden;
  min-height: 600px;
  margin: 0px;
  width: 100%;
  margin: 0px 0px;
  border: none;
  border-radius: 5px
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* -- GALLERY STYLES -- */
.gallery-container {
  padding: 100px 0 0px 0px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 30px;
  border-radius: 10px;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  left: 0;
  right: 0;
  color: #ffffff;
  bottom: 0;
  padding: 15px;
  opacity: 0;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.lightbox {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
}

.close-lightbox {
  top: 20px;
  right: 20px;
  color: white;
  cursor: pointer;
  position: absolute;
  font-size: 30px;
}

.map-container {
  height: 400px;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 10px;
}


/* -- FOOTER -- */
.footer {
  color: white;
  padding: 40px 0 20px;
  margin-top: 1px;
  background: var(--dark-color);
}

.footer h5 {
  letter-spacing: 1px;
}

.footer p {
  font-size: 12px;
  letter-spacing: 1px;
}

/* -- Whatsapp Button -- */

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
  text-decoration: none;
}

.my-float{
	margin-top:16px;
}

.white {
  color: #fff !important;
}

.text-center {
  text-align: center;
}

/* -- RESPONSIVE DESIGN -- */
@media (max-width: 1200px) {
  .carousel-caption h1 {
    margin-top: 100px;
  }
}

@media (max-width: 991px) {
  .navbar {
    background: rgba(0, 0, 0, 1) !important;
    box-shadow: 0;
    margin-bottom: 100px;
  }

  .carousel-item,
  .carousel-item img {
    height: 500px;
  }

  .carousel-item img {
    width: 100%;
    object-fit: cover;
    /* Crop the image to fill the container */
    object-position: center;
    /* Center the image within the container */
  }

  .navbar-nav .nav-link {
    color: #ffffff !important;
    margin: 0 15px;
    transition: color 0.3s ease;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: right;
  }

  .btn-primary-custom {
    width: 100%;
  }

  .carousel-caption h1 {
    font-size: 2rem
  }
}

@media (max-width: 768px) {

  .google-maps {
  min-height: 400px;
}
}

@media (max-width: 480px) {

  .btn-alt-primary,
  .btn-alt-secondary {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}