/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    font-size: 14px; 
}

.header-section {
    background-image: url('../../images/slide1.jpg'); /* Arka plan resmi */
    background-size: cover; /* Resmi tamamen kaplar */
    background-position: center; /* Resmi ortalar */
    background-repeat: no-repeat; /* Resmin tekrar etmesini engeller */
    background-color: #333338; /* Yedek arka plan rengi */
    padding: 20px 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
   
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 50px;
    margin: 20px auto;
    width: 85%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2), inset 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.header-section .logo {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.header-section .logo img {
    width: 120px;
    height: auto;
    border-radius: 50%;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffae00;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobil İçin Düzenlemeler */
@media screen and (max-width: 768px) {
  
    /* Header */
    .header-section {
        position: relative;
        padding: 60px 0;
    }

    .header {
        background-color: transparent; /* Beyaz arka planı kaldırıyoruz */
        box-shadow: none; /* Gölgeyi de kaldırıyoruz */
        padding: 0; /* Padding'i sıfırlıyoruz */
        margin: 0; /* Margin'i sıfırlıyoruz */
        border-radius: 0; /* Border-radius'u sıfırlıyoruz */
    }
    
    .header-section .logo {
        position: absolute;
        left: 50%;
        top: 45px; /* Logonun konteynırdan dışarı taşması için yukarı çıkartıyoruz */
        transform: translateX(-50%);
        z-index: 2; /* Logoyu beyaz konteynırın üstüne çıkartıyoruz */
    }

    .header-section .logo img {
        width: 130px; /* Logonun boyutunu ayarlıyoruz */
        height: auto;
        border-radius: 50%; /* Yuvarlak formu koruyoruz */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Hafif bir gölge ekleyerek logoyu belirgin yapıyoruz */
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin-left: 0;
        margin-bottom: 10px;
    }
}


/* General Footer Styles */
/* Footer Genel Ayarları */
.footer {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #123456, #091e42);
    color: #ffffff;
    padding: 20px 0;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    position: relative;
}

/* Footer container */
.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Öğeleri yatayda aralarında boşluk bırakır */
    align-items: center;
    width: 100%; /* Footer genişliğini tamamen kaplar */
    max-width: 1100px; /* Maksimum genişlik ayarlanır */
    margin: 0 auto; /* Ortalamak için margin ayarı */
}

/* Footer logo */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.footer-logo img {
    width: 110px;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

/* Footer Links */
.footer-links,
.footer-contact {
    flex: 1;
    text-align: center; /* Metinlerin ortalanması */
}

/* Footer başlıkları */
.footer-links h3,
.footer-contact h3 {
    margin-bottom: 5px;
    font-size: 13px;
    text-transform: uppercase;
    color: #ffab00;
}

/* Footer linkler */
.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin: 4px 0;
    text-align: center;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: #f0f4f8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: #ffab00;
}

/* Footer alt kısmı */
.footer-bottom {
    padding-top: 20px;
    font-size: 12px;
    text-align: center;
    width: 100%;
}

/* Mobil görünüm ayarları */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Mobilde dikey hizalama */
    }
    .footer-links, .footer-contact {
        text-align: center; /* Mobilde ortalanmış metin */
    }
}


/* WhatsApp ve Mail Sabit İkonları */
.whatsapp-icon,
.mail-icon {
    position: fixed;
    width: 70px; /* İkon boyutunu dengede tuttum */
    height: 70px;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    animation: pulse 1.5s infinite;
    right: 20px;
  
}

.whatsapp-icon {
    bottom: 40px; /* Alttan daha fazla boşluk bırak */
}

.mail-icon {
    bottom: 120px; /* Mail ikonu WhatsApp'ın üstünde ve daha yukarıda */
}

.whatsapp-icon img,
.mail-icon img {
    width: 100%; /* Beyaz çemberi daha da daraltmak için genişliği %96 yaptım */
    height: auto;
    display: block;
    margin: 0%; /* Etrafındaki boşluğu daha ince yapmak için */
    border-radius: 50%;
    
}

.whatsapp-icon:hover,
.mail-icon:hover {
    transform: scale(1.1); /* Hover'da ikonlar hafif büyür */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Animasyon: İkonlar dikkat çekici bir şekilde büyüyüp küçülür */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15); /* Büyüme */
    }
    100% {
        transform: scale(1); /* Küçülme */
    }
}

/* Mobil görünüm için medya sorgusu */
@media screen and (max-width: 768px) {
    .whatsapp-icon,
    .mail-icon {
        width: 55px;
        height: 55px;
    }
    .mail-icon {
        bottom: 100px;
    }
    .whatsapp-icon {
        bottom: 30px; /* Mobilde de alttan biraz boşluk bırak */
    }
}





