/* author.css */

/* بنەڕەتی گشتی */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  line-height: 1.6;
  color: #333;
}

/* Main Header */
.main-header {
  background: linear-gradient(135deg, #ff7f50, #ff4500);
  color: white;
  padding: 15px 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

.main-header h1 {
  margin: 0;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.menu-btn {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 28px;
  cursor: pointer;
  display: none;
  background: none;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Navigation Menu */
.nav-menu ul {
  list-style: none;
  margin: 15px 0 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-menu li {
  margin: 5px;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.nav-menu a:hover {
  background: white;
  color: #ff4500;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Author Container */
.author-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 20px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Author Card */
.author-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  vertical-align: top;
  width: 310px;
}

.author-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.author-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid #f0f0f0;
}

.author-card h3 {
  margin: 15px 0;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  padding: 0 15px;
}

/* Author Section */
.author-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.author-section h2 {
  color: #ff4500;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 3px solid #ff4500;
  padding-bottom: 10px;
}

.author-section p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-align: justify;
  color: #555;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  margin-top: 50px;
  color: #666;
  font-size: 1rem;
  border-top: 3px solid #ff6600;
}

/* Overlay for mobile menu */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(3px);
}

.nav-overlay.active {
  display: block;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .main-header h1 {
    font-size: 1.8rem;
    padding-right: 50px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 300px;
    background: linear-gradient(180deg, #ff7f50, #ff4500);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 80px 20px 20px;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 0;
  }

  .nav-menu li {
    margin: 0;
    width: 100%;
  }

  .nav-menu a {
    width: 100%;
    justify-content: flex-start;
    padding: 18px 25px;
    font-size: 1.1rem;
    border-radius: 15px;
  }

  .author-container {
    margin: 20px 10px;
  }

  .author-card {
    max-width: 100%;
  }

  .author-section {
    margin: 20px 10px;
    padding: 20px;
  }

  .author-section h2 {
    font-size: 1.5rem;
  }

  .author-section p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .main-header h1 {
    font-size: 1.5rem;
  }

  .nav-menu {
    width: 280px;
  }

  .author-section {
    margin: 15px 5px;
    padding: 15px;
  }
}

/* Print styles */
@media print {
  .main-header,
  .nav-menu,
  .menu-btn {
    display: none;
  }

  .author-section {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
/* =============================================
   کۆدی نوێ - فۆنتە تایبەتەکان بۆ هەر بەشێک
   ============================================= */

/* یەکەم: فۆنتەکانت دیاری بکە */
@font-face {
  font-family: 'authortext';
  src: url('../fonts/NRT-Bd.ttf') format('truetype');
}
.author-section p {
  font-family: 'authortext', 'Segoe UI', sans-serif !important;
} 

@font-face {
  font-family: 'footer';
  src: url('../fonts/K24KurdishLight-Light.ttf') format('truetype');
}
footer p {
  font-family: 'footer', 'Segoe UI', sans-serif !important;
}