/* Baıdeng Tarım — global styles */
:root {
  --color-bg: #f6f4ef;
  --color-surface: #ffffff;
  --color-primary: #1e5c3a;
  --color-primary-dark: #143d27;
  --color-accent: #c4a035;
  --color-text: #1a1f1c;
  --color-muted: #5c6560;
  --font-head: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: Georgia, "Times New Roman", serif;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(20, 61, 39, 0.08);
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--color-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header .logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.site-header .logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.nav {
  display: flex;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

main {
  flex: 1;
  width: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #2a7a52 100%);
  color: #fff;
  padding: 3.5rem 1.25rem 4rem;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.hero p {
  margin: 0;
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 42ch;
}

/* Sections */
.section-title {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-primary-dark);
  margin: 0 0 1rem;
}

.section-lead {
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  max-width: 65ch;
}

/* Logo strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.logo-card {
  margin: 0;
  background: var(--color-surface);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-card--missing {
  color: var(--color-muted);
  font-size: 0.85rem;
  padding: 1rem 1.25rem;
}

/* Product cards */
.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(20, 61, 39, 0.12);
}

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0 0 1.25rem;
}

.product-card__link:hover {
  text-decoration: none;
}

.product-card__img-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #e8ebe9 0%, #dfe6e2 100%);
  overflow: hidden;
}

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

.product-card__img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.product-card h3 {
  font-size: 1.15rem;
  margin: 1rem 1.25rem 0.5rem;
  color: var(--color-primary-dark);
}

.product-card p {
  margin: 0 1.25rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.product-card--large {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
}

@media (max-width: 720px) {
  .product-card--large {
    grid-template-columns: 1fr;
  }
}

.product-card__img-wrap--large {
  aspect-ratio: 16 / 10;
  min-height: 200px;
}

.product-card__body {
  padding: 1.5rem 1.75rem;
}

.product-card--large h2 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: var(--color-primary-dark);
}

.product-card__short {
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.product-card__desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

/* About */
.about-lead {
  font-size: 1.15rem;
  color: var(--color-text);
  margin: 0 0 1.5rem;
}

#about-paragraphs p {
  margin: 0 0 1rem;
  max-width: 70ch;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.values-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(30, 92, 58, 0.12);
  max-width: 65ch;
}

.values-list li:last-child {
  border-bottom: none;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--color-surface);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--color-primary-dark);
}

.contact-card p {
  margin: 0.5rem 0;
  color: var(--color-muted);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #c5cdc8;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--color-primary-dark);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 1.25rem;
  margin-top: auto;
  font-size: 0.9rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.site-footer a {
  color: #fff;
}

.page-header {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(30, 92, 58, 0.2);
  margin-bottom: 2rem;
}

.page-header h1 {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--color-primary-dark);
}

.page-header p {
  margin: 0;
  color: var(--color-muted);
}
