/* RESET */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #000000;
  color: white;
}

/* ---------- NAVBAR ---------- */
.navbar{
    position: fixed;
    z-index: 1000;
    --bar-h: 100px;                 
    display: flex;
    height: 100px;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background-color: #1c1c1c;
    flex: nowrap;
    position: fixed;
    box-shadow: 0 5px 5px #ffffff, 0 0 20px #ffffff, 0 0 40px #ffffff;
    top: 0;
    left: 0;
}

.logo-container{
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
  display: flex;
  background-color: black;
  width: 250px;
  height: 110%;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
  background:#000 url("../camo-imgs/camoflauge.png") left top no-repeat fixed;
  background-size: auto;
}

.logo{
  z-index: 2;
  margin-right: 10px;
  width:auto;
  height: calc(var(--bar-h) * 0.68); 
}

/* ---------- NAV LINKS CONTAINER ---------- */
.nav-links{
    font-style: none;
    gap: 20px;
    display: flex;
    list-style-type: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ---------- NAV ITEMS (LINKS + DROPDOWN TRIGGERS) ---------- */
.nav-links a,
.nav-links .dropdown > a,
.nav-links .dropdown > button {
  color: white;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(0.6rem, 1.3vw, 1.2rem);
  line-height: 1;
  padding: 8px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links .dropdown > a:hover,
.nav-links .dropdown > button:hover {
  color: #ff5500;
}
.services-trigger {
  all: unset;                  
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  padding: 12px 4px;           
  line-height: 1;
  white-space: nowrap;
  display: inline-block;      
}

/* ---------- DROPDOWN ---------- */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center; 
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;   
  left: 0;
  width: 240px;
  list-style-type: none;
  background-color: #000;
  border: 2px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  z-index: 20;
  overflow: hidden;
}

.dropdown-content a {
  padding: 16px 24px;
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  text-decoration: none;
  background-color: #000;
  border-bottom: 1px solid #ff5500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #111;
  color: #ff5500;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;
}

.dropdown.open .dropdown-content {
  display: block;
}

.cta-container{
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    background-color: black;
    height: 110%;
    width: 250px;
    justify-content: center;
    align-items: center;  
    display: flex;
    flex-direction: column;
    background:#000 url("../camo-imgs/camoflauge.png") right top no-repeat fixed;
    background-size: auto;
}

.cta-number{
    color: #ffffff;
    margin-top: 8px;
    text-align: center;
    max-width: 100%;
    font-weight: bold;
    font-size: clamp(4px, 18px, 1.3rem);
    font-family: 'Montserrat', sans-serif;
        width: clamp(80px, 16vw, 250px);

}

.cta-button{
    justify-content: center;
    text-align: center;
    align-items: center;
    background-color: #ff5500;
    font-weight: 800;
    padding: 0.4rem 1.2rem;
    border-radius: 8px;
    font-size: clamp(4px, 18px, 1.3rem);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    white-space:nowrap;
    width: fit-content;
    transition: transform 0.3s ease;
  height: calc(var(--bar-h) * 0.24); 
    width: auto;
}

/* HIDDEN MENU */
.hamburger{
  --size: 44px;     
  --bar-h: 3px;    
  --gap: 7px;       

  position: relative;
  display: none;              
  width: var(--size);
  height: var(--size);
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  cursor: pointer;
  transition: transform .18s ease;
  z-index: 1110;
}

@media (max-width: 1010px){
  .hamburger{ display: inline-flex; align-items:center; justify-content:center; }
}

.hamburger,
.hamburger:hover,
.hamburger:active,
.hamburger[aria-expanded="true"]{
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.hamburger > span{
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--size) * 0.9);
  height: var(--bar-h);
  background: #fff;
  border-radius: var(--bar-h);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease, width .2s ease;
}

.hamburger > span:nth-child(1){
  transform: translate(-50%, calc(-50% - (var(--gap) + var(--bar-h))));
}

.hamburger > span:nth-child(2){
  transform: translate(-50%, -50%);
}

