/* ===== Page size/flex layout fix ===== */
body > main,
body > .container:not(.header-inner),
.page-content,
.sidebar-layout {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
/* ===== End page size/flex layout fix ===== */

/* ===== Flex layout & footer fixes ===== */
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
}
.container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  flex: 1;
}
#sidebar-container {
  width: 220px;
  flex-shrink: 0;
}
/* Container & page layout */
body { display: flex; flex-direction: column; min-height: 100vh; margin:0; }
.container.page-wrapper { display: flex; flex-direction: row; gap: 20px; width: 100%; max-width: 1400px; margin:0 auto; flex:1; }

#sidebar-container.sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  background: var(--surface);
  border-radius: var(--card-radius);
  padding: 12px;
}

main.page-content {
  flex: 1;
  max-width: 900px;  /* narrow content */
  margin-left: 0;
}

/* Header consistent */
.site-header, .header-inner {
  display: flex;
  justify-content: space-between; /* spreads logo, tagline, nav */
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: var(--header-bg, #111);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
}

/* Footer sticks to bottom */
footer.footer {
  flex-shrink: 0;
  width: 100%;
}
.sidebar {
  float: none;
  margin: 0;
  padding: 0;
}

/* ===== End of flex layout & footer fixes ===== */

:root{
  --bg:#0f1319;
  --surface:#141a22;
  --surface-2:#1b2330;
  --text:#e7edf7;
  --muted:#9fb0c7;
  --accent:#5ea0ff;
  --accent-2:#7bffcf;
  --danger:#ff6b6b;
  --ok:#63e6be;
  --warn:#ffd43b;
  --card-radius:16px;
  --shadow:0 8px 22px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Ubuntu,Helvetica,Arial,sans-serif}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
  background: url("assets/hero_mountain.jpg") no-repeat center top;
  background-size: cover;   /* fills the screen */
  background-attachment: fixed;  /* makes it stationary while scrolling */
  margin: 0;  /* ensure no default spacing */
}
main.container,
.page-content,
.sidebar-layout {
  max-width: 700px !important;
  margin: 0 auto !important;
  background: rgba(255,0,0,0.05); /* temporary debug: light red */
}


.header{
  position:sticky;top:0;z-index:10;background:rgba(15,19,25,.75);backdrop-filter:blur(8px);
  border-bottom:1px solid #222;
}
.header .brand span {
  font-size: 2rem;   /* try 2rem (≈32px), or 2.5rem (≈40px) if you want it big */
  font-weight: 700;  /* boldest weight */
}

.header 

.header .nav {
  padding: 1rem 0;   /* increase vertical spacing */
}




.brand {
  display: flex;
  flex-direction: column;  /* stack logo + tagline */
  align-items: center;     /* center horizontally */
}


.brand .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 40px;
  margin-right: 0.6rem;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
}

























.nav{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:14px 24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.3px}
.brand svg{width:28px;height:28px}





