/* ========== BASE STYLES ========== */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 400;
  background-color: #F2F0EF;
  color: #303030;
  box-sizing: border-box;
}

/* ========== HEADINGS ========== */
h1 {
  font-family: 'Funnel Display', serif;
  font-size: 2.2em;
  font-weight: normal;
  color: #0000FF;
  margin: 0;
}

h1 a {
  color: #0000FF;
  text-decoration: none;
}

h1 a:hover {
  text-decoration: none;
  color: #0000FF;
}


h2 {
  font-family: 'Funnel Display', serif;
  font-size: 28px;       /* match inline size */
  font-weight: 600;      /* semi-bold */
  color: #222;           /* same color */
  margin-top: 3rem;
  margin-bottom: 10px;   /* match spacing */
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
  font-family: 'Libre Franklin', sans-serif;
}

h4 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  font-family: 'Libre Franklin', sans-serif;
}

/* ========== PARAGRAPHS ========== */
p {
  margin: 0.25rem 0 0.5rem 0;
  font-family: 'Open Sans', sans-serif;
}

p {
  margin-top: 1rem;    /* space before */
  margin-bottom: 1.5rem; /* space after */
}

p.no-top-margin {
  margin-top: 0;
}

/* ========== PHOTOS ========== */

.page-container {
  max-width: 1000px;       /* limit total width */
  margin: 0 auto;         /* center horizontally */
  padding: 1rem 2rem;     /* padding on left and right */
  box-sizing: border-box; /* include padding in width */
}

.about-section {
  display: flex;
  align-items: flex-start; /* align text top with image */
  gap: 2rem;
  flex-wrap: wrap;
}

/* Image */
.profile-pic {
  width: 400px;
  height: auto;
  display: block;
  max-width: 100%;
}

/* Text */
.about-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
  }

  .about-text {
    width: 100%;
  }

  .page-container {
    padding: 1rem;
  }
}


/* ========== CONTAINERS ========== */
.content {
  padding: 30px;
}

.splash {
  position: relative;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Responsive site title */
.splash h1 {
  font-size: 2rem;
  max-width: 80%;
  margin: 0;
  word-break: break-word;
}

/* ========== COMING SOON ========== */
.coming-soon-container {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.coming-soon {
  font-size: 9rem;
  font-family: 'Funnel Display', serif;
  color: #0000FF;
  margin: 0;
}

/* ========== NAVIGATION ========== */
.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  color: #0000FF;
  background: none;
  border: none;
  z-index: 1001;
  display: none; /* only shown on mobile */
}

#nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

#nav-menu li {
  margin: 0;
}

#nav-menu a {
  color: #0000FF;
  text-decoration: none;
  font-weight: normal;
}

#nav-menu a:hover {
  text-decoration: underline;
}

/* ========== RESPONSIVE RULES ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 15px;
    background-color: rgba(48, 48, 48, 0.95);
    padding: 1rem;
    width: 85vw;
    max-width: 350px;
    box-sizing: border-box;
    border-radius: 6px;
    z-index: 1000;
  }

  #nav-menu.show {
    display: flex;
  }

  #nav-menu li {
    margin-bottom: 0.75rem;
  }

  #nav-menu a {
    color: white;
  }

  .splash h1 {
    font-size: 1.3rem;
  }

  .coming-soon {
    font-size: 4rem;
  }

  .content {
    padding: 1.5rem;
  }
}
/* ========== BLOG CARDS ========== */

.blog-container {
  max-width: 900px;
  margin: 1 auto;
  padding: 2rem 2rem;  /* 👈 padding top/bottom and left/right */
  box-sizing: border-box;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  align-items: center; /* center cards */
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 1rem; /* adds side padding on all screens */
}

.blog-card {
  background-color: #fff;
  padding: 1.5rem;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.8s ease;
  width: 100%;
  max-width: 600px;   /* ✅ limit card width */
  box-sizing: border-box;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns by default */
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-card {
  display: block;
  background: #fff;
  padding: 1.5rem;
  border-radius: 0rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  border: 2px solid transparent; /* invisible by default */
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border: 2px solid #0000FF; /* your brand blue */
}

/* 📱 Mobile responsiveness */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr; /* switch to 1 column */
  }
}

/* Initial state before animation */
.animate-on-scroll {
  opacity: 0;
  transform: scale(0.98);
  transition: all 0.8s ease-out;
}

/* Final state once visible */
.animate-on-scroll.visible {
  opacity: 1;
  transform: scale(1);
}

.blog-card h3 {
  font-family: 'Funnel Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0000FF;
}

.blog-date {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
  font-family: 'Libre Franklin', sans-serif;
}

.blog-card p {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 1rem;
  color: #303030;
}

.read-more {
  font-family: 'Libre Franklin', sans-serif;
  color: #0000FF;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .blog-card {
    padding: 1.2rem;
  }
}


.coming-soon-wrapper {
  position: relative;
  width: 100vw;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.coming-soon-text {
  position: relative;
  font-family: 'Funnel Display', serif;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 1;
  color: #0000FF;
  z-index: 2;
  margin: 0;
  padding: 0;
  transform: translateY(-60%); /* 🔼 Move it higher by increasing this */
}


.coming-soon-bg {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -53%); /* 👈 Adjust Y here: -60% pulls it up more */
  width: clamp(300px, 45vw, 800px);
  height: auto;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
}

@media (min-width: 1200px) {
  .coming-soon-bg {
    width: 900px;
  }
}