.hamburger > span:nth-child(3){
  transform: translate(-50%, calc(-50% + (var(--gap) + var(--bar-h))));
}

.hamburger:hover  { transform: scale(1.06); }
.hamburger:active { transform: scale(0.98); }
.hamburger:focus-visible{ outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }

.hamburger[aria-expanded="true"] > span:nth-child(1){
  transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger[aria-expanded="true"] > span:nth-child(2){
  opacity: 0; width: 0;
}
.hamburger[aria-expanded="true"] > span:nth-child(3){
  transform: translate(-50%, -50%) rotate(-45deg);
}


/* ================= MOBILE (≤768px) ================= */
@media (max-width: 1010px){
  :root { --bar-h: 100px; }

  .navbar{
    position: sticky;
    top: 0;
    z-index: 1000;
    --bar-h: 120px;
    display:flex;
    align-items:center;
    height: calc(var(--bar-h) * 0.80);;
    width:100%;
    background:#000 url("../camo-imgs/camoflauge.png");
  }

.logo-container{
  visibility: hidden;
}

.logo{
  visibility: hidden;
}

  .hamburger { 
    display: inline-block;
    appearance: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px 40px;
    z-index: 1110;
    margin-left: 40px;
    padding: 40px;
  }

.hamburger[aria-expanded="true"]{
  background-image:url("https://img.icons8.com/ios-filled/50/FFFFFF/close.png");
  background-color: #000000;
}

#primary-nav.nav-links {
  transform:translateX(-100%);
  position: fixed;
  justify-content: start;
  align-items: stretch;
  top: 0;
  left: 0;
  bottom: 0;
  margin: 0;
  padding-top: clamp(8vh, 15dvh, 36dvh);
  width: min(40vw, 380px);
  height: 100dvh;              
  background: #000000;
  border-style: solid;
  border-color: #ff5500;
  border-width: 4px 4px 4px 0;
  box-shadow: 0 0 #ffffff, 0 0 20px #ffffff, 0 0 40px #ffffff;
  border-radius: 0 12px 12px 0px;
  box-sizing: border-box;
  gap: 10px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;              
  transform: translateX(-100%); 
  visibility: hidden;           
  transition: transform 240ms ease, visibility 240ms ease;
  z-index: 1000;
}

#primary-nav.nav-links.is-open {
  transform: translateX(0);
  visibility: visible;
}

#primary-nav.nav-links a,
#primary-nav.nav-links .services-trigger {
  display: block;
  padding: 12px 8px;
  font-size: clamp(0.88rem, calc(0.16rem + 3.84vw), 1.6rem);
  line-height: 1;
  text-wrap: nowrap;
  color: #ffffff;
}

.mobile-logo .mobile-logo-wrap { display: none; }

@media (max-width: 1010px){
  .logo-container { display: none !important; }

  .mobile-logo-wrap{
    position: absolute;        
    right: 12px;              
    top: 50%;                 
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    pointer-events: auto;
  }

  .mobile-logo{
    height: clamp(36px, 9vh, 56px);  
    width: auto;
    display: block;
  }

  .navbar{
    padding-right: clamp(56px, 12vw, 120px);
  }
}

@media (max-width: 350px){
/* MOBILE DRAWER: make the Services submenu flow under its trigger */
#primary-nav .dropdown {
  position: static;              /* no positioning tricks */
}

#primary-nav .dropdown-content{
  display: none;                 /* hidden by default */
  position: static;              /* sit in normal flow under the trigger */
  margin: 6px 0 0 0;
  padding: 4px 0 4px 10px;       /* small indent */
  background: transparent;       /* no black pill background */
  border: 0;
  box-shadow: none;
  list-style: none;
}

#primary-nav .dropdown.open > .dropdown-content{
  display: block;                /* show when .open is toggled by JS */
}

/* links inside the submenu: full-width rows and a bit indented */
#primary-nav .dropdown-content li a{
  display: block;
  padding: 10px 8px 10px 18px;   /* extra left padding for hierarchy feel */
  color: #fff;
  text-decoration: none;
  border-left: 2px solid transparent;
}

