/* blog.css - Custom styles for the Blogs section */
.hero-section {
    position: relative;
    width: 100%;
    background: none;
    background-image: url('../Images/BlogsBG.svg');
    background-size: cover;
    background-position: center;
    padding: 22rem 0; /* Increase height */
    text-align: center;
    font-size: 2rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.blogs-section {
  padding: 5%;
}

.blogs-section::before {
    content: "";
    position: absolute;
    top: 0; left: 50%; right: 50%; bottom: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(1, 39, 14, 0.651);
    margin-top: -100px;
    margin-bottom: -100px;
    z-index: -1;
    border-radius: 0;
}

.blogs-label {
  text-align: center;
  font-family: 'Crimson Text', serif;
  font-size: 2.2rem;
  color: #ab8d44;
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}
.blogs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.blog-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px 0 rgba(26,58,36,0.08), 0 1.5px 6px 0 rgba(191,161,106,0.10);
  padding: 2.2rem 2rem 2rem 2rem;
  max-width: 370px;
  min-width: 270px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #e5e1d8;
  position: relative;
}
.blog-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 32px 0 rgba(191,161,106,0.13), 0 2px 8px 0 rgba(26,58,36,0.13);
  border-color: #bfa16a;
}
.blog-date {
  font-size: 1rem;
  color: #bfa16a;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin-bottom: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.blog-title {
  font-size: 1.35rem;
  color: #1a3a24;
  font-family: 'Crimson Text', serif;
  font-weight: 700;
  margin-bottom: 1.1rem;
  line-height: 1.22;
}
.blog-summary {
  font-size: 1.05rem;
  color: #3d3d3d;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.blog-read-btn {
  display: inline-block;
  background: #bfa16a;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 2rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px 0 rgba(191,161,106,0.10);
  transition: background 0.18s, color 0.18s;
}
.blog-read-btn:hover {
  background: #1a3a24;
  color: #fff;
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 40000;
  background: linear-gradient(135deg, #1a3a24 0%, #ab8d44 100%);
  border: 2px solid #ffe7a0;
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(171, 141, 68, 0.4);
  transition: all 0.3s ease;
}

.mobile-nav-toggle .material-icons {
  color: #ffe7a0;
  font-size: 32px;
  transition: transform 0.3s ease;
}

.mobile-nav-toggle:hover {
  background: linear-gradient(135deg, #ab8d44 0%, #1a3a24 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 231, 160, 0.5);
}

.mobile-nav-toggle:active {
  transform: scale(0.95);
}

.mobile-nav-toggle.active .material-icons {
  transform: rotate(90deg);
}

.hero-nav-btns-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-90%);
    z-index: 30000;
    max-width: 340px;
    width: 100%;
    padding-left: 2.2vw;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    pointer-events: auto;
}
.hero-nav-fadein-btn.hero-nav-fadein-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.77,0.2,0.05,1.0), transform 0.8s cubic-bezier(0.77,0.2,0.05,1.0);
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
    box-shadow: none;
    margin: 0;
    padding: 0.3rem 1.2rem 0.3rem 0.2rem;
    border-radius: 0 32px 32px 0;
    cursor: pointer;
    overflow: visible;
    background: none;
}
.hero-nav-fadein-btn.hero-nav-fadein-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.hero-nav-fadein-btn .gold-vert-line {
    display: inline-block;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #ffe7a0 0%, #ab8d44 100%);
    margin-right: 1.1rem;
    border-radius: 2px;
    transition: height 0.7s cubic-bezier(0.77,0.2,0.05,1.0);
    vertical-align: middle;
    box-shadow: 0 0 6px #ab8d44a0;
}
.hero-nav-fadein-btn.hero-nav-fadein-left.visible .gold-vert-line {
    height: 2.1rem;
}
.hero-nav-fadein-btn .hero-nav-btn-text {
    color: #fff;
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: color 0.2s;
}
.hero-nav-fadein-btn:hover .hero-nav-btn-text {
    color: #ffe7a0;
}
.hero-nav-fadein-btn:hover .gold-vert-line {
    box-shadow: 0 0 16px #ffe7a0;
}

/* Mobile & Tablet Responsive Styles */
@media (max-width: 1024px) {
  .blogs-grid {
    gap: 2rem;
  }
  .blog-card {
    max-width: 450px;
  }
}

@media (max-width: 900px) {
  .hero-section {
    padding: 18rem 0;
  }
  .blogs-section {
    padding: 3%;
  }
  .blogs-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .blog-card {
    max-width: 95vw;
    min-width: 0;
    flex: 1 1 auto;
  }
}

@media (max-width: 700px) {
  .hero-section {
    padding: 15rem 0;
  }
  .blogs-label {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .blogs-section {
    padding: 2%;
  }
  .blog-card {
    padding: 1.8rem 1.5rem;
  }
  .blog-title {
    font-size: 1.25rem;
  }
  .blog-summary {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 12rem 0;
    font-size: 1.5rem;
  }
  .blogs-label {
    font-size: 1.5rem;
  }
  .blog-card {
    padding: 1.5rem 1.2rem;
  }
  .blog-title {
    font-size: 1.15rem;
  }
  .blog-read-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
  }
}

/* Hide mobile navigation on blogs page */
.mobile-nav-toggle {
  display: none !important;
}

.hero-nav-btns-col {
  display: none !important;
}

