/* ═══════════════════════════════════════════════════════════════
   Ýüpek ýoly gurluşyk — Modern Static Site Styles
   ═══════════════════════════════════════════════════════════════ */

:root {
  --primary: #128061;
  --primary-dark: #0d6b4f;
  --primary-light: #e8f5f0;
  --accent: #f0a500;
  --text: #2d3748;
  --text-light: #718096;
  --bg-light: #f7f9fc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Roboto Slab', Georgia, serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin: 0 0 0.75rem;
  line-height: 1.3;
  color: var(--text);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══ TOP BAR ═══ */
.top-bar {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #cbd5e0;
  font-size: 13px;
  padding: 0.5rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-info {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.contact-info .icon { margin-right: 0.35rem; }
.lang-switcher {
  display: flex;
  gap: 0.5rem;
}
.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #a0aec0;
  transition: all var(--transition);
}
.lang-link:hover, .lang-link.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.lang-link.active { background: var(--primary); }

/* ═══ HEADER / NAV ═══ */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
}
.logo img {
  border-radius: 4px;
}
.nav-menu {
  display: flex;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.6rem 1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: var(--primary);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ═══ HERO SLIDER ═══ */
.hero-slider {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.slides { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%);
}
.slide-caption {
  position: absolute;
  bottom: 15%;
  left: 5%;
  background: rgba(18, 128, 97, 0.9);
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.slide-caption h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
  z-index: 2;
}
.slider-btn:hover { background: rgba(255,255,255,0.35); }
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }
.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: #fff; transform: scale(1.2); }

/* ═══ SECTIONS ═══ */
.section {
  padding: 4rem 0;
}
.section-light { background: var(--bg-light); }
.section-white { background: var(--bg-white); }

.section-title {
  font-family: var(--font);
  font-size: 1.1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-weight: 600;
}
.section-title span {
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary);
}

.page-header {
  padding: 3rem 0 2rem;
  text-align: center;
}
.page-title {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 128, 97, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ═══ ABOUT PREVIEW ═══ */
.about-preview {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-img img, .about-img-side img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-text p {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.8;
}
.about-full {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.placeholder-logo {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ═══ SERVICES ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-light);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.service-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* ═══ PROJECTS ═══ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-decoration: none;
  border: 1px solid var(--border);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.project-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img img {
  transform: scale(1.05);
}
.project-info {
  padding: 1rem 1.25rem;
}
.project-info h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}

/* Project Detail */
.project-detail {
  max-width: 900px;
  margin: 0 auto;
}
.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ═══ PARTNERS ═══ */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem 0;
}
.partners-grid a {
  opacity: 0.7;
  transition: all var(--transition);
  filter: grayscale(50%);
}
.partners-grid a:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}
.partners-grid img {
  max-height: 80px;
  width: auto;
}

/* ═══ PRODUCTS ═══ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.dairy-grid {
  grid-template-columns: repeat(4, 1fr);
}
.product-card {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  background: var(--bg-white);
  border: 1px solid transparent;
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.product-img {
  margin-bottom: 0.75rem;
}
.product-img img {
  margin: 0 auto;
  border-radius: var(--radius-sm);
  max-height: 200px;
  object-fit: contain;
}
.product-img .img-thumbnail {
  border: 2px solid var(--border);
  padding: 4px;
}
.product-name {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
  padding: 0.25rem 0;
}
.lead-text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  max-width: 800px;
}

/* ═══ CONTACT ═══ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-block h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.contact-item strong {
  color: var(--text);
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #a0aec0;
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-logo {
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.6;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font);
  font-weight: 600;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav a {
  color: #a0aec0;
  font-size: 14px;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }
.footer-col p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  text-align: center;
  font-size: 13px;
  color: #718096;
}

/* ═══ UTILITIES ═══ */
.text-center { text-align: center; }
.img-rounded { border-radius: var(--radius); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-preview, .about-full { grid-template-columns: 1fr; }
  .about-img, .about-img-side { text-align: center; }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .top-bar-inner { flex-direction: column; gap: 0.5rem; }
  .contact-info { gap: 1rem; font-size: 12px; }
  .hero-slider { height: 300px; }
  .slide-caption { padding: 0.75rem 1.5rem; }
  .slide-caption h2 { font-size: 1.1rem; }
  .section { padding: 2.5rem 0; }
  .section-title { font-size: 0.95rem; letter-spacing: 2px; }
  .page-title { font-size: 1.6rem; }
}

@media (max-width: 576px) {
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .dairy-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .partners-grid { gap: 1.5rem; }
  .hero-slider { height: 240px; }
}
