/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    font-size: 1em;
    margin: 0;
    margin-top: 10%;
    margin-bottom: 20%;
    padding: 0;
    min-height: 150%;
    background-color: #f4f4f4;
    color: #333;
    -ms-flex-align: center;

}

/* Header Styles */
.header {
    position: fixed; /* Fix the header at the top */
    top: 0; /* Align the header to the top of the page */
    left: 0; /* Align the header to the left of the page */
    width: 100%; /* Make the header span the full width of the page */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #C6521A; /* Attention-grabbing orange background */
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    z-index: 1000; /* Ensure the header stays above other elements */
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between logo and text */
}

.logo {
    width: 80px; /* Adjust logo size */
    height: auto;
}

.header-text {
    text-align: left;
}

.company-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.tagline {
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

/* Footer Text Styles */

.footer-text p {
    text-align: center;
    max-width: 50%;
    margin-left: 25%;
}

.footerIcons {
    position: fixed;
    bottom: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Make sure the header stretches to full width */
    background-color: #333; /* Ensure background color is applied */
    color: white;
    font-size: .5em;
    z-index: 1000;
}

.footerIcons a:link{
    color: white;
}

.footerIcons img{
    width: 30px;
}

.logo{
    width: 75px;
}

/* Menu Button Styles */
.menu-button {
    position: absolute; /* Position the button relative to the header */
    top: 15%; /* Center vertically within the header */
    background-color: white;
    color: #C6521A;
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-button:hover {
    background-color: #C6521A;
    color: white;
}

/* Ensure the floating menu is hidden off-screen initially */
.floating-menu {
    position: fixed;
    left: -220px; /* Move off-screen */
    top: 20%;
    width: 200px;
    background-color: #333; /* Grey background */
    z-index: 1000;
    transition: left 0.3s ease; /* Smooth transition for showing/hiding the menu */
    -webkit-transition: left 0.3s ease; /* Webkit transition for Safari */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Ensure the floating menu is hidden off-screen initially */


.floating-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.floating-menu ul li {
    margin: 0;
    padding: 0;
}

.floating-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}

.floating-menu ul li a:hover {
    background-color: #C6521A; /* Orange background on hover */
    color: white;
}

/* Expanded Menu (When Active) */
.floating-menu.active {
    left: 0; /* Bring the menu into view */
    -webkit-transform: translateX(0); /* Ensure Safari applies the movement */
    transform: translateX(0); /* Reset translate position */
}

a{
    text-decoration: none;
}
/* Link default color*/
a:link {
    color: #333;
    text-decoration: none;
  }

  a:visited {
    color: #333;
    text-decoration: none;
  }

/* Link hover color */
a:hover {
    color: #C6521A;
    text-decoration: none;
  }

  .logo img {
    width: 300px;
}

.logoCover,
.team {
    width: 300px;
}


/* About Section */
.about-text {
    text-align: center;
    max-width: 50%;
    margin-left: 25%;
}

.content{
    width: 100%;
    background-color: #F0D9CC;
    text-align: center;
}

/* Center the about-section */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
}

/* Center the intro-text */
.services-intro {
    text-align: center;
    margin: 0 auto;
    max-width: 800px; /* Optional: Limit the width for better readability */
}

/* Center the contact-us section */
.contact-us {
    text-align: center;
    margin: 20px auto;
    max-width: 800px; /* Optional: Limit the width for better readability */
}

/* Services Section */
.services {
    background-color: #F0D9CC; /* Ensure background color is applied */
    padding: 40px 0;
    text-align: center;
    width: 100%; /* Ensure full width */
}

.services h2 {
    color: #333;
    font-size: 1em;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid ul {
    list-style-type: none;
    padding: 0;
}

/* Center the service categories */
.service-category {
    text-align: center;
    padding: 20px;
    margin: 0; /* Remove auto margins to allow full width */
    width: 100%; /* Ensure the section spans the full width of the page */
    background-color: #F0D9CC; /* Default background color */
}

/* Alternating Background Colors */
.service-category:nth-child(odd) {
    background-color: #C6521A; /* Orange background for odd sections */
    color: white; /* Ensure text is readable on the orange background */
}

.service-category:nth-child(even) {
    background-color: #F0D9CC; /* Light background for even sections */
    color: #333; /* Dark text for contrast */
}

.quote {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.quote .small-job {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-decoration-color: black;
}

/* Slideshow*/

/* Slideshow Container */
.slideshow-container {
    width: calc(100% - 20px); /* Full width minus 20px for padding */
    margin: 0 auto; /* Center the slideshow */
    padding: 10px; /* Add 10px padding on each side */
    position: relative;
    box-sizing: border-box;
    overflow: hidden; /* Hide overflow */
}

/* Individual Slide Styling */
.slide {
    display: none; /* Hide all slides by default */
    width: 100%; /* Take full container width */
    height: auto; /* Automatically adjust height */
}

/* Image Styling */
.slide img {
    width: 100%; /* Responsive image takes up full width of slide */
    height: auto; /* Maintain aspect ratio */
    max-height: 100vh; /* Set max height to the viewport height */
    object-fit: contain; /* Ensure the image scales to fit while maintaining aspect ratio */
}

/* Next and Previous Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 3px;
    user-select: none; /* Disable text selection */
    transition: 0.6s ease;
}

/* Position Previous Button to the Left */
.prev {
    left: 10px;
}

/* Position Next Button to the Right */
.next {
    right: 10px;
}

/* On hover, make the arrows more visible */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fading Animation for Slides */
.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Center the footer content */
.footer-content {
    text-align: center;
    margin-bottom: 20px;
}

/* Center the footer icons */
.footer-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Add spacing between items */
}

@media (min-width: 768px) {
    .footer-icons {
        flex-direction: row; /* Align icons horizontally on larger screens */
        justify-content: center;
    }
}

/* Remove bullet points from all unordered lists */
ul {
    list-style-type: none; /* Remove bullet points */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

/* Ensure list items align properly */
li {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

/* Center the gallery-intro section */
.gallery-intro {
    text-align: center;
    margin: 0 auto;
    max-width: 800px; /* Optional: Limit the width for better readability */
}

/* Center the gallery-grid section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between items */
    justify-content: center; /* Center the grid items */
    align-items: center; /* Align items vertically */
    max-width: 1200px; /* Optional: Limit the width */
    margin: 0 auto; /* Center the grid on the page */
    padding: 20px; /* Add padding around the grid */
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid white;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

/* Responsive Design: Media Queries */

/* For screens smaller than 768px (tablets and mobile devices) */
@media (max-width: 768px) {

    .header{
        font-size: 1em;  
        
    }
    /* Stack logo and text vertically */
    .about-section {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        padding-right: 0;
        margin-bottom: 20px;
    }
    .logoCover {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .about-text {
        padding: 0;
        text-align: center;
    }

    .logo img {
        width: 150px;
    }
    .logoCover {
        width: 100px;
    }

    /* Header and Services adjustments */
    .header,
    .services {
        padding: 10px; /* Reduce padding on smaller screens */
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack services vertically on mobile */
    }

    .header {
        font-size: 2em;
    }
}

/* For screens smaller than 480px (mobile phones) */
@media (max-width: 480px) {
    body {
        font-size: .8em;
        margin-top: 40%;
        
    }

    .header {
        font-size: .8em;    
        height: 10%;
        margin: 0%;
        padding: 5px;
    }


    .menu-button {
        top: 15%;
        padding: 15px 20px;
    }

    .logo img {
        width: 120px;
        margin: 0%;
    }

    .logo{
        margin: 0%;
    }
    .logoCover,
    .team {
        width: 200px;
    }

    .about-section {
        padding: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack services on mobile */
    }

    .services-grid li {
        font-size: 1em; /* Adjust text size for services */
    }

    .quote {
        font-size: 1.2em;
    }
}
