/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}


#logo {
    height: 100px; /* Adjust height as needed */
    width: auto;  /* Maintain aspect ratio */
    display: block;
    transition: height 0.3s ease;
}


header {
    background-color: rgba(28,28,28,0.8);
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

 /* Header styles */
 header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  }
  
  header .logo {
    max-height: 100px; /* Adjust logo size */
  }
  
  nav {
    display: flex;
    align-items: center;
  }

  

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('hero.jfif') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-text h2 {
    font-size: 48px;
    margin: 0 0 20px;
}

.hero-text p {
    font-size: 24px;
    margin: 0 0 30px;
}

.hero-text .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f90;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-text .cta-button:hover {
    background-color: #e80;
}

/* Sections */
.colored-section {
    background-color: #f7f7f7;
    padding: 60px 0;
}

/* Service Section */
#services h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.service-container {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-images img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.service-images img.hidden {
    display: none;
}

.service-info {
    margin-left: 20px;
}

/* Our Work Section */
#more-of-our-work {
    padding: 60px 0;
}

#more-of-our-work h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px; /* Reduce the margin to make the image visible without scrolling */
}

.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh; /* Adjust height to ensure visibility */
    overflow: hidden;
}

.gallery-image {
    max-width: 100%;
    max-height: 60vh; /* Ensure it fits within the container */
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
}

.gallery-image.show {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1051;
    border-radius: 50%;
}

.modal-nav.prev {
    left: 10px;
}

.modal-nav.next {
    right: 10px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1052;
}

/* Responsive Styles */
/* Reset default styles */
 
  
  /* Navigation styles */
  .menu {
    display: flex;
    gap: 20px; /* Space between menu items */
    list-style: none;
  }
  
  /* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
}

@media (max-width: 768px) {
    header .logo {
        max-height: 70px; /* Smaller logo size for mobile */
    }
}

nav {
    display: flex;
    align-items: center;
}

/* Menu icon for mobile view */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}



/* Navigation styles */
.menu {
    display: flex;
    gap: 20px; /* Space between menu items */
    list-style: none;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 18px; /* Adjust font size */
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Hover effect */
    color: #ff6600; /* Change text color on hover */
}
  .menu a {
    color: white;
    text-decoration: none;
    font-size: 18px; /* Adjust font size */
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .menu a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Hover effect */
    color: #ff6600; /* Change text color on hover */
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px; /* Position below the header */
      right: 20px;
      background-color: rgba(0, 0, 0, 0.8);
      padding: 10px;
      border-radius: 5px;
    }
  
    .menu-icon {
      display: block;
    }
  
    .menu.show {
      display: flex;
    }
  
    .menu a {
      padding: 10px 20px;
    }
  }
  

@media (max-width: 992px) {
    .service-container {
        flex-direction: column;
    }

    .service-images img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .service-info {
        margin-left: 0;
        text-align: center;
    }

    .gallery-container {
        height: 60vh;
    }

    .gallery-image {
        max-height: 50vh;
    }
}

@media (max-width: 1200px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .hero-text h2 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .hero-text .cta-button {
        padding: 8px 16px;
    }

    .gallery-container {
        height: 50vh;
    }

    .gallery-image {
        max-height: 40vh;
    }

    .modal-nav {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-text .cta-button {
        padding: 6px 12px;
    }

    .gallery-container {
        height: 40vh;
    }

    .gallery-image {
        max-height: 30vh;
    }

    .modal-nav {
        font-size: 16px;
    }
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f4f4f4;
}

.contact-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2em;
}

.contact-section a {
    color: #333;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: static;
    width: 100%;
}

/* Fade Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.fade-in {
    animation: fadeIn 2s forwards;
}

.fade-out {
    animation: fadeOut 2s forwards;
}

/* Hide the header when the modal is open */
body.modal-open header {
    display: none;
}

/* Optional: Ensure the modal is displayed above everything else */
#myModal {
    z-index: 1060;
}
