/* Değişkenler */
:root {
    --primary-color: #007bff;
    --secondary-color: #333;
    --background-color: #f9f9f9;
    --border-color: #ddd;
}

/* Genel ayarlar */
body {
    margin: 0;
    padding: 0;
    font-family: "Times New Roman", Georgia, Garamond, serif; /* eski görünüm */
    font-size: 18px; /* eski görünüm */
    line-height: 1.2;
    padding-bottom: 40px;
    background-color: #1814148f; /* eski görünüm (istersen) */
    /* Sayfa içeriğinin altına boşluk */
}

#wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 2px;
    background-color: var(--background-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Banner */
#banner {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    text-align: center;
}

#banner img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 26px;
    font-weight: 750;
    line-height: 24px;
    color: var(--heading-color);
    margin: 20px 0 10px;
    text-align: center;
}

h2 {
    font-size: 20px;
    font-weight: 600; /* 700 yerine daha dengeli */
    line-height: 24px; /* daha ferah */
    color: var(--heading-color);
    margin: 18px 0 9px;
    text-align: center;
}

h3 {
    font-size: 16px;
    font-weight: 500; /* daha ince görünüm için */
    line-height: 20px;
    color: var(--heading-color);
    margin: 0px 0 0px;
    text-align: center;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: var(--secondary-color);
    margin: 0px 0 0px;
    text-align: left;
}

h5 {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--secondary-color);
    margin: 12px 0 6px;
    text-align: center;
}
h5 img {
    display: inline-block;
    margin: 0 auto;
    vertical-align: middle;
}

h6 {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--secondary-color);
    margin: 10px 0 5px;
    text-align: left;
}



/* Paragraflar */
p {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0;
}

/* Genel metin satırı */
.text {
    margin: 10px auto;
    padding: 15px;
    max-width: 980px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--secondary-color);
    overflow-wrap: break-word;
    box-sizing: border-box;
}


.text-content {
    color: var(--secondary-color);
    margin: 0;
}

/* Flash içeriği */
.flash {
    max-width: 100%;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
    text-align: center;

    border: 2px solid #777;
    padding: 0px;             /* 👈 Flash ile border arası boşluk */
    background-color: #fff; 
}

.flash object,
.flash embed {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 0 !important;
    outline: none !important;

   
}

/* Link alanı */
.link {
    text-align: left;        /* Genel metin düzeni bozulmasın */
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 10px auto;       /* BLOK ORTALI */
    padding: 15px;
    max-width: 980px;
    background-color: #fff9e6;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--secondary-color);
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.link a{
    display: block;
    text-align: center;      /* ✅ LINKLER ORTADA */
    margin-bottom: 5px;
}

.link a:hover{
    text-decoration: underline;
    color: var(--primary-color);
}


/* Footer */
.footer {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
    text-align: center;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    line-height: 1;
    font-size: 12px;
    color: #6c757d;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}



@media (max-width: 768px) {
    #wrapper {
        max-width: 100%;
        padding: 10px;
    }

    .text {
        margin: 0 10px;
        padding: 10px;
    }

    .footer {
        padding: 10px;
        font-size: 10px;
        max-width: 100%;
    }
}

/* Tablo yerleşimi */
.overlay-table {
    position: absolute;
    bottom: 60px;
    right: 10px;
    border-collapse: collapse;
    background-color: white;
}

.overlay-table td {
    width: 150px;
    height: 40px;
    border-top: 1px solid navy;
    border-left: 1px solid navy;
    border-right: 1px solid navy;
    text-align: center;
    vertical-align: middle;
}

.overlay-table tr {
    border-bottom: none !important;
}

.openClose {
overflow: hidden;
max-height: 200px; /* Yaklaşık 3 satır */
position: relative;
transition: max-height 0.4s ease;

    margin: 10px auto;
    padding: 15px;
    max-width: 940px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--secondary-color);
    overflow-wrap: break-word;
    box-sizing: border-box;

}

.openClose a {
  color: #045894;
  text-decoration: underline;
}

.openClose.expanded {
max-height: 2000px; /* Açıldığında sınırı genişletiyoruz */
}

.toggle-button {
display: inline-block;
margin-top: 0px;
margin-left: 20px;
color: #b30202;
font-weight: bold;
cursor: pointer;
}


.alpha-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;     /* düşey ortalama */
  justify-content: center;
  margin-left: 10px;
  margin-right: 10px;      /* sağdan 10px boşluk (satır içinde) */
  vertical-align: middle;
}

.alpha-wrap img.alpha-btn{
  display: block;
  position: relative;
  z-index: 2;                 /* PNG üstte */
  transform: none !important; /* global hover scale iptal */
  box-shadow: none !important;
}

.alpha-wrap::after{
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;                 /* yazı altta (PNG transparan olduğu için görünür) */
  color: #000;
  font-weight: normal;
  text-decoration: none;
  pointer-events: none;
  white-space: nowrap;
  font-size: 13px;
}

.alpha-wrap:hover::after{
  text-decoration: underline;
}

.alpha-wrap:active::after{
  font-weight: bold;
  text-decoration: underline;
}
