/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {  
  font-family:"gravesend-sans", sans-serif;
  background-color:;/*#f8f5f2  #f8f8f2*/
  color: #2c2c2c;
  line-height: 1.6;
  padding: ;
  max-width: auto;
  margin: 0 auto;
}

/* Headings */
h1, h2 {
  font-family: "Edu SA Hand", cursive;
  font-weight: 400;
  margin-bottom: 10px;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 1px;
}

h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  color: #4a403a;
}

/* Paragraphs & Text */
p, li {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

ul {
  list-style: disc;
  padding-left: 20px;
}

/* Links */
a {
  color: #6a4f3b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color:#FF5733;
}

#portfolio {
  position: relative;
  z-index: 0; /* Ensure it's behind the content */
  overflow: hidden;
}

#portfolio::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #b3a4a0;
  opacity: 20%; /* Adjust as needed */
  z-index: -1; /* Send behind content */
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: ;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: ;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

figcaption {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #6a4f3b;
}


/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-size:.9em;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
}

/* Responsive nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  .hamburger {
    display: block;
  }
  .nav-links.active {
    display: flex;
  }
}


/* Sections */
section {
  margin-bottom: 60px;
}

/* Hero Section with Background */
#hero {
  height: 75vh;
  background: url('images/modern-entertainment-center.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px 60px;
  position: relative;
  z-index: 1;display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical centering */
  align-items: center;     /* Horizontal centering */
  text-align: center;
}

/* Decorative Border Overlap */
.decorative-border {
  --size: 50px;
  --p: 25px;
  height: 100px;
  margin-top: -30px; /* Overlap into the hero section */
  z-index: 2;
  position: relative;

  background:
    radial-gradient(var(--size) at 50% calc(var(--size) + var(--p)),#b3a4a0 99%,#0000 101%) calc(50% - 2*var(--size)) 0/calc(4*var(--size)) 100% no-repeat,
    radial-gradient(var(--size) at 50% calc(-1*var(--p)),#0000 99%,#b3a4a0 101%) 50% var(--size)/calc(4*var(--size)) 100% no-repeat;
    background-repeat: repeat-x;
    opacity:20%;
  }


#hero em {
  font-family:"gravesend-sans", sans-serif;
  display: block;
  font-size: 1.5rem;
  margin-top:-15px;
  color: #fff;
}

#hero p{
  width:50%;
  font-size:1em;
}

@media(max-width:420px){
  #hero em{
    font-size:.45em;
    margin-top:0;
  }
  #hero p{
    font-size:.50em;
  }
}



.info-brag{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:-25px;
}


@media(max-width:1024px){
  .info-brag{
   font-size:1em;
    margin-left:20px;
  }
}

.header-invite{
  font-family:"gravesend-sans", sans-serif;
  font-size: 2em;
  line-height:2em;
  font-weight:bolder;
  display:flex;
  align-items:center;
  justify-content:center;

}

.button{
  border:1px solid #fff;
  padding:10px;
  font-size:1em;
  color:#fff;
}

.row {
  display: flex;
  margin:0 80px;
}
.column{
  flex: 50%;
  padding:10px;
}

.column img{
  max-width:400px;
  width:100%;
  border-radius:5px;
}

/*intro image span*/

.image_wrapper {
  background: url('images/custom-arched-coffered-ceiling-oak-park.webp') center/cover no-repeat;
  width: 100%;
  height: 50vh;
  background-color: #f4f4f4; /* Optional: fallback background */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image_wrapper .scale-with-grid {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.scale-with-grid img{
  width:100%;
}

.services{
  padding:50px;
}

@media(max-width:1024px){
  .services{
  margin-left:-40px;
  }

  .services h2{
    margin-top:-70px;
    font-size: 1.3em;
  }
}

.decorative-border-reversed {
  --size: 50px;
  --p: 25px;
  width: 100vw;
  height: 150px;

  background:
    radial-gradient(var(--size) at 50% calc(100% - var(--size) - var(--p)), #b3a4a0 99%, #0000 101%) calc(50% - 2 * var(--size)) 0 / calc(4 * var(--size)) 100% no-repeat,
    radial-gradient(var(--size) at 50% calc(100% + var(--p)), #0000 99%, #b3a4a0 101%) 50% calc(100% - var(--size)) / calc(4 * var(--size)) 100% no-repeat;

  background-repeat: repeat-x;
  opacity: 20%;
}


.process {
  display: flex;
  flex-direction: row;
  font-size: 30px;
  text-align: center;
  margin-bottom:0px;
}

.process h2{
  font-family: "Edu SA Hand", cursive;
  margin-top:0;
  line-height:2.2;
}

.flex-item-left {
  background-color: #f1f1f1;
  padding: 10px;
  flex: 50%;
}

.flex-item-right {
  background-color:#f1f1f1 ;
  padding: 10px;
  flex: 50%;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 800px) {
  .process{
    flex-direction: column;
  }
}


footer {
  text-align: center;
  padding-top: 30px;
  font-size: 0.95rem;
}

/*---Portfolio link----*/
#portfolio-form {
  margin-top: 10px;
}

#portfolio-form input {
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-right: 8px;
}

