/* 
   BVS Dijital - Istanbul Spine Masters 2026 
   Custom Stylesheet
*/

/******************/
/* FONT CREATIONS */
/******************/
/* Not: Font dosyalarının isimlerini ve klasör adını sunucuda değiştirmeniz gerekecektir */
@font-face {
  font-family: "BvsFont";
  src: url("../fonts/BvsFont/Bvs-ExtraLight.ttf");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "BvsFont";
  src: url("../fonts/BvsFont/Bvs-Light.ttf");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "BvsFont";
  src: url("../fonts/BvsFont/Bvs-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "BvsFont";
  src: url("../fonts/BvsFont/Bvs-Medium.ttf");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "BvsFont";
  src: url("../fonts/BvsFont/Bvs-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}

:root {
  --app-font-size: 16px;
}

/*****************/
/* GLOBAL STYLES */
/*****************/
* {
  font-family: "BvsFont", sans-serif;
  font-size: 14px;
  scroll-behavior: smooth;
}

::selection {
  background-color: #aad8e8;
  color: #FFF;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #101c46;
  border-radius: 10px
}

::-webkit-scrollbar-thumb:hover {
  background: #019ee2;
}

html,
body {
  height: 100%;
  background-color: #fff;
  line-height: 1.9;
  font-size: 14px;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

main {
  font-size: var(--app-font-size, 16px);
}

main * {
  font-size: inherit !important;
}

/* Tüm container-fluid yapısına taşma koruması */
.container-fluid {
  width: 100% !important;
  overflow-x: hidden !important;
}

.container-fluid {
  padding: 0;
}

.fullscreen {
  height: 100%;
  min-height: 100vh;
}

.bg-primary {
  background-color: #2D86E4 !important;
}

section {
  padding: 2% 0;
}

.baslik {
  color: #004791;
  font-weight: 800;
  font-size: 26px;
  cursor: default;
  margin-bottom: 1%;
}

.baslikLight {
  color: #F4F4F4;
  font-weight: 800;
  font-size: 26px;
  cursor: default;
  margin-bottom: 1%;
}

.baslikLight hr {
  border-color: #f4f4f4;
}

.minibaslik {
  color: #DC3545;
  font-size: 16px;
  font-weight: 600;
}

hr {
  width: 15%;
  border: 1px ridge #004791;
  vertical-align: middle;
  display: inline-block;
  margin: 0 3%
}

i.far,
i.fas,
i.fa-solid {
  color: #004791;
  vertical-align: middle;
}

.gradientToBottom {
  background-image: linear-gradient(to bottom, #F7F7F7, #d1e7ff);
}

.gradientToTop {
  background-image: linear-gradient(to top, #F7F7F7, #d1e7ff);
}

.le-toplink {
  position: fixed;
  top: 90%;
  right: 2%;
  width: 40px;
  height: 40px;
  text-align: center;
  color: #333;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .24);
}

/* BUTONLAR */
.btn-bvs {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  padding: .375rem .75rem;
  border-radius: .25rem;
  color: #fff;
  background-color: #004791;
  border: 2px solid #fff;
  transition: all .5s ease-in-out;
  width: 60%;
  font-size: 16px;
}

.btn-bvs:hover {
  background-color: transparent;
  color: #fff;
}

/***************/
/* TABLE STYLE */
/***************/
@media only screen and (max-width: 800px) {

  .bvs-table table,
  .bvs-table thead,
  .bvs-table tbody,
  .bvs-table th,
  .bvs-table td,
  .bvs-table tr {
    display: block;
  }

  .bvs-table thead tr {
    position: absolute;
    top: -99999px;
    left: -99999px;
  }

  .bvs-table tr {
    border: 1px solid #96c8d4;
  }

  .bvs-table td:before {
    position: absolute;
    content: attr(data-title);
    top: 12px;
    left: 10px;
    width: 50%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  .bvs-table td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }
}

.bvs-table .table {
  background: #fefefe;
}

/****************/
/* HEADER STYLES*/
/****************/
.navbar-brand img {
  width: 160px;
}

.navbar-brand {
  padding: 0;
  margin-right: 6px;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  display: block;
}

.bg-customMenu {
  background: #8e1e46;
}
.bg-customMenu.navbar-dark .navbar-nav .nav-link {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  text-align: right;
  font-size: 14px !important;
  padding: 10px 12px !important;
  line-height: 1.4 !important;
}
.bg-customMenu.navbar-dark .navbar-nav .nav-link:focus,
.bg-customMenu.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffe8f0;
}
.bg-customMenu.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
  border-bottom: 2px solid #ffe8f0;
}

.home-link {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0;
  padding-right: 0.75rem;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  height: 60px;
  font-size: 14px !important;
  font-weight: 600;
}

.home-link i {
  margin-right: 6px;
}

.navbar-brand {
  margin-right: 6px;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 10px 18px 10px 22px;
  margin-left: -6px;
  transition: all 0.2s ease;
  color: #fff;
  font-size: 14px !important;
}

.navbar-dark .navbar-toggler-icon {
  width: 1.6em;
  height: 1.6em;
  background-size: 1.6em 1.6em;
}

.navbar-toggler-label {
  color: #fff;
  font-weight: 700;
  margin-left: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 14px !important;
}

.navbar-dark .navbar-toggler:focus,
.navbar-dark .navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
  outline: none;
}

.navbar-dark .navbar-toggler[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

.navbar-nav .dropdown-menu {
  right: 0;
  left: auto;
  text-align: right;
}

.navbar-nav .dropdown-item {
  text-align: right;
  font-size: 14px !important;
  padding: 10px 14px !important;
  line-height: 1.4 !important;
}

.a11y-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1200;
  display: inline-flex;
  gap: 12px;
  background: rgba(16, 28, 70, 0.9);
  color: #fff;
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  align-items: center;
  flex-wrap: wrap;
  position: fixed;
  align-content: center;
}

.a11y-widget button {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  min-width: 52px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 0 0 auto;
}

.a11y-widget button:hover,
.a11y-widget button:focus {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  border-color: #fff;
}

.a11y-widget button:active {
  transform: translateY(1px);
}

.a11y-indicator {
  align-self: center;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  min-width: 68px;
  text-align: center;
  flex: 0 0 auto;
}

.a11y-close {
  border: 2px solid rgba(255, 0, 0, 0.8);
  background: #c00000;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 0 0 auto;
  margin-left: 2px;
}

.a11y-close:hover,
.a11y-close:focus {
  background: #e00000;
  outline: none;
  border-color: rgba(255, 0, 0, 0.9);
}

.a11y-reopen {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1199;
  border: 1px solid rgba(16, 28, 70, 0.5);
  background: rgba(16, 28, 70, 0.9);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.a11y-reopen:hover,
.a11y-reopen:focus {
  background: rgba(16, 28, 70, 1);
  outline: none;
}

@media only screen and (max-width: 768px) {
  .a11y-widget {
    bottom: 14px;
    right: 12px;
    opacity: 0.96;
    transform: scale(0.96);
    padding: 14px 16px;
    gap: 12px;
  }

  .a11y-reopen {
    bottom: 14px;
    right: 12px;
  }
}

.carousel-item {
  height: 100vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  background-size: cover;
}

/* Offset anchors so fixed navbar doesn't cover section headings */
#invitation,
#faculty,
#registration,
#accommodation,
#venue,
#general,
#sponsors,
#supporters,
#abstract,
#scientific,
#contact {
  scroll-margin-top: 140px;
}

@media (max-width: 768px) {
  #invitation,
  #faculty,
  #registration,
  #accommodation,
  #venue,
  #general,
  #sponsors,
  #supporters,
  #abstract,
  #scientific,
  #contact {
    scroll-margin-top: 110px;
  }
}

/* Masaüstü Ayarı */
.main-banner {
  background-image: url('../img/banner2026.jpg?v=4');
  background-size: cover !important;
  background-position: center 200% !important;
  background-repeat: no-repeat;
  /* Görseli biraz aşağı ve uzaklaştır */
}

/* Mobil Ayarı (287. satır civarı) */
@media only screen and (max-width: 768px) {
  .main-banner {
    background-image: url("../img/mobile-banner2026-v3.jpg?v=1") !important;
    background-size: cover !important;
    background-position: center 220% !important;
    height: 100vh !important;
    display: block !important;
  }

  /* Sayaç dairesinin boyutunu küçültüyoruz (Taşma Çözümü) */
  .simply-section {
    width: 65px !important;
    height: 65px !important;
    margin: 5px !important;
    padding: 5px !important;
  }

  /* Sayaç içindeki sayıların boyutu */
  .simply-amount {
    font-size: 18px !important;
  }

  /* Sayaç içindeki kelimelerin (days, hours) boyutu */
  .simply-word {
    font-size: 10px !important;
  }

  /* Mobile legibility tweaks */
  body {
    font-size: 16px;
    line-height: 1.7;
  }

  .navbar-nav .nav-link,
  .navbar-nav .dropdown-item,
  .navbar-toggler-label {
    font-size: 1.05rem;
    font-weight: 600;
  }

  .section-title,
  .baslik {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

.headerBottom {
  position: absolute;
  width: 100%;
  height: 10vh;
  background: rgba(16, 28, 70, 0.7);
  z-index: 999;
  bottom: 0;
}

.headerBottom .row {
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
}

.counterBg {
  background: #004791;
  height: 10vh;
}

/*****************************/
/* SCIENTIFIC PROGRAM STYLES */
/*****************************/
#scientificProgramBackground {
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url("../img/scientific.jpeg");
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  height: auto !important;
  padding-bottom: 50px;
}

#generalBackground {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url("../img/scientific.jpeg");
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  height: auto !important;
  padding-bottom: 50px;
}

/******************/
/* CONTACT STYLES */
/******************/
#contactBackground {
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url("../img/contactBackground.jpg");
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  padding: 60px 0;
}

.contactBox {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #777;
  padding: 1.5%;
  border-radius: 5px;
  color: #111;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

#contactBackground .baslikLight {
  position: relative;
  z-index: 2;
  color: #f5f5f5;
}

.preform-card {
  border-top: 6px solid #8e1e46;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.preform-card label {
  font-weight: 700;
  color: #0d2b56;
  font-size: 15px;
}

.preform-card .form-control,
.preform-card .form-control:focus {
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  font-size: 15px;
  padding: 14px 14px;
  color: #0f172a;
}

.preform-card select.form-control {
  font-weight: 700;
  color: #0d2b56;
  background-color: #fff;
  font-size: 14px;
  padding: 16px 14px;
  line-height: 1.4;
}

.preform-card select.form-control option {
  font-size: 14px;
  color: #0d2b56;
  font-weight: 600;
}

.preform-card textarea.form-control {
  min-height: 140px;
}

.preform-card .btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}

