/* Global background color for the body */
body {
  background-color: #ded6c9;
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  line-height: 1.6;
}

.videoBox {
  width: 48%;              /* ← daraltıldı */
  max-width: 580px;        /* ← daha kompakt */
  margin: 2.5rem auto;
  background: #ded6c9;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.videoBox:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

/* 16:9 video oranı */
.videoWrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Alt açıklama */
.videoCaption {
  padding: 1.2rem 1.4rem 1.6rem;
  text-align: center;
}

.videoCaption h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.videoCaption p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Mobil */
@media (max-width: 768px) {
  .videoBox {
    width: 92%;
  }

  .videoCaption h3 {
    font-size: 1.1rem;
  }
}




.container {
  height: 90vh;
}

.card {
  height: auto;
  margin-bottom: 1rem;
}

.card-img-top {
  height: 150px;
  object-fit: cover;
}

.nav-link {
  color: #2e2823 !important;
  font-size: 18px;
  font-family: 'Libre Baskerville', serif;
  font-weight: 900;
}

.nav-link:hover {
  color: #2E4FB8 !important;
}

.nav-item.active .nav-link {
  color: #2E4FB8 !important;
  font-weight: bold;
}

.navbar-brand {
  color: #2e2823 !important;
  font-weight: bold;
}

.contactMe {
  color: #fdfcf0 !important;
  font-weight: bold;
}

.btn {
  background-color: #f0dcc4 !important;
  color: #30221f;
  font-weight: bold;
  padding: 10px 20px;
  text-align: center;
}

.card-text {
  text-align: center;
  max-height: 30vh;
  overflow-y: auto;
  padding-right: 10px;
}

.card-title {
  text-align: center;
}

.visibility {
  visibility: hidden;
}

.researchText {
  padding: 10%;
  text-align: justify;
  background-color: #F7F6F2;
  color: #333333;
}

.researchTextHead {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: justify;
  min-height: 100vh;
  background-color: #F7F6F2;
  padding: 10%;
  margin: auto;
}

.researchTextHeadAffiliation {
  text-align: center;
}

.gloabalHighlights {
  width: 100%;
  height: 20vh;
  background: aliceblue;
  padding: 2%;
  text-align: center;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.scrollable {
  overflow-y: scroll;
  max-height: 100px;
}

.d-none {
  display: none;
}

/* Additional section styling */
.section {
  padding: 2%;
  text-align: center;
}

.section-highlight {
  background-color: aqua;
  height: 24vh;
}

.section-aquamarine {
  background-color: aquamarine;
  height: 30vh;
}

.section-bisque {
  background-color: bisque;
  height: 39vh;
}

.baslik {
  height: 12vh;
  font-weight: bolder;
}

.paragraf {
  height: 100vh;
}

.embed-responsive {
  max-width: 50%;
  height: 60vh;
  margin: 0 auto;
}

.y {
  text-align: justify;
}

.resume1 {
  height: 100vh;
  background-color: red;
}

.navbar-nav .nav-item .nav-link.active {
  color: #000 !important;
  font-weight: bold;
}

/* About Section Styles */
.about-section {
  padding: 20px;
  padding-bottom: 0px;
  margin-bottom: 0px;
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-content p {
  margin-bottom: 0rem;
  line-height: 1.6;
}

/* Resume Container - Responsive Heights */
.resume-container {
  text-align: justify;
  background-color: #ded6c9;
  padding: 2%;
  margin-top: -10px;
  position: relative;
  z-index: 1;
  clear: both;
}

/* Resume Header Responsive */
.resume-header {
  margin-bottom: 1.5rem;
}

.resume-header h1 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.resume-header .contact-info {
  font-size: 0.9rem;
}

/* Section Styling */
.resume section {
  margin-bottom: 2rem;
}

.resume section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid #333;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Resume Items */
.resume-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.resume-item:last-child {
  border-bottom: none;
}

.resume-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.resume-item .subheading {
  font-style: italic;
  color: #555;
  margin-bottom: 0.5rem;
}

.resume-item .location-date {
  font-size: 0.85rem;
  color: #666;
}

/* List Styles */
.section-list {
  list-style: none;
  padding-left: 0;
}

.section-list>li {
  margin-bottom: 1rem;
  padding-left: 0;
}

.section-list ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.section-list ul li {
  margin-bottom: 0.5rem;
}

/* Figure styles (tek yerde tanımlansın) */
.figure {
  display: block;
  max-width: 450px;
  margin: 40px auto;
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  padding: 5px;
  display: block;
  margin: 0 auto;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .about-section {
    padding: 15px;
    margin-bottom: 20px;
  }

  .about-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .about-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    clear: both;
  }

  .resume-container {
    padding: 15px;
    margin-top: 40px;
    clear: both;
  }

  .resume-header h1 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    clear: both;
  }

  .resume-header .contact-info {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .resume-header .d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .resume-header .text-right {
    text-align: left !important;
    margin-top: 0.5rem;
    width: 100%;
  }

  .resume-item {
    margin-bottom: 1.5rem;
    clear: both;
  }

  .resume-item .d-flex {
    flex-direction: column !important;
    gap: 0.5rem;
  }

  .resume-item .text-right {
    text-align: left !important;
    margin-top: 0.5rem;
    width: 100%;
  }

  .resume-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    clear: both;
  }

  .resume section {
    margin-bottom: 2rem;
    clear: both;
  }

  .resume section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    clear: both;
  }

  .section-list>li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    clear: both;
  }

  .section-list ul li {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .resume-item .subheading {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
  }

  .location-date {
    margin-top: 0.5rem;
    display: block;
  }

  .location-date div {
    display: block;
    margin-bottom: 0.25rem;
  }
}

