
* {
    box-sizing: border-box;
}
 body {
    font-family: "futura-pt", sans-serif;
    color: white;
    font-size: 20px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover; 
    background-image: linear-gradient(#353744 0, #0c0d0d 100%);
}

.divider {
    border-top: 1px solid white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}


.nav-links {
    display: flex; /* Always visible for desktop */
    flex-direction: row;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    position: static;
    background: none;
    width: auto;
    height: auto;
    z-index: 1;
    font-size: 28px;
}

/* Mobile - Hidden by Default */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Hidden on mobile by default */
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        animation: slideDown 0.3s ease-in-out;
    }

    .nav-links.show {
        display: flex; 
    }
}

.hamburger {
    display: none;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
}

.logo img {
    max-height: 150px;
}


.nav-links li a {
    color: white;
    text-decoration: none;
}


li a:hover {
    color:darkseagreen;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#header {
    text-align: center;
    line-height: 1em;
    text-shadow: 0 0 0.15em #000000;
    margin-top: 10rem
}

#header h1 {
    font-weight: bold;
    font-size: 45px;
    line-height: 1.2;
    text-decoration: none;
    margin-bottom: -2rem;
}

#header p {
    font-weight: lighter;
    font-size: 35px;
    line-height: 1.4; 
    background: none;
}
 
#projectbutton {
    padding-left: 33px;
    padding-right: 33px;
    padding-bottom: 16px;
    padding-top: 16px;
    border-radius: 9px;
    background: #3a6e62;
    border: none;
    font-family: "futura-pt", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    cursor: pointer;
    transition: 0.4s;
    color: white;
    font-size: large;
    display: block;
    margin: auto;
   }
   
   #projectbutton:hover {
    box-shadow: 7px 5px 56px -14px #468073;
   }
   
   #projectbutton:active {
    transform: scale(0.97);
    box-shadow: 7px 5px 56px -10px #468073;
   }

   .ow-other a {
    text-decoration: none;
    color: white;
   }
   .ow-other a:hover{
    color: #3a6e62;
   }

footer {
    text-align: center;
    margin-top: 230px;
    color: white;
}

nav .hamburger {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 1rem;
    margin-top: 2.5rem;
    background: none;
    color: white;
    text-decoration: none;
    border: unset;
    font-size: 40px;
    cursor: pointer;
}

/* ABOUT PAGE STYLE */
.profiles {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profiles h3{
font-size: 30px;
}

.pro-container-1 {
    display: flex;
    gap: 15rem;
    padding-bottom: 5rem;
    margin-top: 4rem;
}

.pro-container-1 p {
    width: 25rem;
}
.pro-container-2 {
    display: flex;
    gap: 15rem;
}

.pro-container-2 p {
    width: 25rem;
}

.profiles img{
    border-radius: 50%;
    width: 250px;
}

.founder-btn {
    align-items: center;
    appearance: none;
    background-clip: padding-box;
    background-color: initial;
    background-image: none;
    border-style: none;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    display: inline-block;
    flex-direction: row;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 800;
    justify-content: center;
    line-height: 24px;
    margin: 0;
    min-height: 64px;
    outline: none;
    overflow: visible;
    padding: 19px 26px;
    pointer-events: auto;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    width: auto;
    word-break: keep-all;
    z-index: 0;
    margin-top: 3rem;
}
    .founder-btn:before, .founder-btn:after {
        border-radius: 80px;
    }
    .founder-btn:before {
        background-image: linear-gradient(92.83deg, #537B6A 0, #60A5C5 100%);
        content: "";
        display: block;
        height: 100%;
        left: 0;
        overflow: hidden;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: -2;
    }
    .founder-btn:after {
        background-color: initial;
        background-image: linear-gradient(#0c2e27 0, #0c0d0d 100%);
        bottom: 4px;
        content: "";
        display: block;
        left: 4px;
        overflow: hidden;
        position: absolute;
        right: 4px;
        top: 4px;
        transition: all 100ms ease-out;
        z-index: -1;      
    }

.about-summary {
    margin: auto;
    padding: auto;
    margin-left: 1rem;
}
.about-summary h2{
    margin-top: -1rem;
}
    #about-divider .divider {
        margin-top: 3rem;
    }
/* end of about page style. */

/* CONTACT PAGE STYLE */

#main-box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-left: 5rem
}

#main-box h1 {
    font-size: 60px;
}