/* Mobil İçin Düzenlemeler */
@media screen and (max-width: 768px) {

    /* Hamburger Menu */
    .hamburger {
        position: absolute;
        right: 60px; /* Hamburger menüyü sağa daha yakın bir konuma taşır */
        top: 50%;
        transform: translateY(-50%); /* Ortalamak için translate kullanılır */
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 35px;
        height: 30px;
        cursor: pointer;
        z-index: 200;
        transition: transform 0.3s ease; /* Hover ve tıklamada şık bir geçiş */
    }

    
    .hamburger .bar {
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
   /* Çarpı işareti için */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px); /* Çarpının birinci çubuğunu döndürüyoruz */
    background-color: #fff;
    width: 30px; /* Çubuk genişliği sabit */
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0; /* Orta çubuğu gizliyoruz */
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px); /* Çarpının üçüncü çubuğunu döndürüyoruz */
    background-color: #fff;
    width: 30px; /* Çubuk genişliği sabit */
}

    /* Sağdan Kaydırmalı Mobil Menü */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;  /* Menüyü başlangıçta ekranın solundan gizle */
        width: 50%; /* Menünün genişliğini 50% yaptım */
        height: 100vh;
        background-color: rgba(51, 51, 51, 0.9);  /* Arka plan %90 opak (biraz transparan) */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease, background-color 0.3s ease; /* Menüyü açarken geçiş efekti */
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2); /* Sol kenar için gölge */
        z-index: 150;
        text-align: left;
    }
    /* Menü aktif olduğunda transparan arka plan */
    .nav-links.active {
        left: 0;
        background-color: rgba(51, 51, 51, 0.9);  /* %90 opaklık ile transparan arka plan */
    }

/* Menüdeki linkler ve yazılar */
.nav-links li {
    margin: 15px 0;
}

.nav-links a {
    color: #ffffff;  /* Yazılar beyaz */
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fcd00c;  /* Menüdeki linklerin hover rengi */
}

/* Sayfa kaymasını engelle */
body.nav-open {
    overflow: hidden;
}
}


/* Overlay ayarları */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7); /* Arka plan hafif opak */
    z-index: 100; /* Hamburger menünün altına yerleştirilecek */
    display: none; /* Başlangıçta gizli */
}

/* Menü açık olduğunda overlay'i göster */
#overlay.active {
    display: block;
}

/* Tablet ekranlar için düzenlemeler (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Header Section */
    .header-section {
        padding: 30px 0;  /* Daha fazla dikey boşluk ekleyelim */
    }

    .header {
        padding: 15px 30px;  /* Tablet ekranında header padding’i küçültelim */
        margin: 15px auto;    /* Margin ayarını optimize edelim */
        width: 90%;  /* Header genişliğini biraz arttıralım */
        box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2), inset 0px 0px 8px rgba(0, 0, 0, 0.4);
    }

    /* Logo */
    .header-section .logo {
        left: 5%;  /* Logo biraz daha sola yaklaştırıldı */
        top: 50%;  
        transform: translateY(-50%);
    }

    .header-section .logo img {
        width: 100px;  /* Logo boyutunu biraz küçültelim */
    }

    /* Navigasyon linkleri */
    .nav-links {
        justify-content: flex-end;  /* Linkleri sağa hizalayalım */
        flex: 1;  /* Logo ve linkler arasında esneklik sağlayalım */
    }

    .nav-links li {
        margin-left: 10px;  /* Linkler arasındaki boşluğu azaltalım */
    }

    .nav-links a {
        font-size: 14px;  /* Link metin boyutunu küçültelim */
        padding-bottom: 3px;  /* Alt kısımda daha az boşluk bırakalım */
    }

    .nav-links a::after {
        height: 2px;  /* Hover efekti için çizgiyi daha ince yapalım */
    }

    /* Hamburger menü */
    .hamburger {
        right: 50px;  /* Hamburger menünün konumunu sağa yaklaştıralım */
        top: 50%;  
        transform: translateY(-50%);
    }

    /* Overlay ayarları */
    #overlay {
        background-color: rgba(0, 0, 0, 0.5); /* Tablet ekranlarda overlay daha şeffaf olsun */
    }
}















/* ========== ANNOUNCEMENTS (vertical stack, image left / text right) ========== */
/* Roboto tabanlı, 14px ölçek ve beyaz aksan */
:root{
  --ann-bg:#ffffff;
  --ann-surface:#f7f7fb;
  --ann-text:#1f2937;   /* başlık/metin koyu gri */
  --ann-body:#374151;   /* gövde metni */
  --ann-muted:#6b7280;  /* ikincil metin */
  --ann-ring:#e5e7eb;   /* nötr vurgu sınırı */
  --ann-accent:#ffffff; /* turuncu yerine beyaz */
  --ann-shadow:0 8px 24px rgba(15, 23, 42, .08);
  --radius:18px;

  /* Tipografi ölçeği (Roboto 14px taban) */
  --fz-xs:12px;   /* rozet, not */
  --fz-sm:13px;   /* eyebrow, meta */
  --fz-md:14px;   /* açıklama, buton */
  --fz-lg:20px;   /* kart başlık */
  --fz-xl:28px;   /* bölüm başlık */
}

