/* Madalyon Hakkımızda — BODY ONLY (.madalyon-about-page)
   Header/footer: madalyon-home.css (dokunma) */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500;600&display=swap");

/* Hide Odoo chrome when about body class is set (home CSS may load later) */
body.madalyon-about header#top,
body.madalyon-about header.o_header_standard,
body.madalyon-about .o_main_header,
body.madalyon-about #wrapwrap > header,
body.madalyon-about footer#bottom,
body.madalyon-about footer.o_footer,
body.madalyon-about .o_footer,
body.madalyon-about .o_footer_copyright,
body.madalyon-about #wrapwrap > footer {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.madalyon-about #wrapwrap,
body.madalyon-about main,
body.madalyon-about #wrap {
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
}

/* Shared chrome tokens (footer/header) when page is not .madalyon-site */
body.madalyon-about {
  --m-dark: #171512;
  --m-dark-2: #24211d;
  --m-text: #1b1916;
  --m-muted: #77716a;
  --m-light: #f3efe9;
  --m-border: rgba(27, 25, 22, 0.14);
  --m-serif: "Cormorant Garamond", "Times New Roman", serif;
  --m-sans: Inter, system-ui, sans-serif;
  --m-container: 1360px;
  --m-pad: clamp(20px, 4vw, 56px);
}

/* Footer contrast insurance — markup unchanged, only visibility */
body.madalyon-about footer.madalyon-footer {
  background: #24211d !important;
  color: rgba(243, 239, 233, 0.82) !important;
}
body.madalyon-about footer.madalyon-footer .m-logo,
body.madalyon-about footer.madalyon-footer .m-logo span,
body.madalyon-about footer.madalyon-footer h4,
body.madalyon-about footer.madalyon-footer a,
body.madalyon-about footer.madalyon-footer li,
body.madalyon-about footer.madalyon-footer .madalyon-footer__bottom,
body.madalyon-about footer.madalyon-footer .madalyon-footer__bottom a {
  color: rgba(243, 239, 233, 0.88) !important;
}
body.madalyon-about footer.madalyon-footer h4 {
  color: #f3efe9 !important;
}
body.madalyon-about footer.madalyon-footer .m-social a {
  color: #f3efe9 !important;
  border-color: rgba(243, 239, 233, 0.35) !important;
}

.madalyon-about-page {
  --m-bg: #ffffff;
  --m-warm: #f7f4ef;
  --m-warm-2: #f8f6f2;
  --m-warm-3: #f6f3ee;
  --m-text: #1b1916;
  --m-muted: #746d66;
  --m-accent: #9a806a;
  --m-border: #e8e3dd;
  --m-dark: #211c18;
  --m-dark-2: #29231e;
  --m-serif: "Cormorant Garamond", "Times New Roman", serif;
  --m-sans: Inter, system-ui, sans-serif;
  --m-container: 1360px;
  --m-pad: clamp(18px, 3.5vw, 48px);
  --m-section: clamp(80px, 10vw, 120px);

  background: #fff;
  color: var(--m-text);
  font-family: var(--m-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.madalyon-about-page .m-container {
  width: min(100% - (var(--m-pad) * 2), var(--m-container));
  margin-inline: auto;
}

.madalyon-about-page .m-eyebrow {
  font-family: var(--m-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin: 0 0 1rem;
}

.madalyon-about-page h1,
.madalyon-about-page h2,
.madalyon-about-page h3 {
  font-family: var(--m-serif);
  font-weight: 400;
  line-height: 1.12;
  color: var(--m-text);
  margin: 0;
}

.madalyon-about-page p {
  margin: 0 0 1rem;
  color: var(--m-muted);
}

.madalyon-about-page p:last-child {
  margin-bottom: 0;
}

.madalyon-about-page .m-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m-text) !important;
  text-decoration: none !important;
}

.madalyon-about-page .m-cta-link:hover .m-cta-arrow {
  transform: translateX(4px);
}

.madalyon-about-page .m-cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.madalyon-about-page .m-media {
  position: relative;
  overflow: hidden;
  background: #ece8e3;
  margin: 0;
}

.madalyon-about-page .m-media > img {
  position: absolute;
  inset: 0;
  /* Website editor bazen img içine sabit px style enjekte edebiliyor.
     Inline width/height responsive davranışı bozmasın diye !important kullanıyoruz. */
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.madalyon-about-page .m-media:hover > img {
  transform: scale(1.02);
}

.madalyon-about-page .m-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #ebe6df 0%, #d9d2c8 100%);
  z-index: 0;
}

.madalyon-about-page .m-ph--dark {
  background: linear-gradient(145deg, #3a342e 0%, #211c18 100%);
}

.madalyon-about-page .m-ph--warm {
  background: linear-gradient(145deg, #e8dfd2 0%, #cbb9a4 100%);
}

.madalyon-about-page .m-media:has(> img[src]:not([src=""])) > .m-ph {
  opacity: 0;
  pointer-events: none;
}

.madalyon-about-page .m-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.madalyon-about-page .m-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .madalyon-about-page .m-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .madalyon-about-page .m-media:hover > img {
    transform: none;
  }
}

/* —— 01 Hero —— */
.madalyon-about-page .m-about-hero {
  position: relative;
  height: clamp(650px, 78vh, 900px);
  display: flex;
  align-items: flex-end;
  color: #f3efe9;
  overflow: hidden;
}

.madalyon-about-page .m-about-hero__bg {
  position: absolute;
  inset: 0;
}

.madalyon-about-page .m-about-hero__bg img {
  object-position: 58% center;
}

.madalyon-about-page .m-about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(20, 16, 13, 0.62) 0%,
    rgba(20, 16, 13, 0.32) 38%,
    rgba(20, 16, 13, 0.05) 72%
  );
  pointer-events: none;
}

