@font-face{
    font-family: "Poppins-Light";
    src: url('../Fonts/Poppins-Light.ttf') format('truetype');
}


body{
    font-family: 'Poppins-Light';
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: black;
    max-width: 100%;
    overflow-x: hidden;
}


/*nav bar styling*/
.nav-bar{
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 111;
    background-color: black;
    color: white;
    width: 100%;
}
.logo{
    margin-left: 2%;
    color: #8B6940;
}
.center-nav{
    width: 20em;
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    margin-right: 4%;
}
.nav-link{
    color: white;
    text-decoration: none;
    position: relative;
}
.nav-link h5{
    font-weight: 7;
}
.nav-link::after{
    content: "";
    position: absolute;
    background-color: #8B6940;
    height: 2px;
    width: 0;
    left: 0;
    bottom: 15px;
    transition: 0.3s;
}
.nav-link:hover::after{
    width: 100%;
}
.nav-end{
    padding-left: 0;
    margin-right: 2%;
    width: 10em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login, .signup{
    text-decoration: none;
    color: white;
    font-weight: 10;
    position: relative;
}
.login h5{
    font-weight: 7;
}
.signup h5{
    font-weight: 7;
}
.login::after{
    content: "";
    position: absolute;
    background-color: #8B6940;
    height: 2px;
    width: 0;
    left: 0;
    bottom: 15px;
    transition: 0.3s;
}
.login:hover::after{
    width: 100%;
}

.signup h5{
    border-radius: 7px;
    width: 5em;
    display: flex;
    justify-content: center;
    background-color: #8B6940;
    align-items: center;
    height: 2em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 5%;
    padding-bottom: 5%;
    color: white;
}
.signup h5:hover{
    border-radius: 0;
    background-color: #D7BFA6;
    transition: all ease-in-out 0.5s;
}
/*Responsive site*/
/* ===== Added Side Menu Styles ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: 20px;
    z-index: 1000;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #8B6940;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: #8B6940;
    z-index: 999;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
    right: 0;
}

.side-menu-content {
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
    height: 100%;
}

.side-nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 0;
    position: relative;
}

.side-nav-link h5 {
    font-weight: 7;
    margin: 0;
}

.side-nav-link::after {
    content: "";
    position: absolute;
    background-color: #D7BFA6;
    height: 2px;
    width: 0;
    left: 0;
    bottom: 10px;
    transition: 0.3s;
}

.side-nav-link:hover::after {
    width: 100%;
}

/* Overlay when menu is open */
body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* ===== Modified Media Query ===== */
@media(max-width: 750px) {
    .nav-bar {
        font-size: 75%;
    }
}

@media(max-width: 500px) {
    .center-nav, 
    .nav-end {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-bar {
        justify-content: space-between;
    }
}

/*BANNER BODY*/
.banner_bdy{
    position: relative;
    height: fit-content;
    display: flex;
    justify-content: center;
}
.banner{
    background-size: cover;
    object-fit: cover;
    width: 98%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.banner-disc{
    position: relative;
    height: fit-content;
    padding-left: 3%;
}
.banner-disc-header{
    color: #9D9D9D;
}
.post-head-title{
    color: white;
    font-size: 2em;
}
.banner-change{
    color: #9D9D9D;
}
.banner-disc-more{
    font-size: 20px;
    font-weight: lighter;
}
.banner-btn{
    color: white;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 1%;
    padding-bottom: 1%;
    text-decoration: none;
    border: solid #8B6940;
}
.post-head-content{
    color: white;
    width: 35em;
    margin-top: -1em;
}
/* ==== RESPONSIVENESS FOR BANNER SECTION ==== */

/* Tablets */
@media (max-width: 1024px) {
  .banner {
    height: 70vh;
    padding: 1%;
  }
  .post-head-title {
    font-size: 1.8em;
  }
  .post-head-content {
    width: 90%;
    font-size: 1em;
  }
}

/* Mobile (landscape) */
@media (max-width: 768px) {
  .banner {
    padding: 5%;
    height: 60vh;
  }
  .post-head-title {
    font-size: 1.5em;
    letter-spacing: 0.1em;
  }
  .post-head-content {
    width: 100%;
    font-size: 0.95em;
  }
  .banner-btn {
    font-size: 0.9em;
    padding: 0.5em 1em;
  }
}

/* Small mobile devices (portrait phones) */
@media (max-width: 480px) {
  .banner {
    height: 40vh;
    padding: 15%;
  }
  .banner-disc {
    padding-left: 0;
    text-align: left;
  }
  .post-head-title {
    font-size: 1.2em;
    line-height: 1.3;
  }
  .post-head-content {
    width: 100%;
    font-size: 0.9em;
    margin-top: 0.5em;
    font-weight: lighter;
  }
  .banner-btn {
    padding: 0.4em 1em;
    font-size: 0.85em;
  }
}

/* Ultra small screens */
@media (max-width: 360px) {
  .post-head-title {
    font-size: 1em;
  }
  .post-head-content {
    font-size: 0.85em;
  }
}



/* FULLY RESPONSIVE AND AESTHETIC MAIN POST SECTION (INCLUDING YOUR ORIGINAL CODE ADJUSTED) */

.main-post {
    padding: 2% 5%;
    height: fit-content;
}

.post-head {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    color: #8B6940;
    margin-bottom: 1em;
}

.post-slider {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.post-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.post-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
    width: 100%;
}

.recent-post {
    background: #1C1C1C;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    width: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent_post_img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #ccc;
}
.recent-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(215, 191, 166, 0.2);
}

.recent-post-texts {
    padding: 1em;
}

.recent-post-head {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.recent-post-content {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: white;
    font-weight: lighter;
}

.recent_post_head_link {
    text-decoration: none;
    color: #D7BFA6;
}

.recent_post_head_link:hover {
    color: #8B6940;
    transition: all 0.5s;
}

.date-box {
    display: flex;
    align-items: center;
    gap: 0.4em;
    padding: 0 1em 1em 1em;
    color: #999;
    font-size: 0.85em;
    font-weight: bold;
}

.circle {
    width: 10px;
    height: 10px;
    object-fit: cover;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #8B6940;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 24px;
    border-radius: 50%;
    z-index: 1;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

#paginationIndicator {
    font-size: 1em;
    font-weight: bold;
    color: #333;
    margin-top: 1em;
    text-align: center;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .post-head {
        font-size: 2em;
    }
    .recent-post {
        width: 230px;
    }
}

@media (max-width: 768px) {
    .post-head {
        font-size: 1.8em;
    }
    .slider-btn {
        font-size: 18px;
        padding: 8px 12px;
    }
    .recent-post {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .post-head {
        font-size: 1.5em;
    }
    .recent-post {
        width: 90%;
    }
    .post-container, .post-boxes {
        flex-direction: column;
        align-items: center;
    }
    .slider-btn {
        font-size: 16px;
        padding: 6px 10px;
    }
}

/*contact style starts*/




    #links{
      width: 100%;
      height: fit-content;
      position: relative;
      padding-top: 3%;
      color: white;
    }
    .About-subj{
      text-align: center;
      letter-spacing: 0.2rem;
    }
    .About-change{
      color: #8B6940;
    }
    .link-box{
      display: flex;
      flex-direction: row;
      justify-content: center;
      margin-top: 5%;
    }
    .link1{
      display: flex;
      flex-direction: column;
      width: 50px;
      height: 50px;
      color: #8B6940;
      font-size: 40px;
      margin-left: 3%;
      margin-right: 3%;
    }
    .link-disc{
      font-size: 10px;
      color: white;
    }
    .link-disc a{
      text-decoration: none;
      color: white;
    }
    .copyright{
        color: white;
        text-align: center;
        color: #8B6940;
    }
    
    @media(max-width:950px){
      #links{
        height: 200px;
      }
    }
    @media(max-width: 1025px){
      #links{
        height: 300px;
      }
    }
    @media(max-width:450px){
      .link-box{
        margin-top: 10%;
      }
    }
    


    /*contact style ends*/
