@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;500;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  justify-content: center;
  align-items: center;
}

header {
  display: flex;
  justify-content: center;
  background-color:#ffffff;
}

* {
  margin: 0;
  padding: 0;
}

/* Logo and Navbar */
.header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header a {
  text-decoration: none;
}

/*header*/
.header {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 99;
  padding: 15px;
}

.header-main {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-radius: 4px;
}

.header .logo img {
  padding: 0 15px;
  width: 150px;
}

.header .nav-menu {
  padding: 0 15px;
}

.header .menu>.menu-item {
  display: inline-block;
  margin-left: 30px;
  position: relative;
}

.header .menu>.menu-item>a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: #000000;
  text-transform: capitalize;
  font-weight: 600;
  transition: all 0.3s ease;
}

.header .menu>.menu-item>a .plus {
  display: inline-block;
  height: 12px;
  width: 12px;
  position: relative;
  margin-left: 5px;
  pointer-events: none;
}

.header .menu>.menu-item>a .plus:before,
.header .menu>.menu-item>a .plus:after {
  content: '';
  position: absolute;
  box-sizing: border-box;
  left: 50%;
  top: 50%;
  background-color: #000000;
  height: 2px;
  width: 100%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.header .menu>.menu-item:hover>a .plus:before,
.header .menu>.menu-item:hover>a .plus:after {
  background-color: rgb(255, 0, 0);
}

.header .menu>.menu-item>a .plus:after {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.header .menu>.menu-item>.sub-menu>.menu-item>a:hover,
.header .menu>.menu-item:hover>a {
  color: rgb(255, 0, 0);
}

.header .menu>.menu-item>.sub-menu {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 220px;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ffffff;
  padding: 10px 0;
  border-top: 3px solid rgb(255, 0, 0);
  transform: translateY(10px);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

@media(min-width: 992px) {
  .header .menu>.menu-item-has-children:hover>.sub-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header .menu>.menu-item-has-children:hover>a .plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

.header .menu>.menu-item>.sub-menu>.menu-item {
  display: block;
}

.header .menu>.menu-item>.sub-menu>.menu-item>a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.header .open-nav-menu {
  height: 34px;
  width: 40px;
  margin-right: 15px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header .open-nav-menu span {
  display: block;
  height: 3px;
  width: 24px;
  background-color: #000000;
  position: relative;
}

.header .open-nav-menu span:before,
.header .open-nav-menu span:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  box-sizing: border-box;
}

.header .open-nav-menu span:before {
  top: -7px;
}

.header .open-nav-menu span:after {
  top: 7px;
}

.header .close-nav-menu {
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.356);
  margin: 0 0 15px 15px;
  border-radius: 50px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.header .close-nav-menu img {
  width: 20px;
}

.header .menu-overlay {
  position: fixed;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

/*home section*/
.home-section {
  width: 100%;
  display: block;
  min-height: 100vh;
  background-image: url('../images/logo.svg');
  background-position: center top;
  background-size: cover;
}


/* responsive */

@media(max-width: 991px) {
  .header .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }

  .header .nav-menu {
    position:fixed;
    left: -280px;
    visibility: hidden;
    width: 280px;
    height: 520px;
    top: 0;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.822);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.5s ease;
  }

  .header .nav-menu.open {
    visibility: visible;
    left: 0px;
  }

  .header .menu>.menu-item {
    display: block;
    margin: 0;
  }

  .header .menu>.menu-item-has-children>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header .menu>.menu-item>a {
    color: #555;
    padding: 12px 15px;
    border-bottom: 1px solid #333333;
  }

  .header .menu>.menu-item:first-child>a {
    border-top: 1px solid #333333;
  }

  .header .menu>.menu-item>a .plus:before,
  .header .menu>.menu-item>a .plus:after {
    background-color: #000000;
  }

  .header .menu>.menu-item-has-children.active>a .plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .header .menu>.menu-item>.sub-menu {
    width: 100%;
    position: relative;
    opacity: 1;
    visibility: visible;
    border: none;
    background-color: transparent;
    box-shadow: none;
    transform: translateY(0px);
    padding: 0px;
    left: auto;
    top: auto;
    max-height: 0;
    overflow: hidden;
  }

  .header .menu>.menu-item>.sub-menu>.menu-item>a {
    padding: 12px 45px;
    color: #000000;
    border-bottom: 1px solid #333333;
  }

  .header .close-nav-menu,
  .header .open-nav-menu {
    display: flex;
  }
}

/* Logo and Navbar */

.post-box hr{
  margin-top: -20px;
  width: 100%;
}

.top-content {
  background-color: rgb(243, 243, 243);
  width: 95%;
  margin: 0 auto 30px auto;
  height: 60px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  box-shadow: 3px 3px 5px lightgray;
  margin-top: 105px;
  margin-bottom: -80px;
  justify-content: center;
  margin-top: -10;
}

.top-content h3 {
  height: 100%;
  line-height: 60px;
  padding: 0 50px;
  background-color: rgb(177, 175, 175);
  border-radius: 5px;
  color: white;
  text-transform: uppercase;

}

@media (max-width:768px){
  .top-content{
    width: 90%;
    height: 40px;
  }

  .top-content h3{
    font-size: 14px;
    height: 40px;
    line-height: 40px;
  }

}

:root{
  --container-color: #1a1e21;
  --second-color: crimson;
  --text-color: #172317;
  --bg-color: #fff;
}

.post-container2{
  padding: 3rem 0 2rem;
}

.post-container2{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(500px, auto));
  justify-content: center;
  gap: 1.5rem;
  padding-top: 100px;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  box-sizing: border-box;
}

.post-box{
  background: var(--bg-color);
  box-shadow: 0 4px 14px hsl(355deg, 25%, 15% / 10%);
  padding: 15px;
  border-radius: 0.5rem;
  border: 1px solid #d3cbcb;
}

.post-box a{
  text-decoration: none;
}

.post-image{
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}

.post-box img{
  width: 100%;
}

.category{
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--second-color);
}

.post-title{
  padding-bottom: 30px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-date{
  display: flex;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
  color: crimson;
}

.post-decription{
  font-size: 0.9rem;
  line-height: 1.5rem;
  margin: 5px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


@media (max-width:768px){
  .post-container2{
    margin: auto;
  }

  .post-box{
    margin: auto;
    width: 70%;
    height: 100%;
  }
  
  .post-box img{
    margin: auto;
    width: 100%;
    height: 250px;
  }

  .post-image{
    margin: auto;
  }

  .post-decription{
    font-size: 0.7rem;
  }

  .post-date{
    font-size: 0.8rem;
  }

  .post-title{
    font-size: 0.9rem;
  }

  .category{
    font-size: 0.8rem;
  }
}








/* FOOTER SECTİON */

.footer-section {
  background-color: #e0dbdb83;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
}

.container3 {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.col {
  min-width: 250px;
  color: #000000f2;
  padding: 0 2rem;
  padding: 5px;
  font-size: 14px;
}

.col p {
  font-size: 14px;
  font-weight: 300;
  width: 200px;
}

.col .footer-title {
  font-size: 14px;
  font-weight: 300;
  width: 200px;
}

.col .adres {
  font-size: 14px;
  font-weight: 300;
  width: 200px;
}

.col i {
  color: #555;
}

.col .logo {
  width: 150px;
  margin-bottom: 25px;
}

.col h3 {
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  position: relative;
  cursor: pointer;
}

.col h3::after {
  content: '';
  height: 3px;
  width: 0px;
  background-color: rgb(255, 0, 0);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;

}

.col h3:hover::after {
  width: 30px
}

.col .social a i {
  color: #555;
  margin-top: 2rem;
  margin-right: 5px;
  transition: 0.3s ease;
}

.col .social a i:hover {
  transform: scale(1.5);
  filter: grayscale(25);
  color: rgb(255, 0, 0);
}

.col .links a {
  font-size: 14px;
  display: block;
  text-decoration: none;
  color: #000000;
  margin-bottom: 5px;
  position: relative;
  transition: 0.3s ease;
}

.col .links a::before {
  content: '';
  height: 16px;
  width: 3px;
  position: absolute;
  top: 5px;
  left: -10px;
  background-color: rgb(255, 0, 0);
  transition: 0.5s ease;
  opacity: 0;
}

.col .links a:hover::before {
  opacity: 1;
}

.col .links a:hover {
  transform: translateX(-8px);
  color: rgb(255, 0, 0);
}

.col .contact-details {
  display: inline-flex;
  justify-content: space-between;
}

.col .contact-details i {
  margin-right: 15px;
}

@media(max-width:900px) {
  .row2 {
    flex-direction: column;
  }

  .col {
    width: 100%;
  }
}

@media(max-width:768px) {

  .row2 {
    flex-direction: column;
    width: auto;
  }
  .row2 img{
    margin: auto;
  }

  .col {
    font-size: 14px;
    width: 90%;
    text-align: center;
  }

  .col .adres{
    margin: auto;
  }

  .footer-title{
    margin-left: 108px;
  }

  .col h3::after{
    left: 180px;
  }

  .col h3:hover::after {
    width: 50px
  }

  .col .footer-title{
    margin: auto;
  }
}
#whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999; /* Diğer öğelerin üzerinde kalmasını sağlar */
}

#whatsapp-icon img {
  width: 70px; /* Logo boyutunu ayarlayın */
  height: 70px;
  border-radius: 50%; /* Yuvarlak logo */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Gölge efekti */
}
/*FOOTER*/
#whatsapp-icon:hover{
  transition: transform 0.08s ease-in-out;
    transform: scale(1.1);
    filter: drop-shadow(0px 0px 10px #555); /* Gölge */
}