#primary-nav .dropdown-content li a:hover{
  color: #ff5500;
  border-left-color: #ff5500;    /* nice visual cue */
  background: rgba(255,255,255,.05);
}

/* optional: rotate the caret when open */
#primary-nav .services-trigger::after{
  content: "▾";
  margin-left: 6px;
  transition: transform .2s ease;
}
#primary-nav .dropdown.open .services-trigger::after{
  transform: rotate(180deg);
}

.nav-links{
  display:none;
  flex-direction:column;
  gap:1rem;
  width:100%;
  background:#111;
  padding:1rem;
  border-top:2px solid #ff5500;
  position:fixed;
  top:var(--bar-h);
  left:0; right:0;
  z-index:9;
  box-sizing:border-box;
  overflow:auto;
}

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


.logo-container{
  height:100%;
  align-items: center;
  justify-content: center;
}
  
.logo{
  width:80%;
  height:auto;
  align-items: center;
  justify-content: center;
}

.cta-container{ display: none !important; }  
.cta-button{ display: none !important; }  
.cta-number{ display: none !important; }
}

.cta-button {
  text-decoration: none;
  background-color: #ff5500;
  color: rgb(255, 255, 255);
  font-weight: 800;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 8px;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  white-space:nowrap;
  width: fit-content;
  transition: transform 0.3s ease;
}

.cta-button:hover{
  background-color: #ffffff;
  color: #ff5500;
}

.cta-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: white;
  margin-top: 8px;
  text-align: center;
  max-width: 100%;
}

/* ---------- OUR WORK BANNER ---------- */
.our-work-banner{
  position: relative;
  min-height: 80svh;                
  background:#000;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  overflow:hidden;
}

.our-work-banner::before{
  content:"";
  position:absolute; inset:0;
  background-image:url("../camo-imgs/church.jpg");
  background-repeat:no-repeat;
  background-position:left 30%;      
  background-size: auto clamp(100%, calc(100% + (100vw - 1010px) * 0.01875), 115%);
  z-index:0;
}

/* Overlay */
.picture-overlay{
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,.75);
  padding: 40px 50px;
  max-width: 700px;
  margin: 0 0 30px -20px; 
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  font-family: 'Montserrat', sans-serif;
}

.picture-overlay h1{
  margin: 0 0 15px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0,0,0,.6);
}

.picture-overlay .our-work-text{ color:#ff5500; font-weight:900; }

.picture-overlay p{
  margin: 0;
  font-size: 1.05rem;
  color: #eee;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0,0,0,.6);
}

/* ---------- Mobile (≤768px): always show the full photo ---------- */
@media (max-width: 1010px){
  .our-work-banner{
    min-height: 60svh;                   
    justify-content: center;
    align-items: flex-end;
  }
  
  .our-work-banner::before{
    background-size: contain;        
  }

  .picture-overlay{
    margin: 0 20px 50px;
    padding: 20px;
    max-width: 125%;
  }

  .picture-overlay h1{ font-size: 2rem; }
  .picture-overlay p { font-size: 0.9rem; }
}

/* FILTER BAR */
.project-filters {
  background: #111;
  padding: 20px 0;
  display: flex;
  justify-content: center;   
  align-items: center;      
  gap: 16px;
  flex-wrap: wrap;           
}

.projects-gallery {
  padding: 40px;
  display: grid;
  background: #111;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.project-card[hidden] { display: none !important; }

.filter-btn {
  padding: 10px 20px;
  border: 2px solid #111;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ff5500;
  border-color: #ff5500;
  color: #fff;
}

/* GALLERY GRID */
.projects-gallery {
  padding: 0 40px 60px;
}

.project-card {
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  border: 3px solid #fff;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img{
  display:block;
  width:100%;
  height:250px;
  object-fit:cover;
}

.project-card h3 {
  margin: 12px 0;
  color: #fff;
  font-weight: 700;
}

/* ===== Project modal (namespaced .pm-*) ===== */
.pm-modal[aria-hidden="true"] { display:none; }

.pm-modal{
  position:fixed; inset:0; z-index:2000;
  display:grid; place-items:center;
  animation: pmFade .18s ease;
  font-family: 'Montserrat', sans-serif;
}
@keyframes pmFade{ from{opacity:0} to{opacity:1} }

.pm-backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.65);
}