.madalyon-about-page .m-about-hero__content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  margin-left: max(var(--m-pad), calc((100% - var(--m-container)) / 2));
  margin-right: auto;
  width: auto;
  padding-bottom: clamp(64px, 12vh, 120px);
  padding-top: 100px;
}

.madalyon-about-page .m-about-hero .m-eyebrow,
.madalyon-about-page .m-about-hero h1,
.madalyon-about-page .m-about-hero__tags {
  color: #f3efe9 !important;
}

.madalyon-about-page .m-about-hero .m-eyebrow {
  opacity: 0.9;
}

.madalyon-about-page .m-about-hero h1 {
  font-size: clamp(42px, 5.2vw, 76px);
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 18px rgba(20, 16, 13, 0.35);
}

.madalyon-about-page .m-about-hero__tags {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
  margin: 0;
}

/* —— 02 Brand —— */
.madalyon-about-page .m-about-brand {
  padding: var(--m-section) 0;
  background: #fff;
}

.madalyon-about-page .m-about-brand__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 8vw, 120px);
  align-items: start;
}

.madalyon-about-page .m-about-brand h2 {
  font-size: clamp(34px, 3.6vw, 56px);
}

.madalyon-about-page .m-about-brand__right p {
  font-size: 16px;
  max-width: 42ch;
}

/* —— 03 Story —— */
.madalyon-about-page .m-about-story {
  padding: 0 0 var(--m-section);
  background: #fff;
}

.madalyon-about-page .m-about-story__grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.madalyon-about-page .m-about-story__media {
  aspect-ratio: 4 / 3;
}

.madalyon-about-page .m-about-story__media img {
  object-position: center center;
}

.madalyon-about-page .m-about-story h2 {
  font-size: clamp(34px, 3.4vw, 52px);
  margin-bottom: 1.25rem;
}

.madalyon-about-page .m-about-story__content p {
  max-width: 40ch;
}

/* —— 04 Manifesto —— */
.madalyon-about-page .m-about-manifesto {
  background: var(--m-warm-2);
  padding: clamp(80px, 9vw, 100px) 0;
  text-align: center;
}

.madalyon-about-page .m-about-manifesto__inner {
  max-width: 980px;
}

.madalyon-about-page .m-about-manifesto h2 {
  font-size: clamp(36px, 4vw, 58px);
  margin-bottom: 3rem;
}

