:root {
  /* Warm tones */
  --color-warm-1: #e84621;
  --color-warm-2: #f28b32;
  --color-warm-3: #f9b036;
  --color-warm-4: #fdc75f;
  /* Cool tones */
  --color-cool-1: #1e8596;
  --color-cool-2: #005578;
  /* Neutral */
  --color-grey: #999999;
  --header-height: 80px;
}
html, body {
  height: 100%;
}
body {
  font-family: sans-serif;
  font-family: 'Baloo 2', sans-serif;
  display: flex;
  flex-direction: column;
  font-size: 1.3rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--color-cool-2);
  box-sizing: border-box;
  background: url('../img/bg-3-01.png') top center repeat;
  background-attachment: fixed;
  z-index: 0;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient( to bottom, rgba(255, 255, 255, 1) 0px, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
h2 {
  font-size: clamp(1.4rem, 1rem + 3vw, 2.2rem);
}
/* logo fade in*/

.fade-in-1 {
  opacity: 0;
  animation: logoFadeIn 1.3s ease-in-out 0.3s forwards, scaleIn 1.8s ease-in-out 0.3s forwards;
  transform-origin: center center;
}
.fade-in-2 {
  opacity: 0;
  animation: logoFadeIn 2.2s ease-in-out 0.7s forwards, scaleIn 1.8s ease-in-out 0.3s forwards;
  transform-origin: center center;
}
.fade-in-3 {
  opacity: 0;
  animation: logoFadeIn 1.8s ease-in-out 2s forwards;
}
.fade-in-4 {
  opacity: 0;
  animation: logoFadeIn 1.3s ease-in-out 3.3s forwards;
}
@keyframes logoFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0.85);
  }
  to {
    transform: scale(1);
  }
}
input, textarea, button {
  font: inherit;
}


main.home-page {
  border: solid 2px green;
  padding-bottom: 2rem;
  
}
.container {
  margin: 0 auto;
  
  /*
    width: min(100% - 10px, 1200px);
    
    *
}



/* HEADER */
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: solid 2px var(--color-warm-2);
  opacity: 0;
  padding: 3rem 3rem 3rem 3rem;
  background: #fff;
}
@media (max-width: 768px) {
  .header {
    padding: 0.5rem 0.5rem 0.75rem 0.5rem
  }
}
.header {
  opacity: 0;
  pointer-events: auto;
}
.header--hidden {
  opacity: 0;
  pointer-events: none;
}
.header--visible {
  opacity: 1;
  pointer-events: auto;
}
.header-logo-wrap{

  max-width: 900px;
}

#site-header .container{
 
/* Animation only added AFTER page load */
max-width: 1300px;
}
.header--animate {
  transition: opacity 0.4s ease;
}
.logo-header {
  width: clamp(120px, 70%, 500px);
  display: block;
  flex-shrink: 0;
}
/* shared section structure */

section {
  width: 100%;
  z-index: 2;
  min-height: calc(100dvh - var(--header-height));
  min-height: 100vh;
  padding: 2rem 0 3rem 0;
  padding: 0;
  padding-top: calc( 60px + var(--header-height));
  position: relative;
  z-index: 1;
}
section#hero {
  position: relative;
  z-index: 1;
  padding-top: 0px;
  padding: 0;
  width: 100%;
  border-bottom: solid 2px var(--color-warm-2);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* HERO */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
#main-logo {
  width: 90%;
  max-height: 80vh;
  max-width: 90vw;
  display: block;
}
/* ABOUT */

.about {
  display: flex;
  align-items: center;
}
.about-text {
  font-size: 1.4rem;
  text-align: center;
}
.about .container {
  /*
    display: flex;
    gap: 40px;
    width: 80%;
    margin: 0 auto;
    justify-content: center;
    background: #fff;
    border: solid 2px var(--color-warm-3);
    border-radius: 20px;
    padding: 2rem 1rem 3rem 1rem;
    max-width: 800px;
    */
}
/* CONTACT */

.contact {
  display: flex;
  align-items: center;
}
.contact .container {
  /*
    width: 95%;
    margin: 0 auto;
    */
}
.logo-test {
  background: red;
  height: 100px;
  width: 100px;
}
p {
  /*clamp(1.4rem, 1.8vw, 1.4rem); */
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-warm-3);
  color: var(--color-cool-2);
}
p.about {
  font-size: clamp(2rem, 2vw, 2rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--color-warm-2);
}
a {
  font-size: 1.3rem;
}
a.inline-link-1 {
  text-decoration: underline;
}
a.inline-link-1:hover {
  color: var(--color-warm-2);
}
h2, h3, h4 {}
/*----## Project section ---*/

#page-project-single {
  display: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
}
.project-content {
  padding-top: calc(3vh + var(--header-height));
  max-width: 1200px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.project-single-text-wrap {
  margin-top: 1rem;
  width: 95%;
  max-width: 1000px;
}
.project-content h1 {
  color: var(--color-cool-2);
  text-align: center;
}
/*Projcet pos*/

.project-single-text-wrap p {
  color: var(--color-cool-2);
  line-height: 1.3;
}
.project-main-image {
  width: min(100%, 1400px);
  ;
  margin: 0 auto;
}
.project-main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-project-single.container {
  display: flex;
  justify-content: center;
}
a.back-button{
  display: block;


}

.project-cta{
 padding-bottom: 2rem;
}

a.back-button {
  display: block;
    background: var(--color-warm-2);
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

a.back-button:hover {
    background: var(--color-warm-3);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.4), 0 0 6px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 255, 255, 0.3);
}

