/* ================= RESET ================= */

*{
  box-sizing:border-box;
}

html,body{
  max-width:100%;
  overflow-x:hidden;
}

:root{
  --page-width: 1400px;
  --page-gutter: 24px;
  --header-max-width: 1400px;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:#eef4ee;
  color:#111;
  padding-top:155px;
}

a{
  color:inherit;
  text-decoration:none;
}

/* ================= HEADER ================= */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:9999;
  background:#eef4ee;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
  border-bottom:1px solid #d9e6d8;
}

.navbar{
  max-width:var(--header-max-width);
  margin:0 auto;
  display:grid;
  grid-template-columns:190px 1fr auto;
  align-items:center;
  gap:18px;
  padding:8px 20px;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.brand img{
  height:150px;
  width:auto;
  display:block;
}

.header-title{
  margin:0;
  text-align:center;
  font-size:42px;
  font-weight:700;
  color:#223222;
  line-height:1.05;
  white-space:nowrap;
}

.menu-toggle{
  display:none;
  font-size:28px;
  line-height:1;
  border:1px solid #cfd8cf;
  background:#ffffff;
  color:#223222;
  border-radius:8px;
  padding:8px 12px;
  cursor:pointer;
}

/* ================= NAV ================= */

nav{
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

nav a,
.dropdown-toggle{
  font-size:15px;
  color:#334133;
  cursor:pointer;
}

nav a:hover,
.dropdown-toggle:hover{
  color:#1c7c54;
}

/* ================= DROPDOWN ================= */

.menu-item{
  position:relative;
}

.dropdown-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  border:1px solid #d7e3d6;
  border-radius:10px;
  min-width:230px;
  padding:8px 0;
  box-shadow:0 10px 20px rgba(0,0,0,0.08);
  z-index:1000;
}

.menu-item:hover > .dropdown-menu{
  display:block;
}

.dropdown-menu .menu-item{
  position:relative;
}

.dropdown-menu .dropdown-menu{
  top:0;
  left:100%;
}

.dropdown-menu a{
  display:block;
  padding:10px 14px;
  white-space:nowrap;
}

.dropdown-menu a:hover{
  background:#f1f7f1;
}

/* ================= PAGE CONTAINERS ================= */

main,
.home-page-main,
.market-page,
.database-page{
  width:min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
  margin:30px auto 50px;
  padding:0;
}

.page-shell{
  width:100%;
}

main p,
main li{
  line-height:1.7;
}

/* ================= TYPOGRAPHY ================= */

.section-kicker{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#1c7c54;
  background:#edf6f0;
  border:1px solid #d2e6d8;
  border-radius:999px;
  padding:6px 10px;
  margin-bottom:10px;
}

.lead-text{
  font-size:1.05rem;
  color:#333;
}

/* ================= BREADCRUMBS ================= */

.breadcrumbs{
  width:min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
  margin:16px auto 0;
  padding:0;
  font-size:14px;
  color:#667066;
}

.breadcrumbs a{
  color:#1c7c54;
}

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

/* ================= BUTTON ================= */

.back-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  background:#1c7c54;
  color:#fff;
  border-radius:10px;
  font-weight:700;
}

.back-button:hover{
  background:#166344;
}

/* ================= COMMON BOXES ================= */

.horizontal-database-section,
.slider-panel,
.global-simple-intro,
.global-key-points,
.global-hero-image,
.summary-box,
.simple-table-wrap,
.database-panel,
.table-wrap{
  background:#fcfdfc;
  border:1px solid #dbe6db;
  border-radius:14px;
  box-shadow:0 2px 10px rgba(0,0,0,0.025);
}

.horizontal-database-section,
.slider-panel,
.global-simple-intro,
.global-key-points,
.global-hero-image{
  padding:22px;
  margin-bottom:24px;
}

/* ================= DATABASE PILLS ================= */

.database-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.database-pill{
  padding:12px 18px;
  background:#eef6f0;
  border:1px solid #cfe1d4;
  border-radius:999px;
  font-weight:700;
  color:#1c7c54;
}

.database-pill:hover{
  background:#e4f1e8;
}

/* ================= SLIDER ================= */

