@charset "UTF-8";

/* -------------------------------------------------------------
   BASE / TOKENS
   ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --page-bg: #f5f8fa;
  --card-bg: #ffffff;
  --ink:     #0a0a0a;
  --muted:   #999;
  --gap:     20px;
  --accent:  #ffad47;  /* correct orange */
  --six-bg:  #ffad47;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Prompt', sans-serif;
  font-weight: 200;
  color: var(--ink);
  background-color: var(--page-bg);
}

/* -------------------------------------------------------------
   LAYOUT WRAPPER
   ------------------------------------------------------------- */
.wrapper { width: 80%; margin: 0 auto; background-color: var(--card-bg); }

/* -------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------- */
.main-title { font-weight: 300; text-transform: uppercase; margin: 12px 0 8px; }
.sub-title  { font-weight: 400; text-transform: uppercase; margin: 0; }
.body-text  { font-weight: 200; margin: 0; }
.quote      { font-style: italic; font-weight: 200; }

/* -------------------------------------------------------------
   SECTION ONE (HERO)
   ------------------------------------------------------------- */
.section.one { padding: 0 20px; }

/* Thin orange contact bar above the slider */
.section.one .header_bar{
  background-color: var(--accent);
  color: #000;
  width: calc(100% + 40px);
  margin-left: -20px; margin-right: -20px;
  min-height: 30px;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 24px; padding: 6px 16px;
}

/* no default underlines in the header bar; use animated utility */
.section.one .header_bar .sub-title,
.section.one .header_bar .body-text { margin: 0; color: #000; }
.section.one .header_bar .header-link{ color:#000; text-decoration:none; }

/* Mobile: center and wrap nicely */
@media (max-width: 900px){
  .section.one .header_bar{ justify-content:center; flex-wrap:wrap; gap:8px; padding:8px 12px; }
  .section.one .header_bar .sub-title{ font-size:1rem; }
  .section.one .header_bar .body-text{ font-size:0.95rem; }
}

/* About text column width (centered) */
.section.one .about{ max-width:90%; margin:0 auto; }

/* Header image wrapper (edge-to-edge) */
.section.one .header-image{
  position: relative;
  width: calc(100% + 40px);
  margin-left: -20px; margin-right: -20px;
  overflow: hidden;
}

/* Make the hero image fill the width; crop vertically if needed */
.section.one .header-image .hero-img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Header logo over hero */
.header-logo{ position:absolute; top:20px; left:20px; height:300px; width:auto; z-index:3; }

/* -------------------------------------------------------------
   SECTION TWO (SERVICES GRID)
   ------------------------------------------------------------- */
.section.two{ display:grid; grid-template-columns:repeat(2,1fr); gap:var(--gap); padding:var(--gap); align-items:stretch; }
.section.two .inner{
  background-color:var(--six-bg); border:none; border-radius:4px; padding:20px;
  display:flex; flex-direction:column; min-height:100%; color:#111;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
  transition: transform .18s ease, box-shadow .18s ease;
  background-image:url('img/Inner-1.png'); background-repeat:no-repeat;
  background-position:right 15px bottom 15px; background-size:120px auto;
}
.section.two .inner:hover{ transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,0.15); }
.section.two h1.sub-title{ margin:0 0 2px 0; line-height:1; font-weight:400; font-size:1.8rem; text-transform:uppercase; }
.section.two ul{ list-style-type:square; margin:10px 0 0 0; padding-left:20px; }
.section.two li{ margin:0; }
.section.two .inner:nth-child(1){ background-image:url('img/Inner-1.png'); }
.section.two .inner:nth-child(2){ background-image:url('img/Inner-2.png'); }
.section.two .inner:nth-child(3){ background-image:url('img/Inner-3.png'); }
.section.two .inner:nth-child(4){ background-image:url('img/Inner-4.png'); }
.section.two .inner:nth-child(5){ background-image:url('img/Inner-5.png'); }
.section.two .inner:nth-child(6){ background-image:url('img/Inner-6.png'); }

/* -------------------------------------------------------------
   SECTION THREE (FOOTER)
   ------------------------------------------------------------- */
.section.three{
  position:relative; padding:100px 40px;
  background:url('img/footer-back.jpeg') no-repeat center center / cover;
  color:#000;
}
.section.three::before{ content:""; position:absolute; inset:0; pointer-events:none; }
.section.three .footer{
  position:relative; background-color:rgba(255,173,71,0.5);
  display:inline-block; padding:10px; border-radius:4px; box-decoration-break:clone;
}
.section.three .footer p{ margin:5px 0; }

/* -------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width:1100px){ .wrapper{ width:90%; } }
@media (max-width:900px){
  .section.two{ grid-template-columns:repeat(2,1fr); }
  .section.two .inner{ background-image:none !important; }
}
@media (max-width:900px){ .section.two{ grid-template-columns:1fr; } }
@media (max-width:900px){
  .main-title{ font-size:1.5rem; line-height:1.2; }
  .sub-title{  font-size:1.1rem; line-height:1.3; }
  .body-text{  font-size:0.9rem; line-height:1.4; }
}
@media (max-width:900px){ .header-logo{ height:250px; width:auto; } }

/* Mobile: expand About width and trim padding/gutters */
@media (max-width:900px){
  .section.one{ padding:0 12px; }
  .section.one .about{ max-width:95%; padding:0; }
  .section.one .about p{ margin:10px 0; }
}

/* -------------------------------------------------------------
   Underline-from-center effect (site-wide utility)
   ------------------------------------------------------------- */
:root{
  --underline-thickness: 2px;
  --underline-offset:   2px;
  --underline-speed: 200ms;
}
.u-underline-grow{ position:relative; text-decoration:none; color:inherit; }
.u-underline-grow::after{
  content:""; position:absolute; left:50%; bottom:calc(-1 * var(--underline-offset));
  width:100%; height:var(--underline-thickness); background:currentColor;
  transform:translateX(-50%) scaleX(0); transform-origin:50% 50%;
  transition:transform var(--underline-speed) ease; pointer-events:none;
}
.u-underline-grow:hover::after,
.u-underline-grow:focus-visible::after{ transform:translateX(-50%) scaleX(1); }

/* kill double underlines where utility is used */
a.u-underline-grow,
a.u-underline-grow:link,
a.u-underline-grow:visited,
a.u-underline-grow:hover,
a.u-underline-grow:focus,
a.u-underline-grow:active{
  text-decoration:none !important; border-bottom:0 !important; background-image:none !important;
}

/* Footer links: inherit color, use the same animation */
.section.three .footer a.footer-link{ color:inherit; text-decoration:none; border-bottom:0; background-image:none; }
.section.three .footer .u-underline-grow::after{ height:var(--underline-thickness,2px); bottom:calc(-1 * var(--underline-offset,2px)); }

/* -------------------------------------------------------------
   Material Icons Round (reliable CDN set)
   ------------------------------------------------------------- */
.material-icons-round{
  font-family:'Material Icons Round' !important;
  font-weight:normal; font-style:normal;
  font-size:1.2em; line-height:1; display:inline-block; vertical-align:-0.15em;
  color:currentColor;
  transition:transform 180ms ease, color 180ms ease;
}
.icon-anim:hover .material-icons-round,
.icon-anim:focus-visible .material-icons-round{ transform:translateY(-1px); }

/* spacing helper when icon sits before text */
.icon-left{ margin-right:6px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .material-icons-round{ transition:none; }
}

/* Footer Lottie icons — bigger + aligned */
.footer-contact { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}

.section.three .footer .footer-icon {
  display: inline-block;
  vertical-align: -3px;   /* optical baseline */
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .section.three .footer .footer-icon {
    width: 40px !important;
    height: 40px !important;
  }
}

/* -------------------------------------------------------------
   SECTION GALLERY (thumb wall + overlay)
   ------------------------------------------------------------- */
.section.gallery{
  padding: var(--gap);
}

/* Thumbs */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.thumb {
  display: block;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1; /* square thumbs */
  border-radius: 3px;
}

/* Single lightbox (with 50% black backdrop) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;            /* hidden by default */
}
.lightbox.is-open { display: block; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* 50% black */
}