/* Contact page content slides up over hero */
.page-content {
  position: relative;
  margin-top: -20px;
  padding-top: 0px;
  z-index: 1;
}
.hero h1{font-size:clamp(28px,4vw,48px);margin:0 0 8px}
.hero p{color:var(--muted);margin:0}
.grid{display:grid;gap:18px}
.grid.cols-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:var(--surface);border:1px solid #232b37;border-radius:var(--card-radius);padding:18px;box-shadow:var(--shadow)}
.card h3{margin:0 0 8px}
.footer{margin-top:48px;border-top:1px solid #222;background:#0c1015}
.footer .inner{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:18px 24px;color:var(--muted)}
.sidebar-layout{display:grid;grid-template-columns:260px 1fr;gap:20px}
.sidebar{position:sticky;top:76px;height:max-content;background:var(--surface);border:1px solid #232b37;border-radius:var(--card-radius);padding:12px}
.sidebar a{display:block;padding:10px 12px;border-radius:10px;color:var(--text);opacity:.85;margin:2px 0}
.sidebar a.active,.sidebar a:hover{background:var(--surface-2);opacity:1}
.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
label{font-size:.9rem;color:var(--muted)}
input,select,textarea{width:100%;padding:10px 12px;border-radius:10px;border:1px solid #2b3443;background:#0f141c;color:var(--text);outline:none}
button{padding:10px 14px;border-radius:10px;border:1px solid #2b3443;background:var(--surface-2);color:var(--text);cursor:pointer}
button.primary{background:linear-gradient(180deg,var(--accent),#2f6adf);border-color:#2f6adf}
.badge{display:inline-block;padding:6px 10px;border:1px solid #2b3443;border-radius:999px;font-size:.8rem;color:var(--muted)}



.calendar{display:grid;grid-template-columns:1fr 1fr;gap:16px}

#tw1,#tw2,#tw3{min-width:140px}


.cal{background:var(--surface);border:1px solid #232b37;border-radius:14px;padding:12px}



.cal header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:1rem;   /* smaller text */
  padding:6px 8px;  /* less padding */
  margin-bottom:4px;
}




.cal table{width:100%;border-collapse:collapse}
.cal th,.cal td{padding:6px;text-align:center}
.cal td button{width:100%;padding:8px;border-radius:8px;border:1px solid #2b3443;background:#0f141c;color:var(--text)}


/* Full / unavailable (from ICS feed) */
.cal td button.unavailable {
  border:2px solid #ff4d4d !important;
  background:none !important;
  color:#ff4d4d !important;
  font-weight:bold;
}
/* Weekends */
.cal td button.weekend {
  border:2px solid #ffd43b !important;
  background:none !important;
  color:#ffd43b !important;
}
.cal td button.holiday {
  border: 2px solid #28a745 !important; /* festive green outline */
  background: none !important;
  color: #28a745 !important;
  font-weight: bold;
}


/* Previous/next month overflow days */
.cal td button.other-month {
  color:#999 !important;
  background:none !important;
  border:none !important;
  cursor:default;
}

.cal td button.sel1 {
  border:2px solid #5ea0ff !important;
  background:none !important;
  color:#5ea0ff !important;
  font-weight:bold;
}

.cal td button.sel2 {
  border:2px solid #ff9933 !important;
  background:none !important;
  color:#ff9933 !important;
  font-weight:bold;
}

.cal td button.sel3 {
  border:2px solid #63e6be !important;
  background:none !important;
  color:#63e6be !important;
  font-weight:bold;
}
/* Holidays */
.cal td button.holiday {
  border: 2px solid #28a745 !important; /* festive green */
  background: none !important;
  color: #28a745 !important;
  font-weight: bold;
}


.notice{background:#0b1220;padding:12px;border:1px dashed #2f6adf;border-radius:12px}
.responsive-img{display:block;width:100%;height:300px;background:#0b1118;border:1px dashed #2b3443;border-radius:12px;place-items:center;align-items:center;justify-items:center;color:#6f7d92;display:grid}

.nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.nav 

/* Calendar navigation and legend tweaks */

.calendar-nav {
  display: flex;
  justify-content: space-between; /* prev left, next right */
  align-items: center;
  margin-bottom: 10px; /* optional spacing */
}
.calendar-nav button {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}
.calendar-nav button:hover {
  background: var(--accent);
  color: #fff;
}
.calendar-nav-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px; /* spacing between buttons and calendars */
}

.calendar-nav-left {
  display: flex;
  justify-content: flex-start; /* aligns Prev to left */
}

.calendar-nav-right {
  display: flex;
  justify-content: flex-end;   /* aligns Next to right */
}

.calendar-nav-left button,
.calendar-nav-right button {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.calendar-nav-left button:hover,
.calendar-nav-right button:hover {
  background: var(--accent);
  color: #fff;
}

.legend-box {
  display: inline-block;
  min-width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
  vertical-align: middle;
  margin: 0 6px 0 10px;
}


.calendar-legend .legend-box {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #000;  /* default border color */
  background-color: transparent; /* no fill */
  margin-right: 4px;
  vertical-align: middle;
  border-radius: 3px; /* optional rounded corners */
  margin-bottom: 12px; /* space below legend */
}

.form-row.large-project {
  display: flex;
  align-items: center;          /* vertically center everything */
  justify-content: space-between; /* left label/checkbox, right dropdown */
  margin: 12px 0;
  gap: 12px;                     /* horizontal spacing */
}

/* Wrap label and checkbox together */
.label-checkbox {
  display: flex;
  align-items: center;           /* vertical center checkbox with text */
  gap: 8px;                      /* space between label and checkbox */
}

.label-checkbox label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #5ea0ff;
  background: rgba(94,160,255,0.1);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin: 0;
  display: inline-block;
}

#largerProject {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  flex-shrink: 0;
}

#blockSize {
  width: auto;                   /* shrink to fit largest text */
  display: inline-block;
  padding: 4px 6px;
  font-size: 0.95rem;
  flex-shrink: 0;
}



.form-row.time-windows {
  margin-top: 12px; /* extra space if needed */
}
/* Set specific outline colors */
.calendar-legend .sel1 {
  border-color: #5ea0ff; /* blue outline */
}

.calendar-legend .sel2 {
  border-color: orange;
}

.calendar-legend .sel3 {
  border-color: #63e6be; /* green outline */
}

.calendar-legend .unavailable {
  border-color: #d9534f; /* red outline */
}

.calendar-legend .weekend {
  border-color: #f0ad4e; /* yellow/orange outline */
}

.calendar-legend .holiday {
  border-color: #6c757d; /* gray outline */
}



#tw1, #tw2, #tw3 {
  min-width: 140px;
}





.brand .logo {
  max-height: 100px; /* larger logo */
  display: block;
}










/* === Updated Header & Body Layout === */
.site-header {
  width: 100%;
  background: var(--header-bg, #111);
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1000;
}

/* Three-column header: logo left, tagline center, nav right */
/* Modern header styles */
.site-header {
 background-color: var(--surface);
  box-shadow: 0 4px 6px rgba(0,0,50,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
}




.header-inner {
  display: flex;
  justify-content: space-between; /* keep logo/nav spread */
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  position: relative;
}


.brand {
  display: flex;
  align-items: center;
  flex-direction: column; 
}

.brand .logo {
  height: 60px;
  margin-right: 15px;
  border-radius: 5px;
}
.tagline {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%; /* adjust vertical offset as needed */
  text-align: center;
  width: auto;
}


.tagline p {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #7bbfff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  margin: 0;
  line-height: 1.2;  
  position: relative;
  display: inline-block; 
}


.tagline p::after {
  content: "";
  display: block;
  width: 260px;
  height: 2px;
  background: #5ea0ff;
  margin: 6px auto 0 auto;
  border-radius: 1px;
}

.menu {
  display: flex;
  align-items: center;
}
.menu a {
  margin: 0 0.5rem;
  padding: 10px 16px;        /* increase clickable area */
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;         /* increase text size */
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu a:hover {
  border-color: var(--accent);
  background-color: rgba(94,160,255,0.1);
  color: var(--accent);
}

.menu a.active {
  border-color: var(--accent);
  background-color: rgba(94,160,255,0.2);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #333;
  margin-bottom: 5px;
  border-radius: 2px;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background-color: #fff;
    padding: 10px 0;
  }
  .menu.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .menu a {
    font-size: 1rem;   /* slightly smaller on mobile */
    padding: 8px 12px;
  }
}




/* --- BODY WIDTH --- */
main,
.page-content,
.sidebar-layout {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Ensure containers inside header/footer stay full width */
.site-header .container {
  width: 100% !important;
  max-width: none !important;
}

/* === End Header & Body Layout === */



/* === Final Layout Overrides (Header 100%, Body 85%) === */

/* Header full width */
.site-header,
.site-header .header-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.site-header .container,
.site-header .header-inner {
  width: 100% !important;
  max-width: none !important;
}

/* Body constrained */


/* Sidebar layout */
.sidebar-layout {
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  gap: 2rem !important;
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
}

.sidebar-layout .content {
  min-width: 0;
}
/* === Services Page Styles === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.card {
  display: block;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 15px;
  min-height: 200px; /* or whatever height fits your layout with the windows */
}

.time-windows.hidden {
  visibility: hidden;  /* keeps space occupied */
}


}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.card img.responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.card h3 {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* === Theme-safe tile + gallery patch === */

/* Ensure cards/tiles use theme surface instead of white */
.card {
  background: var(--surface);
  color: var(--text);
}

/* === Logo Size Update === */

.brand .logo {
  max-height: 120px;  /* larger logo */
  height: auto;
  display: block;
}
