/* ==============================
   GLOBAL RESET
   ============================== */

html, body {
  margin: 0;
  height: 100%;
}

body {
  background: #424242;
}

/* ==============================
   LAYOUT
   ============================== */

.site-wrapper {
  display: flex;
  min-height: 100vh;
  background: #424242;
}

/* ==============================
   SIDEBAR
   ============================== */

.sidebar {
  width: 440px;
  background: #424242;
  color: #fff;
  flex-shrink: 0;
}

.sidebar-inner {
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body:not(.home) .sidebar-inner {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==============================
   HOME — SIDEBAR VERTICAL CENTER
   ============================== */

body.home .sidebar-inner {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  max-width: 277px;
}

/* ==============================
   NAVIGATION
   ============================== */

.main-nav ul {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.main-nav li {
  margin: 18px 0;
}

.main-nav a {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: block;
  text-align: right;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #999966;
}

/* ==============================
   SIDEBAR META
   ============================== */

.sidebar-meta {
  margin-top: 28px;
  text-align: center;
}

.sidebar-meta a {
  font-size: 12px;
  color: #ccc;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.sidebar-meta a:hover {
  color: #999966;
}

/* ==============================
   CONTENT AREA
   ============================== */

.content-area {
  flex: 1;
  display: block;
  padding: 0;
}

body.home .content-area img {
  width: auto;
  height: 100vh;
  object-fit: cover;
  display: block;
}


/* ==============================
   SLIDESHOW CORE (SHARED)
   ============================== */

.courtroom-stage {
  padding-left: 0;
}

/* ==============================
   MODAL (LEGAL)
   ============================== */

.modal-content {
  background-color: #424242;
  color: #ffffff;
  border-radius: 10px;
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cccccc;
}

.modal-body {
  padding-top: 10px;
}

.modal-body p {
  font-size: 14px;
  line-height: 1.65;
  color: #dddddd;
  margin-bottom: 14px;
}

.btn-close {
  filter: invert(1);
  opacity: 0.6;
}

.btn-close:hover {
  opacity: 0.9;
}

/* ==============================
   BIOGRAPHY — ALIGN WITH GALLERIES
   ============================== */

body.biography .content-area {
  padding: 40px 0 60px 0;   /* match gallery vertical rhythm */
}

.biography-page {
  background: #424242;
  color: #dddddd;
}

/* OUTER container aligns with gallery left edge */
.biography-inner {
  max-width: 820px;
  margin-left: 40px;       /* SAME left offset as slides */
  margin-right: auto;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}

/* Portrait image centered INSIDE column */
.biography-photo {
  display: block;
  margin: 0 auto 30px auto;
  max-width: 260px;
}

/* Headings */
.biography-inner h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

.biography-inner h2 {
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 18px;
}

/* Paragraph spacing */
.biography-inner p {
  margin-bottom: 18px;
}

/* Bullet alignment */
.biography-inner ul {
  margin: 18px 0 30px 24px;
  padding-left: 20px;
}

.biography-inner li {
  margin-bottom: 8px;
}

/* ==============================
   STATIC PAGES (BIOGRAPHY / CONTACT)
   ============================== */

.static-page {
  background: #424242;
  color: #dddddd;
}

.static-page .content-area {
  padding: 40px 0 60px 0;
}

/* Align to gallery left edge */
.static-inner {
  max-width: 820px;
  margin-left: 40px;   /* SAME as slideshow image alignment */
  margin-right: auto;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}

/* ==============================
   STATIC PAGE — HEADER
   ============================== */

.static-inner h1 {
  color: #ffffff;
  margin-bottom: 12px;
}

/* Subtle divider under title */
.static-divider {
  width: 120px;
  height: 1px;
  background: #999966;
  margin: 0 0 28px 0;
}

/* ==============================
   DROP CAP — OPENING PARAGRAPH
   ============================== */

.static-inner p:first-of-type::first-letter {
  float: left;
  font-size: 3.4em;
  line-height: 1;
  padding-right: 10px;
  padding-top: 6px;
  font-weight: 600;
  color: #ffffff;
}

/* ==============================
   STATIC PAGE — HERO IMAGE
   ============================== */

.static-photo {
  display: block;
  margin: 0 auto 30px auto;
  max-width: 200px;
}

/* ==============================
   BIOGRAPHY — FEATURE QUOTE
   ============================== */

.bio-quote {
  margin: 26px 0 34px 0;
  padding-left: 18px;
  border-left: 2px solid #999966;
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  color: #eeeeee;
}

/* ==============================
   CONTACT PAGE — TOP / LEFT ALIGN
   ============================== */

body.contact .content-area {
  display: block;        /* cancel any flex centering */
  min-height: auto;
  padding-top: 40px;     /* matches gallery vertical rhythm */
}

body.contact .drop-cap::first-letter {
  all: unset;
}

/* ==============================
   STATIC PAGES (BIO / CONTACT)
   ============================== */

.static-page {
  display: flex;
  align-items: flex-start;
  padding-top: 80px; /* controls vertical offset */
}

.static-inner {
  max-width: 720px;
}

/* ==============================
   CONTACT FORM
   ============================== */
   
.contact-form {
  max-width: 1280px; /* ~2x wider */
  margin: 40px 0;
}

.contact-form .form-row {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #000;
}

.contact-form .form-submit {
  margin-top: 10px;
}

.contact-form button {
  padding: 12px 26px;
  font-size: 1rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}

.contact-form button:hover {
  background: #333;
}

.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 991px) {
  .site-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}

