/* ================= MY STORY PAGE ================= */
/* ================= FONTS ================= */
@font-face {
  font-family: 'Roxborough';
  src: url('./fonts/roxborough-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Roxborough';
  src: url('./fonts/roxborough-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Roxborough';
  src: url('./fonts/Roxborough-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Roxborough';
  src: url('./fonts/Roxborough-ThinItalic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

/* ================= BASE ================= */
html {
  font-size: 10px;
  font-family: 'Roxborough', "Times New Roman", serif;
  scroll-behavior: smooth;
}

body, p, li, label, input, textarea, button {
  font-family: "Times New Roman", Georgia, serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3, .brand {
  font-family: 'Roxborough', "Times New Roman", serif;
}

.bold {
  font-weight: 700;
  letter-spacing: 0.06rem;
}

/* ================= HEADER ================= */
#header {
  width: 100%;
  background-color: #081b24;
}

#header .header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo img {
  height: 50px;
  object-fit: contain;
}

/* Nav */
.nav-bar {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-list ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.nav-list ul li a {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  color: #fefcf7;
  text-decoration: none;
  padding: 20px;
  transition: opacity 0.2s ease;
}

.nav-list ul li a:hover {
  opacity: 0.75;
}

/* Hamburger */
.hamburger {
  display: none; /* hidden on desktop */
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #fefcf7;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================= MOBILE ================= */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-list ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #081b24;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-list ul.active {
    right: 0;
  }

  .nav-list ul li a {
    font-size: 2rem;
  }
}

/* ================= HERO ================= */
.mystory-hero {
  width: 100%;
  height: 75vh;
  min-height: 400px;
  background-image: url('./img/me.jpg'); /* hero background image */
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Dark overlay directly on the image */
.mystory-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* adjust opacity for darkness */
  z-index: 1; /* sits behind the text overlay */
}

.mystory-hero-overlay {
  background: rgba(8, 27, 36, 0.55); /* semi-transparent overlay */
  padding: 1rem 3rem 4rem 3rem;
  text-align: center;
  max-width: 900px;
  border-radius: 12px;
  z-index: 2; /* ensures text is above image */
}

.mystory-hero-overlay h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #fefcf7;
  margin-bottom: 1rem;
}

.mystory-hero-overlay p {
  font-size: 1.2rem;
  font-style: italic;
  color: #fefcf7;
}

/* ================= PAGE CONTENT ================= */
.mystory-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  background-color: #fefcf7;
}

/* Text in side-by-side sections */
.blog-section-inner.side-by-side .text-column h2,
.blog-section-inner.side-by-side .text-column h3 {
  font-size: 2rem;
  color: #081b24;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 5px solid #b0815c;
  padding-left: 1rem;
}

.blog-section-inner.side-by-side .text-column p {
  font-size: 2rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: #081b24;
}

.blog-section-inner.side-by-side .text-column strong {
  color: #b0815c;
}

.blog-section-inner.side-by-side .text-column blockquote {
  font-style: italic;
  font-size: 2rem;
  background-color: #e6e2d3;
  border-left: 5px solid #b0815c;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

/* ================= SIDE-BY-SIDE SECTIONS ================= */
.side-by-side-wrapper,
.blog-section-inner.side-by-side {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.text-column {
  flex: 2;
  min-width: 0;
}

.image-column {
  flex: 1;
  min-width: 150px;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  display: block;
  width: 80%;
  margin: 1rem auto;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  padding: 0.5rem;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.15);
  border: 2px solid #b0815c;
}

.image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 4px solid #b0815c;
  border-left: 4px solid #b0815c;
  border-radius: 8px 0 0 0;
}

/* ================= MOBILE ================= */
@media screen and (max-width: 768px) {
  .mystory-page {
    padding: 2rem 1rem;
  }

  .mystory-hero {
    height: 250px;
  }

  .mystory-hero-overlay h1 {
    font-size: 2.8rem;
  }

  .side-by-side-wrapper,
  .blog-section-inner.side-by-side {
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }

  .text-column,
  .image-column {
    width: 100%;
    display: block;
  }

  .image-wrapper {
    width: 80%;
    margin: 1rem auto;
  }

  .image-wrapper img {
    width: 100%;
    display: block;
    padding: 0.25rem;
    border-radius: 12px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  }

  .image-wrapper::after {
    width: 20px;
    height: 20px;
    border-top: 3px solid #b0815c;
    border-left: 3px solid #b0815c;
  }
}
/* ================= FOOTER ================= */
.site-footer {
  background-color: #081b24;
  color: #fdf6e3; 
  font-family: 'Roxborough', serif;
  font-size: 1rem; 
  padding: 4rem 2rem 2rem 2rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
}
.site-footer p,
.site-footer h3,
.site-footer a {
  margin-left: 0 !important;
  padding-left: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
  text-indent: 0 !important;
  color: #fdf6e3;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  font-size: inherit !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Top part: left / center / right */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;
}

/* LEFT COLUMN */
.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  text
-align: left;
}

.footer-left h3,
.footer-left p {
  color: #fdf6e3;
  margin: 0;
  line-height: 1.4;
  max-width: 38ch;
}

/* CENTER COLUMN */
.footer-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-center img {
  height: 100px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-center .mission {
  max-width: 400px;
  line-height: 1.6;
  font-style: italic;
  color: #f5f1e6;
  font-size: 0.875rem;
}

/* RIGHT COLUMN */
.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  text-align: right;
  align-items: flex-end;
}

.footer-right .contact-info {
  margin-bottom: 0.5rem;
}

.footer-right a {
  color: #f5f1e6;
  text-decoration: none;
}

.footer-right .footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-right .footer-social a {
  display: inline-block;
}

.footer-right .footer-social img {
  display: block;
  height: 28px;
}

/* Bottom row */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
  color: #f5f1e6;
}

/* Mobile-only stacked logo + mission */
.mobile-footer-center {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mobile-footer-center img {
  max-width: 120px;
  height: auto;
}

.mobile-footer-center .mission {
  font-size: 0.85rem;
  color: white;
  max-width: 250px;
  margin: 0;
}

@media (max-width: 900px) {
  /* Stack everything vertically */
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers all columns horizontally */
    justify-content: center;
    gap: 2rem;             /* space between sections */
  }

  /* Columns take full width but text is centered */
  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    max-width: 400px;      /* optional: keeps text readable */
    text-align: center;     /* centers all text */
    margin: 0 auto;        /* center block itself */
    align-items: center;    /* center any flex children */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Land acknowledgment: shorter lines */
  .footer-left p {
    max-width: 38ch;
    margin: 0 auto;
  }

  /* Right column: stack icons under contact info */
  .footer-right .footer-social {
    justify-content: center;  /* center icons */
    margin-top: 0.5rem;
  }

  /* Center column logo + mission */
    .footer-center img,
  .mobile-footer-center img {
    max-width: 120px;    /* limits width */
    height: auto;        /* keeps natural aspect ratio */
    object-fit: contain; /* prevents stretching */
    display: block;      /* removes inline spacing */
    margin: 0 auto;      /* centers the image */
  }

  .footer-center .mission {
    max-width: 250px;
    font-size: 0.85rem;
  }

  /* Adjust bottom row */
  .footer-bottom p {
    text-align: center;
    margin-top: 1rem;
  }
}

