/* Design DNA: Amasya Bahce | centered minimal hero | orchard-green header | pill-bottom cookie */
/* Fonts: "Satisfy", cursive + "Barlow", sans-serif */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&family=Satisfy&display=swap');

:root {
  --ab-red: #B83A2E;
  --ab-leaf: #3F6B3A;
  --ab-blossom: #F7F0E8;
  --ab-bark: #3A2F28;
  --ab-white: #ffffff;
  --ab-green-light: #eef4ec;
  --ab-green-header: rgba(63, 107, 58, 0.08);
  --ab-font-display: 'Satisfy', cursive;
  --ab-font-body: 'Barlow', sans-serif;
  --ab-radius: 12px;
  --ab-radius-pill: 999px;
  --ab-shadow: 0 4px 24px rgba(58, 47, 40, 0.08);
  --ab-transition: 0.3s ease;
  --ab-max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ab-font-body);
  font-weight: 400;
  color: var(--ab-bark);
  background: var(--ab-blossom);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--ab-leaf);
  text-decoration: none;
  transition: color var(--ab-transition);
}

a:hover {
  color: var(--ab-red);
}

h1, h2, h3 {
  font-family: var(--ab-font-body);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ab-bark);
}

.ab-container {
  width: 100%;
  max-width: var(--ab-max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.ab-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--ab-white) 0%, var(--ab-green-light) 100%);
  border-bottom: 1px solid rgba(63, 107, 58, 0.12);
  backdrop-filter: blur(8px);
}

.ab-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.ab-logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ab-logo__wordmark {
  font-family: var(--ab-font-display);
  font-size: 1.75rem;
  color: var(--ab-leaf);
  line-height: 1;
}

.ab-logo__tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ab-bark);
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.ab-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.ab-nav__list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.ab-nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ab-bark);
  position: relative;
  padding: 0.25rem 0;
}

.ab-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ab-red);
  transition: width var(--ab-transition);
}

.ab-nav__link:hover,
.ab-nav__link--active {
  color: var(--ab-leaf);
}

.ab-nav__link:hover::after,
.ab-nav__link--active::after {
  width: 100%;
}

.ab-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.ab-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ab-leaf);
  transition: var(--ab-transition);
}

.ab-burger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ab-burger--open span:nth-child(2) {
  opacity: 0;
}

.ab-burger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.ab-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.ab-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.ab-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(247, 240, 232, 0.75) 0%,
    rgba(247, 240, 232, 0.55) 50%,
    rgba(63, 107, 58, 0.25) 100%
  );
}

.ab-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem;
  max-width: 680px;
}

.ab-hero__wordmark {
  font-family: var(--ab-font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--ab-leaf);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(247, 240, 232, 0.6);
}

.ab-hero__line {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--ab-bark);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.ab-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--ab-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--ab-radius-pill);
  cursor: pointer;
  transition: all var(--ab-transition);
  text-align: center;
}

.ab-btn--primary {
  background: var(--ab-red);
  color: var(--ab-white);
}

.ab-btn--primary:hover {
  background: #9a3026;
  color: var(--ab-white);
  transform: translateY(-2px);
  box-shadow: var(--ab-shadow);
}

.ab-btn--outline {
  background: transparent;
  color: var(--ab-leaf);
  border: 2px solid var(--ab-leaf);
}

.ab-btn--outline:hover {
  background: var(--ab-leaf);
  color: var(--ab-white);
}

/* Page hero (inner pages) */
.ab-page-hero {
  background: var(--ab-green-light);
  padding: 3rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(63, 107, 58, 0.1);
}

.ab-page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ab-leaf);
  margin-bottom: 0.5rem;
}

.ab-page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

/* Sections */
.ab-section {
  padding: 4rem 0;
}

.ab-section--alt {
  background: var(--ab-white);
}

.ab-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ab-leaf);
  margin-bottom: 0.75rem;
  text-align: center;
}

.ab-section__subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
}

/* Grid */
.ab-grid {
  display: grid;
  gap: 2rem;
}

.ab-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.ab-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ab-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.ab-card {
  background: var(--ab-white);
  border-radius: var(--ab-radius);
  overflow: hidden;
  box-shadow: var(--ab-shadow);
  transition: transform var(--ab-transition);
}

.ab-card:hover {
  transform: translateY(-4px);
}

.ab-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ab-card__body {
  padding: 1.5rem;
}

.ab-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--ab-leaf);
}

.ab-card__text {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Feature row */
.ab-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ab-feature--reverse .ab-feature__img-wrap {
  order: 2;
}

.ab-feature--reverse .ab-feature__text {
  order: 1;
}

.ab-feature__img {
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ab-feature__text h2 {
  font-size: 1.75rem;
  color: var(--ab-leaf);
  margin-bottom: 1rem;
}

.ab-feature__text p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Products list */
.ab-product {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--ab-white);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
}

.ab-product__img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--ab-radius);
  flex-shrink: 0;
}

.ab-product__info h3 {
  font-size: 1.1rem;
  color: var(--ab-leaf);
  margin-bottom: 0.35rem;
}

.ab-product__info p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.ab-product__price {
  font-weight: 600;
  color: var(--ab-red);
  margin-top: 0.5rem;
}

