/* ==========================================================================
   Maedeh Yousefinia - Academic Publications & Research Repository
   Style definition matching fishlady.ir branding
   ========================================================================== */

:root {
  --primary: #A53DFF;
  --primary-hover: #8e2ceb;
  --primary-light: rgba(165, 61, 255, 0.08);
  --primary-border: rgba(165, 61, 255, 0.25);
  --dark-bg: #2B384C;
  --dark-accent: #132238;
  --body-bg: #ffffff;
  --alt-bg: #f0f1f3;
  --text-main: #333333;
  --text-muted: #667085;
  --card-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.05);
  --font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
}

body {
  background-color: var(--body-bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site_wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.brand_container {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  border-radius: 100px;
  height: 2.75rem;
  width: 2.75rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(165, 61, 255, 0.25);
}

.logo img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.navbar-brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: #132238;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main_nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.main_nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #556070;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main_nav a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.main_nav a.active {
  background-color: var(--primary);
  color: #ffffff !important;
}

.nav-cta {
  border: 1px solid var(--primary-border);
  color: var(--primary) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   HERO / PROFILE SECTION
   ========================================================================== */
main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hero_section {
  background: linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
  padding: 3.5rem 1.5rem 3rem;
  border-bottom: 1px solid #f0f1f3;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.hero_card {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero_img_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.hero_img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.12);
  border: 4px solid #ffffff;
  background-color: #f0f1f3;
}

.hero_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.social_media {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}

.social_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}

.social_btn:hover {
  transform: translateY(-2px);
  background-color: var(--primary-hover);
}

.social_btn svg {
  width: 1rem;
  height: 1rem;
  fill: #ffffff;
}

.hero_bio {
  flex-grow: 1;
}

.hero_bio h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #132238;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.hero_role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero_bio p {
  color: #556070;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.hero_actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(165, 61, 255, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

/* ==========================================================================
   PUBLICATIONS SECTION
   ========================================================================== */
.publications_section {
  background-color: var(--alt-bg);
  padding: 4rem 1.5rem;
}

.section_container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.section-icon svg {
  display: block;
}

.section-icon svg path {
  fill: var(--primary);
}

.section-title h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #132238;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-wrapper {
  display: flex;
  gap: 1.25rem;
}

.vertical_line {
  background-color: var(--primary);
  width: 0.45rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 24px 48px 0px rgba(0, 0, 0, 0.08);
  border-color: rgba(165, 61, 255, 0.3);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-review {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.badge-prep {
  background-color: #E0E7FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.pub-journal {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.pub-year {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #132238;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

.pub-authors {
  font-size: 0.88rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 0.65rem;
}

.card p {
  color: #556070;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background-color: #f8f9fa;
  color: #667085;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ==========================================================================
   ACADEMIC HIGHLIGHTS / BANNER
   ========================================================================== */
.overview_section {
  background-color: #ffffff;
  padding: 3.5rem 1.5rem;
}

.overview_box {
  background: linear-gradient(135deg, rgba(165, 61, 255, 0.06) 0%, rgba(165, 61, 255, 0.01) 100%);
  border: 1px solid rgba(165, 61, 255, 0.2);
  border-radius: 12px;
  padding: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.overview_text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #132238;
  margin-bottom: 0.4rem;
}

.overview_text p {
  color: #556070;
  font-size: 0.92rem;
  max-width: 620px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--dark-bg);
  color: #e0e0e0;
  padding: 2.5rem 1.5rem;
  margin-top: auto;
}

.footer_container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer_brand p {
  font-size: 0.88rem;
  color: #c5cbd5;
}

.footer_brand .footer-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.footer_links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer_links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer_links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media screen and (max-width: 860px) {
  .hero_card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .hero_role {
    justify-content: center;
  }
  
  .hero_actions {
    justify-content: center;
  }
  
  .main_nav {
    display: none;
  }
  
  .overview_box {
    text-align: center;
    justify-content: center;
  }
  
  .footer_container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer_links {
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  header {
    padding: 0.75rem 1rem;
  }
  
  .hero_section {
    padding: 2.5rem 1rem 2rem;
  }
  
  .publications_section {
    padding: 2.5rem 1rem;
  }
  
  .section-wrapper {
    gap: 0.75rem;
  }
  
  .vertical_line {
    width: 0.35rem;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  .card h3 {
    font-size: 1rem;
  }
}
