/* assets/style.css - premium, responsive, footer + nav fixes */

/* -------------------------
   Palette & Base
   ------------------------- */
:root{
  --nav-height: 72px;    /* default - will be updated by JS */
  --bg:#08070a;
  --panel: rgba(255,255,255,0.03);
  --muted: rgba(255,255,255,0.6);
  --accent-1: #f7c873;
  --accent-2: #ff6b6b;
  --text: #e9eef6;
}

/* Make page a column flex container so footer sits at bottom */
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(1200px 400px at 10% 10%, rgba(255,107,107,0.03), transparent 6%), linear-gradient(180deg,#050407 0%, #08070a 70%);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* container width */
.container { max-width: 1140px; }

/* Main fills the remaining space so footer is pushed to bottom on short pages */
.site-main { flex: 1 0 auto; padding-top: var(--nav-height); }

/* Header brand styling */
.brand-icon { width:44px; height:44px; background: linear-gradient(135deg,#f7c873,#ff6b6b); display:flex; align-items:center; justify-content:center; border-radius:50%; box-shadow:0 6px 20px rgba(255,107,107,0.12); }
.brand-title { font-family: 'Playfair Display', serif; letter-spacing:0.4px; }

/* -------------------------
   Fixed nav styling
   ------------------------- */
.fixed-top-custom {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: rgba(6,6,10,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 12px 0;
}

/* nav links: bigger tap targets */
.fixed-top-custom .navbar-nav .nav-link {
  padding: 10px 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

/* mobile collapse background & spacing so menu doesn't overlap content */
@media (max-width: 991.98px) {
  .fixed-top-custom .navbar-collapse {
    background: linear-gradient(180deg, rgba(7,7,10,0.98), rgba(7,7,10,0.99));
    padding: 14px;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  }
  .fixed-top-custom .navbar-nav .nav-link { padding: 12px 16px; font-size: 1rem; }
}

/* small screens reduce padding */
@media (max-width: 479.98px) {
  :root { --nav-height: 64px; }
  .fixed-top-custom { padding: 10px 0; }
}

/* -------------------------
   Hero / Panels / Cards
   ------------------------- */
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; color: var(--text); margin: 0; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 64px;
  margin-top: 40px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)), url('/assets/hero-portrait.jpg') center right / cover no-repeat;
  box-shadow: 0 20px 60px rgba(3,3,6,0.7);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 20%;
  width: 120%;
  height: 280px;
  transform: rotate(-2deg) translateZ(0);
  background: linear-gradient(90deg, rgba(247,200,115,0.06), rgba(255,107,107,0.03));
  filter: blur(24px);
  pointer-events: none;
}

.hero .eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--accent-2),var(--accent-1));
  color: #061018;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 0.9rem;
}
.hero h1 { font-size: clamp(1.8rem, 4.0vw, 3.2rem); line-height: 1.05; margin-top: 12px; }
.hero .lead { color: var(--muted); margin-top: 18px; max-width: 62ch; }

/* CTA cluster */
.cta-cluster { display:flex; gap:12px; margin-top:24px; flex-wrap:wrap; align-items:center; }
.btn-cta { padding:10px 16px; border-radius:12px; font-weight:600; box-shadow: 0 10px 30px rgba(3,3,6,0.6); border:1px solid rgba(255,255,255,0.04); }

/* Profile card */
.profile-card { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:14px; padding:18px; border:1px solid rgba(255,255,255,0.04); backdrop-filter: blur(6px); }

/* Cards */
.card.glass { background: var(--panel); border-radius:12px; padding:14px; box-shadow: 0 10px 30px rgba(2,2,6,0.6); border:1px solid rgba(255,255,255,0.04); }

/* Media grid */
.media-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:20px; margin-top:30px; }
.media-item { position:relative; overflow:hidden; border-radius:12px; cursor:pointer; transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s; min-height:0; background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02)); }
.media-item:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(2,2,6,0.6); }

/* 16:9 harness fallback */
.img-harness { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; }
.img-harness img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .5s; display:block; }

/* Meta overlay & play pill */
.media-item .meta { position:absolute; left:12px; bottom:12px; z-index:2; color:#fff; background: linear-gradient(90deg, rgba(0,0,0,0.36), rgba(0,0,0,0.12)); padding:8px 12px; border-radius:8px; font-weight:600; }
.media-item .play-pill { position:absolute; right:12px; top:12px; background:rgba(0,0,0,0.46); padding:8px; border-radius:50%; box-shadow: 0 8px 24px rgba(0,0,0,0.45); }

/* Gallery */
.gallery-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin-top:12px; }
.gallery-item { border-radius:10px; overflow:hidden; cursor:pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.04); }

/* Accessibility focus */
.media-item:focus, .gallery-item:focus, .btn:focus { outline: 3px solid rgba(247,200,115,0.18); outline-offset: 3px; }

/* Footer not fixed; sits at end of document */
footer { flex-shrink: 0; }

/* Responsive tweaks */
@media (max-width: 1199.98px) { .hero { padding:48px; grid-template-columns: 1fr 380px; gap:28px; } }
@media (max-width: 991.98px) { .hero { padding:40px; grid-template-columns: 1fr 340px; gap:22px; min-height:70vh; background-position:center right; } .cta-cluster { justify-content:center; } }
@media (max-width: 767.98px) { .hero { grid-template-columns:1fr; padding:24px; gap:18px; min-height:auto; background-position:center 40%; } .hero::after { display:none; } .media-grid { grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:14px; } .container { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 479.98px) { .hero { padding:18px; } .hero h1 { font-size:1.6rem; } .btn-cta { padding:10px 12px; font-size:0.95rem; } }

/* Prevent long-word overflow */
* { word-wrap: break-word; }