.pm-dialog{
  position:relative; z-index:1;
  width:min(1000px, 96vw);
  max-height: 92vh;
  background:#0b0b0b;
  border-radius:14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 0;
  overflow:hidden;
  color:#fff;
}

.pm-close{
  position:absolute; top:8px; right:8px;
  background:#000; color:#fff; border:0;
  width:36px; height:36px; border-radius:8px;
  cursor:pointer; opacity:.9;
}
.pm-close:hover{ opacity:1; transform:scale(1.02); }

.pm-media{
  position:relative; margin:0;
  background:#000;
  display:grid; place-items:center;
}
.pm-media img{
  max-width:100%;
  max-height: calc(92vh - 24px);
  object-fit: contain;
  display:block;
}

.pm-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:56px; border:0; border-radius:8px;
  background:rgba(0,0,0,.55); color:#fff; font-size:28px;
  cursor:pointer; display:grid; place-items:center;
}
.pm-prev{ left:8px; } .pm-next{ right:8px; }
.pm-nav:hover{ background:rgba(0,0,0,.75); }

.pm-meta{
  padding:20px 22px;
  overflow:auto;
  background:#111;
}
.pm-meta h3{ margin:0 0 8px; font-size:1.25rem; }
.pm-badges{ display:flex; gap:8px; margin-bottom:10px; }
.pm-badge{
  background:#ff5500; color:#fff; font-weight:800;
  padding:4px 10px; border-radius:999px; font-size:.8rem;
}
.pm-meta p{ margin:0; line-height:1.6; }

.pm-extra{ margin-top:14px; display:grid; grid-template-columns:auto 1fr; gap:6px 12px; }
.pm-extra dt{ color:#bbb; font-weight:700; }
.pm-extra dd{ margin:0; color:#eee; }

/* Mobile: stack */
@media (max-width: 800px){
  .pm-dialog{
    width:min(720px, 96vw);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(200px, 44vh);
  }
  .pm-media img{ max-height: 50vh; }
}

/* ---------- Footer Base ---------- */
:root {
  --footer-bg: #000 url("../camo-imgs/camoflauge.png");
  --footer-bottom-bg: #000;
  --footer-text: #fff;
  --accent: #ff5500;
  --max: 1200px;
}

body { margin: 0; }

.site-footer {
  color: var(--footer-text);
  background: var(--footer-bg);
  font-family: 'Montserrat', sans-serif;
}

/* ---------- Content Wrapper ---------- */
.footer-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; 
  gap: 40px;
  align-items: start;
}

/* ---------- About Section ---------- */
.footer-logo {
  width: 170px;
  height: auto;
  display: block;
  margin: 0 0 20px;
}

.footer-about p {
  line-height: 1.7;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Contact Section ---------- */
.footer-contact h4 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--footer-text);
}

.footer-contact address {
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  margin: 0;
  white-space: pre-line;
}

.call-number {
text-decoration: none;
color: #ff5500;
}

/* ---------- Links Section ---------- */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  
  text-align: left;         
  justify-self: end;      
  margin-right: 8rem;
  line-height: 1.4;
}

.footer-links h4 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--footer-text);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Bottom Bar ---------- */
.footer-bottom {
  background: var(--footer-bottom-bg);
  width: 100%;
}

.footer-bottom-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

.facebook img {
  width: 40px;   
  height: auto;  
  display: inline-block;
  transition: transform 0.2s ease;
  margin-top: 50px;
}

.facebook img:hover {
  transform: scale(1.1); 
}

.coyote-link{
  text-decoration: none;
  color: #39fde3;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-wrap {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 800px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-links {
    justify-self: start;  
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}