.madalyon-about-page .m-about-manifesto__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.madalyon-about-page .m-about-manifesto__cols p {
  margin: 0;
  padding: 0 1.5rem;
  font-family: var(--m-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  color: var(--m-text);
}

.madalyon-about-page .m-about-manifesto__cols p + p {
  border-left: 1px solid #ded8d1;
}

/* —— 05 Details —— */
.madalyon-about-page .m-about-details {
  padding: var(--m-section) 0;
  background: #fff;
}

.madalyon-about-page .m-about-details__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.madalyon-about-page .m-about-details__main {
  aspect-ratio: 4 / 5;
}

.madalyon-about-page .m-about-details__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 2.5rem;
}

.madalyon-about-page .m-about-details__thumbs .m-media {
  aspect-ratio: 4 / 5;
}

.madalyon-about-page .m-about-details h2 {
  font-size: clamp(32px, 3vw, 46px);
  margin-bottom: 1rem;
}

.madalyon-about-page .m-about-details__copy p {
  max-width: 38ch;
}

/* —— 06 Manufacturing —— */
.madalyon-about-page .m-about-mfg {
  background: var(--m-dark);
  color: #f3efe9;
}

.madalyon-about-page .m-about-mfg__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.35fr;
  min-height: clamp(480px, 55vh, 600px);
}

.madalyon-about-page .m-about-mfg__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) var(--m-pad);
  background: var(--m-dark);
}

.madalyon-about-page .m-about-mfg .m-eyebrow {
  color: #c4a68a !important;
}

.madalyon-about-page .m-about-mfg h2 {
  color: #f3efe9 !important;
  font-size: clamp(34px, 3.6vw, 52px);
  margin-bottom: 1.25rem;
}

.madalyon-about-page .m-about-mfg__loc {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 239, 233, 0.78) !important;
}

.madalyon-about-page .m-about-mfg__media {
  min-height: 100%;
  height: 100%;
}

.madalyon-about-page .m-about-mfg__media img {
  object-position: 62% center;
}

/* —— 07 Values —— */
.madalyon-about-page .m-about-values {
  padding: clamp(72px, 8vw, 90px) 0;
  background: #fff;
  border-bottom: 1px solid var(--m-border);
}

.madalyon-about-page .m-about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.madalyon-about-page .m-about-values article {
  padding: 0 1.5rem;
}

.madalyon-about-page .m-about-values article + article {
  border-left: 1px solid #e4ded8;
}

.madalyon-about-page .m-about-values .m-eyebrow {
  margin-bottom: 0.75rem;
}

.madalyon-about-page .m-about-values h3 {
  font-family: var(--m-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.madalyon-about-page .m-about-values p:last-child {
  font-size: 14px;
  line-height: 1.55;
  max-width: 22ch;
}

/* —— 08 Stats —— */
.madalyon-about-page .m-about-stats {
  background: var(--m-warm-3);
  padding: clamp(64px, 7vw, 88px) 0;
}

.madalyon-about-page .m-about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.madalyon-about-page .m-about-stats__num {
  font-family: var(--m-serif);
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1;
  color: #1b1916 !important;
  margin: 0 0 0.65rem;
  min-height: 1.1em;
}

.madalyon-about-page .m-about-stats__label {
  font-size: 13px;
  color: #746d66 !important;
  margin: 0;
}

/* —— 09 People —— */
.madalyon-about-page .m-about-people {
  background: var(--m-warm);
  padding: var(--m-section) 0;
}

.madalyon-about-page .m-about-people__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.madalyon-about-page .m-about-people h2 {
  font-size: clamp(32px, 3.2vw, 48px);
  margin-bottom: 1rem;
}

.madalyon-about-page .m-about-people__copy p {
  max-width: 36ch;
}

.madalyon-about-page .m-about-people__media {
  aspect-ratio: 1.8 / 1;
}

.madalyon-about-page .m-about-people__media img {
  object-position: center center;
}

/* —— 10 Final CTA —— */
.madalyon-about-page .m-about-final {
  position: relative;
  min-height: clamp(520px, 62vh, 660px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.madalyon-about-page .m-about-final__bg {
  position: absolute;
  inset: 0;
}

.madalyon-about-page .m-about-final__bg img {
  object-position: 62% center;
}

.madalyon-about-page .m-about-final__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(20, 16, 13, 0.7) 0%,
    rgba(20, 16, 13, 0.25) 42%,
    transparent 78%
  );
  pointer-events: none;
}

.madalyon-about-page .m-about-final__content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  margin-left: max(var(--m-pad), calc((100% - var(--m-container)) / 2));
  margin-right: auto;
  width: auto;
  padding-bottom: clamp(48px, 8vh, 88px);
  padding-top: 80px;
}

.madalyon-about-page .m-about-final h2 {
  color: #f3efe9 !important;
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 16px rgba(20, 16, 13, 0.4);
}

.madalyon-about-page .m-about-final .m-cta,
.madalyon-about-page .m-about-final .m-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 22px;
  border: 1px solid rgba(243, 239, 233, 0.55);
  color: #f3efe9 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.madalyon-about-page .m-about-final .m-cta-ghost:hover {
  background: rgba(243, 239, 233, 0.1);
  border-color: #f3efe9;
}

/* —— Tablet —— */
@media (max-width: 1024px) {
  .madalyon-about-page .m-about-hero {
    height: clamp(620px, 72vh, 760px);
  }

  .madalyon-about-page .m-about-hero__bg img {
    object-position: 60% center;
  }

  .madalyon-about-page .m-about-brand__grid,
  .madalyon-about-page .m-about-story__grid {
    gap: 36px;
  }

  .madalyon-about-page .m-about-details__grid {
    grid-template-columns: 1fr 1fr;
  }

  .madalyon-about-page .m-about-mfg__inner {
    grid-template-columns: 1fr 1.2fr;
  }

  .madalyon-about-page .m-about-values__grid,
  .madalyon-about-page .m-about-stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
  }

  .madalyon-about-page .m-about-values article:nth-child(3),
  .madalyon-about-page .m-about-values article:nth-child(4) {
    border-top: 1px solid #e4ded8;
    padding-top: 1.75rem;
  }

  .madalyon-about-page .m-about-values article:nth-child(odd) {
    border-left: 0;
  }

  .madalyon-about-page .m-about-values article:nth-child(even) {
    border-left: 1px solid #e4ded8;
  }

  .madalyon-about-page .m-about-people__grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

/* —— Mobile —— */
@media (max-width: 767px) {
  .madalyon-about-page .m-about-hero {
    height: 72svh;
    min-height: 560px;
  }

  .madalyon-about-page .m-about-hero__bg img {
    object-position: 68% center;
  }

  .madalyon-about-page .m-about-hero__content {
    margin-left: var(--m-pad);
    max-width: none;
    padding-bottom: 56px;
  }

  .madalyon-about-page .m-about-hero h1 {
    font-size: clamp(40px, 11vw, 48px);
  }

  .madalyon-about-page .m-about-brand__grid,
  .madalyon-about-page .m-about-story__grid,
  .madalyon-about-page .m-about-details__grid,
  .madalyon-about-page .m-about-people__grid,
  .madalyon-about-page .m-about-mfg__inner {
    grid-template-columns: 1fr;
  }

  .madalyon-about-page .m-about-manifesto__cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .madalyon-about-page .m-about-manifesto__cols p,
  .madalyon-about-page .m-about-manifesto__cols p + p {
    border: 0;
    padding: 0;
  }

  .madalyon-about-page .m-about-details__thumbs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    margin-bottom: 1.75rem;
    -webkit-overflow-scrolling: touch;
  }

  .madalyon-about-page .m-about-details__thumbs .m-media {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }

  .madalyon-about-page .m-about-mfg__media {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .madalyon-about-page .m-about-values__grid {
    grid-template-columns: 1fr;
  }

  .madalyon-about-page .m-about-values article,
  .madalyon-about-page .m-about-values article + article,
  .madalyon-about-page .m-about-values article:nth-child(n) {
    border: 0 !important;
    padding: 0 0 1.75rem;
  }

  .madalyon-about-page .m-about-stats__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }

  .madalyon-about-page .m-about-people__copy {
    order: 1;
  }

  .madalyon-about-page .m-about-people__media {
    order: 2;
  }

  .madalyon-about-page .m-about-final {
    min-height: 520px;
  }

  .madalyon-about-page .m-about-final__content {
    margin-left: var(--m-pad);
    max-width: none;
  }
}
