
:root{
  --bg:#f7f7f7; --card:#ffffff; --text:#111; --muted:#666; --accent:#111;
  --radius:12px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text)}
.container{max-width:1100px;margin:24px auto;padding:0 16px}
.header{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:16px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:36px;height:36px;border-radius:50%;object-fit:contain;background:#fff}
.brand h1{font-size:16px;margin:0;font-weight:700;text-align:center}
.brand .tagline{font-size:12px;color:var(--muted);margin-top:2px;text-align:center}
.header-right{display:flex;gap:8px}
.header-right a{background:#000;color:#fff;padding:8px 12px;border-radius:10px;text-decoration:none;font-weight:600}
.grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}
.card{background:var(--card);border-radius:var(--radius);padding:20px;border:1px solid #e6e6e6}
h2{margin:0 0 12px 0;font-size:28px}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.badge{background:#000;color:#fff;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:700}
.small{color:var(--muted);font-size:12px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
label{display:block;font-weight:700;margin:10px 0 6px 0}
input,select,textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;background:#fff}
textarea{min-height:110px;resize:vertical}
.calc{display:flex;gap:12px;align-items:center;margin-top:10px}
.btn{background:#111;color:#fff;border:none;border-radius:10px;padding:12px 16px;font-weight:700;cursor:pointer}
.result{min-width:80px;background:#f0f0f0;border-radius:10px;padding:12px;text-align:center}
.footer{color:#555;font-size:14px}
.table{width:100%;border-collapse:collapse;margin-top:16px}
.table th,.table td{border:1px solid #e5e5e5;padding:10px;text-align:left}
.table th{background:#fafafa}
.gallery{margin-top:10px}
.slider{position:relative;border-radius:14px;border:1px solid #e6e6e6;height:280px;overflow:hidden;background:#fafafa}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .3s ease}
.slide.active{opacity:1}
.slide img{width:100%;height:100%;object-fit:cover}
.dots{display:flex;gap:6px;justify-content:center;margin-top:8px}
.dot{width:8px;height:8px;border-radius:50%;background:#d0d0d0;cursor:pointer}
.dot.active{background:#111}
@media(max-width:900px){.grid{grid-template-columns:1fr}}

/* --- Center title/tagline between logo (left) and actions (right) --- */
.header{display:flex;align-items:center;justify-content:space-between}
.header-left{flex:0 0 auto;display:flex;align-items:center}
.header-left img{width:36px;height:36px;border-radius:50%;object-fit:contain;background:#fff}
.header-center{flex:1 1 auto;text-align:center}
.header-center h1{margin:0;font-size:16px;font-weight:700}
.header-center .tagline{font-size:12px;color:#666;margin-top:2px}
/* keep existing .header-right styles */

.site-footer{white-space:nowrap}


/* --- Slider Photo Fix: show full images, white background --- */
.slider, .gallery, .carousel {
  background: #fff;
}
.slide img, .slider img, .gallery img, .carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
