/* ------------------------------
   RESET & BASE
--------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
font-family: "Roboto", Verdana, serif;
    line-height: 1.5;
    background: #000; /* black site background */
    color: #f2f2f2;      /* default text */
    padding: 0 1rem;
}

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

a:hover {
text-decoration: underline;
}

h1 {
font-family: "Roboto", Times New Roman, serif;
    color: #fff;
}

h2 {
font-size: 1.125rem;
}

h3 {
font-size: 1.1rem;
}


img {
    width: 100%;        /* Sets the width of the image to 100% of its parent container */
    height: auto;      /* Maintains the aspect ratio of the image */
    display: block;    /* Prevents extra space below the image */
}

@media (min-width: 900px) {

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px; /* keeps content away from screen edges */
 }
}

@media (max-width: 600px) {

.main-container {
    margin: 0 auto;
    width: 100%;
 }

img {
    width: 100%;        /* Sets the width of the image to 100% of its parent container */
    height: auto;      /* Maintains the aspect ratio of the image */
    display: block;    /* Prevents extra space below the image */
}

}

/* ------------------------------
   HEADER & NAVIGATION
--------------------------------*/
.site-header {
    text-align: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 2.5rem;
    margin-bottom: 3rem;
letter-spacing: 3px;
}

/* --------- MOBILE FONTS ------------- */

@media (max-width: 600px) {
.logo {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
letter-spacing: 2px;
 }

body {
font-size: 0.9rem;
 }

h1 {
font-size: 1.2rem;
 }

h2 {
font-size: 1rem;
 }

h3 {
font-size: 0.9rem;
 }

}


/* Navigation menu */
.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
}

/* Default link style */
.main-nav a {
font-family: "Roboto", Times New Roman, serif;
    text-decoration: none;
    font-size: 1.7rem;
    color: #fff;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 0px;
}

/* Hover = green rectangle */
.main-nav a:hover {
    background: #87a114;
    color: #000;
}

/* Current page = green rectangle */
.main-nav .active {
    background: #87a114;
    color: #000;
}

@media (max-width: 600px) {
.main-nav a {
    font-size: 14px;
    padding: 0.1rem 0.1rem;
 }
}


/* ------------------------------
   BANNERS
--------------------------------*/
.banner-rotator,
.middle-banner {
    margin: 1px 0;
}

.banner {
    background: #222;
    padding: 3rem 1rem;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 6px;
    color: #fff;
}

/* ------------------------------
   FEATURE GRID
--------------------------------*/
.features {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.features-4 {
    grid-template-columns: repeat(4, 1fr);
}

.features-8 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-box {
    background: #111;
    padding: 1rem;
    border-radius: 0px;
    border: 1px solid #333;
}

.feature-box h3 {
    margin-bottom: 0.5rem;
}

/* ------------------------------
   COMPANY INFO
--------------------------------*/

.company-info {
    background: #111;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #333;
    margin: 2rem 0;
}

.company-section-contact {
    width: 600px;
    background: #111;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #333;
    margin: 2rem 0;
}

@media (max-width: 600px) {

.company-section-contact {
    width: 100%;
    background: #111;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #333;
    margin: 2rem 0;
 }
}

.company-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* logo left, fixed size */
.company-logo {
    width: 50px;
    height: 50px;
    margin: 0.3rem 0;
    object-fit: contain;
    flex-shrink: 0;
}

/* text takes remaining space */
.company-text {
    flex: 1;
    line-height: 1.6;
    text-align: left;
}

/* text takes remaining space */
.company-text-contact {
    line-height: 1.6;
    text-align: left;
}


/* ------------------------------
   FOOTER
--------------------------------*/
.site-footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #b1b1b1;
    }

/* ------------------------------
   RESPONSIVE BREAKPOINTS
--------------------------------*/
@media (max-width: 900px) {
    .features-4,
    .features-8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-4,
    .features-8 {
        grid-template-columns: 1fr;
    }

    .banner {
        padding: 2rem 1rem;
    }
}

/* ------------------------------
   PURE CSS FADE SLIDER
--------------------------------*/

/* Slider wrapper */
.banner-rotator {
    width: 100%;
    max-width: none;

    margin: 1px auto;

    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

/* Maintain aspect ratio using padding trick */
.slider {
    position: relative;
    width: 100%;
    padding-top: 28.57%; /* 1400x400 aspect ratio */
}

	

/* Slides stacked on top of each other */
.slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fade 25s infinite;
}

/* Animation delays */
.slider .slide:nth-child(1) { animation-delay: 0s; }
.slider .slide:nth-child(2) { animation-delay: 8s; }
.slider .slide:nth-child(3) { animation-delay: 16s; }

/* Images fill the responsive box */
.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;

}

/* Fade animation */
@keyframes fade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    30%  { opacity: 1; }
    35%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Overlay text on each slide */

.slide-text {
font-family: "Roboto", Times New Roman, serif;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: normal;
    color: #fff;
    text-decoration: none !important;
    text-shadow: 0 0 5px #000;
    z-index: 10;
}

/* Make text responsive on mobile */
@media (max-width: 600px) {
    .slide-text {
        font-size: 0.9rem;
	letter-spacing: 0px;
        bottom: 0px;
        left: 10px;
        right: 10px;
    }
}

/* |||||||||||||||| CONTACT FORM |||||||||||||||||| */

.contact-form {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  width: 380px;
  box-sizing: border-box;
  font-size: 14px;
 }

@media (max-width: 600px) {

.contact-form input,
.contact-form textarea {
  padding: 8px;
  width: 280px;
  box-sizing: border-box;
  font-size: 14px;
 }
}

.contact-form button {
  padding: 14px;
  font-size: 16px;
  border-radius: 3px;
  border: 0;
  color: black;
  background: #87a114;
  cursor: pointer;

}

.form-status {
  max-width: 380px;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-status.success {
  max-width: 380px;
    background: #b3d892;
    color: #666;
}

.form-status.error {
  max-width: 380px;
    background: #c1c1c1;
    color: red;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 2px solid #b3d892; /* or your preferred border */
}

.banners img{
    width: 100%;
    height: 100%;
    margin: 0.2rem auto;
    object-fit: cover;
    border-radius: 4px;

}