/* Arlang.kz — оранжевая тема по логотипу */

:root {
  --orange: #e85d04;
  --orange-dark: #d45103;
  --orange-light: #f77f00;
  --orange-pale: #fff4ed;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --dark: #212529;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 100px;
  width: auto;
  display: block;
  background: none;
}

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

.nav a {
  color: var(--dark);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--orange);
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}

.btn-header {
  background: var(--orange);
  color: var(--white);
}

.btn-header:hover {
  background: var(--orange-dark);
}

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

.btn-primary:hover {
  background: var(--orange-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 4rem 1.5rem 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .nav.open {
    transform: translateX(0);
  }
  .nav-toggle {
    display: flex;
  }
}

/* Hero — баннер как фон */
.hero {
  position: relative;
  min-height: 420px;
  padding: 4rem 1.5rem 5rem;
  text-align: left;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../banner.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(232, 93, 4, 0.35) 0%, rgba(212, 81, 3, 0.2) 35%, transparent 60%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  max-width: 640px;
}

.hero-image {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.hero .btn {
  background: var(--white);
  color: var(--orange-dark);
}

.hero .btn:hover {
  background: var(--orange-pale);
}

/* Sections */
section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  margin: 0 0 2rem;
  color: var(--gray-600);
  font-size: 1rem;
}

/* Product block */
.product-section {
  background: var(--gray-100);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.2);
  transform: translateY(-2px);
}

.product-card a {
  display: block;
  color: inherit;
}

.product-card .product-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.product-card .icon {
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

.product-card .icon img {
  width: 32px;
  height: 32px;
}

.product-card h3 {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--dark);
}

.product-card p {
  text-align: center;
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* About — оранжевый блок с опытом */
.about-experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .about-experience {
    grid-template-columns: 1fr;
  }
}

.about-orange-block {
  background: var(--orange);
  color: var(--white);
  padding: 2rem;
  border-radius: 12px;
}

.about-orange-block p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.benefit-item {
  text-align: center;
  padding: 1rem;
}

.benefit-item .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.benefit-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--dark);
}

.benefit-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Delivery */
.delivery-section {
  background: var(--gray-100);
}

/* Contacts & Form */
.contacts-section {
  padding-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

.contact-info h4 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--dark);
}

.contact-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-info li {
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

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

.contact-info a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    text-align: center;
  }
}

.logo-footer {
  display: inline-block;
}
.logo-footer img {
  height: 100px;
  width: auto;
  display: block;
}

.footer-tagline {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-links h4,
.footer-contacts h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-links ul,
.footer-contacts ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li,
.footer-contacts li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-links a {
  color: var(--white);
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--orange-light);
}

.footer-contacts a {
  color: var(--orange-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Страницы товаров (пеллеты, лён) */
.page-hero {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: var(--white);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.page-hero p {
  margin: 0;
  opacity: 0.95;
  font-size: 1.05rem;
}

.product-page-section {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.product-page-section .product-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.product-page-section .product-image-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.product-page-section .product-description {
  margin-bottom: 2.5rem;
}

.product-page-section .product-description h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--dark);
}

.product-page-section .product-description h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
  color: var(--dark);
}

.product-page-section .product-description p {
  margin: 0 0 0.75rem;
  color: var(--gray-600);
}

.product-page-section .product-description ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--gray-600);
}

.form-success-message {
  display: none;
  padding: 1rem 1.25rem;
  background: #d4edda;
  color: #155724;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-success-message.visible {
  display: block;
}

.contact-form.hidden-after-submit {
  display: none;
}

.section-description {
  text-align: center;
}

.content {
  flex: 1;
  overflow-y: auto;
}
