/*------------------------------
  ---------------------------------------------------------Front Page Layout
------------------------------*/

.hero {
  position: relative;
  background-color: #111;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  
  max-width: 100%;
  box-sizing: border-box;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(https://griffininsight.com/2025/wp-content/uploads/2025/07/2020_white-on-black.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  opacity: 0.08; /* subtle ghost effect */
  z-index: 0;
  pointer-events: none;
}

.hero-title,
.hero-tagline {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.25rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .hero::before {
    background-size: 80%;
  }
}


/*------------------------------------- Featured Artworks Section */
.featured-artworks {
  background-color: #fff;
  padding: 4rem 0;
}

.featured-artworks .section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.featured-artworks .artwork-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/*------------------------------------ About Preview Section */

.about-preview {
  background-color: #f4f4f4;
  background-image: url('../images/about-preview-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  /*background-blend-mode: overlay; /* Soft blending */
  padding: 4rem 1.5rem;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  color: #111;
}

/* Optional overlay for more readability on small screens */
@media (max-width: 768px) {
  .about-preview {
    background-attachment: scroll;
    background-size: contain;
    background-position: top;
  }
}

/*  background-color: #f4f4f4;
  padding: 4rem 1.5rem;
  border-radius: 8px;
  margin: 3rem auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;*/

.about-preview h2::before {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ccc;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.about-preview h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  position: relative;  
}

.about-preview p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #222;
  max-width: 700px;
  margin: 0 auto 1.5rem;  
}

/* ------------------------------------------Dev Preview Section */
.dev-preview {
  background-color: #ececec;
  background-image: url('../images/dev-preview-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  /*background-blend-mode: overlay; /* Soft blending */
  padding: 4rem 1.5rem;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  color: #111;
  border: 0px solid #ffeeaa;

  /*background-color: #f4f4f4;
  padding: 4rem 1.5rem;
  border-radius: 8px;
  margin: 3rem auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;*/

}

/* Slight variation for alternating tones */
/*
.dev-preview {
  background-color: #ececec;
}*/

.dev-preview h2::before {
	/*
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ccc;
  margin-bottom: 1rem;
  border-radius: 2px;
  */
}

.dev-preview h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  position: relative;
}

.dev-preview p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #222;
  max-width: 700px;
  margin: 0 auto 1.5rem; 
}

.dev-preview .disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------------------------------------News Preview Section */



.blog-preview {
  background-color: #fff;
  padding: 4rem 0;
}

.blog-preview .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

/* ---------- Post Tile ---------- */

.post-preview {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-preview:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Make entire tile clickable */
.post-tile-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* ---------- Image ---------- */

.post-image {
  width: 100%;
  background: #f2f2f2;
}

.post-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* ---------- Content ---------- */

.post-content {
  padding: 1.5rem;
}

.post-preview h3 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.post-preview .excerpt {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 0.95rem;
}

/* ---------- Responsive Grid ---------- */

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/*------------------------------------ CTAs */
.cta {
  background-color: #111;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.centered {
	text-align: center;
	margin: auto 0 auto 0;
}

/* ------------------------------------Buttons */
.button,
a.button {
  display: inline-block;
  background-color: #004080;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.button:hover {
  background-color: #003060;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}



/* === -----------------------------GALLERY PREVIEW CARDS === */

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.project-card .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .overlay {
  opacity: 1;
}