a.back-button:active {
    background: var(--color-warm-2);
    transform: scale(0.95);
}

a.back-button.active {
    background: var(--color-warm-3);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.4), 0 0 6px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 255, 255, 0.3);
}

/* refreash button for dev
*/#dev-refresh-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: #1e8596;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  border: solid 1px red;
  transition: transform 0.2s ease, background 0.2s ease;
}
#dev-refresh-btn:hover {
  background: #005578;
  transform: scale(1.1);
}
#dev-refresh-btn:active {
  transform: scale(0.95);
}
#footer {
  min-height: 30px;
  background: var(--color-warm-1);
}
/* contact form */

.set-width-padding-1, .contact-wrap {
  background: #fff;
  border: solid 2px var(--color-warm-3);
  border-radius: 20px;
  padding: 2rem 1rem 3rem 1rem;
  max-width: 820px;
  width: 97%;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 768px) {
  .set-width-padding-1, .contact-wrap {
    padding: clamp(2rem, 3vw, 6rem);
  }
}
{}
.contact-extras {
  display: flex;
  align-items: center;
  flex-direction: row;
}
.contact-message {
  flex: 2;
  padding-right: 1rem;
}
.contact-links {
  flex: 1;
}
.block-link {
  display: block;
  background: var(--color-warm-2);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  color: #fff;
}
.block-link:hover {
  background: var(--color-warm-3);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.4), 0 0 6px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 255, 255, 0.3);
}
.block-link:active {
  background: var(--color-warm-2);
  transform: scale(0.95);
}
/* -----------------------------
   CONTACT FORM WRAPPER
------------------------------ */

.wpcf7 {}
/* -----------------------------
   FORM LAYOUT

------------------------------ */

.wpcf7-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
/* Base font sizing for the whole form */

.wpcf7 {}
.wpcf7 p {
  padding-right: 2rem;
}
/* Paragraph text (CF7 wraps fields in <p>) */

.wpcf7 p, .wpcf7 input, .wpcf7 textarea, .wpcf7 label {
  color: var(--color-cool-2);
}
/* Placeholder text slightly softer */

.wpcf7 input::placeholder, .wpcf7 textarea::placeholder {
  font-size: 13px;
  opacity: 0.6;
}
.wpcf7 input[type="submit"] {
  font: inherit;
}
/* -----------------------------
   INPUT FIELDS
------------------------------ */

.wpcf7 input, .wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-cool-2);
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  MARGIN-BOTTOM: 0.5REM;
  outline: none;
  transition: all 0.2s ease;
}
/* focus state */

.wpcf7 input:focus, .wpcf7 textarea:focus {
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
/* -----------------------------
   TEXTAREA HEIGHT
------------------------------ */

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
  margin-bottom: 1rem;
}
/* -----------------------------
   BUTTON
------------------------------ */

.wpcf7 input[type="submit"] {
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: var(--color-warm-2);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.wpcf7 input[type="submit"]:hover {
  background: var(--color-warm-3);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.4), 0 0 6px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 255, 255, 0.3);
}
}
.wpcf7 input[type="submit"]:active {
  transform: scale(0.95);
  background: var(--color-warm-1);
}
/* -----------------------------
   ERROR / SUCCESS TEXT
------------------------------ */

.wpcf7-not-valid-tip {
  color: #c0392b;
}
.wpcf7-response-output {
  margin: 10px 0 0;
}
/* Mobile first: show short labels */

.block-link .label-full {
  display: none;
}
/* Larger screens: swap to full details */

@media (min-width: 768px) {
  .block-link .label-short {
    display: none;
  }
  .block-link .label-full {
    display: inline;
  }
}
/* FOOTER */

footer {
  padding: 40px;
  text-align: left;
  position: relative;
  z-index: 2;
}
.site-footer {
  background: var(--color-cool-2);
  color: #aaa;
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 0.3rem;
  border: 1px solid #333;
  border-radius: 4px;
  border: solid 1px #999;
  padding: 1rem;
  border-radius: 15px;
}
.footer-col h4 {
  color: #fff;
  font-size: clamp(1rem, 0.85rem + 3vw, , 1.5rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 4px;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.footer-col p, .footer-col a {
  color: #aaa;
  line-height: 1.2;
  text-decoration: none;
  display: block;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 13px;
  color: #999;
  margin: 0;
}
.footer-badge {
  font-size: 12px;
  color: #888;
  background: #2a2a2a;
  padding: 4px 10px;
}
.site-footer p {
  padding: 0;
  margin: 0;
  align-items: left;
}
.site-footer p span {
  padding: 0;
  margin: 0;
}
footer p{
  font-size: 1rem;
}

footer h4{
   font-size: 1rem;
   overflow-wrap: break-word;
}
/* Fade on scroll */

.fade-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s ease-in-out, transform 0.7s ease;
}
.fade-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
#page-404 .error-404 {
    max-width: 600px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#page-404 h1 {
    margin-bottom: 1rem;
}

#page-404 p {
    margin-bottom: 2rem;
}

