/* ===== Variables ===== */
:root{
  --accent: #e67f1f;
  --accent-light: #ec801b9a;
  --dark: #0f1720;
  --muted: #80766b;
  --card: #fcfaf8;
  --radius: 10px;
  --max-width: 1250px;
  --gap: 20px;
}

/* ===== Base ===== */
*{ box-sizing: border-box }
html, body{ height:100% }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--dark);
  background-image: url('images/bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.4;
  padding:30px 16px;
  display:flex;
  justify-content:center;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-image: url('images/bg.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  z-index: -1;
}

.site, .wrap {
  width: 100%;
  max-width: var(--max-width);
}



/* ===== Header & Nav ===== */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap);
  margin-bottom:20px;
  background: rgba(255, 255, 255, 0.7);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(15,23,32,0.08);
}
.logo{
  width:70px;
  height:70px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--accent),#06b6d4);
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  font-weight:700;
  font-size:20px;
  box-shadow:0 6px 18px rgba(30,136,229,0.15);
  overflow:hidden;
  flex-shrink:0;
}
.logo img{
  display:block;
  width:70px;
  height:70px;
  object-fit:cover;
  border-radius:inherit;
}
.brand{ display:flex; gap:12px; align-items:center; white-space:nowrap }
nav{ display:flex; gap:20px; align-items:center }
nav h1{ margin:0; font-size:24px; font-weight:700; color:var(--dark); }
nav a{ color:var(--muted); text-decoration:none; font-weight:600; font-size:20px; }
nav a:hover{ color:var(--dark); text-decoration:underline }
header .cta{ margin-left:auto; }
.cta{
  background:var(--accent);
  color:white;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 6px 18px rgba(30,136,229,0.18);
}
header .dcta{ margin-left:auto; }
.dcta{
  background: rgba(202, 39, 39, 0.79);
  color:white;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 6px 18px rgba(30,136,229,0.18);
}
nav ul{
  list-style:none; margin:0; padding:0; display:flex; gap:12px; align-items:center;
}

/* ===== Main Layout ===== */
.top-columns-wrapper{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:var(--gap);
  margin-bottom:40px;
  padding:0 16px;
}
@media (max-width:900px){
  .top-columns-wrapper{ grid-template-columns:1fr; }
}

/* Updates section */
.hero{
  background:var(--card);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:0 10px 30px rgba(15,23,32,0.06);
  overflow:hidden;
}
.hero h1{ margin:0 0 10px; font-size:28px; }
.hero p{ margin:0 0 18px; color:var(--muted); }

/* Services by Property Type */
section{ margin-bottom:18px; padding:0 16px; }

#about {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(15,23,32,0.04);
}

#faq h2 {
  background: rgba(255, 255, 255, 0.7);
  padding: 12px 16px;
  border-radius: var(--radius);
  display: inline-block;
  margin: 0 auto 20px;
  text-align: center;
  width: fit-content;
}
#types{
  width:100%;
  max-width:100%;
  margin-bottom:40px;
}
#types h2{ 
  margin-left:calc(var(--gap) / 2);
  background: rgba(255, 255, 255, 0.7);
  padding: 12px 16px;
  border-radius: var(--radius);
  display: inline-block;
}
.type-wrapper{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:var(--gap);
  padding:0;
  margin:0;
}
@media (max-width:700px){
  .type-wrapper{ grid-template-columns:1fr; }
}
.pType-card{
  background: rgba(255, 255, 255, 0.7);
  padding:16px;
  border-radius:12px;
  border:1px solid #eef2f7;
  box-shadow:0 4px 12px rgba(15,23,32,0.04);
}
.pType-card ul{ list-style:disc; }

/* Out of Office Dates */
#services{
  padding:16px;
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:0 4px 12px rgba(15,23,32,0.04);
}
#services h2{
  margin-top:0;
  font-size:24px;
  text-align:center;
}
.service-cards{ display:flex; flex-direction:column; gap:12px; }
.service-card{
  background:var(--accent);
  padding:12px 16px;
  border-radius:8px;
  color:white;
  text-align:center;
}
.service-card h3{ margin:0; font-size:1.1em; }

