/* ✅ CUSTOM HEADING FONT */
@font-face {
  font-family: 'Britannic Bold';
  src: local('Britannic Bold'), local('BritannicBold');
  font-weight: bold;
}

/* ✅ RESET & BASE */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  background-color: #000 !important;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  overflow-x: hidden;
}
.page-wrap {
  background-color: #000;
  width: 100%;
}

/* ✅ REMOVE WORDPRESS DEFAULTS */
header, .site-header, .site-title, .site-description,
.page-title, h1.entry-title, .site-footer {
  display: none !important;
}
.elementor-section:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ✅ NAVIGATION */
nav {
  background-color: #000;
  padding: 1rem 0;
  text-align: center;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav ul li {
  display: inline-block;
  margin: 0 1.5rem;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}
nav a:hover,
nav a:focus {
  text-decoration: underline;
}

/* ✅ HERO FULL WIDTH */
figure.hero-full {
  margin: 0;
  padding: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  overflow: hidden;
}
figure.hero-full img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 80vh;
}
figure.hero-full figcaption {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0.5rem auto 2rem;
  text-align: center;
}

/* ✅ GENERAL FIGURE STYLING */
figure:not(.hero-full) {
  margin: 2rem auto;
  text-align: center;
}
figure:not(.hero-full) img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
figure:not(.hero-full) figcaption {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 0.25rem;
  text-align: center;
}

/* ✅ HEADINGS */
h1, h2, h3, h4 {
  margin: 2rem auto 1rem;
  text-align: left;
  max-width: 800px;
}
h1 {
  font-size: 2rem;
  font-family: 'Britannic Bold', Impact, sans-serif;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.2rem;
  font-style: italic;
}

/* ✅ PARAGRAPH & LISTS */
p, ul {
  line-height: 1.6;
  font-size: 1rem;
  max-width: 800px;
  text-align: left;
  margin: 1rem auto;
}
ul {
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.5rem;
}

/* ✅ CUSTOM TWO-COLUMN HOME LAYOUT */
.custom-layout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  gap: 2rem;
}
.left-column,
.right-column {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 1rem;
}
.left-column {
  display: flex;
  justify-content: center;
  align-items: center;
}
.left-column video {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
.right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.name {
  font-size: 3.25rem;
  font-family: 'Britannic Bold', Impact, sans-serif;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.right-column p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.subtitle {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 0.02rem !important;
}

/* ✅ EMAIL & LINKS */
.email-link {
  font-weight: bold;
  color: #fff !important;
  text-decoration: underline !important;
}
.email-link:hover,
.email-link:focus {
  color: #fff !important;
  text-decoration: underline !important;
}
a,
a:visited,
a:hover,
a:focus,
a:active {
  color: #fff !important;
  text-decoration: none !important;
  background-color: transparent !important;
}
a:focus {
  outline: 2px dashed #fff;
  outline-offset: 3px;
}

/* ✅ PROJECT LINKS */
.project-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 0.05rem !important;
  flex-wrap: wrap;
  max-width: 800px;
}
.project-links a {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* ✅ SOCIAL ICONS */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 0.05rem !important;
  max-width: 800px;
}
.social-icons a {
  width: 44px;
  height: 44px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.social-icons a:hover,
.social-icons a:focus {
  background-color: #ccc;
  color: #000;
}

/* ✅ FOOTER */
footer,
.aml-footer {
  text-align: left;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  color: #aaa;
  margin: 0 auto;
  max-width: 800px;
  opacity: 0.75;
}

/* ✅ WRAPPER FOR INNER PAGES */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
}

/* ✅ CLEANUP */
p:empty {
  display: none;
}
figure:first-of-type,
h1:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.elementor-section,
.page-wrap,
.site-content,
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ✅ RESPONSIVE */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  .custom-layout {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    text-align: center;
  }
  .left-column,
  .right-column {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0.5rem 0;
  }
  .name {
    font-size: 2.5rem;
  }
  h1, h2, h3, h4, p, ul, figure, footer {
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: 100%;
    text-align: left;
  }
  .project-links,
  .social-icons {
    justify-content: center;
  }
}