.preform-title {
  color: #8e1e46;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preform-subtitle {
  font-size: 15px;
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .preform-card {
    padding: 18px !important;
    border-top-width: 5px;
  }

  .preform-card label {
    font-size: 14px;
  }

  .preform-card .form-control {
    font-size: 14px;
    padding: 14px 14px;
    color: #0f172a;
  }

  .preform-card select.form-control {
    font-size: 14px;
    padding: 16px 14px;
  }

  .preform-card select.form-control option {
    font-size: 14px;
  }

  .preform-title {
    font-size: 18px;
  }

  .preform-subtitle {
    font-size: 14px;
  }
}

footer {
  background: #fff;
  color: #111;
  padding: 12px 0 140px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  z-index: 3;
  border-top: 1px solid #e5e7eb;
}

@media only screen and (max-width: 768px) {
  footer {
    padding: 16px 0 120px;
    font-size: 15px;
    line-height: 1.6;
  }
}

.footer-links a {
  color: #111;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.footer-links a i {
  margin-right: 6px;
}

.footer-icon-right {
  margin-left: 6px;
  margin-right: 0;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
  color: #004791;
}

.footer-sep {
  color: #666;
  font-weight: 600;
  margin: 0 4px;
}

.footer-meta {
  font-weight: 700;
  color: #111;
}