form {
    width: 30%;
    margin-right: 20px;
    margin-left: 1rem;
}
label, input {
    display: block;
    width: 100%;
    margin-bottom: 3px;
}
input[type="text"], input[type="submit"] {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
 }

input[type="submit"] {
        background-color: white;
        color: black;
        cursor: pointer;
        width:5rem;
        font-size: 16px;
 }

 .other-contact {
    margin-right: 15rem;
    line-height: 2rem;
 }
.other-contact a{
    text-decoration: none;
    color: darkseagreen;
    cursor: pointer;
}
.other-contact a:hover{
    text-decoration: solid white;
    color:#3a6e62;
}
    .other-contact p {
        margin-left: 5rem;
        
    }
    
textarea {
    margin-bottom: 2.5rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;	
    width: 105%;
}

.contact .contact-header {
    display: block;
    margin-left: 6rem;
}
/* END OF CONTACT PAGE*/

/* GET STARTED PAGE STYLE*/

.gs-main {
    display: flex;
    text-align: center;
    margin-top: 8rem;
}

.gs-main i {
    cursor: pointer;
    font-size: 50pt;
}

.gs-main h2 {
    cursor: pointer;
}

.gs-main p {
    cursor: pointer;
}

.gs-header {
    text-align: center;
}

.gs-header h1 {
    font-size: 50px;
}

.gs-architect {
    margin-left: 5rem;
}
.gs-financing {
    margin-left: 10rem;
}

.gs-main a {
    text-decoration: none;
    color: white;
}
.gs-main a:hover{
    color: darkseagreen;
}


/* OUR WORK PAGE STYLE */

.interior-container {
    display: block;
    flex-wrap: wrap;
    flex-direction: row;
    margin-left: 1rem;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
    justify-content: center;
}

.interior-container img {
    margin: auto;
    width: 300px;
   justify-content: space-evenly;
}

.interior-container, .exterior-container, .fullreno-container, .decksiding-container h2 {
    font-size: 30px;
    margin-left: 1rem;
}

.projects-header h1 {
    font-size: 44px;
    margin-left: 1rem;
}
.projects-header p {
    margin-left: 1rem;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
  }
  
  .thumbnail {
    width: 150px;
    height: 150px; /* Ensures a square container */
    object-fit: cover; /* Prevents stretching and crops the image to fit the square */
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: transform 0.2s;
  }
  
  .thumbnail:hover {
    transform: scale(1.05);
  }
  
  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .lightbox-img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  } 

@media screen and (max-width: 780px) {
  .navbar.open ul {
    display: block;
  }
  .navbar.open .nav-toggle {
    line-height: normal;
    display: block;
  }
  body {
    background-position: center center;
}
.pro-container-1{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.pro-container-2 {
    display: flex;
    flex: row;
    gap: 1rem;
}

.founder-btn {
    padding: 19px 32px;
}
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block; 
    }

    .nav-links {
        display: none; /* Hide by default on smaller screens */
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9); /* Mobile overlay color */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* Full screen */
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex; /* Show on toggle for mobile */
    }

    footer {
        margin-top: 10rem
    }
    #main-box {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align for better presentation */
        margin-left: 1px;
    }

    #main-box form {
        width: 100%; /* Form takes full width */
        max-width: 90%; /* Add some margin for smaller screens */
    }

    .other-contact {
        width: 100%; /* Contact info also takes full width */

        margin-top: 2rem; /* Space between form and contact info */
        text-align: center; /* Center align for better readability */
    }

    .contact .contact-header {
       text-align: left;
       margin-left: 1rem;
    }
}




@media screen and (max-width: 480px) {
    #header h1 {
        font-size: 30px;
    }
    #header p { 
     font-size: 24px;
     margin-top: 45px;
    }

    body {
        background-position: center center;
    }
    .pro-container-1, .pro-container-2 {
        display: flex;
        flex-direction: column;
    }
    .nav-toggle {
        display: block; /* Show the toggle button */
    }

    .gs-main {
        flex-direction: column;
    }

    .gs-financing {
    margin: auto;    
}

    .gs-architect {
        margin: auto;
        margin-top: 40px;
    }
    
    .contact {
        display: flex;
        flex-direction: column;
    }

    .other-contact {
        display: block;
    }
}