.update-slider-shell{
  position:relative;
  overflow:hidden;
  min-height:300px;
}

.update-slider-track{
  position:relative;
  min-height:230px;
}

.slide-item{
  position:absolute;
  inset:0;
  min-height:300px;
  opacity:0;
  transform:translateX(25px);
  transition:all .45s ease;
  background:#fff;
  border:1px solid #dbe6db;
  border-radius:12px;
  padding:22px;
  pointer-events:none;
}

.slide-item.active{
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
}

.slide-item h3{
  margin-top:0;
  margin-bottom:12px;
  font-size:1.35rem;
}

.slide-item p{
  margin:0;
  color:#333;
}

.slider-controls{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:18px;
  gap:16px;
  flex-wrap:wrap;
}

.slider-arrows{
  display:flex;
  gap:10px;
}

.slider-arrow{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid #cfd8cf;
  background:#fff;
  cursor:pointer;
  font-size:20px;
}

.slider-arrow:hover{
  background:#f3f7f3;
}

.slider-meta{
  display:flex;
  align-items:center;
  gap:14px;
}

.slider-count{
  font-size:14px;
  color:#666;
}

.slider-dots{
  display:flex;
  gap:8px;
  align-items:center;
}

.slider-dot{
  width:10px;
  height:10px;
  border:none;
  border-radius:50%;
  background:#c9d0ca;
  cursor:pointer;
  padding:0;
}

.slider-dot.active{
  background:#1c7c54;
}

.slide-media{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:24px;
  align-items:center;
}

.slide-media img{
  width:100%;
  height:auto;
  max-height:260px;
  object-fit:contain;
  display:block;
  border-radius:12px;
  border:1px solid #dbe6db;
  background:#fff;
}

.slide-text-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:220px;
}

.stage-pill-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.stage-pill-list span{
  background:#eef6f0;
  border:1px solid #cfe1d4;
  color:#1c7c54;
  border-radius:999px;
  padding:8px 12px;
  font-weight:700;
  font-size:13px;
}

/* ================= SUMMARY ================= */

.summary-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
  margin-top:20px;
}

.summary-box{
  padding:20px;
  text-align:center;
}

.summary-box h3{
  margin:0 0 6px 0;
  font-size:30px;
  color:#1c7c54;
}

.summary-box p{
  margin:0;
}

/* ================= GLOBAL IMAGE ================= */

.global-hero-image img{
  width:100%;
  max-width:1000px;
  margin:auto;
  display:block;
  border-radius:12px;
}

.global-key-points ul{
  margin:0;
  padding-left:20px;
}

/* ================= TABLES ================= */

.simple-table-wrap,
.table-wrap{
  overflow:auto;
}

.data-table{
  width:100%;
  border-collapse:collapse;
}

.data-table th,
.data-table td{
  padding:12px 14px;
  border-bottom:1px solid #e6ece6;
  text-align:left;
  vertical-align:top;
}

.data-table th{
  background:#f3f8f3;
  font-weight:700;
  position:sticky;
  top:0;
  z-index:2;
}

.dataset-table{
  min-width:1400px;
}

.full-dataset-wrap{
  max-height:950px;
}

/* ================= DATABASE FILTER PANEL ================= */

.database-panel{
  padding:22px;
  margin-bottom:20px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(220px, 1fr));
  gap:14px;
  align-items:start;
}

.field{
  position:relative;
}

.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
  color:#444;
}

.field input{
  width:100%;
  padding:11px 12px;
  border:1px solid #cfd8cf;
  border-radius:8px;
  font-size:14px;
  background:#fff;
}

.field input:focus{
  outline:none;
  border-color:#78a889;
  box-shadow:0 0 0 3px rgba(28,124,84,0.12);
}

.suggestions{
  position:absolute;
  left:0;
  right:0;
  top:74px;
  background:#fff;
  border:1px solid #d7e3d6;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,0.10);
  max-height:240px;
  overflow-y:auto;
  z-index:1000;
  display:none;
}

.suggestion-item{
  padding:10px 12px;
  font-size:14px;
  cursor:pointer;
  border-bottom:1px solid #f0f0f0;
}

.suggestion-item:last-child{
  border-bottom:none;
}