/* Small mobile devices */
@media (max-width: 576px) {
  .about-section {
    padding: 15px;
  }

  .about-title {
    font-size: 1.3rem;
  }

  .resume-container {
    padding: 10px;
  }

  .resume-header h1 {
    font-size: 1.2rem;
  }

  .resume section h2 {
    font-size: 1.1rem;
  }

  .resume-item h3 {
    font-size: 0.95rem;
  }
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 991px) {
  .resume-header .d-flex {
    flex-wrap: wrap;
  }

  .resume-item .d-flex {
    flex-wrap: wrap;
  }
}















.articleBody {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  font-size: 12pt;
  line-height: 2;
}

.page {
  width: 8.5in;
  min-height: 11in;
  margin: 0 auto;
  padding: 1in 1in 1in 1.5in;
  /* left=1.5in, right/top/bottom=1in */
  box-sizing: border-box;
}

.page-break {
  page-break-before: always;
}

h1,
h2,
h3,
h4 {
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 20pt;
  text-transform: uppercase;
}

h2 {
  font-size: 16pt;
}

h3 {
  font-size: 14pt;
}

h4 {
  font-size: 12pt;
}

p {
  margin: 0 0 1em 0;
}

.title-page {
  text-align: center;
  margin-top: 1in;
}

.title-page h1 {
  font-size: 18pt;
  text-transform: uppercase;
  margin-bottom: 1.5in;
}

.title-page .block {
  margin-bottom: 1.5in;
}

.center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.smallcaps {
  font-variant: small-caps;
}

