/* Fonts: Playfair Display for headings, Inter for body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root{
  --teal:#2aa6a6;       /* primary teal from logo */
  --teal-dark:#1f8b8b;  /* darker teal for hover */
  --gold:#c79a3a;       /* warm gold accent */
  --gold-dark:#a6782b;
  --panel-bg: rgba(255,255,255,0.94);
  --muted: #6b6b6b;
  --max-width:1100px;
  --radius:14px;
  --gap:20px;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

*{box-sizing:border-box}
/*    ------   */
/*html,body{height:100%;margin:0;color:#222;background:#fafafa}
body{
  background-image: url('../assets/logo-bg.png');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}


body::before{
  content:"";
  position:fixed;
  inset:0;
  background: linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06));
  pointer-events:none;
  z-index:0;
}
*/

/* ensure the document background image covers the whole page */
html {
  height: 100%;
  background-image: url('../assets/logo-bg.png');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* page shell: keep flex column layout and let body be transparent */
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #222;
  background: transparent; /* remove solid white so html background shows through */
}

/* overlay for readability (unchanged) */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06));
  pointer-events: none;
  z-index: 0;
}


/*    ------   */

/* Header */
/*.site-header{position:relative;z-index:3;padding:18px 24px;background:linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));backdrop-filter: blur(10px)}*/
/* sticky header — safe for mobile */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* keep existing visual styles */
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
}

.nav{max-width:var(--max-width);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:12px;font-family:'Playfair Display', serif;color:var(--teal-dark);text-decoration:none;font-size:1.25rem;font-weight:700}
.header-logo{width:100px;height:100px;display:block}
.brand-mark{display:inline-block}
.nav-links{list-style:none;margin:0;padding:0;display:flex;gap:14px}
.nav-link {
  color: rgba(0,0,0,0.85);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
}

/*.nav-link:hover {
  background: rgba(42, 166, 166, 0.22); 
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(42, 166, 166, 0.35);
  border: 1px solid rgba(42, 166, 166, 0.35);
  color: var(--teal-dark);
}*/

.nav-link:hover {
  background: linear-gradient(
    135deg,
    rgba(42,166,166,0.28),
    rgba(255,255,255,0.18)
  );
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 3px 10px rgba(42,166,166,0.45);
  color: var(--teal-dark);
}


/* Hero */
.hero{flex:1;display:flex;align-items:center;justify-content:center;padding:64px 20px;z-index:2}
.hero-inner{max-width:var(--max-width);width:100%;display:grid;grid-template-columns:1fr 320px;gap:var(--gap);align-items:start}
/*.hero-copy{padding:36px}*/
.hero-copy.panel {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 720px;        /* match hero width; adjust if needed */
}

.hero-logo{display:block;margin:0 auto 24px}
/*.hero-aside{
  padding:20px
}*/

/* --------------------- */
/* Glassmorphism matched to .hero-copy, preserving padding:20px */
/* Match .hero-copy glass background but do NOT change color or link styles */
.hero-aside.panel.small {
  background-color: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px;               /* preserve your current padding */
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
  position: relative;
  z-index: 2;
}

