/* Resetting some defaults */
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%; /* Full height for the entire document */
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}

.container {
    flex: 1 0 auto; /* Takes up all available space, pushing the footer down */
    max-width: 1100px;
    margin: 0 20px;
    width: 100%;  /* Ensure the container spans the entire width */
    position: relative;
}

/* Navigation */
nav {
    background-color: black;
    padding: 15px 0;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    
}

.nav-list {
    position: absolute;
    top: 100%; /* Adjust this value based on the height of your nav bar */
    right: 0;
    width: 200px; /* Adjust this value based on your design */
    background-color: black; /* Or any color of your choice */
    text-align: right;
    z-index: 1000; /* Adjust this value based on your z-index scale */
    list-style: none;
    display: none; /* Hide by default */
    flex-direction: column; /* Stack menu items vertically */
    padding: 2; /* Remove padding */
    margin: 2; /* Remove margin */
}

.nav-list li {
    margin: 0 10px;
}

.nav-list a {
    text-decoration: none;
    color: white;
    padding: 5px 15px;
    
    transition: background-color 0.3s ease;
}

.nav-list a:hover {
    background-color: orange;
    color: black;
}

/* Toggle Styling */
.theme-toggle {
    position: fixed;
    right: 50px;
    top: 20px;
    cursor: pointer;
    z-index: 1000; /* Keeps the toggle above other content */
}

/* Toggle Styling when Dark Theme is Active */
body.dark-theme {
    background-color: #333;
    color: white;
}

body.dark-theme nav {
    background-color: orange;
}

body.dark-theme .nav-list a:hover {
    background-color: black;
    color: white;
}

/* Base styles for the theme switch */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide the default checkbox */
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider styles */
.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

/* Add a background color when checkbox is checked */
input:checked + .slider {
  background-color: orange;
}

/* Shift the ball position when checkbox is checked */
input:checked + .slider:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Footer */
footer {
    flex-shrink: 0;  /* Ensure the footer doesn't shrink */
    background-color: grey;
    padding: 10px 0;
}

footer p {
    text-align: center;
    color: white;
    font-size: 0.9em;
}

.section {
        background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('/images/pxfuel 2.jpg');
       
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-clip: border-box;
    position: relative; 
    z-index: 1;
flex: 1;
 font-size: 1.1em;
    line-height: 1.8;
    padding: 20px 20px;

}

/* Adjusted opacity for the dark theme */
body.dark-theme .section {
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('/images/pxfuel.jpg');
}

.about-image {
    float: right;
    margin-top: 40px;
    margin-left: 20px;
	margin-right: 20px;
    margin-bottom: 20px;
    width: 30%;  /* Adjust as necessary for the size you want */
}

.service-title {
    margin: 0 0 -20px 0; /* This sets the margin to 0 on the top, right, and left, and 5px on the bottom */
}

.service ul {
    margin-top: -5px; /* This targets only the <strong> tags that immediately follow a <p> tag inside the .service class */
}

.contact {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: 97%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    padding: 10px 15px;
    background-color: orange;
width: 100%;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
}

input[type="submit"]:hover {
    background-color: #d47500;
}

.our-details p {
    margin-top: 10px;
}

.our-details {
    font-size: larger; /* Increase the overall font size */
}

.our-details p {
    margin-bottom: 10px; /* Add some spacing between the details for better visual separation */
}

.our-details strong {
    display: block; /* Make the 'Telephone:' and 'Email:' appear on a new line above their values */
}

.our-details a {
    text-decoration: none; /* Remove the underscore from the hyperlink */
    color: inherit; /* Use the same color as the parent element, which is the default text color in this case */
    
    /* If you specifically want to set a color other than the inherited one, replace 'inherit' with your color of choice, for instance 'black' or '#333' */
}

.our-details a:hover, .our-details a:focus {
    text-decoration: underline; /* Optional: underline the email when hovered over or focused for better accessibility and clarity */
}

/* Hide the navigation and show the hamburger button on mobile */
/*@media (max-width: 768px) { */
    .nav-list {
        display: none;
   
    }

    .nav-list.active {
        display: block;
    }
/*}*/

  .hamburger {
    width: 30px;
    height: 3px;
    background-color: white;
    position: relative;
    margin: 20px 50px;
    transition: all 0.3s ease-in-out;
}

.hamburger::before, .hamburger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-10px);
}

.hamburger::after {
    transform: translateY(10px);
}

/* Hide the hamburger by default (for larger screens) */
.hamburger {
    display: none;
}

/* Display the hamburger on smaller screens */
/*@media screen and (max-width: 768px) {*/
    .hamburger {
        display: block;
    }
/*}*/
