/* ============================================
   James Vasselli — Site Styles
   Rebuilt from GoDaddy export
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/open-sans-latin-italic.woff2') format('woff2');
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- Variables --- */
:root {
  --black: #000000;
  --white: #ffffff;
  --accent-blue: #00aaff;
  --accent-green: #00ab6b;
  --yellow: #ff0;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Base --- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--white);
  background: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent-green);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}
h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}
p {
  margin-bottom: 1.25em;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 984px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Site Header (centered logo, centered nav below) --- */
.site-header {
  background: var(--black);
  padding: 48px 24px 40px;
  text-align: center;
}
.header-inner {
  max-width: 984px;
  margin: 0 auto;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  border: 1px solid #fff;
  padding: 8px 16px;
  margin-bottom: 32px;
}
.site-logo:hover {
  color: var(--white);
}
.main-nav {
  width: 100%;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: nowrap;
}
.main-nav a {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1;
  padding: 8px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: rgb(198, 198, 198);
}
.main-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom: 1px solid var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  top: 40px;
  right: 24px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 4px 0;
}

/* --- Hero (side-by-side: image left, text right) --- */
.hero {
  width: 100%;
  padding: 0;
}
.hero-inner {
  display: flex;
  align-items: stretch;
  max-width: 1230px;
  margin: 0 auto;
  min-height: 800px;
  background: #1a1a1a;
}
.hero-image-wrap {
  flex: 1;
  min-width: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  min-height: 800px;
  max-height: 90vh;
  object-fit: cover;
  display: block;
}
.hero-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
}
.hero-text h1 {
  color: var(--white);
  font-size: 44px;
  line-height: 1;
}

/* --- About Page (side-by-side: image left, text right) --- */
.about-layout {
  display: flex;
  align-items: stretch;
  max-width: 1230px;
  margin: 0 auto;
  min-height: 574px;
}
.about-image {
  flex: none;
  width: 378px;
  min-width: 0;
}
.about-image img {
  width: 378px;
  height: 574px;
  object-fit: cover;
  display: block;
}
.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px 40px;
}
.about-text h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.about-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 1.25em;
}

/* --- Content Sections --- */
.content-section {
  padding: 80px 24px 40px;
}
.container-content {
  max-width: 797px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.7;
}

/* --- Blog Listing --- */
.blog-listing {
  padding: 2.5rem 0;
}
.blog-listing h1 {
  margin-bottom: 1.5rem;
}
.blog-post {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.blog-post:last-child {
  border-bottom: none;
}
.blog-post time {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.blog-post h2 {
  margin-bottom: 0.5rem;
}
.blog-post h2 a {
  color: var(--white);
  font-family: var(--font-heading);
}
.blog-post h2 a:hover {
  color: var(--accent-blue);
}
.blog-post p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.continue-reading {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
}

/* --- Blog Post --- */
.post-header {
  margin-bottom: 2rem;
}
.post-header h1 {
  margin-bottom: 0.5rem;
}
.post-body {
  font-size: 1.05rem;
}
.post-body p:last-child {
  margin-bottom: 0;
}

/* --- Recent Posts Sidebar --- */
.recent-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.recent-posts h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.recent-posts ul {
  list-style: none;
}
.recent-posts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.recent-posts li:last-child {
  border-bottom: none;
}
.recent-posts a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
}
.recent-posts a:hover {
  color: var(--accent-blue);
}
.recent-posts time {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Share --- */
.share-post {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Back Link --- */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 700;
}

/* --- Page Title (in-the-news) --- */
.page-title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 36px;
  font-weight: 400;
}

/* --- News List --- */
.news-list {
  list-style: disc;
  padding-left: 1.25rem;
}
.news-list li {
  padding: 0.25rem 0;
}
.news-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.news-list a:hover {
  color: var(--white);
}

/* --- Contact Form --- */
.contact-form {
  margin-top: 1.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}
.form-group textarea {
  min-height: 160px;
  resize: vertical;
}
.btn-submit {
  display: inline-block;
  padding: 0.7rem 2rem;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-submit:hover {
  background: rgba(255, 255, 255, 0.85);
}
.recaptcha-notice {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.form-status {
  display: none;
  margin-top: 12px;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}
.form-status.success {
  display: block;
  background: rgba(0, 171, 107, 0.15);
  color: var(--accent-green);
}
.form-status.error {
  display: block;
  background: rgba(255, 0, 0, 0.15);
  color: #ff6666;
}


/* --- Site Footer --- */
.site-footer {
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-divider {
  display: none;
}
.copyright {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Content (generic page content wrapper) --- */
.content {
  padding: 2.5rem 0;
}
.content h1 {
  margin-bottom: 1rem;
}
.content p {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Utility --- */
.cta-link {
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-block;
  margin-top: 0.5rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --- Responsive (≤640px: stack nav, full-width hero) --- */
@media (max-width: 640px) {
  .site-header {
    padding: 32px 12px;
    position: relative;
  }
  .site-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
  }
  .main-nav {
    display: none;
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    top: 32px;
    right: 16px;
  }
  .hero-inner {
    flex-direction: column;
  }
  .hero-image-wrap {
    flex: none;
    width: 100%;
    min-width: 100%;
  }
  .hero-image {
    min-height: 280px;
  }
  .hero-text {
    padding: 32px 12px;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 28px;
  }
  .content-section {
    padding: 20px 24px 40px;
  }
  .container-content {
    max-width: 100%;
  }
  .about-layout {
    flex-direction: column;
  }
  .about-image {
    flex: none;
    width: 100%;
    overflow: hidden;
    padding: 0 12px;
  }
  .about-image img {
    min-height: auto;
    height: auto;
    max-height: none;
  }
  .about-text {
    padding: 32px 12px;
    text-align: left;
  }
  .container {
    padding: 0 12px;
  }
}
@media (min-width: 1280px) {
  .hero-text h1 {
    font-size: 44px;
  }
}
@media (min-width: 1536px) {
  .hero-text h1 {
    font-size: 48px;
  }
}

/* --- Social Links (circular icon buttons with tooltips) --- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px;
}
.social-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.social-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px #0003;
}
.social-btn svg {
  width: 18px;
  height: 18px;
}
.social-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  margin-bottom: 6px;
  padding: 4px 10px;
  background: #1a1a2e;
  color: #fff;
  font-size: 12.5px;
  white-space: nowrap;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, transform .18s;
}
.social-btn::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  border: 5px solid transparent;
  border-top-color: #1a1a2e;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, transform .18s;
}
.social-btn:hover::after,
.social-btn:hover::before {
  opacity: 1;
  visibility: visible;
}
.social-btn:hover::after {
  transform: translateX(-50%) translateY(-4px);
}
.social-btn:hover::before {
  transform: translateX(-50%) translateY(-2px);
}
.social-btn--linktree { background: #43E660; }
.social-btn--medium { background: #555555; }
.social-btn--linkedin { background: #0A66C2; }
.social-btn--youtube { background: #FF0000; }
