@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Epunda+Slab:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');

* {
    padding: 0%;
    margin: 0%;
}

h1,
h2 {
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 00;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

h1 {
    font-size: 45px;
}

h3 {
    font-family: "Epunda Slab", serif;
    font-weight: 400;
    font-style: normal;
}

.navbar {
    transition: background-color 0.3s ease;
    background-color: transparent;
}

.fixnav {

    background-color: rgb(90, 90, 90) !important;
    /* change to your preferred color */
}

.navbar.scrolled {
    background-color: rgb(90, 90, 90) !important;
    /* change to your preferred color */
}

.mainColor {
    color: rgb(255, 222, 10);
}

.tabs {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    font-weight: bolder;
}

.mainBanner {
    background-image: url("images/1.jpg");
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.mainSlider {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.active{
    text-decoration: underline;
}
.myBtn {
    background: rgb(255, 222, 10);
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.myBtn:hover {
    background: rgb(220, 190, 8);
    transform: scale(1.05);
}

footer {
    background-color: rgb(90, 90, 90);
}

footer p {
    color: white;
}

footer a {
    color: white;
}

.footer .social-media i {
    margin-right: 10px;
}

.footer a:hover {
    text-decoration: underline;
}

/* typewrite */
.typewriter {
    font-size: 2rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* blinking cursor */
.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #111827;
    animation: blink 1s steps(2, start) infinite;
    vertical-align: bottom;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

#type {
    font-weight: bold;
    color: rgb(255, 222, 10);
}

.mainpara {
    color: white;
    font-size: 18px;
    line-height: 1.5;
}

/* Blogs */
.blogs a {
    text-decoration: none;
    color: rgb(255, 222, 10);
}
.blogs a:hover {
    text-decoration: underline;
    color: rgb(177, 154, 7);
}
.readMoreBtn{
    background: rgb(255, 222, 10);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.recentPost{
    position: relative;
    height: 180px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.recentPost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* overlay instead of opacity */
}
.recentHeading{
    position: absolute;
    z-index: 1;
}

/* blog details */
/* NihonNest Blog Article Style
--------------------------------------*/
.blog-article {
  max-width: 850px;
  margin: 0 auto;
  color: #2c2c2c;
  font-family: "Poppins", sans-serif;
  line-height: 1.8;
}

.blog-article h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 1rem;
}

.blog-article h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f1f1f;
  margin-top: 2rem;
  border-left: 4px solid rgb(255, 222, 10); /* warm neutral accent */
  padding-left: 12px;
}

.blog-article p {
  margin-bottom: 1.2rem;
  color: #444;
}

.blog-article ul, 
.blog-article ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-article ul li, 
.blog-article ol li {
  margin-bottom: 0.6rem;
}

.blog-article a {
  color: rgb(255, 222, 10);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-article a:hover {
  color: #000;
  text-decoration: underline;
}

/* Image styling */
.blog-article img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Blockquote */
.blog-article blockquote {
  background-color: #f7f6f4;
  border-left: 4px solid rgb(255, 222, 10);
  padding: 15px 20px;
  font-style: italic;
  margin: 2rem 0;
  border-radius: 6px;
  color: #333;
}

/* Related Posts Section */
.related-posts {
  background: #f9f8f6;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.related-posts h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.related-posts ul {
  list-style: none;
  padding: 0;
}

.related-posts ul li {
  margin-bottom: 0.5rem;
}

.related-posts ul li a {
  color: rgb(255, 222, 10);
  text-decoration: none;
  font-weight: 500;
}

.related-posts ul li a:hover {
  color: #000;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-article h1 {
    font-size: 1.8rem;
  }
  .blog-article h2 {
    font-size: 1.3rem;
  }
}
/* about */
.about-section {
  background-color: #f9f8f6;
  color: #333;
  font-family: "Poppins", sans-serif;
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  border-left: 4px solid #bfa77a;
  padding-left: 12px;
}

.about-section p {
  line-height: 1.8;
  color: #444;
}

.about-section blockquote {
  background-color: #f7f6f4;
  border-left: 4px solid #bfa77a;
  padding: 15px 20px;
  font-style: italic;
  border-radius: 6px;
  color: #333;
}
/* contact */
.contact-section {
  background-color: #f9f8f6;
  font-family: "Poppins", sans-serif;
  color: #333;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  border-left: 4px solid #bfa77a;
  padding-left: 12px;
}

.contact-section p {
  line-height: 1.8;
  color: #444;
}

.contact-section ul li a {
  color: #bfa77a;
  text-decoration: none;
}

.contact-section ul li a:hover {
  color: #000;
  text-decoration: underline;
}

.contact-form {
  border: 1px solid #eee;
}

.contact-form h4 {
  font-weight: 600;
  color: #1a1a1a;
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #bfa77a;
  box-shadow: 0 0 5px rgba(191, 167, 122, 0.3);
}

.contact-form button {
  background-color: #bfa77a;
  color: #fff;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #a28b5a;
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 100px; /* Adjust depending on your navbar height */
  z-index: 10;
}

.sideBar {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* To ensure the sidebar doesn’t overlap footer */
@media (max-width: 991px) {
  .sticky-sidebar {
    position: static;
    top: auto;
  }
}