/* container */
.ann-section{
  font-family: 'Roboto', sans-serif;
  padding: 48px 0;
  background: linear-gradient(180deg,#fafafa, #f2f5ff 30%, #fafafa 100%);
}
.ann-container{ max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.ann-header h1{
  margin:0 0 6px;
  font-size: clamp(24px, 3vw, var(--fz-xl));
  font-weight: 700;
  /* color: var(--ann-text); */
  letter-spacing: -0.01em;
}
.ann-header p{ margin:0 0 26px; color: var(--ann-muted); font-size: var(--fz-md); line-height: 1.6; }

/* list */
.ann-list{ display: grid; gap: 18px; }

/* item (card) */
.ann-item{
  display: grid;
  grid-template-columns: 340px 1fr;           /* image left, text right */
  gap: 22px;
  align-items: stretch;
  background: var(--ann-bg);
  border-radius: var(--radius);
  box-shadow: var(--ann-shadow);
  position: relative;
  overflow: clip;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid rgba(0,0,0,.06);
}

/* sol vurgu şeridi (beyaz/nötr) */
/* .ann-item::before{
  content:"";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ffffff, #f3f4f6);
} */

/* highlight */
.ann-item.is-highlight{
  border-color: var(--ann-ring);
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
}
.ann-item:hover{ transform: translateY(-4px); }

/* media (image) */
.ann-media{
    height: auto;
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
    .ann-media {
        aspect-ratio: 16/9;
    }
}

/* body */
.ann-body{
  padding: 20px 22px 18px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
}

/* eyebrow (rozet + zaman) */
.ann-eyebrow{
  display:flex; flex-wrap: wrap; gap:10px; align-items: center;
  font-size: var(--fz-sm); color: var(--ann-muted);
}
.ann-eyebrow time{ font-variant-numeric: tabular-nums; }

/* badges (beyaz temalı) */
.ann-badge{
  --bg:#ffffff; --fg:#374151;
  display:inline-flex; align-items:center; gap:8px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid #e5e7eb;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fz-xs);
  line-height: 1;
}
.ann-badge.neutral{ --bg:#eef2ff; --fg:#3730a3; border-color:#c7d2fe; }
.ann-badge.info{ --bg:#e0f2fe; --fg:#075985; border-color:#bae6fd; }
.ann-badge.success{ --bg:#dcfce7; --fg:#166534; border-color:#bbf7d0; }

/* durum metni */
.ann-status{ color: var(--ann-body); font-weight: 600; font-size: var(--fz-sm); }

/* başlık & metin */
.ann-title{
  margin:0;
  font-size: var(--fz-lg);
  line-height: 1.3;
  color: var(--ann-text);
  letter-spacing: 0;
  font-weight: 700;            /* Roboto başlık ağırlığı */
}
.ann-desc{
  margin:0;
  color: var(--ann-body);
  font-size: var(--fz-md);
  line-height: 1.6;
}
.ann-note{
  margin:0;
  color:#8a8f98;
  font-size: var(--fz-xs);
  font-style: italic;
  line-height: 1.5;
}

/* CTA */
.ann-cta{ display:flex; gap:10px; align-items:center; margin-top: 6px; }
.btn{
  appearance: none;
  border: 1px solid #e5e7eb;
  cursor:pointer;
  font-weight: 600;
  font-size: var(--fz-md);
  padding: 10px 14px;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(0.98); }
.btn:active{ transform: translateY(0); }
.btn.ghost{
  background: transparent;
  color: var(--ann-text);
  border: 1px dashed rgba(0,0,0,.2);
  box-shadow: none;
}

.btn.whatsapp {
  background: #178f43;
  color: #fff;
  border: 1px solid #178f43;
  box-shadow: 0 3px 10px rgba(37, 211, 102, .4);
}
.btn.whatsapp:hover {
  background: #178f43;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, .5);
}

/* Odak (erişilebilirlik) */
.ann-item:focus-within{
  outline: 2px solid #e5e7eb; outline-offset: 2px;
}

/* responsive */
@media (max-width: 900px){
  .ann-item{ grid-template-columns: 300px 1fr; }
}
@media (max-width: 768px){
  .ann-item{ grid-template-columns: 1fr; }
  .ann-media img{ aspect-ratio: 16/9; }
  .ann-body{ padding: 16px; }
  .ann-title{ font-size: 18px; }
}

/* Dark mode (Roboto ile uyumlu) */
@media (prefers-color-scheme: dark){
  :root{
    --ann-bg:#0f1220;
    --ann-surface:#0b0e19;
    --ann-text:#e5e7eb;
    --ann-body:#cbd5e1;
    --ann-muted:#9aa3b2;
    --ann-shadow:0 10px 30px rgba(0,0,0,.35);
    --ann-ring:#374151;
  }
  /* .ann-section{ background: linear-gradient(180deg, #0b0e19, #0a0d18 40%, #0b0e19); } */
  .ann-header p{ color: var(--ann-muted); }
  .ann-item{ border: 1px solid rgba(255,255,255,.06); }
  /* .ann-item::before{ background: linear-gradient(180deg, #1f2937, #0f172a); } */
  .btn{ background:#1f2937; color:#f9fafb; border-color:#374151; }
  .btn.ghost{ border-color: rgba(255,255,255,.18); color: var(--ann-text); }
}