.suggestion-item:hover{
  background:#f1f7f1;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.database-panel button,
.pagination button{
  padding:10px 16px;
  border:1px solid #cfd8cf;
  background:#fff;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
}

.database-panel .primary{
  background:#1c7c54;
  color:#fff;
  border-color:#1c7c54;
}

.status{
  margin-top:14px;
  font-size:14px;
  color:#444;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.chip{
  background:#eef6f0;
  color:#234;
  border:1px solid #d7e4db;
  border-radius:999px;
  padding:6px 10px;
  font-size:13px;
}

.pagination{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.muted{
  color:#666;
  font-size:13px;
}

/* ================= FOOTER ================= */

.site-footer{
  margin-top:60px;
  background:#eef4ee;
}

.footer-inner{
  width:min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:24px;
  padding:30px 0;
}

.site-footer h3{
  margin-top:0;
}

.site-footer a{
  display:block;
  margin-bottom:8px;
}

.footer-bottom{
  text-align:center;
  font-size:13px;
  padding:12px;
  color:#666;
}

/* ================= TURKIYE STRATEGY FRAMES ================= */

.market-chart-frame img{
  width:100%;
  max-width:1100px;
  margin:auto;
  display:block;
  border-radius:12px;
  border:1px solid #dbe6db;
}

.strategy-frame{
  width:100%;
  margin:0 auto 24px auto;
  background:#fcfdfc;
  border:1px solid #dbe6db;
  border-radius:16px;
  box-shadow:0 2px 10px rgba(0,0,0,0.025);
  padding:22px;
  overflow:hidden;
}

.strategy-frame-head{
  margin-bottom:16px;
}

.stage1-frame{
  border-left:8px solid #1c7c54;
}

.stage2-frame{
  border-left:8px solid #c58a10;
}

.stage3-frame{
  border-left:8px solid #7c4cc9;
}

.stage-head-note{
  color:#445244;
  margin:0;
}

.strategy-scroll-box{
  width:100%;
  max-width:100%;
  height:520px;
  overflow:auto;
  border:1px solid #dbe6db;
  border-radius:12px;
  background:#fff;
}

.strategy-scroll-inner{
  min-width:max-content;
}

.strategy-data-table{
  width:max-content;
  min-width:1600px;
  border-collapse:collapse;
  table-layout:auto;
}

.strategy-data-table th,
.strategy-data-table td{
  padding:12px 14px;
  border-bottom:1px solid #e6ece6;
  text-align:left;
  vertical-align:top;
  font-size:14px;
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  max-width:260px;
}

.strategy-data-table th{
  position:sticky;
  top:0;
  z-index:3;
  font-weight:700;
}

.strategy-data-table thead.stage1-head-row th{
  background:#eaf6ef;
  color:#15543a;
}

.strategy-data-table thead.stage2-head-row th{
  background:#fff4dd;
  color:#8a5b00;
}

.strategy-data-table thead.stage3-head-row th{
  background:#f2ebff;
  color:#5a33a3;
}

.strategy-data-table tbody tr:nth-child(even){
  background:#fbfcfb;
}

.strategy-data-table tbody tr:hover{
  background:#f3f8f3;
}

.strategy-scroll-box::-webkit-scrollbar{
  width:12px;
  height:12px;
}

.strategy-scroll-box::-webkit-scrollbar-thumb{
  background:#c8d3c8;
  border-radius:999px;
}

.strategy-scroll-box::-webkit-scrollbar-track{
  background:#eef3ee;
}

/* ================= RESPONSIVE ================= */

@media (max-width:1100px){
  .grid{
    grid-template-columns:repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width:1400px){
  body{
    padding-top:180px;
  }

  .navbar{
    grid-template-columns:1fr auto;
    grid-template-areas:
      "brand toggle"
      "title title"
      "nav nav";
    gap:12px 16px;
  }

  .brand{
    grid-area:brand;
  }

  .header-title{
    grid-area:title;
    font-size:28px;
    text-align:center;
    white-space:normal;
  }

  .menu-toggle{
    grid-area:toggle;
    display:block;
    justify-self:end;
  }

  nav{
    grid-area:nav;
    display:none;
    flex-direction:column;
    width:100%;
    align-items:flex-start;
    gap:0;
    padding-top:10px;
    border-top:1px solid #d9e6d8;
  }

  nav.nav-open{
    display:flex;
  }

  nav > a,
  nav > .menu-item > .dropdown-toggle{
    width:100%;
    padding:10px 0;
  }

  .menu-item{
    width:100%;
  }

  .dropdown-menu{
    position:static;
    display:block;
    min-width:100%;
    border:none;
    box-shadow:none;
    padding:0 0 8px 14px;
    background:transparent;
  }

  .menu-item:hover > .dropdown-menu{
    display:block;
  }

  .dropdown-menu .dropdown-menu{
    left:0;
    top:auto;
  }

  .dropdown-menu a{
    white-space:normal;
    padding:7px 0;
  }

  .brand img{
    height:110px;
  }

  .slide-media{
    grid-template-columns:1fr;
  }
}

@media (max-width:900px){
  .strategy-frame{
    padding:16px;
  }

  .strategy-scroll-box{
    height:460px;
  }

  .strategy-data-table{
    min-width:1300px;
  }

  .slide-media{
    grid-template-columns:1fr;
  }

  .slide-media img{
    max-height:220px;
  }
}

@media (max-width:650px){
  :root{
    --page-gutter: 12px;
  }

  body{
    padding-top:150px;
  }

  .brand img{
    height:90px;
  }

  .header-title{
    font-size:22px;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .footer-inner{
    padding:24px 0;
  }
}
/* ===== HOME PAGE WIDTH ENLARGEMENT ===== */
.page-shell {
  max-width: 1500px;
  width: calc(100% - 48px);
}

/* ===== SPLIT SLIDER LAYOUT ===== */
.split-slider-block {
  width: 100%;
}

.split-slider {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.split-slider-left,
.split-slider-right {
  min-width: 0;
}

/* ===== IMAGE PANEL ===== */
.update-slider-shell {
  width: 100%;
}

.update-slider-track {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.update-slider-track .slide-item {
  display: none;
  width: 100%;
  text-decoration: none;
}

.update-slider-track .slide-item.active {
  display: block;
}

.update-slider-track .slide-item img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border: 1px solid #d9e2d8;
  border-radius: 16px;
  padding: 10px;
  box-sizing: border-box;
}

/* ===== TEXT PANEL ===== */
.split-slider-right {
  border: 1px solid #d9e2d8;
  border-radius: 16px;
  background: #ffffff;
  padding: 34px 30px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.slide-text {
  display: none;
  width: 100%;
}

.slide-text.active {
  display: block;
}

.slide-text h3 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #203526;
}

.slide-text p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin: 0;
  color: #4b5f51;
}

/* ===== CONTROLS ===== */
.split-slider-controls {
  margin-top: 18px;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.slider-arrows {
  display: flex;
  gap: 10px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #cfd8cd;
  background: #ffffff;
  color: #23412c;
  font-size: 1.35rem;
  cursor: pointer;
}

.slider-arrow:hover {
  background: #f3f7f2;
}

.slider-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.slider-count {
  color: #5d6f61;
  font-size: 0.98rem;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #cad4c8;
  cursor: pointer;
  padding: 0;
}

.slider-dot.active {
  background: #2f7a4f;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .split-slider {
    grid-template-columns: 1fr;
  }

  .split-slider-right {
    min-height: auto;
  }

  .update-slider-track {
    min-height: 420px;
  }

  .update-slider-track .slide-item img {
    height: 420px;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .update-slider-track {
    min-height: 300px;
  }

  .update-slider-track .slide-item img {
    height: 300px;
    padding: 6px;
    border-radius: 12px;
  }

  .split-slider-right {
    padding: 22px 18px;
  }

  .slide-text h3 {
    font-size: 1.4rem;
  }

  .slide-text p {
    font-size: 1rem;
    line-height: 1.6;
  }
}
.db-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
}

.db-card-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 220px;
  transition: all 0.25s ease;
}

.db-card-small img {
  width: 220px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.db-card-small span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #2f4f3f;
  text-align: center;
  line-height: 1.2;
}