#portfolio-form button {
  padding: 8px 14px;
  background-color: #6a4f3b;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#portfolio-form button:hover {
  background-color: #543e2c;
}


/* Fade-in effect */
.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.fade-in.show {
  opacity: 1;
}

/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 20, 10, 0.6); /* soft dark tint */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Lock form container */
#portfolio-lock {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

/* Overlay fade-out */
#overlay.hide {
  opacity: 0;
  visibility: hidden;
}

/* Portfolio fade-in (already in use) */
.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.fade-in.show {
  opacity: 1;
}

.portfolio-intro{
  margin-top:-40px;

}

#portfolio {
  position: relative;
  padding: 40px 20px;
}

/* Overlay dim within section */
#portfolio-lock-wrapper {
  position: relative;
  background-color: #f7f4f1;
  border-radius: 12px;
  padding: 40px 20px;
  overflow: hidden;
  margin-bottom: 30px;
  display:flex;
  align-items:center;
  justify-content:center;
}


/* Form floats above dim */
#portfolio-lock {
  position: relative;
  z-index: 2;
  text-align: center;
}

#portfolio-lock input {
  padding: 10px 14px;
  border: 1px solid #aaa;
  border-radius: 6px;
  margin-right: 8px;
}

#portfolio-lock button {
  padding: 10px 16px;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.fade-in.show {
  opacity: 1;
}


/*--Case Study Styles---*/

.case-study {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 4rem;
      border-bottom: 1px solid #f7f4f1;
      padding:2rem 2rem;
    }

    .case-image {
      flex: 1 1 40%;
      min-width: 300px;
      margin-right: 2rem;
    }

    .case-image img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

    .case-content {
      flex: 1 1 55%;
      min-width: 300px;
    }

    .case-title {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    position: static;
    z-index: auto;
    }

    .case-description {
      margin-bottom: 2rem;
      line-height: 1.6;
      width:100%;
    }

    .thumbnails {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin-top: 1rem;
    }

    .thumbnails img {
      width: 200px;
      height: 200px;
      object-fit: cover;
      border-radius: 4px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .thumbnails img:hover {
      transform: scale(1.05);
    }

    @media (max-width: 1058px) {
  .case-study {
    flex-direction: column;
  }

  .case-image,
  .case-content {
    flex: none;
    width: 100%;
    min-width: unset;
    margin-right: 0;
  }

  .case-image {
    margin-bottom: 10px;
  }

  .case-title {
    margin-top: 0;
  }
}



@media (max-width: 1165px) {
  .thumbnails img{
    width:180px;
    height:180px;
  }
}



    /*--Contact Form---*/
.contact-section {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
  margin-top:0;
  justify-content:center;
  align-items:center;
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.contact-description {
  color: rgb(107 114 128);
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top:-50px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 1rem;
}


.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}


.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 1px solid #2563eb;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 250px;

}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
  background-color: #a3875b;
  color: #fff;
  padding: 13px 5px;
  border-radius: 0.375rem;
}

#button:hover{
  background-color:#b3a4a0; 
  color: white;
}

/** {
  outline: 1px solid rgba(0,0,0,0.1);
}*/

.contact-us {
  padding-top:20px;
  width: 80%;
  margin: 0 auto; /* This centers the div itself */
  text-align:center;
}

.contact-us em{
  font-family:"gravesend-sans", sans-serif;
  font-size: 2rem;

}

.block2 p{
 text-align: center;
padding:10px;

}



/*--Contact image--*/
.contact-hero {
  height: 50vh;
  background: url('images/black-walnut-countertop-oak-park.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px 60px;
  position: relative;
  z-index: 1;display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical centering */
  align-items: center;     /* Horizontal centering */
  text-align: center;
}
hr.no_line {
  background: none;
  color: transparent;
  border: 0;
}