/*******************/
/* IMAGE STYLES    */
/*******************/
.davetImg {
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

/* Vercel Toolbar ikonunu gizlemek için */
#__vercel-toolbar {
  display: none !important;
}

/* Eğer Analytics/Speed Insights ikonu ise */
[data-vercel-insights-overlay] {
  display: none !important;
}

/*******************/
/* SECTIONS STYLES */
/*******************/
.section-padding {
  padding: 60px 0;
}

.section-title {
  margin-bottom: 40px;
}

.section-title h2 {
  font-weight: 700;
  color: #004791;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50%;
  height: 3px;
  background: #004791;
  bottom: 0;
  left: 25%;
}

.faculty-box {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #004791 !important;
}

.faculty-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.faculty-box h4 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.faculty-box ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Faculty Listesi Stili */
.faculty-list .list-group-item {
  border: none;
  padding: 8px 15px;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.fi {
  border-radius: 2px;
  /* Bayrakları hafif oval yap */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  /* Gerçekçilik katar */
}

.card {
  border-radius: 15px !important;
  overflow: hidden;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #004791;
  margin: 10px auto;
}

/* Scientific Program Styles */
.table-wrapper-scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}


/* Fullscreen blokların içeriğe göre büyümesini sağla */
.fullscreen {
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
}

/* Accordion içindeki tabloların mobilde düzgün kayması için */
.table-wrapper-scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Row Colors */
.session td {
  background-color: #e9ecef;
  /* Light Gray for Panels */
  color: #495057;
  font-weight: 600;
}

.coffee td {
  background-color: #fff3cd;
  /* Light Yellow for Coffee */
  color: #856404;
}

.lunch td {
  background-color: #d1ecf1;
  /* Light Blue for Lunch */
  color: #0c5460;
}

.time {
  white-space: nowrap;
  text-align: center;
  vertical-align: middle !important;
  font-weight: 600;
  color: #8e1e46;
  /* Using the theme color for times */
}


/* Accordion Button Focus fix */
.btn-link:focus,
.btn-link:hover {
  text-decoration: none;
  box-shadow: none;
}

/* HONORARY PRESIDENT STYLES */
.honorary-president-wrap {
  margin-top: 48px;
  text-align: center;
}

.honorary-title {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: .04em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.honorary-person {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.honorary-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

/* NAVBAR LOGO STYLES */
.navbar-brand img {
  filter: drop-shadow(0px 0px 5px rgba(0, 210, 255, 0.5));
  transition: all 0.3s ease;
}

.navbar-brand img:hover {
  filter: drop-shadow(0px 0px 10px rgba(0, 210, 255, 0.8));
  transform: scale(1.05);
}

/* REGISTRATION & REFUND TABLE STYLES */
.registration-table th, .registration-table td,
.refund-table th, .refund-table td {
  text-align: center;
  vertical-align: middle;
}

.registration-table thead th {
  font-weight: 700;
  text-transform: uppercase;
}

.registration-table tbody tr:hover,
.refund-table tbody tr:hover {
  background-color: rgba(0, 71, 145, 0.05);
}

.refund-table {
  background-color: #fff;
}