.lightbox-content {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  pointer-events: none;      /* let buttons/backdrop capture clicks */
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  border-radius: 8px;
  pointer-events: auto;      /* allow dragging context menu etc. */
  background: #000;
}

/* Controls */
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  border: none;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
}
.lb-prev { left: 28px; }
.lb-next { right: 28px; }

.lb-close {
  top: 24px;
  right: 24px;
  transform: none;
  font-size: 26px;
}

/* Accessibility helper (visually hidden but readable by screen readers) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 1px, 1px); white-space: nowrap; border: 0;
}

.hero-img-mobile {display: none;}

/* Smaller screens: bring controls a bit inwards */

@media (max-width: 800px) {
    
       .header-logo {
        height: 150px;
        width: auto;
    }
    
    .hero-img {
        min-height: 200px;
    }
}

@media (max-width: 600px) {
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { right: 12px; }
  
  .hero-img {display: none!important;}
  .hero-img-mobile {display: block;width: 100%;}
  
  .header-logo {left: auto;right: 20px;}
 
}



@media (max-width: 400px) {
      .header-logo {
        height: 130px;
        width: auto;
    }
}

/* Gallery title bar styled like the orange blocks */
.gallery-bar {
  background-color: var(--six-bg); /* same orange as the Section Two blocks */
  color: #111;
  border-radius: 0px;
  padding: 16px 20px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gallery-bar h1.sub-title {
  margin: 0;
  font-weight: 400;
  font-size: 1.8rem;
  text-transform: uppercase;
}

.gallery-bar .gallery-icon {
  font-size: 2rem;
  color: #111;
}

/* Title bar layout (matches orange block styling) */
.gallery-bar {
  background: #ffad47;           /* same orange */
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes icon to right edge */
  padding: 12px 20px;
}

/* Icon styling to match the six orange blocks */
.gallery-bar .tile-icon {
  width: 90px;        /* match the block icon size you use elsewhere */
  height: 90px;       /* lock aspect for consistent box metrics */
  display: inline-block;
  object-fit: contain;
  margin-left: 12px;
  flex: 0 0 auto;
  /* If your six blocks render white icons on orange, ensure white here too: */
  filter: brightness(0) invert(1); /* makes dark SVG/PNG appear white */
}

/* Optional: keep the title visually aligned with blocks */
.gallery-bar .sub-title {
  margin: 0;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;  /* match block title weight */
}

.footer-adress {
    color: #000;
    text-decoration: none;
}

.footer-adress:hover {
    text-decoration: underline;
}