:root{
  --bg:#f8fafc;
  --card:#ffffff;
  --accent:#004d98;
  --muted:#6b7280;
  --text:#0f172a;
  --radius:12px;
  font-family: "Segoe UI", Tahoma, Arial, "Helvetica Neue", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
.container{max-width:1100px;margin:0 auto;padding:24px}

/* Header */
.site-header{background:linear-gradient(90deg,#cf949488,#769cc288);backdrop-filter:blur(4px);border-bottom:1px solid #e6eef6}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.name-block h1{margin:6px 0 0;font-size:1.6rem}
.subtitle{margin:4px 0 0;color:var(--muted)}

.profile-pic img{
  width:70px;
  height:70px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #e6eef6;
  cursor:pointer;
}

.nav a{margin-left:12px;text-decoration:none;color:var(--text);font-weight:600}
.nav a:hover{text-decoration:underline}
.date-time {
    margin-left: 1rem;
    font-size: 0.9rem;
    color: #9b1d1d;
    font-style: italic;
    white-space: nowrap;
  }
  

/* Main cards */
.main{padding:28px 0}
.card{background:var(--card);padding:20px;border-radius:var(--radius);box-shadow:0 6px 18px rgba(12,38,63,0.06);margin-bottom:18px}
.about p{line-height:1.6}
.cta-row{margin-top:12px}
.btn{display:inline-block;padding:10px 14px;border-radius:8px;background:var(--accent);color:#fff;text-decoration:none;font-weight:600}
.btn.ghost{background:transparent;border:1px solid #d6e6fb;color:var(--text)}
.btn.small{padding:6px 10px;font-size:0.9rem}
.btn.disabled, .btn[aria-disabled="true"]{opacity:0.6;cursor:not-allowed;pointer-events:none}

/* Projects */
.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-top:12px}
.project .proj-thumb{width:100%;height:140px;object-fit:cover;border-radius:10px;margin-bottom:8px;border:1px solid #e6eef6;background:#f3f6fb}
.project h3{margin:0 0 6px}
.proj-desc{margin:0 0 8px;color:var(--muted)}
.tags{font-size:0.85rem;color:var(--muted);margin-bottom:10px}
.proj-actions{display:flex;gap:8px}

/* Gallery */
.photography .gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-top:12px}
.photography .gallery-item{width:100%;height:180px;object-fit:cover;border-radius:10px;border:1px solid #e6eef6;cursor:pointer;transition:transform .2s ease, box-shadow .2s ease}
.photography .gallery-item:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(12,38,63,0.12)}

/* Skills */
.skill-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:6px 0 0}
.skill-list li{background:#eef6ff;padding:8px 12px;border-radius:999px;color:var(--text);font-weight:600}

/* Contact form */
#contact-form label{display:block;margin-bottom:10px;font-weight:600}
#contact-form input,#contact-form textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #e6eef6;margin-top:6px}
#contact-form button{margin-top:6px}

/* Footer */
.site-footer{padding:18px 0;text-align:center;color:var(--muted);font-size:0.95rem}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  cursor: zoom-in;
  transition: transform 0.08s ease-out;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox .close:hover {
  color: #ddd;
}

/* Zoom states */
.lightbox.zoomed .lightbox-content{cursor: grab;}
.lightbox.dragging .lightbox-content{cursor: grabbing;}

/* Responsive */
@media (max-width:760px){
  .header-inner{flex-direction:column;align-items:flex-start}
  .nav{display:flex;gap:8px;margin-top:8px}
}
