/* ==============================================================
   AYG Galvaniz theme
   Zinc & steel surfaces, graphite darks, logo red as the accent.
   Loaded after style.css / responsive.css; the palette tokens below
   are referenced from those files via var(--...).
================================================================ */

:root {
  --brand: #d7372b;        /* logo red, accent & CTAs (white text 4.6:1) */
  --brand-dark: #b02a20;
  --ink: #141b22;          /* graphite: top bar, dark buttons */
  --steel: #1d2731;        /* dark sections, footer, hover fills */
  --zinc-50: #f5f7f9;
  --zinc-100: #eceff2;     /* zinc-coated sheet tint for gray sections */
  --zinc-300: #cfd6dd;
  --text: #2a323a;
  --muted: #5d6873;

  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Barlow', 'Inter', sans-serif;
}

body {
  background: #ffffff;
  color: var(--muted);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6,
.site-heading h2,
.widget-title,
.btn {
  font-family: var(--font-heading);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.005em;
}

.site-heading h4 {
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn {
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 2px;
}

/* ---------- Top bar & navigation ---------- */
.top-bar-area.bg-dark-hard {
  background: var(--ink);
  border-bottom: 3px solid var(--brand);
}

.top-bar-area a:hover {
  color: #ffffff;
  opacity: 0.8;
}

nav.navbar.bootsnav ul.nav > li > a {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
}

nav.navbar.bootsnav ul.nav > li > a:hover,
nav.navbar.bootsnav ul.nav > li.active > a {
  color: var(--brand) !important;
}

/* ---------- Hero ---------- */
.banner-area .carousel-item .slider-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 27, 34, 0.82) 0%, rgba(20, 27, 34, 0.45) 55%, rgba(20, 27, 34, 0.1) 100%);
}

/* Tablet/phone: the template turns the diagonal into a full-width dark
   overlay; keep it graphite instead of the brand red. */
@media only screen and (max-width: 991px) {
  .theme-brand .banner-area.shape .box-cell::before {
    background: var(--ink);
    opacity: 0.55;
  }
}

.banner-area .content h2 {
  font-weight: 800;
  text-transform: none;
}

/* First slide heading is the page's H1 (SEO); match the slide H2 look. */
.banner-area .content h1 {
  color: #ffffff;
  font-size: 66px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  text-transform: none;
}

@media only screen and (max-width: 767px) {
  .banner-area .content h1 {
    font-size: 36px;
  }
}

/* ---------- Zinc surfaces ---------- */
.bg-gray {
  background-color: var(--zinc-100);
  background-image: linear-gradient(180deg, var(--zinc-50) 0%, var(--zinc-100) 100%);
}

.services-area.icon-only .services-box .item {
  border-top: 3px solid var(--zinc-300);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.services-area.icon-only .services-box .item:hover {
  border-top-color: var(--brand);
  transform: translateY(-4px);
}

.services-area.icon-only .services-box .item > i {
  color: var(--brand);
}

.work-process-area .work-pro-items .item {
  border-top: 3px solid var(--brand);
}

.work-process-area .work-pro-items .item i {
  color: var(--brand);
}

.about-area .info ul li::before {
  color: var(--brand);
}

/* ---------- Dark sections & footer ---------- */
footer.bg-dark {
  background: var(--steel) !important;
  border-top: 4px solid var(--brand);
}

footer .widget-title {
  color: #ffffff;
}

footer a:hover {
  color: #ffffff !important;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 0;
}

/* ---------- Accessibility ---------- */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- Equal-height cards ----------
   Bootstrap 4 rows are flex, so columns already share a height; let the
   card inside each column fill it, and pin "Devamı" links to the bottom. */
.services-area.icon-only .services-box .single-item,
.work-process-area .work-pro-items .single-item,
.blog-area.home-blog .blog-items .single-item {
  display: flex;
}

.services-area.icon-only .services-box .single-item > .item,
.work-process-area .work-pro-items .single-item > .item,
.blog-area.home-blog .blog-items .single-item > .item {
  flex: 1 1 auto;
  width: 100%;
}

.work-process-area .work-pro-items .single-item > .item {
  margin-bottom: 30px;
}

.work-process-area .work-pro-items .item .item-inner {
  height: 100%;
}

.blog-area.home-blog .blog-items .single-item > .item {
  display: flex;
  flex-direction: column;
}

.blog-area.home-blog .blog-items .item .info,
.blog-area.home-blog .blog-items .item .info .content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.blog-area.home-blog .blog-items .item .info .more-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Headings are written in correct Turkish case; don't force "Ve", "İle" etc. */
.site-heading h2,
.banner-area .content h2 {
  text-transform: none;
}

/* Gallery card arrow: the template combines padding with line-height, which
   pushes the icon off-centre inside the 50px circle. Centre it with flex. */
.gallery-area .gallery-items .pf-item .overlay .content > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.gallery-area .gallery-items .pf-item .overlay .content > a i {
  line-height: 1;
}