/* FAQ */
#faq{ margin-bottom:40px; padding:0 16px; }
.faq-accordion{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:800px;
  margin:0 auto;
}
.faq-accordion details{
  background: rgba(255, 255, 255, 0.7);
  border:1px solid #eef2f7;
  border-radius:var(--radius);
  padding:0 16px;
  transition:all 0.2s ease-in-out;
}
.faq-accordion details[open]{
  background:var(--card);
  box-shadow:0 6px 15px rgba(15,23,32,0.08);
}
.faq-accordion summary{
  display:block;
  cursor:pointer;
  padding:16px 0;
  font-weight:700;
  list-style:none;
  position:relative;
  color:var(--dark);
}
.faq-accordion summary::after{
  content:'+';
  position:absolute;
  right:0;
  font-size:1.5em;
  font-weight:300;
  color:var(--accent);
  transition:transform 0.2s;
}
.faq-accordion details[open] summary::after{
  content:'-';
}
.faq-content{
  padding-bottom:16px;
  padding-top:5px;
  color:var(--muted);
  line-height:1.6;
  border-top:1px solid #f0f4f7;
}
.faq-content p{ margin:0; }

/* Generic components */
.card{
  background: rgba(252, 250, 248, 0.7);
  padding:18px;
  border-radius:12px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.6);
}
ul{ margin:10px 0 0; padding-left:18px; color:var(--muted) }
footer{ color:var(--muted); font-size:13px; margin-top:18px; text-align:center }
.badge{
  display:inline-block;
  background:#f0f9ff;
  color:var(--accent);
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  border:1px solid rgba(30,136,229,0.08);
}

/* Accessibility */
a:focus, button:focus, input:focus, textarea:focus{
  outline:3px solid rgba(30,136,229,0.18);
  outline-offset:2px;
}

/* ===== Services Page Additions ===== */
.call-now {
  display:inline-block;
  background:var(--accent);
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(30,136,229,0.18);
  margin:10px 0;
}
.service-section {
  background:var(--card);
  border-radius:var(--radius);
  padding:20px;
  margin-bottom:20px;
  box-shadow:0 4px 12px rgba(15,23,32,0.04);
}
.service-section h3 {
  margin-top:0;
  font-size:22px;
  color:var(--dark);
}
.service-section p {
  color:var(--muted);
  margin:8px 0 12px;
}
.service-section ul {
  list-style:disc;
  padding-left:18px;
  margin:8px 0;
  color:var(--muted);
}
.price {
  font-size:24px;
  color:var(--accent);
  font-weight:800;
  margin:6px 0;
}
.small {
  color:var(--muted);
  font-size:13px;
}
.quote-btn {
  display:inline-block;
  background:var(--accent);
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(30,136,229,0.18);
  margin-top:10px;
}
.contact-block {
  padding:16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius:var(--radius);
  border:1px solid #eef2f7;
  box-shadow:0 4px 12px rgba(15,23,32,0.04);
  font-size:14px;
}
.contact-block a {
  color:var(--accent);
  font-weight:700;
  text-decoration:none;
}

/* ===== Quote Page Styles ===== */
.quote-form-section {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(15,23,32,0.06);
}

.quote-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--dark);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6eef6;
  margin-bottom: 14px;
  font-size: 14px;
}

.quote-form button.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  text-align: center;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(30,136,229,0.18);
}

.quote-form button.btn:hover {
  background: #d96f1a;
}

/* ===== Staff Login Page Styles ===== */
.password-container {
  display: flex;
  gap: 8px;
}

.password-container input {
  flex: 1;
}

.staff-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.staff-page .wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.staff-form-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.staff-form-container main.card {
  width: 100%;
  max-width: 400px;
}

#staffForm {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#staffForm h1 {
  text-align: center;
  margin: 0 0 20px;
}

#staffForm label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

#staffForm input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e6eef6;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.pw-toggle {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.actions {
  margin-top: 20px;
}

.actions button[type="submit"] {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 8px;
}

.error {
  color: #dc2626;
  font-size: 14px;
  margin: 8px 0;
  min-height: 20px;
}

.note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ===== Dashboard Page Styles ===== */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.sign-out-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}

.dashboard-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.muted-text {
  color: var(--muted);
}

.form-message {
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  display: none;
}

.form-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== End of styles.css ===== */