:root {
  --bg: #eef4ef;
  --surface: #f6fbf7;
  --surface-strong: #d9eddc;
  --brand: #3d9154;
  --brand-dark: #1e5a30;
  --ink: #2e3a35;
  --ink-soft: #50625a;
  --line: #b7ccc0;
  --radius: 18px;
  --container: 1160px;
  --shadow: 0 15px 34px rgba(45, 73, 53, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -20%, #f9fffb 0%, rgba(249, 255, 251, 0) 35%),
    radial-gradient(circle at 110% 20%, #deefe1 0%, rgba(222, 239, 225, 0) 40%),
    var(--bg);
  line-height: 1.5;
}

h1,
h2,
h3 {
  margin: 0 0 0.65rem;
  line-height: 1.15;
  letter-spacing: 0.2px;
  font-family: "Fraunces", "Palatino Linotype", "Book Antiqua", serif;
}

h1 { font-size: clamp(2rem, 3.1vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.9rem); }

p {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.12vw, 1.1rem);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2.2rem, var(--container));
  margin-inline: auto;
}

.section-block {
  padding: clamp(3.3rem, 7vw, 5.8rem) 0;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 1.6rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 88%, white 12%);
  border-bottom: 1px solid rgba(94, 118, 106, 0.15);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Fraunces", "Palatino Linotype", serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 9px;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  font-weight: 600;
}

.main-nav a {
  color: #3f5049;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-dark);
}

.header-actions {
  display: flex;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 12px;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
}

.btn-solid {
  background: var(--brand);
  color: #fff;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: #2f7d45;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #e0f0e3;
}

.btn-dark {
  background: #111916;
  color: #fff;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #070b09;
}

.btn-outline-dark {
  border-color: #1e2c25;
  color: #101814;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: rgba(14, 27, 21, 0.13);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
}

.hero.section-block {
  padding-top: clamp(1.65rem, 3.5vw, 2.9rem);
  padding-bottom: clamp(1.65rem, 3.5vw, 2.9rem);
}

#hakkimizda.section-block {
  padding-top: clamp(1.65rem, 3.5vw, 2.9rem);
}

.hero-copy p {
  max-width: 56ch;
  margin-bottom: 1.4rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.quick-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  color: #4a6358;
}

.quick-meta strong {
  color: #1a2a22;
}

.hero-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  background: var(--surface);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid #d8e6dc;
}

.info-card img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.9rem;
}

.accent-panel {
  background: linear-gradient(180deg, rgba(86, 154, 102, 0.1), rgba(86, 154, 102, 0.03));
}

.split-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.split-cta .left,
.split-cta .right {
  background: var(--surface);
  border: 1px solid #d3e3d8;
  border-radius: 22px;
  padding: 1.2rem 1.3rem;
}

.split-cta .left {
  background: linear-gradient(150deg, #4e9a62, #3e8954);
  color: #fff;
}

.split-cta .left p {
  color: #e7f5eb;
}

.split-cta .right ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #475d53;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #d4e7d9;
  color: #325242;
}

.eyebrow.dark {
  background: #20482f;
  color: #dff7e5;
}

.product-grid .product-card,
.glass-card,
.wide-card,
.quote-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid #d2e1d7;
}

.product-card {
  padding: 1rem;
}

.product-card img {
  width: 104px;
  height: 74px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  background: #f7fbf8;
}

.why-waffle {
  background: linear-gradient(180deg, #e2efe4, #d7e8db);
}

.glass-card {
  padding: 1rem 1rem 1.1rem;
  background: rgba(244, 250, 246, 0.82);
}

.wide-card {
  margin-top: 1rem;
  padding: 1rem;
}

.contact-band {
  background: linear-gradient(160deg, #459356 0%, #3a8a4e 45%, #2a6f3e 100%);
  color: #0f1712;
}

.contact-band h2,
.contact-band h3 {
  color: #07120b;
}

.contact-band .section-intro {
  color: #102018;
}

.contact-card {
  padding: 1rem;
  border: 2px solid rgba(233, 246, 236, 0.6);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-card a {
  display: inline-block;
  font-size: 1.4rem;
  font-family: "Fraunces", "Palatino Linotype", serif;
  font-weight: 700;
  margin-bottom: 0.35rem;
  word-break: break-word;
}

.contact-card p {
  color: #12261b;
  margin: 0;
}

.contact-banner {
  margin-top: 1rem;
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(120deg, rgba(3, 24, 12, 0.67), rgba(5, 39, 17, 0.72));
  color: #ddf2e3;
}

.contact-banner p {
  margin: 0;
  color: #ddf2e3;
}

.testimonials {
  background: linear-gradient(180deg, #eef4ef 0%, #f5faf6 100%);
  color: var(--ink);
}

.testimonials .section-intro,
.testimonials h2,
.testimonials h3 {
  color: var(--ink);
}

.testimonials .section-intro {
  color: var(--ink-soft);
}

.quote-card {
  padding: 1rem;
  background: var(--surface);
  border-color: #d2e1d7;
  box-shadow: var(--shadow);
}

.quote-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.site-footer {
  padding: 1rem 0 1.4rem;
}

.footer-wrap {
  border-top: 1px solid #c6d7cc;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}

.footer-wrap p {
  margin: 0;
}

body.modal-open {
  overflow: hidden;
}

.whatsapp-modal[hidden] {
  display: none;
}

.whatsapp-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 27, 21, 0.52);
  backdrop-filter: blur(3px);
}

.whatsapp-modal__dialog {
  width: min(100%, 520px);
  background: var(--surface);
  border: 1px solid #c9dbce;
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(16, 32, 24, 0.25);
  padding: 1.15rem 1.15rem 1.25rem;
  position: relative;
}

.whatsapp-modal__dialog h2 {
  margin-bottom: 0.45rem;
}

.whatsapp-modal__dialog p {
  margin-bottom: 1rem;
}

.whatsapp-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #c4d8cb;
  background: #fff;
  color: #2a4338;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.whatsapp-modal__close:hover,
.whatsapp-modal__close:focus-visible {
  background: #e8f3eb;
}

.whatsapp-form {
  display: grid;
  gap: 0.5rem;
}

.whatsapp-form label {
  font-weight: 700;
  color: #2a4338;
}

.whatsapp-form input,
.whatsapp-form textarea {
  border: 1px solid #b9cebf;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: #1f2f29;
  background: #fff;
}

.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
  outline: 2px solid #5fb578;
  outline-offset: 1px;
}

.whatsapp-form__submit {
  margin-top: 0.4rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #22b35f;
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  box-shadow: 0 12px 20px rgba(19, 56, 32, 0.26);
  font-weight: 700;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #15914a;
}

.floating-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    max-height: 460px;
  }

  .contact-card a {
    font-size: 1.2rem;
  }

  .footer-wrap {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .header-wrap {
    min-height: 84px;
  }

  .header-actions .btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.88rem;
  }

  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .whatsapp-modal__dialog {
    padding: 1rem 0.9rem 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    transition: none;
    transform: none;
  }
}
