/* =========================
   RESET & OVERFLOW FIX
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#ffffff;
    color:#374151;
    line-height:1.9;
    overflow-x:hidden; /* Sayfa genelinde sağa taşmayı kesin olarak engeller */
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/* ==================================================
   UZUN KELİME KIRILMA AYARLARI (Özellikle Almanca İçin)
==================================================== */
/* .text-content içindeki paragraflar, listeler, başlıklar ve butonların 
   mobil ekranlarda taşmasını önler, dillerin gramer kurallarına göre heceler. */
.text-content p, 
.text-content li, 
.text-content h1, 
.text-content h2, 
.text-content h3, 
.action-buttons a,
.info-block h3,
.simple-table td,
.simple-table th {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* =========================
   GLOBAL
========================= */
.container{
    width:min(1180px,92%);
    margin:auto;
}

.section{
    padding:70px 0;
}

.page-section{
    padding:70px 0 90px;
}

.section-title{
    margin-bottom:40px;
}

.section-title h1,
.section-title h2{
    font-size:2.3rem;
    font-weight:700;
    color:#0f172a;
    margin-bottom:18px;
    line-height:1.3;
}

.section-divider{
    width:100px;
    height:2px;
    background:#cbd5e1;
}

.text-content p{
    margin-bottom:24px;
    font-size:1.03rem;
    color:#374151;
}

.text-content strong{
    color:#0f172a;
}

.section-subheading{
    font-size:1.25rem;
    font-weight:600;
    color:#0f172a;
    margin: 48px 0 20px;
}

/* =========================
   HEADER (Sabit ve Animasyonlu)
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0f172a;
    border-bottom: 3px solid #c5a021;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    padding: 8px 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 3;
}

.main-nav {
    display: flex;
    align-items: center;
    order: 2;
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list a {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: #f8fafc;
    padding: 6px 0;
    transition: 0.25s ease;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #c5a021;
    transition: 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active { 
    color: #c5a021; 
}

.nav-list a:hover::after,
.nav-list a.active::after { 
    width: 100%; 
}

.mobile-menu-btn { 
    display: none; 
    border: none; 
    background: none; 
    color: #ffffff; 
    font-size: 1.5rem; 
    cursor: pointer; 
}

.logo-area { 
    display: flex; 
    align-items: center; 
    flex-shrink: 0; 
}

.site-logo { 
    height: 48px; 
    width: auto; 
    transition: height 0.4s ease; 
    background: #ffffff; 
    padding: 4px; 
    border-radius: 4px; 
}

.site-header.scrolled .site-logo {
    height: 38px;
}

/* ==================================================
   MOBİL GÖRÜNÜM (Medya Sorgusu - 960px ve altı)
==================================================== */
@media (max-width: 960px) {
    .mobile-menu-btn {
        display: block;
    }

    .header-wrapper {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 4; 
        background: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 999;
        margin-left: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .nav-list a {
        color: #0f172a !important;
        width: 100%;
        display: block;
        padding: 8px 0;
    }

    .nav-list a::after {
        display: none !important; 
    }

    .nav-list a:hover,
    .nav-list a.active {
        color: #c5a021 !important; 
    }
}

/* ==================================================
   KÜÇÜK MOBİL EKRANLAR (640px ve altı)
==================================================== */
@media(max-width:640px){
    .header-wrapper{
        min-height:68px;
    }
  
    .site-logo{
        height:42px;
    }
  
    .section,
    .page-section{
        padding:55px 0;
    }
  
    .hero-banner{
        height:220px;
    }
  
    .hero-content h1{
        font-size:1.6rem;
    }
  
    .hero-date{
        font-size:.95rem;
    }
  
    .section-title h1,
    .section-title h2{
        font-size:1.7rem;
    }
  
    .text-content p{
        font-size:1rem;
    }
}

/* =========================
   HERO / BANNER
========================= */
.hero-banner {
    width: 100%;
    background: #ffffff;
    display: block;
    padding: 0; 
    border-bottom: 1px solid #e2e8f0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
}

@media(max-width:960px){
    .hero-banner{
        height:260px;
    }
}

@media(max-width:640px){
    .hero-banner{
        height:220px;
    }
}

.icerik-alani {
    padding-top: 5rem; 
    padding-bottom: 3rem;
    max-width: 1200px;
    margin: 0 auto; 
} 

.banner-alani {
    position: relative;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04); 
} 

/* =========================
   INFO GRID
========================= */
.info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    margin-top:10px;
}

@media(max-width:960px){
    .info-grid{
        grid-template-columns:1fr;
        gap:50px;
    }
}
  
.info-block h3{
    font-size:1.35rem;
    color:#0f172a;
    margin-bottom:18px;
}
  
.info-block{
    border-top:1px solid #dbe4ee;
    padding-top:20px;
}
  
.date-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}
  
.date-list li{
    padding-bottom:16px;
    border-bottom:1px solid #e5e7eb;
}
  
.date-list strong{
    display:block;
    color:#2563eb;
    margin-bottom:4px;
    font-weight:600;
}
  
.map-frame{
    width:100%;
    height:260px;
    border:none;
    margin-top:20px;
}
  
/* =========================
   TABLES
========================= */
.simple-table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}
  
.simple-table tr{
    border-bottom:1px solid #e5e7eb;
}
  
.simple-table th{
    text-align:left;
    padding:18px 8px;
    color:#0f172a;
    font-weight:600;
}
  
.simple-table td{
    padding:18px 8px;
    color:#374151;
}
  
.simple-table thead tr{
    border-bottom:2px solid #cbd5e1;
}
  
/* =========================
   LISTS
========================= */
.clean-list{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-top:20px;
}
  
.clean-list li{
    position:relative;
    padding-left:18px;
}
  
.clean-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:14px;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#2563eb;
}
  
/* =========================
   FOOTER
========================= */
.site-footer{
    background:#0f172a;
    color:#ffffff;
    margin-top:30px;
}
  
.footer-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    padding:55px 0;
}

@media(max-width:960px){
    .footer-wrapper{
        grid-template-columns:1fr;
    }
}
  
.footer-column h3,
.footer-column h4{
    margin-bottom:16px;
    font-weight:600;
}
  
.footer-column p{
    color:rgba(255,255,255,.75);
    margin-bottom:10px;
}
  
.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:22px 0;
}
  
.footer-bottom p{
    color:rgba(255,255,255,.68);
    font-size:.95rem;
}
  
/* =========================
   MODAL LAYOUT
========================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    transition: .3s ease;
    overflow-y: auto; 
}

.modal-box {
    position: relative;
    width: min(550px, 100%); 
    max-height: 90vh; 
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    flex-direction: column; 
    overflow: hidden; 
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh; 
    object-fit: contain; 
    display: block;
}

.modal-dont-show {
    padding: 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: .25s ease;
    z-index: 9999; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #2563eb;
}

.hide-modal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
  
/* =========================
   İLETİŞİM EKSTRALARI
========================= */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px; 
    margin-bottom: 30px;
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.contact-item:last-child {
    border-bottom: none; 
}

.contact-icon-wrapper {
    background: #eff6ff;
    color: #c5a021; 
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0; 
}

.contact-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

.contact-text p, 
.contact-text a {
    margin: 0;
    color: #374151;
}

.contact-text a {
    color: #2563eb; 
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #c5a021;
}
