:root{
  --bg: #ffffff;
  --card: #fbfcfc;
  --text: #0b1f20;
  --muted-dark: #58666a;
  --teal-500: #0fb9b2;
  --teal-700: #0b8f86;
  --accent-grad: linear-gradient(90deg,var(--teal-500),var(--teal-700));
  --shadow: 0 18px 50px rgba(2,12,12,0.06);
  --footer-bg: #042828;
  --footer-contrast: #f5fffd;
  --radius: 12px;
  --max-width: 1180px;
  --transition: 260ms cubic-bezier(.2,.9,.3,1);
}

/* reset + base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;font-family:"Open Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;line-height:1.45;font-size:16px;
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max-width);margin:0 auto;padding:0 20px}

/* Sticky header: solid white + subtle shadow (Option 2) */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:120;
  background:#fff;
  box-shadow:0 6px 18px rgba(6,12,15,0.06);
  border-bottom:1px solid rgba(2,12,12,0.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden; /* prevent horizontal scroll */
}
.header-spacer{height:84px}

/* brand */
.brand{display:flex;align-items:center;gap:12px}
.logo{height:64px;width:64px;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-title{font-family:"Poppins",sans-serif;font-weight:700;font-size:20px;color:var(--text)}
.brand-sub{font-family:"Poppins",sans-serif;font-weight:600;font-size:13px;color:var(--teal-700);margin-top:4px}

/* nav */
.primary-nav ul{display:flex;gap:18px;align-items:center;margin:0;padding:0;list-style:none}
.primary-nav a{color:#2f6b68;font-weight:600;padding:8px 10px;border-radius:8px;transition:all var(--transition)}
.primary-nav a:hover{color:var(--text);background:rgba(2,12,12,0.03)}
.btn-cta{background:var(--accent-grad);color:white;padding:10px 14px;border-radius:10px;font-weight:700;box-shadow:0 12px 30px rgba(11,15,15,0.10)}

/* buttons */
.btn-outline, .btn-cta { display:inline-block; text-align:center; line-height:1; }
.btn-outline{padding:10px 14px;border-radius:10px;border:1px solid rgba(2,12,12,0.06);background:white;color:var(--text);font-weight:700}
.btn-outline:hover{background:var(--teal-500);color:#fff;transform:translateY(-2px)}

/* Hamburger (mobile) */
.hamburger{display:none;background:none;border:0;padding:8px;border-radius:8px;cursor:pointer}
.hamburger span{display:block;width:22px;height:2px;background:var(--text);margin:4px 0;border-radius:2px}

/* Hero */
.hero{padding:40px 0 48px}
.hero-inner{display:grid;grid-template-columns:1fr 460px;gap:36px;align-items:center}
.hero-copy h1{font-family:"Poppins",sans-serif;font-size:40px;margin:0;color:var(--text);line-height:1.02}
.lead{color:var(--muted-dark);max-width:64ch;margin-top:12px}
.hero-actions{margin-top:18px;display:flex;gap:12px}

/* hero image */
.hero-image{min-height:320px;border-radius:18px;box-shadow:var(--shadow);
  background:
    linear-gradient(180deg, rgba(2,6,6,0.14), rgba(2,6,6,0.04)),
    url('images/architecht/arch_5.jpg') center/cover no-repeat;
}

/* sections */
.section{padding:48px 0}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.header-row h2{margin:0;font-family:"Poppins",sans-serif;font-size:22px}

/* about grid + cards */
/*.about-grid{display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start}
.card{background:var(--card);padding:20px;border-radius:12px;width: 100%;box-shadow:0 8px 24px rgba(2,12,12,0.04)};
*/

.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.about-card{background:linear-gradient(180deg,#fff,#fbfbfb);border-radius:12px;padding:18px;box-shadow:0 10px 30px rgba(2,12,12,0.04);border-top:6px solid rgba(11,143,134,0.08)}




/* attractive services */
.attractive-services{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:18px;
}
.attractive-services .service{
  display:flex;gap:12px;align-items:flex-start;padding:18px;border-radius:12px;background:linear-gradient(180deg,#f7f9f8,#f1f6f5);
  border-left:6px solid rgba(15,185,178,0.18);
  transition:transform var(--transition), box-shadow var(--transition);
}
.attractive-services .service:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(2,12,12,0.06)}
.service-icon{font-size:22px;line-height:1.1;min-width:38px;border-radius:8px;background:linear-gradient(180deg,var(--teal-500),var(--teal-700));color:white;padding:8px;display:flex;align-items:center;justify-content:center}

/* projects */
/* Make project section full-width */
#projects {
  width: 100%;
  padding: 60px 40px;
}

/* Override container width just for projects */
#projects .container {
  max-width: 100%;
  padding: 0 40px;
}

/* Adjust project grid to show 3 per row */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 per row on large screens */
  gap: 24px;
  justify-items: center;
}

/* Make images fill available space neatly */
.project img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Optional: adjust category section spacing */
.project-category {
  margin-bottom: 60px;
}

.project-category h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  border-left: 4px solid #3b82f6;
  padding-left: 10px;
  color: #222;
}

/* services-grid brief */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.service-card{background:linear-gradient(180deg,#fff,#fbfbfb);border-radius:12px;padding:18px;box-shadow:0 10px 30px rgba(2,12,12,0.04);border-top:6px solid rgba(11,143,134,0.08)}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 360px;gap:28px}
.contact-form input,.contact-form textarea{width:100%;padding:12px;border-radius:10px;border:1px solid rgba(2,12,12,0.06);margin-top:10px;font-size:15px}
.contact-form label{display:block;font-weight:600;font-size:13px;color:var(--muted-dark);margin-top:12px}

/* lightbox */
/*.lightbox{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(2,12,12,0.6);z-index:140;padding:20px;opacity:0;pointer-events:none;transition:opacity 220ms}
.lightbox.show{opacity:1;pointer-events:auto}
.lightbox-panel{position:relative;max-width:1100px;width:800px;height:500px;border-radius:12px;overflow:hidden;background:white;display:flex;align-items:center;justify-content: center;}
.lightbox-inner{flex:1;overflow:auto;background:#fff}
.lightbox-inner img{width:100%;height:auto;display:block;max-width:100%}
.lightbox-title{padding:12px 16px;font-weight:700;color:var(--text)}
.btn-close{position:absolute;top:10px;right:10px;border:0;background:var(--teal-700);color:white;padding:8px 12px;border-radius:8px;cursor:pointer;z-index:160;box-shadow:0 8px 20px rgba(2,12,12,0.12)}
*/


/* mobile menu styling */
.mobile-menu{
  position:fixed;
  top:84px;
  left:0;
  right:0;
  max-height:calc(100vh - 84px);
  overflow:auto;
  background:#fff;
  border-top:1px solid rgba(2,12,12,0.04);
  transform:translateY(-8px);
  opacity:0;
  visibility:hidden;
  transition:transform 220ms,var(--transition);
  z-index:115;
  padding:16px 20px;
}
.mobile-menu.show{
  transform:translateY(0);
  opacity:1;
  visibility:visible;
}
.mobile-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.mobile-menu a{padding:10px;border-radius:8px;display:block}
.mobile-cta{display:inline-block;background:var(--accent-grad);color:#fff;padding:10px 14px;border-radius:8px}

/* footer */
.site-footer{background:var(--footer-bg);color:var(--footer-contrast);padding:44px 20px}
.footer-inner{max-width:var(--max-width);margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:36px}
.footer-left{display:flex;gap:12px;align-items:center}
.logo-small{height:48px;width:48px}
.footer-center{display:flex;flex-direction:column;gap:6px}
.footer-right{display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.social{display:flex;gap:10px}
.social-link{color:var(--footer-contrast);opacity:0.95;text-decoration:none}
.social-link:hover{color:var(--teal-500)}

/* responsive */
@media (max-width:1100px){
  .hero-inner{grid-template-columns:1fr;gap:28px}
  .contact-grid{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:repeat(2,1fr)}
  .header-row{flex-direction:column;align-items:flex-start}
  .footer-inner{flex-direction:column;align-items:center;text-align:center}
  .footer-right{align-items:center}
  .attractive-services{grid-template-columns:1fr}
}
@media (max-width:700px){
  .primary-nav{display:none}
  .hamburger{display:inline-flex}
  .projects-grid{grid-template-columns:1fr}
  .brand-title{font-size:16px}
  .brand-sub{font-size:12px}
  .hero-copy h1{font-size:28px}
  .project img{height:200px}
  .footer-inner{padding-top:12px;gap:12px}
  .logo{height:52px;width:52px}
  .header-spacer{height:72px}
}

/* helpers */
.muted{color:var(--muted-dark)}
.small{font-size:13px}

/* ---------- Sticky Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ---------- Fix section hiding under navbar ---------- */
section { scroll-margin-top: 90px; }

/* ---------- Smooth scroll ---------- */
html { scroll-behavior: smooth; }

/* ---------- Section animation ---------- */
section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Project styling ---------- */
.project-category {
  margin-top: 3rem;
}
.project-category h3 {
  font-size: 1.6rem;
  color: #004d4d;
  border-left: 4px solid #008080;
  padding-left: 10px;
  margin-bottom: 1.5rem;
}

/* ---------- EmailJS form updates ---------- */
.contact-form button {
  background: var(--accent-grad);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background: var(--teal-700);
  transform: translateY(-2px);
}
.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Form status messages ---------- */
.status-msg {
  margin-top: 14px;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
  transition: all 0.3s ease;
}
.status-msg.success {
  color: #0b8f86;
  animation: fadeInUp 0.5s ease;
}
.status-msg.error {
  color: #d9534f;
  animation: fadeInUp 0.5s ease;
}

/* ---------- Keyframes ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}




/* Contact summary sidebar */
.contact-summary {
  position: sticky;
  top: 2rem;
  align-self: start;
  background: #f8f9fa;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-summary h4 {
  margin-bottom: 1rem;
  color: #222;
}

.contact-summary p {
  margin: 0.5rem 0;
}

/* Responsive layout fix for smaller screens */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-summary {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 700px) {
  .hamburger {
    margin-left: auto; /* ensures it stays on right */
  }
}
@media (max-width: 700px) {
  .brand-title { font-size: 16px; }
  .brand-sub { font-size: 12px; }

}

/* hide by default on desktop */
.hamburger {
  display: none;
  cursor: pointer;
}

/* show only on mobile screens */
@media (max-width: 700px) {
  .hamburger {
    display: inline-flex !important;
    margin-left: auto; /* ensures it stays on the right */
  }  
  .primary-nav {
    display: none !important;
  }
}



