/* ========================================
   ## Logo fade presentation
   ======================================== */
#logo{
  width: 100%;
  min-height: 100vh;
  
  display: flex;
  justify-content: center;
  background: #fff;
}


#logo svg{
  width: 90%;
  max-width: var(--max-width);
}

#logo {
  opacity: 1;
  transition: opacity 2.5s ease; /* slow, subtle fade */
}

#logo.fade-out {
  opacity: 0;
}


/* ========================================
   ## FAde in on scroll
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px); /* optional: slight upward movement */
  transition: opacity 2s ease-out, transform 0.8s ease-out;
}

/* When element becomes visible */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}







/* ========================================
   ## THumb wrap grid and components
   ======================================== */

#thumb-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* flexible */
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  /* keep it from going crazy wide */
  margin: 0 auto;
  /* center in the page */
  padding: 1rem 0;
}
/* Each project card */

.projects-thumb {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
 
  display: flex;
  flex-direction: column;
  text-align: center;
}
/* Hover effect */

.projects-thumb:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
/* Zoom the image on hover */

.projects-thumb:hover img {
  transform: scale(1.02);
  /* 5% zoom */
}
.thumb-image-wrap {
  max-width: 100%; 
  overflow: hidden;
  /* contain the zoom */
  border-radius: inherit; 
  /* same as card if needed */
}

.thumb-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Image */

.projects-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
  /* smooth zoom */
}
/* Project title */

.projects-thumb .project-title {
  font-weight: 600;
  margin: 1rem 0;
  padding: 0 1rem;
  color: #333;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}
/* Hover effect */

.projects-thumb:hover .project-title {
  color: #e67e22;
  /* warm orange accent */
  text-shadow: 0 2px 4px rgba(230, 126, 34, 0.4);
  text-decoration: none;
}
/* Links */

.project-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}


/* =========================
   ## General contact section styling
========================= */

#contact-options {
  display: flex;
  width: 100%;
  max-width: var(--max-width-1);
  justify-content: center;
  padding: 20px 0 30px 0;
  
}




.desktop-label {
  display: none;
}
#contact-options a.btn-contact {
  background: var(--orange-mid);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
  width: auto;
  display: block;
  text-align: center;
  color: #fff;
  padding: var(--px-8);
  font-weight: bold;
}
#contact-options a.btn-contact:first-child{
  margin: 0 20px 0 0 ;
}
#contact-options a.btn-contact {}
#contact-options a.btn-contact:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}
#contact-options a.btn-contact:active {
  background: var(--orange-dark);
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(255, 140, 66, 0.25);
}

p.address{
  max-width: var(--max-width-1);
  width: 100%;
  display: block;
  margin: var(--px-16);
  background: #fff;
   border-radius: 1rem;
 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
   padding: clamp(0.2rem, 1.5vw, 1.5rem)
    clamp(0.3rem, 1vw, 1.5rem)
     clamp(0.3rem, 1.5vw, 1.5rem)
      clamp(0.3rem, 1.7vw, 1.5rem);
}
/* On wider screens, show the number instead */

@media (min-width: 1068px) {
  #contact-options {
    display: flex;
    
    
    /* equal space around items */
    align-items: center;
    /* vertical centering (optional) */
    width: 100%;
  }

  .mobile-label {
    display: none;
  }
  .desktop-label {
    display: inline;
  }
  #contact-options a.btn-contact {
   
    width: auto;
  }
}
.hidden {
  display: none!important;
  margin-top: 1.5rem;
}
/* Form container */
/* =========================
   Contact Form 7 – Warm Style
========================= */
.wpcf7 {
  max-width: var(--max-width-1);
  /*eadable width */
  margin: 0 auto;
  /* center */
  padding: clamp( 5px, 2vw, 20px);
  background: var(--contact-form-bg);
  /* soft warm background */
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: "Inter", sans-serif;
}
/* Labels */

.wpcf7 label {
  font-weight: 500;
  color: var(--color-text);
  display: block;
  padding-top: var(--px-4);
}
/* Inputs and textarea */

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #f0d9c2;
  /* light warm border */
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
}
/* Input focus state */

