/*
Theme Name: Aluman's Metal Blok Tema v3.8
Theme URI: https://www.alumansmetal.com
Author: Aluman's Metal
Description: Gutenberg bloklarıyla tamamen düzenlenebilir Aluman’s Metal WordPress teması. Canlı site uyumluluk düzeltmeleri.
Version: 3.8.0
Text Domain: alumans-metal-blok
*/

:root {
  --am-navy: #0c2b42;
  --am-dark: #071c2b;
  --am-orange: #f5a20b;
  --am-ink: #102e43;
  --am-muted: #647586;
  --am-line: #dbe4ea;
  --am-soft: #f3f6f8;
  --am-green: #1fcf6a;
  --am-green-dark: #12a956;
  --am-shadow: 0 18px 55px rgba(7, 28, 43, .10);
  --am-container: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--am-ink);
  background: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.am-container { width: var(--am-container); margin-inline: auto; }

.am-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 104px;
  border-bottom: 1px solid rgba(16, 46, 67, .1);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
}
.am-header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.am-logo,
.am-logo .custom-logo-link { display: block; }
.am-logo img,
.am-logo .custom-logo {
  width: 285px;
  max-width: 285px;
  max-height: 76px;
  object-fit: contain;
}
.am-primary-nav > ul,
.am-primary-nav .menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.am-primary-nav li { position: relative; list-style: none; }
.am-primary-nav a { display: block; padding: 10px 0; }
.am-primary-nav a:hover { color: var(--am-orange); }
.am-primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  display: none;
  width: 310px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--am-line);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 28, 43, .16);
}
.am-primary-nav li:hover > .sub-menu,
.am-primary-nav li:focus-within > .sub-menu { display: block; }
.am-primary-nav .sub-menu li + li { border-top: 1px solid #edf1f3; }
.am-primary-nav .sub-menu a { padding: 8px 0; font-size: 12px; }
.am-menu-toggle {
  display: none;
  padding: 9px 12px;
  border: 1px solid var(--am-line);
  background: #fff;
  color: var(--am-navy);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.am-page-content > * { margin-block-start: 0; }
.am-page-content > .wp-block-group:not(.alignfull):not(.alignwide),
.am-page-content > .wp-block-columns:not(.alignfull):not(.alignwide),
.am-page-content > .wp-block-heading,
.am-page-content > p,
.am-page-content > ul,
.am-page-content > ol,
.am-page-content > .wp-block-buttons,
.am-page-content > .wp-block-gallery,
.am-page-content > .wp-block-shortcode {
  width: var(--am-container);
  margin-inline: auto;
}
.am-page-content .alignwide {
  width: var(--am-container);
  max-width: 1180px;
  margin-inline: auto;
}
.am-page-content .alignfull {
  width: 100%;
  max-width: none;
}

.am-eyebrow {
  margin: 0 0 14px !important;
  color: var(--am-orange) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/*
 * WordPress may leave a direct paragraph child outside the constrained block
 * flow. Keep section/hero eyebrow labels on the same grid as their headings,
 * without changing eyebrow labels nested inside cards and columns.
 */
.am-page-content .am-section > .am-eyebrow,
.am-page-content .am-inner-hero > .am-eyebrow,
.am-page-content .am-section > .wp-block-group__inner-container > .am-eyebrow,
.am-page-content .am-inner-hero > .wp-block-group__inner-container > .am-eyebrow {
  width: var(--am-container) !important;
  max-width: 1180px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
.am-section {
  padding-top: 88px !important;
  padding-bottom: 88px !important;
}
.am-section > :not(.alignfull),
.am-inner-hero > :not(.alignfull) {
  width: var(--am-container);
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}
.am-section-soft { background: var(--am-soft); }
.am-section-dark { background: var(--am-navy); color: #fff; }
.am-section-dark p { color: #d6e0e7; }
.am-section h2 {
  margin-top: 0;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 600;
  line-height: 1.25;
}
.am-muted { color: var(--am-muted); }

.am-slider {
  position: relative;
  height: min(720px, calc(100vh - 104px));
  min-height: 600px;
  overflow: hidden;
  background: var(--am-dark);
}
.am-slider > .wp-block-group__inner-container {
  width: 100%;
  height: 100%;
}
.am-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100% !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.am-slider:not(.is-ready) > .am-slide:first-of-type {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.am-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.am-slide .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(7, 28, 43, .9), rgba(7, 28, 43, .38) 62%, rgba(7, 28, 43, .16)) !important;
  opacity: 1 !important;
}
.am-slide .wp-block-cover__inner-container {
  width: var(--am-container);
  margin-inline: auto;
}
.am-slide-copy {
  width: min(680px, 100%);
  margin: 0 !important;
}
.am-slide h1,
.am-slide h2 {
  max-width: 680px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.am-slide .am-hero-lead {
  max-width: 630px;
  margin: 0 0 28px;
  color: #f1f5f7;
  font-size: 17px;
}
.am-slider-controls {
  position: absolute;
  z-index: 5;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.am-slider-controls > button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}
.am-slider-dots { display: flex; gap: 7px; }
.am-slider-dots button {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .38);
}
.am-slider-dots button.is-active { background: var(--am-orange); }

.wp-block-button .wp-block-button__link,
.am-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.am-button-light .wp-block-button__link { background: #fff; color: var(--am-dark); }
.am-button-navy .wp-block-button__link { background: var(--am-navy); color: #fff; }
.am-button-outline .wp-block-button__link {
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.am-button-wa .wp-block-button__link,
.am-button-wa {
  background: var(--am-green) !important;
  color: #fff !important;
}

.am-brand-marquee {
  display: flex;
  height: 68px;
  overflow: hidden;
  border-bottom: 1px solid var(--am-line);
  background: #fff;
}
.am-brand-track {
  display: flex !important;
  width: max-content !important;
  min-width: max-content;
  height: 68px;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 52px;
  padding: 0 52px 0 0 !important;
  animation: am-marquee 34s linear infinite;
}
.am-brand-track figure {
  width: 118px !important;
  min-width: 90px;
  margin: 0 !important;
}
.am-brand-track img {
  width: 100%;
  height: 29px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
}
@keyframes am-marquee { to { transform: translateX(-100%); } }
.am-brand-marquee:hover .am-brand-track { animation-play-state: paused; }

.am-audience-strip { margin: 0 !important; }
.am-audience-strip > .wp-block-column {
  min-height: 300px;
  padding: 54px;
  border: 0;
}
.am-audience-strip > .wp-block-column:first-child { background: var(--am-soft); }
.am-audience-strip > .wp-block-column:last-child { background: var(--am-navy); color: #fff; }
.am-audience-strip h2 { margin: 12px 0; font-size: 25px; }
.am-audience-strip p { margin-bottom: 0; }
.am-audience-strip > .wp-block-column:last-child p:not(.am-eyebrow) { color: #d4dfe6; }

.am-section-heading {
  display: grid !important;
  grid-template-columns: 1fr minmax(280px, .62fr);
  gap: 70px;
  align-items: end !important;
  margin-bottom: 38px !important;
}
.home .am-audience-strip + .am-section {
  background: var(--am-soft);
}
.home .am-audience-strip + .am-section .am-section-heading h2 {
  max-width: 760px;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.am-section-heading p:last-child { margin-bottom: 0; color: var(--am-muted); }

.am-service-row { gap: 20px !important; margin-bottom: 20px !important; }
.am-service-card {
  position: relative;
  overflow: hidden;
  padding: 0 0 24px !important;
  border: 1px solid var(--am-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(7, 28, 43, .045);
  transition: transform .25s ease, box-shadow .25s ease;
}
.home .am-service-card figure img { height: 250px; }
.home .am-service-card h3 { font-size: 21px; font-weight: 600; }
.home .am-service-card p { font-size: 15px; line-height: 1.75; }
.home .am-service-card .wp-block-button__link {
  color: #d97800;
  font-size: 14px;
}
.am-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(7, 28, 43, .09);
}
.am-service-card.is-clickable { cursor: pointer; }
.am-service-card.is-clickable:focus-visible {
  outline: 3px solid var(--am-orange);
  outline-offset: 3px;
}
.am-service-card figure { margin: 0 0 22px !important; }
.am-service-card figure img { width: 100%; height: 220px; object-fit: cover; }
.am-service-card h3,
.am-service-card p,
.am-service-card .wp-block-buttons {
  margin-right: 22px !important;
  margin-left: 22px !important;
}
.am-service-card h3 { margin-top: 0; margin-bottom: 10px; font-size: 19px; }
.am-service-card p { color: var(--am-muted); font-size: 14px; }
.am-service-card .wp-block-button__link {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--am-navy);
  font-size: 13px;
}

.am-process-grid { gap: 72px !important; align-items: center !important; }
.am-process-grid figure { margin: 0 !important; }
.am-process-grid figure img { width: 100%; min-height: 540px; object-fit: cover; }
.am-process-list { padding-left: 0; counter-reset: item; list-style: none; }
.am-process-list li {
  position: relative;
  display: block;
  min-height: 72px;
  padding: 17px 0 17px 58px;
  border-bottom: 1px solid var(--am-line);
  overflow-wrap: normal;
  word-break: normal;
}
.am-process-list li::before {
  position: absolute;
  top: 19px;
  left: 0;
  counter-increment: item;
  content: "0" counter(item);
  color: var(--am-orange);
  font-size: 12px;
  font-weight: 700;
}

.am-brand-grid { gap: 16px !important; }
.am-brand-grid > .wp-block-column {
  padding: 26px !important;
  border: 1px solid rgba(255, 255, 255, .16);
}
.am-brand-grid h3 { margin: 13px 0 0; color: #fff; font-size: 18px; }

.am-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px !important;
}
.am-gallery-grid figure { position: relative; margin: 0 !important; overflow: hidden; border-radius: 10px; }
.am-gallery-grid img { width: 100%; height: 310px; object-fit: cover; }
.am-gallery-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 48px 20px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 28, 43, .88));
  font-size: 14px;
}

.am-inner-hero {
  padding-top: 88px !important;
  padding-bottom: 88px !important;
  background: var(--am-navy);
  color: #fff;
}
.am-inner-hero > .wp-block-group__inner-container {
  width: var(--am-container);
  margin-inline: auto;
}
.am-inner-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.14;
}
.am-inner-hero p:not(.am-eyebrow) {
  max-width: 780px;
  margin: 20px 0 0;
  color: #d6e0e7;
  font-size: 17px;
}

.am-service-hero { min-height: 570px !important; }
.am-service-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(7, 28, 43, .94), rgba(7, 28, 43, .62) 58%, rgba(7, 28, 43, .2)) !important;
  opacity: 1 !important;
}
.am-service-hero .wp-block-cover__inner-container {
  width: var(--am-container);
  margin-inline: auto;
}
.am-service-hero-copy { width: min(760px, 100%); margin: 0 !important; }
.am-service-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.am-service-hero p:not(.am-eyebrow) { color: #e1e9ee; font-size: 17px; }

.am-proof-strip {
  gap: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--am-line);
}
.am-proof-strip > .wp-block-column {
  padding: 20px;
  border-left: 1px solid var(--am-line);
  font-size: 13px;
}
.am-proof-strip > .wp-block-column:last-child { border-right: 1px solid var(--am-line); }

.am-two-col { gap: 70px !important; }
.am-highlight-list > * {
  margin: 0 !important;
  padding: 16px 0;
  border-bottom: 1px solid var(--am-line);
}
.am-table table { border-collapse: collapse; }
.am-table td {
  padding: 18px 14px;
  border: 0;
  border-bottom: 1px solid #cbd7df;
  vertical-align: top;
}
.am-table td:first-child { width: 190px; font-weight: 700; }
.am-use-grid { gap: 16px !important; }
.am-use-grid > .wp-block-column {
  padding: 25px !important;
  border: 1px solid var(--am-line);
  border-radius: 10px;
  background: #fff;
}
.am-use-grid h3 { margin: 14px 0 8px; font-size: 18px; }
.am-faq details { padding: 18px 0; border-bottom: 1px solid #cbd7df; }
.am-faq summary { cursor: pointer; font-weight: 700; }
.am-region-grid { gap: 0 !important; }
.am-region-grid > .wp-block-column { padding: 48px !important; background: var(--am-soft); }
.am-region-grid > .wp-block-column:last-child { background: var(--am-navy); color: #fff; }
.am-region-grid > .wp-block-column:last-child p:not(.am-eyebrow) { color: #d4dfe6; }

.am-contact-grid { gap: 60px !important; }
.am-contact-panel { padding: 42px !important; border-radius: 10px; background: var(--am-navy); color: #fff; }
.am-contact-panel h2 { color: #fff; }
.am-contact-panel a { display: block; margin: 8px 0; color: #fff; }
.am-contact-panel hr { border-color: rgba(255, 255, 255, .18); }
.am-quote-form { padding: 34px; border: 1px solid var(--am-line); border-radius: 10px; background: #fff; }
.am-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.am-quote-form label { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 700; }
.am-quote-form input,
.am-quote-form select,
.am-quote-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #cbd7df;
  border-radius: 7px;
  background: #fff;
  color: var(--am-ink);
  font: inherit;
  font-size: 15px;
}
.am-quote-form button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--am-green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.am-form-note { margin-bottom: 0; color: var(--am-muted); font-size: 12px; }

.am-global-cta { padding: 72px 0; background: var(--am-navy); color: #fff; }
.am-global-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.am-global-cta h2 { margin: 0 0 8px; font-size: 28px; }
.am-global-cta p { margin: 0; color: #d6e0e7; }
.am-site-footer { padding: 55px 0 25px; background: var(--am-dark); color: #dbe4ea; }
.am-footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 60px; }
.am-site-footer h3 { color: #fff; font-size: 14px; }
.am-site-footer p,
.am-site-footer a,
.am-site-footer address { font-size: 14px; font-style: normal; }
.am-site-footer a { display: block; margin: 6px 0; }
.am-copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; }
.am-floating-wa {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--am-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(7, 28, 43, .25);
}

/* CookieAdmin kutusunu içeriği ve tercihleri koruyarak daha az baskın gösterir. */
.cookieadmin_consent_inside {
  width: min(360px, calc(100vw - 28px)) !important;
  padding: 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 48px rgba(7, 28, 43, .18) !important;
}
#cookieadmin_notice_title {
  margin: 0 0 8px !important;
  font-size: 16px !important;
}
#cookieadmin_notice {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.cookieadmin_consent_btns { gap: 7px !important; }
.cookieadmin_btn {
  min-height: 36px !important;
  padding: 7px 10px !important;
  font-size: 11px !important;
}
.am-index { padding-top: 70px; padding-bottom: 70px; }
.am-post-card { padding: 25px 0; border-bottom: 1px solid var(--am-line); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .am-brand-track { animation: none; }
  .am-slide { transition: none; }
}

@media (max-width: 960px) {
  .am-menu-toggle { display: block; }
  .am-primary-nav {
    position: absolute;
    top: 104px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 22px 24px;
    border-bottom: 1px solid var(--am-line);
    background: #fff;
  }
  .am-primary-nav.is-open { display: block; }
  .am-primary-nav > ul,
  .am-primary-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .am-primary-nav .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 0 18px;
    border: 0;
    box-shadow: none;
  }
  .am-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .am-process-grid,
  .am-two-col,
  .am-contact-grid { flex-direction: column; gap: 38px !important; }
  .am-service-row { flex-wrap: wrap !important; }
  .am-service-row > .wp-block-column { flex-basis: calc(50% - 10px) !important; }
  .am-use-grid { flex-wrap: wrap !important; }
  .am-use-grid > .wp-block-column { flex-basis: calc(50% - 8px) !important; }
  .am-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-footer-grid { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 600px) {
  :root { --am-container: calc(100% - 32px); }
  .am-site-header { height: 70px; }
  .am-logo img,
  .am-logo .custom-logo { width: 190px; max-width: 190px; max-height: 52px; }
  .am-primary-nav { top: 70px; max-height: calc(100vh - 70px); }
  .am-slider { height: 650px; min-height: 650px; }
  .am-slide h1,
  .am-slide h2 { font-size: 29px; line-height: 1.14; }
  .am-slide .am-hero-lead { font-size: 15px; }
  .am-slider-controls { right: 16px; bottom: 18px; }
  .am-slider-dots { display: none; }
  .am-brand-track { gap: 34px; padding-right: 34px !important; }
  .am-brand-track figure { width: 92px !important; }
  .am-brand-track img { height: 24px; }
  .am-audience-strip { display: block !important; }
  .am-audience-strip > .wp-block-column { min-height: 0; padding: 38px 24px; }
  .am-section { padding-top: 62px !important; padding-bottom: 62px !important; }
  .am-service-row { display: block !important; }
  .am-service-row > .wp-block-column { margin-bottom: 18px; }
  .home .am-audience-strip + .am-section .am-section-heading h2 { font-size: 36px; }
  .am-service-card figure img { height: 210px; }
  .am-process-grid figure img { min-height: 320px; }
  .am-brand-grid,
  .am-use-grid,
  .am-region-grid { display: block !important; }
  .am-brand-grid > .wp-block-column,
  .am-use-grid > .wp-block-column,
  .am-region-grid > .wp-block-column { margin-bottom: 14px; }
  .am-gallery-grid { grid-template-columns: 1fr; }
  .am-gallery-grid img { height: 270px; }
  .am-inner-hero { padding-top: 62px !important; padding-bottom: 62px !important; }
  .am-inner-hero h1 { font-size: 33px; }
  .am-service-hero { min-height: 620px !important; }
  .am-service-hero h1 { font-size: 42px; }
  .am-proof-strip { display: grid !important; grid-template-columns: 1fr 1fr; }
  .am-proof-strip > .wp-block-column { border-bottom: 1px solid var(--am-line); }
  .am-table td { display: block; width: 100% !important; padding: 10px 8px; }
  .am-table td:first-child { padding-bottom: 0; border-bottom: 0; }
  .am-form-grid { grid-template-columns: 1fr; gap: 0; }
  .am-quote-form { padding: 24px 18px; }
  .am-global-cta-inner { align-items: flex-start; flex-direction: column; }
  .am-floating-wa { right: 14px; bottom: 14px; }
}

/* v3.5 — daha katmanlı kurumsal görünüm ve kesintisiz marka şeridi */
.am-section { position: relative; }
.am-section-soft {
  background:
    radial-gradient(circle at 92% 8%, rgba(245, 162, 11, .08), transparent 24rem),
    linear-gradient(180deg, #f8fafb 0%, var(--am-soft) 100%);
}

.am-slide-copy {
  position: relative;
  padding-left: 26px;
}
.am-slide-copy::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--am-orange), rgba(245, 162, 11, .12));
  content: "";
}

.wp-block-button .wp-block-button__link,
.am-button {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(7, 28, 43, .12);
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.wp-block-button .wp-block-button__link:hover,
.am-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 28, 43, .18);
}
.am-button-wa .wp-block-button__link,
.am-button-wa {
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 30px rgba(31, 207, 106, .24) !important;
}
.am-button-wa .wp-block-button__link:hover,
.am-button-wa:hover {
  background: var(--am-green-dark) !important;
  box-shadow: 0 16px 36px rgba(31, 207, 106, .32) !important;
}

.am-brand-marquee { display: block; }
.am-brand-runner {
  display: flex;
  width: max-content;
  min-width: max-content;
  height: 68px;
  animation: am-marquee-v35 32s linear infinite;
  will-change: transform;
}
.am-brand-runner .am-brand-track { animation: none !important; }
.am-brand-marquee:hover .am-brand-runner { animation-play-state: paused; }
@keyframes am-marquee-v35 {
  to { transform: translateX(-50%); }
}

.am-section-heading h2 { position: relative; }
.am-section-heading h2::after {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--am-orange);
  content: "";
}

.am-service-card {
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(7, 28, 43, .07);
}
.am-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 162, 11, .38);
  box-shadow: var(--am-shadow);
}
.am-service-card figure { overflow: hidden; }
.am-service-card figure img { transition: transform .55s ease; }
.am-service-card:hover figure img { transform: scale(1.035); }

.am-gallery-grid figure {
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(7, 28, 43, .10);
}
.am-contact-panel {
  border-radius: 18px;
  background: linear-gradient(145deg, var(--am-navy), var(--am-dark));
  box-shadow: var(--am-shadow);
}
.am-quote-form {
  border-radius: 18px;
  box-shadow: 0 14px 44px rgba(7, 28, 43, .07);
}

@media (max-width: 600px) {
  .am-slide-copy { padding-left: 18px; }
}

/* v3.6 — Alüminyum Doğrama görsel sayfa düzeni */
.am-joinery-hero .wp-block-cover__image-background {
  object-position: center center;
}
.am-image-copy {
  gap: clamp(36px, 6vw, 86px);
}
.am-feature-image {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(7, 28, 43, .14);
}
.am-feature-image img {
  display: block;
  width: 100%;
  min-height: 470px;
  object-fit: cover;
}
.am-system-grid > .wp-block-column {
  min-height: 240px;
  padding: 30px 26px;
}
.am-system-grid h3 {
  margin-top: 12px;
  margin-bottom: 12px;
}
.am-system-grid p:last-child {
  color: var(--am-muted);
  line-height: 1.7;
}
.am-joinery-gallery {
  gap: 18px !important;
  margin-top: 34px;
}
.am-joinery-gallery .wp-block-image {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(7, 28, 43, .12);
}
.am-joinery-gallery .wp-block-image img {
  width: 100%;
  height: 390px;
  transition: transform .6s ease;
  object-fit: cover;
}
.am-joinery-gallery .wp-block-image:hover img {
  transform: scale(1.035);
}
.am-joinery-gallery .wp-element-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: auto !important;
  margin: 0 !important;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: rgba(7, 28, 43, .78);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
@media (max-width: 781px) {
  .am-joinery-hero { min-height: 620px !important; }
  .am-feature-image img { min-height: 340px; }
  .am-joinery-gallery { grid-template-columns: 1fr !important; }
  .am-joinery-gallery .wp-block-image,
  .am-joinery-gallery .wp-block-image img { min-height: 310px; height: 310px; }
}
