body {
    font-family: 'Dosis', sans-serif;
    margin: 0;
    padding: 0;
    
}

header {
    position: relative;
    background-image: url('https://www.prisetrans.site/wp-content/uploads/2024/02/trailer-doors.webp');
    background-size: cover;
    background-attachment: fixed;
    height: 500px; /* Adjust the height as needed */
}

header::after {
    content: "";
    background-image: url('https://www.prisetrans.site/wp-content/uploads/2024/02/trailer-doors.webp');
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.2; /* Adjust the opacity to control the parallax effect */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px;
}

section {
    padding: 50px;
}

.image-article-section {
    background-color: #f7f7f7;
}

.video{
    padding: 20px;
    text-align: center;
    align-items: center;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

/* Add this to your existing styles.css file or create a new one */
.contact-container {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.contact-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

button[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}



.image-gallery {
    display: flex;
    justify-content: space-between;
    margin: 50px auto; /* Adjust margin as needed */
    max-width: 1200px; /* Adjust max-width as needed */
}

.gallery-image {
    flex: 1;
    margin-right: 10px; /* Adjust spacing between images */
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image img:hover {
    opacity: 0.7; /* Adjust opacity for hover effect */
    transform: scale(1.5);
}

/* Add styles for image enlargement */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
}

.lightbox.active {
    display: flex;
}