.wpcf7 input:focus, .wpcf7 textarea:focus {
  border-color: #e67e22;
  /* warm accent */
  box-shadow: 0 0 8px rgba(230, 126, 34, 0.2);
  outline: none;
}
/* Textarea resize */

.wpcf7 textarea {
  resize: vertical;
}
/* Center the submit button */

.wpcf7 p {
  margin: 0 0 0rem;
  /* remove extra top/bottom margin if needed */
  text-align: center;
  /* center content inside <p> */
}
/* Make the button position relative so spinner can be absolute */

.wpcf7 .wpcf7-submit {
  position: relative;
  display: inline-block;
  /* ensures centering */
  width: 100%;
  margin-top: var(--px-8);
}
/* Position the spinner inside the button */

.wpcf7 .wpcf7-spinner {
  position: absolute;
  right: 0.75rem;
  /* inside button, adjust spacing */
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #fff;
  /* spinner matches button text */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  /* hidden by default */
}
/* Show spinner when CF7 is submitting */

.wpcf7 .wpcf7-submit.wpcf7-spinning .wpcf7-spinner {
  display: inline-block;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* --------------------
## fixed contact button
-----------------------------*/
#fixed-bottom{
  width:100%;
  
  position: fixed;
  z-index: 999;
  left: 0;
  bottom: 0px;
  display: flex;
  justify-content: center;
}


#contact-button-position{
  height: 20px;
  
  width: 100%;
  max-width: 1100px;
  position: relative;
}
.fab-contact {
  position: absolute;
  bottom: 100px;     /* distance from bottom */
  right: 20px; /* 600px = half of your max-width */      /* distance from right */
 
  border-radius: 50%;
  background-color: var(--orange-mid); /* dark professional brown */
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  
  z-index: 999;  /* keep above other elements */
 opacity: 0;
padding: 0.5rem 1.5rem; 
animation: fadeInContactButton 3s ease forwards, pulse 2s infinite ease-in-out;
animation-delay: 4s;

}

@keyframes fadeInContactButton {
  from { opacity: 0; }
  to   { opacity: 1; }
}


@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fab-contact:hover {
background: var(--orange-light);
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35);
}

.fab-contact:active {
  background: var(--orange-dark);
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(255, 140, 66, 0.25);
  color: #fff;
}

.fab-contact:visited{
   color: #fff;
}


/* --------------------
## fixed back button
-----------------------------*/



/* --------------------
## floating contact 
-----------------------------*/



section#contact-section {
   display: block;
          /* top-align to prevent cutting off content */
     min-height: 100vh;
     max-height: 100vh;
    height: auto; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);  /* base color */
    opacity: 0;                     /* start fully invisible */
    pointer-events: none;           /* prevent interaction when hidden */
    transition: opacity 0.5s ease;  /* smooth fade */
    z-index: 999;
    overflow-y: auto;
    padding: 2rem  0;
     
    
    min-height: 100vh;       /* space from top on small screens */
}

/* Overlay visible state */
section#contact-section.active  {
   opacity:1;             /* target visible opacity  */
    pointer-events: auto; 
     
}
section#contact-section.active h2{
  text-align: center;
}

/* Inner content */
section#contact-section .section-content {
    background: #fff;
    padding: 2rem clamp(4px, 2vw, 20px);
    margin: 0 auto;
          /* optional: prevent content from exceeding viewport too much */
    overflow: visible;  ;
    max-width: 600px;
    width: 90%;
    border-radius: 12px;
    opacity: 0;           /* start hidden */
    transform: translateY(20px);  /* slightly below final position */
    transition: opacity 1s ease 0.2s, transform 0.4s ease 0.2s; /* delay for stagger */
}

/* Inner content visible when overlay active */
section#contact-section.active .section-content {
    opacity: 1;
    transform: translateY(0);
}

/* Light bx   */
#enlarged-image {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#enlarged-image img {
    max-width: 90%;
    max-height: 90%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.project-txt {
  margin-bottom: 2rem;
  
  line-height: 1.6;
 padding: 0  clamp(10px, 5%, 100px); 
}
/*  */
/* Thumbnails grid */
#project-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

#project-thumbs .img-frame img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#project-thumbs .img-frame img:hover {
  transform: scale(1.05);
}
.image-wrap{
  border: solid 2px red;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}