/* Temel ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration:none;
}

body {
  font-family: 'Segoe UI', 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

.block{
	width:100%;
	height:80px;
}
.block2{
	width:100%;
	height:60px;
}
/* Header */
.header{
	width:100%;
	height:80px;
	position:fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem;
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
z-index:99;
}

.header-logo img {
  height: 50px;
}

.header-logo label{
	font-size:2.9rem;
	margin-left:10px;
}

.header-figures i {
  margin-left: 15px;
  font-size: 1.2rem;
  color: #333;
  cursor: pointer;
}
.header-figures i:hover {
  color: #0073e6;
}

.hamburger {
  background: none;
  border: none;
  font-size: 1.5rem;
  display: none;
  cursor: pointer;
}

/* Navigation */
nav.nav-wrapper {
	width:100%;
	height:60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 1rem;
  position:fixed;
  z-index:99;
}

.nav-menu {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: #0073e6;
}

.search-box {
  display: flex;
  gap: 0.5rem;
}

.search-box input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.search-box button {
  padding: 0.5rem 0.8rem;
  background-color: #0073e6;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

/*--main content--*/
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
 
}

.cover img{
	width:100%;
	
}

main h1{
	padding:1.5rem 0;
	font-size:2.2rem;
}

main h2{
	margin-top:30px;
	margin-bottom:10px;
	font-size:1.6rem;
}

main p{
	color:#121212;
	 
}
main ul{
	margin-left:30px;
}

/* Category Section */
.category-section {
  padding-bottom: 3rem;
  padding:30px;
}

.category-label{
	display:flex;
	justify-content:space-between;
}

.category-label a{
	color:blue;
	font-size:1.2rem;
	text-decoration:none;
}

.category-label a:hover{
	color:orange;
}

.category-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.category-posts {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.category-posts article {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-posts article:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.category-posts img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.category-posts .meta {
  padding: 0.8rem;
}

.category-posts button {
  background: #0073e6;
  color: white;
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  border: none;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.category-posts h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.category-posts .author {
  font-size: 0.8rem;
  color: #666;
}

article h3{
	color:#121212;
}
/*--CTA--*/


.cta {
  background-color: #f0f8ff;
  padding: 3rem 2rem;
  text-align: center;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.cta h4 {
  font-weight: normal;
  margin-bottom: 1rem;
  color: #555;
}

.email-box {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.email-box input {
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 250px;
}

.email-box button {
  padding: 0.6rem 1.2rem;
  background-color: #0073e6;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}


/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #f2f2f2;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #ddd;
}

/* Mobile Responsive Layout */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  nav.nav-wrapper{
	  position:static;
  }
  
  .block2{
	  display:none;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    background-color: #ffffff;
	position:fixed;
	z-index:99;
  }

  .nav-menu.show {
    display: flex;
  }

  .desktop-search {
    display: none;
  }

  .header-figures {
    display: none;
  }

  nav.nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }