/* ================================================
   YILDIZGOERER d.o.o — MANTΙ WEBSITE
   Design: Packaging-inspired, EN/HR bilingual
   ================================================ */

:root {
  /* Colours from packaging */
  --rose:        #C9938A;
  --rose-deep:   #A96B61;
  --rose-light:  #E8C4BC;
  --parchment:   #F5EDE4;
  --parchment-2: #EDE0D4;
  --espresso:    #2C1A12;
  --espresso-mid:#5C3828;
  --cream:       #FBF6F0;
  --beige-brush: #D9C4B2;
  --halal-green: #3A6B47;
  --gold:        #B8860B;
  --white:       #FFFFFF;

  /* Type */
  --font-display: 'KLORE_DEMO', 'Georgia', serif;   /* for MANTI headline */
  --font-script:  'Georgia', 'Times New Roman', serif;
  --font-body:    'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===========================
   CUSTOM FONT FACE
   Place KLORE_DEMO.ttf in assets/fonts/
   =========================== */
@font-face {
  font-family: 'KLORE_DEMO';
  src: url('assets/fonts/KLORE_DEMO.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   LANGUAGE SWITCHER
   =========================== */

.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 40px;
  background: rgba(44, 26, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-bar__logo {
  margin-right: auto;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.lang-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(201, 147, 138, 0.3);
  border-radius: 4px;
  padding: 5px 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 237, 228, 0.55);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  min-height: 100vh;
  padding-top: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: var(--espresso);
  overflow: hidden;
}

/* Diagonal split background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    var(--espresso) 0%,
    var(--espresso) 52%,
    var(--rose) 52%,
    var(--rose) 100%
  );
  z-index: 0;
}

.hero__left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 56px 72px 64px;
}

.hero__right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px 60px 24px;
}

/* Big display headline */
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 18px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease) 0.1s both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 12px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.2s both;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.3s both;
}

/* Brushstroke tagline */
.hero__tagline {
  position: relative;
  display: inline-block;
  margin-bottom: 36px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.4s both;
}

.hero__tagline-text {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--parchment);
  position: relative;
  z-index: 2;
  padding: 14px 28px 14px 18px;
}

.hero__tagline-brush {
  position: absolute;
  inset: 0;
  background: rgba(169, 107, 97, 0.55);
  border-radius: 2px;
  transform: skewX(-1deg);
  /* Brushstroke feel via clip-path */
  clip-path: polygon(
    0% 8%, 2% 0%, 98% 3%, 100% 0%,
    100% 88%, 98% 100%, 2% 96%, 0% 100%
  );
}

.hero__description {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.75;
  color: rgba(245, 237, 228, 0.72);
  max-width: 380px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.5s both;
}

.hero__halal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.6s both;
}

.halal-badge {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(58, 107, 71, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 107, 71, 0.15);
  flex-shrink: 0;
}

.halal-badge svg {
  width: 30px;
  height: 30px;
}

.halal-text {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(245, 237, 228, 0.6);
  letter-spacing: 0.04em;
}

.halal-text strong {
  display: block;
  color: rgba(58, 107, 71, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Packaging image on right */
.hero__packaging {
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 24px 64px rgba(44, 26, 18, 0.55));
  opacity: 0;
  animation: packaging-in 1.1s var(--ease) 0.4s both;
  transform-origin: center bottom;
}

@keyframes packaging-in {
  from { opacity: 0; transform: translateY(30px) rotate(-3deg) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) rotate(-2deg) scale(1); }
}

/* Scatter spice dots (decorative) */
.spice-dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0.18;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.spice-dots span {
  width: 4px;
  height: 4px;
  background: var(--rose-deep);
  border-radius: 50%;
  display: block;
}

/* ===========================
   PRODUCT SECTION
   =========================== */

.product-section {
  background: var(--parchment);
  padding: 96px 64px;
  position: relative;
  overflow: hidden;
}

.product-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--espresso);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 60% 100%, 0 40%);
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  display: block;
  flex: 1;
  max-width: 40px;
  height: 1.5px;
  background: var(--rose);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 48px;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(44, 26, 18, 0.08);
  position: relative;
}

.product-card__img-wrap {
  height: 240px;
  overflow: hidden;
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 32px 28px 28px;
}

/* Brush label like on packaging */
.brush-label {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.brush-label__text {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.35;
  color: var(--espresso);
  position: relative;
  z-index: 2;
  padding: 6px 18px 6px 12px;
}

.brush-label__bg {
  position: absolute;
  inset: 0;
  background: var(--parchment-2);
  clip-path: polygon(
    0% 10%, 3% 0%, 97% 2%, 100% 0%,
    100% 90%, 97% 100%, 3% 98%, 0% 100%
  );
  transform: skewX(-1deg);
}

.product-card__name-tr {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--rose-deep);
  margin-bottom: 12px;
}

.product-card__desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(44, 26, 18, 0.6);
  margin-bottom: 20px;
}

.product-card__weight {
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 800;
  color: var(--espresso);
  line-height: 1;
}

.product-card__weight span {
  font-size: 16px;
  font-weight: 400;
  color: rgba(44, 26, 18, 0.45);
  margin-left: 2px;
}

.product-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag--halal {
  background: rgba(58, 107, 71, 0.1);
  color: var(--halal-green);
  border: 1px solid rgba(58, 107, 71, 0.25);
}

.tag--frozen {
  background: rgba(92, 56, 40, 0.07);
  color: var(--espresso-mid);
  border: 1px solid rgba(92, 56, 40, 0.18);
}

/* Product text (right column) */
.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0 20px 20px;
}

.product-info h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  color: var(--espresso);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.product-info .tagline-italic {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--rose-deep);
  line-height: 1.4;
  margin-bottom: 28px;
}

.product-info p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(44, 26, 18, 0.65);
  max-width: 380px;
  margin-bottom: 20px;
}

.ingredients-box {
  background: var(--parchment);
  border-left: 3px solid var(--rose);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(44, 26, 18, 0.6);
  margin-top: 8px;
}

.ingredients-box strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 6px;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-section {
  background: var(--espresso);
  padding: 88px 64px;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: 'MANTΙ';
  font-family: var(--font-display);
  font-size: 320px;
  color: rgba(201, 147, 138, 0.05);
  position: absolute;
  bottom: -40px;
  right: -20px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(245, 237, 228, 0.55);
  max-width: 360px;
  margin-bottom: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(245, 237, 228, 0.08);
}

.contact-row:first-child { padding-top: 0; }

.contact-row__icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 147, 138, 0.12);
  border: 1px solid rgba(201, 147, 138, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row__icon svg {
  color: var(--rose-light);
}

.contact-row__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 4px;
}

.contact-row__value {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 237, 228, 0.8);
}

.contact-row__value a {
  color: var(--rose-light);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-row__value a:hover {
  color: var(--white);
}

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

.site-footer {
  background: #1A0D08;
  padding: 24px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__copy {
  font-size: 11px;
  color: rgba(245, 237, 228, 0.28);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 237, 228, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--rose-light);
}

/* ===========================
   INNER PAGES (Impressum, Datenschutz)
   =========================== */

.inner-page {
  min-height: 100vh;
  background: var(--cream);
  padding-top: 54px;
}

.inner-hero {
  background: var(--espresso);
  padding: 72px 64px 56px;
  position: relative;
  overflow: hidden;
}

.inner-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--rose-light), transparent);
}

.inner-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-light);
  text-decoration: none;
  margin-bottom: 32px;
  transition: opacity 0.2s;
  opacity: 0.7;
}

.inner-hero__back:hover { opacity: 1; }

.inner-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.inner-hero__sub {
  font-size: 13px;
  color: rgba(245, 237, 228, 0.45);
  letter-spacing: 0.04em;
}

.inner-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}

.inner-content h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 40px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--parchment-2);
}

.inner-content h2:first-child { margin-top: 0; }

.inner-content p,
.inner-content address {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(44, 26, 18, 0.72);
  font-style: normal;
  margin-bottom: 8px;
}

.inner-content a {
  color: var(--rose-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 107, 97, 0.3);
  transition: border-color 0.2s;
}

.inner-content a:hover {
  border-color: var(--rose-deep);
}

.notice-box {
  background: var(--parchment);
  border-left: 3px solid var(--rose);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(44, 26, 18, 0.6);
  margin-top: 40px;
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   LANGUAGE TOGGLE
   =========================== */

[data-lang] { display: none; }
[data-lang].active { display: block; }
[data-lang-inline] { display: none; }
[data-lang-inline].active { display: inline; }

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      var(--espresso) 0%,
      var(--espresso) 55%,
      var(--rose) 55%,
      var(--rose) 100%
    );
  }

  .hero__left {
    padding: 40px 28px 36px;
  }

  .hero__right {
    padding: 20px 28px 60px;
    justify-content: flex-start;
  }

  .hero__packaging {
    max-width: 280px;
    transform: rotate(-2deg);
    animation: none;
    opacity: 1;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 32px;
  }

  .product-info {
    padding: 0;
  }

  .product-section {
    padding: 72px 28px 60px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-section {
    padding: 64px 28px;
  }

  .site-footer {
    padding: 20px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .lang-bar {
    padding: 12px 24px;
  }

  .inner-hero {
    padding: 48px 28px 40px;
  }

  .inner-content {
    padding: 40px 24px 64px;
  }

  .contact-section::before {
    font-size: 160px;
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: clamp(64px, 18vw, 96px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