.toc-title {
  text-align: center;
  font-size: 18pt;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.toc-header-line {
  text-align: right;
  font-weight: bold;
  margin-bottom: 0.5em;
}

nav.toc ul {
  list-style: none;
  padding-left: 0;
}

nav.toc li {
  margin-bottom: 0.25em;
}

nav.toc a {
  text-decoration: none;
  color: inherit;
}

figure {
  text-align: center;
  margin: 2em auto;
}

figure img {
  max-width: 100%;
  height: auto;
}

figure figcaption {
  font-size: 10pt;
  margin-top: 0.5em;
}

.notes ol {
  padding-left: 1.2em;
}

.notes li {
  margin-bottom: 0.5em;
}

sup a {
  text-decoration: none;
  color: inherit;
}

.references pre {
  white-space: pre-wrap;
  font-family: "Courier New", Courier, monospace;
  font-size: 11pt;
  line-height: 1.5;
  background: #f8f8f8;
  padding: 1em;
  border: 1px solid #ddd;
}

/* Double spacing mimic */
.double-spaced {
  line-height: 2;
}

/* ============================================
   ============================================ */

/* Tablets and below */
@media (max-width: 768px) {
  .upcoming-container {
    padding: 2rem 1.5rem 2.5rem 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .event-item {
    padding: 1.25rem;
    margin-bottom: 1.75rem;
  }

  .event-title {
    font-size: 1.1rem;
  }

  .event-date {
    font-size: 0.95rem;
  }

  .event-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .event-location,
  .event-description {
    font-size: 0.9rem;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .upcoming-container {
    padding: 1.5rem 1rem 2rem 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .event-item {
    padding: 1rem 1.25rem;
    border-left-width: 3px;
    margin-bottom: 1.5rem;
  }

  .event-item:last-child {
    margin-bottom: 1rem;
  }

  .event-header {
    gap: 0.5rem;
  }

  .event-title {
    font-size: 1rem;
  }

  .event-date {
    font-size: 0.85rem;
  }

  .event-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
  }

  .event-location {
    font-size: 0.85rem;
  }

  .event-description {
    font-size: 0.875rem;
  }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Focus states for keyboard navigation */
.event-item:focus-within {
  outline: 2px solid #8b7355;
  outline-offset: 2px;
}

/* Ensure sufficient color contrast */
@media (prefers-contrast: high) {
  .event-date {
    color: #5a4a3a;
  }

  .event-location {
    color: #333;
  }

  .event-description {
    color: #222;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .event-item {
    transition: none;
  }

  .event-item:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .event-item {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .event-item:hover {
    transform: none;
    box-shadow: none;
  }


}/* ============================================
   UPCOMING EVENTS SECTION - OPTIMIZED
   ============================================ */

/* Container */
.upcoming-container {
  background-color: #ded6c9 !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 3rem 2.5rem !important;
  margin: 2rem auto !important;
  max-width: 1140px;
}

#upcoming-events {
  margin: 0;
}

#upcoming-events h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 2.5rem;
  text-align: center;
  font-family: 'Libre Baskerville', serif;
}

/* Event List */
#upcoming-events .section-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual Event Item */
.event-item {
  background: #ffffff;
  border-left: 5px solid #8b7355;
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.event-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.event-item:last-child {
  margin-bottom: 0;
}

/* Event Header (Date + Badge) */
.event-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}

.event-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: #8b7355;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
}

/* Event Badges */
.event-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
}

.event-badge-conference {
  background-color: #e8f4f8;
  color: #0277bd;
  border: 1px solid #b3e5fc;
}

/* Event Content */
.event-content {
  margin-top: 0;
  padding: 0;
}

.event-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  font-family: 'Libre Baskerville', serif;
}

.event-title a {
  color: #2c2c2c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-title a:hover {
  color: #8b7355;
}

.event-location {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  color: #555;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  font-family: 'Libre Baskerville', serif;
}

.location-icon {
  flex-shrink: 0;
  margin-top: 0.35rem;
  color: #8b7355;
}

.event-description {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f0f0;
  font-family: 'Libre Baskerville', serif;
}

.event-description em {
  display: block;
  color: #666;
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 768px) {
  .upcoming-container {
    padding: 2rem 1.5rem !important;
  }

  #upcoming-events h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .event-item {
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.75rem;
  }

  .event-title {
    font-size: 1.2rem;
  }

  .event-date {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .upcoming-container {
    padding: 1.5rem 1rem !important;
  }

  #upcoming-events h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .event-item {
    padding: 1.25rem 1.25rem;
    margin-bottom: 1.5rem;
    border-left-width: 4px;
  }

  .event-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }

  .event-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .event-date {
    font-size: 0.9rem;
  }

  .event-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
  }

  .event-location {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .event-description {
    font-size: 0.95rem;
  }
}