/* Contact form */
.ab-form {
  max-width: 560px;
  margin: 0 auto;
}

.ab-form__group {
  margin-bottom: 1.25rem;
}

.ab-form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ab-bark);
}

.ab-form__input,
.ab-form__textarea,
.ab-form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--ab-font-body);
  font-size: 0.95rem;
  border: 1px solid rgba(58, 47, 40, 0.2);
  border-radius: var(--ab-radius);
  background: var(--ab-white);
  color: var(--ab-bark);
  transition: border-color var(--ab-transition);
}

.ab-form__input:focus,
.ab-form__textarea:focus,
.ab-form__select:focus {
  outline: none;
  border-color: var(--ab-leaf);
}

.ab-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.ab-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.ab-form__checkbox input {
  margin-top: 0.25rem;
  accent-color: var(--ab-leaf);
}

/* Contact info */
.ab-contact-info {
  background: var(--ab-green-light);
  border-radius: var(--ab-radius);
  padding: 2rem;
}

.ab-contact-info h3 {
  color: var(--ab-leaf);
  margin-bottom: 1rem;
}

.ab-contact-info p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.ab-contact-info a {
  color: var(--ab-red);
}

/* Privacy content */
.ab-legal {
  max-width: 760px;
  margin: 0 auto;
}

.ab-legal h2 {
  font-size: 1.25rem;
  color: var(--ab-leaf);
  margin: 2rem 0 0.75rem;
}

.ab-legal h2:first-child {
  margin-top: 0;
}

.ab-legal p,
.ab-legal li {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.ab-legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Footer */
.ab-footer {
  margin-top: auto;
  background: var(--ab-bark);
  color: rgba(247, 240, 232, 0.85);
  padding: 3rem 0 1.5rem;
}

.ab-footer a {
  color: rgba(247, 240, 232, 0.85);
}

.ab-footer a:hover {
  color: var(--ab-white);
}

.ab-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.ab-footer__col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ab-white);
  margin-bottom: 1rem;
  font-family: var(--ab-font-display);
  font-size: 1.15rem;
}

.ab-footer__col p,
.ab-footer__col li {
  font-size: 0.85rem;
  line-height: 1.7;
}

.ab-footer__col ul {
  list-style: none;
}

.ab-footer__col li {
  margin-bottom: 0.4rem;
}

.ab-footer__bottom {
  border-top: 1px solid rgba(247, 240, 232, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Cookie banner */
.ab-cookie {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--ab-white);
  border-radius: var(--ab-radius-pill);
  box-shadow: 0 8px 32px rgba(58, 47, 40, 0.18);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: calc(100% - 2rem);
  width: auto;
  border: 1px solid rgba(63, 107, 58, 0.12);
}

.ab-cookie--hidden {
  display: none;
}

.ab-cookie__text {
  font-size: 0.85rem;
  color: var(--ab-bark);
  max-width: 420px;
}

.ab-cookie__text a {
  color: var(--ab-red);
  text-decoration: underline;
}

.ab-cookie__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.ab-cookie__btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--ab-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  border-radius: var(--ab-radius-pill);
  cursor: pointer;
  transition: all var(--ab-transition);
  white-space: nowrap;
}

.ab-cookie__btn--accept {
  background: var(--ab-leaf);
  color: var(--ab-white);
}

.ab-cookie__btn--accept:hover {
  background: #345a30;
}

.ab-cookie__btn--decline {
  background: transparent;
  color: var(--ab-bark);
  border: 1px solid rgba(58, 47, 40, 0.25);
}

.ab-cookie__btn--decline:hover {
  background: var(--ab-blossom);
}

/* Stats strip */
.ab-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 0;
  background: var(--ab-leaf);
  color: var(--ab-white);
}

.ab-stat {
  text-align: center;
}

.ab-stat__num {
  font-family: var(--ab-font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.ab-stat__label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* CTA strip */
.ab-cta {
  text-align: center;
  padding: 3.5rem 1.25rem;
  background: linear-gradient(135deg, var(--ab-green-light) 0%, var(--ab-blossom) 100%);
}

.ab-cta h2 {
  font-size: 1.75rem;
  color: var(--ab-leaf);
  margin-bottom: 0.75rem;
}

.ab-cta p {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {
  .ab-grid--3,
  .ab-grid--4,
  .ab-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ab-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ab-feature--reverse .ab-feature__img-wrap,
  .ab-feature--reverse .ab-feature__text {
    order: unset;
  }

  .ab-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .ab-burger {
    display: flex;
  }

  .ab-nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--ab-white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: -4px 0 24px rgba(58, 47, 40, 0.1);
    transition: right var(--ab-transition);
    z-index: 99;
  }

  .ab-nav__list--open {
    right: 0;
  }

  .ab-nav__link {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(63, 107, 58, 0.08);
  }

  .ab-grid--2,
  .ab-grid--3,
  .ab-grid--4 {
    grid-template-columns: 1fr;
  }

  .ab-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ab-cookie {
    flex-direction: column;
    border-radius: var(--ab-radius);
    text-align: center;
    padding: 1.25rem;
  }

  .ab-cookie__actions {
    width: 100%;
    justify-content: center;
  }

  .ab-hero {
    min-height: 60vh;
  }
}