/* Fallback for browsers without backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .hero-aside.panel.small {
    background-color: rgba(255, 255, 255, 0.28);
  }
}

/* Visual match to .hero-copy.panel */
.panel.contact-panel,
.contact-panel.panel {
  background-color: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
  width: 100%;
  max-width: 720px;        /* match hero width; adjust if needed */
  box-sizing: border-box;
  position: absolute;      /* center in viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}


/* --------------------- */



/* Panels */
.panel{
  background:var(--panel-bg);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 10px 30px rgba(20,20,20,0.12);
  backdrop-filter: blur(6px);
}

/*.panel-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.panel-link:hover .panel {
  transform: scale(1.02);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: 0.2s ease;
  cursor: pointer;
}*/

.panel-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.panel-link .panel {
  transition: 
    background 0.25s ease,
    box-shadow 0.25s ease,
    border 0.25s ease,
    transform 0.25s ease,
    backdrop-filter 0.25s ease;
}

/* Match nav-link hover effect */
.panel-link:hover .panel {
  background: linear-gradient(
    135deg,
    rgba(42,166,166,0.28),
    rgba(255,255,255,0.18)
  );
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 3px 10px rgba(42,166,166,0.45);
  color: var(--teal-dark);
  transform: translateY(-2px);
  cursor: pointer;
}


/* Typography */
h1,h2,h3,h4{font-family:'Playfair Display', serif;color:var(--teal-dark);margin:0 0 12px 0}
h1{font-size:2.1rem;line-height:1.05}
.lead{font-size:1.05rem;color:var(--muted);margin-bottom:14px}
p{line-height:1.6;color:#222}

/* Buttons */
.btn-primary{
  display:inline-block;
  background:linear-gradient(180deg,var(--teal),var(--teal-dark));
  color:white;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700;border:none;cursor:pointer;
}
.btn-primary:hover{filter:brightness(.95)}
.btn-ghost{
  display:inline-block;background:transparent;border:2px solid rgba(0,0,0,0.06);padding:8px 12px;border-radius:10px;color:var(--teal-dark);text-decoration:none;margin-left:8px;font-weight:600;
}
.link-inline{color:var(--teal-dark);text-decoration:underline}

/* Bio grid */
.bio-grid{display:grid;grid-template-columns:160px 1fr;gap:20px;align-items:start}
/*.bio-photo{width:160px;height:160px;border-radius:999px;background:linear-gradient(135deg,var(--gold),var(--teal));box-shadow:0 6px 18px rgba(0,0,0,0.12)}**/
/* Bio photo styles */
.bio-photo{
  width:160px;
  height:160px;
  border-radius:999px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
  background:linear-gradient(135deg,var(--gold),var(--teal));
}

.bio-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Blog Page */
/* Thumbnail / card sizing for 64x64 square thumbnails */
/**.post-card {
  background: var(--panel-bg, #fff);
  border-radius: 8px;
  padding: 0.6rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
}

.post-thumb {
  width: 80px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 80px;
  background: #f2f2f2;
}

.no-thumb {
  width: 80px;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg,#eee,#ddd);
  flex: 0 0 80px;
}

.post-meta { flex: 1; min-width: 0; }
.post-title { margin: 0 0 0.35rem 0; font-size: 1rem; line-height: 1.2; }*/
/* Make entire post card behave like a nav-link on hover */
.post-card {
  transition: 
    background 0.25s ease,
    box-shadow 0.25s ease,
    border 0.25s ease,
    transform 0.25s ease,
    backdrop-filter 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

/* Hover effect matching .nav-link:hover */
.post-card:hover {
  background: linear-gradient(
    135deg,
    rgba(42,166,166,0.28),
    rgba(255,255,255,0.18)
  );
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 3px 10px rgba(42,166,166,0.45);
  transform: translateY(-2px);
}

/* Make the title link not change layout on hover */
.post-title a {
  text-decoration: none;
  color: inherit;
}
.post-title a:hover {
  color: var(--teal-dark);
}
.post-date { color: #666; font-size: 0.85rem; margin-bottom: 0.35rem; }
.post-excerpt { color: #333; font-size: 0.92rem; }



/* Contact form */
.contact-form{display:grid;gap:12px}
.contact-form input, .contact-form textarea{
  width:100%;padding:10px 12px;border:1px solid #e6e6e6;border-radius:10px;font-size:1rem;
}
.form-actions{display:flex;gap:10px;align-items:center;margin-top:6px}

/* Footer */
.site-footer{
  padding:18px 24px;
  text-align:center;
  color:rgba(0,0,0,0.6);
  z-index:2;
  background:transparent;
}
.footer-inner{max-width:var(--max-width);margin:0 auto}

/* Small panel variant */
.panel.small{padding:18px}

/* Responsive */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr}
  .bio-grid{grid-template-columns:1fr}
  .nav-links{display:none}
}


