.header-logo{
  /* Default width for desktop/header — adjust as needed */
  max-width: 400px;
  height: auto;
  display: block;
}

/* Slightly smaller logo on small screens */
@media screen and (max-width: 767px){
  .header-logo{
    /* Increase mobile logo size for better visibility */
    max-width: 160px;
  }
}

/* Center header buttons (cart, contact button, menu) horizontally and vertically */
.navbar-right-side{
  display: flex !important;
  align-items: center !important; /* vertical centering */
  justify-content: center !important; /* horizontal centering within right-side area */
  gap: 12px;
}

/* Make sure header button has consistent alignment */
.header-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* For very small screens, keep spacing tighter */
@media screen and (max-width: 479px){
  .navbar-right-side{
    gap: 8px;
  }
  /* Slightly smaller logo on very small screens */
  .header-logo{
    max-width: 400px;
  }
}

/* One-page UX improvements */
html {
  scroll-behavior: smooth;
}

/* Active nav link styling for visible section: use accent background + dark text for readability */
.nav-menu .nav-link.active,
.nav-menu .nav-link.w--current,
.nav-menu .nav-link.active .nav-link-text {
  background-color: #FFB606; /* warm yellow accent */
  color: #342B0C !important; /* dark text for contrast */
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Header button (İletişim) active look: dark text on same accent background */
.header-button.active,
.header-button.w--current {
  background-color: #FFB606;
  color: #342B0C !important;
  outline: none;
  box-shadow: 0 6px 18px rgba(51,43,12,0.06);
}

/* Ensure any anchor child text also inherits contrast */
.nav-menu .nav-link.active *,
.header-button.active * {
  color: #342B0C !important;
}

/* Hide Webflow commerce cart UI (visual removal only; keeps runtime JS intact) */
.w-commerce-commercecartwrapper,
.w-commerce-commercecartopenlink,
.w-commerce-commercecartcontainerwrapper {
  display: none !important;
  visibility: hidden !important;
}

/* Fix broken hamburger icon: draw a simple 3-bar icon when Webflow icon is missing */
.menu-button .w-icon-nav-menu {
  position: relative !important;
  display: inline-block !important;
  width: 22px !important;
  height: 2px !important;
  background: #342B0C !important;
  border-radius: 2px !important;
}
.menu-button .w-icon-nav-menu::before,
.menu-button .w-icon-nav-menu::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  width: 22px !important;
  height: 2px !important;
  background: #342B0C !important;
  border-radius: 2px !important;
}
.menu-button .w-icon-nav-menu::before { top: -7px !important; }
.menu-button .w-icon-nav-menu::after  { top: 7px !important; }

/* Ensure hamburger has adequate hit area on small screens */
.menu-button {
  padding: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hide hamburger menu on mobile screens */
@media screen and (max-width: 991px) {
  .menu-button {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Hide Webflow "Made in Webflow" badge that's injected by web.js */
.w-webflow-badge {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Also hide the badge images if they appear separately */
.w-webflow-badge img { display: none !important; }

/* Keep logo left-aligned on smaller screens (navbar uses CSS grid) */
@media screen and (max-width: 991px) {
  /* Ensure brand sits at the start of the grid */
  .navbar-brand {
    justify-self: start !important;
    align-self: center !important;
  }

  /* Make sure the image itself doesn't auto-center */
  .header-logo {
    margin-left: 0 !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media screen and (max-width: 479px) {
  /* Reinforce left alignment on very small screens */
  .navbar-brand { justify-self: start !important; }
}

/* Documents display styling for Belgelerimiz section */
.documents-display-block {
  width: 100%;
  padding: 40px 0;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.document-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(51, 43, 12, 0.15);
}

.document-image-wrapper {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.document-title {
  font-size: 18px;
  font-weight: 600;
  color: #342B0C;
  margin: 0;
  line-height: 1.4;
}

/* Mobile responsive for documents */
@media screen and (max-width: 767px) {
  .documents-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .document-title {
    font-size: 16px;
  }
}
