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

* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  color: #6a6a6a;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  background: #fff;
  line-height: 1.65;
}
.wrapper { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* Header */
#kopa-header {
  background: rgba(0,0,0,0.88);
  padding: 12px 0;
}
#logo-image {
  display: flex;
  align-items: center;
  gap: 12px;
}
#logo-image img { max-height: 64px; width: auto; }
#logo-image h1 { margin: 0; font-size: 20px; font-weight: 600; }
#logo-image h1 a { color: #fff; text-decoration: none; }
#logo-image .tagline { color: #bbb; font-size: 12px; margin: 2px 0 0; }

/* Navigation */
nav#main-nav { background: #1a1a1a; }
#main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
#main-menu > li { list-style: none; margin: 0; position: relative; }
#main-menu > li > a {
  display: block;
  padding: 13px 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
#main-menu > li > a:hover,
#main-menu > li.current-menu-item > a { background: #333; }
#main-menu .sub-menu {
  display: none;
  position: absolute;
  background: #1a1a1a;
  min-width: 240px;
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#main-menu li:hover > .sub-menu { display: block; }
#main-menu .sub-menu a {
  display: block;
  padding: 9px 14px;
  color: #ddd;
  text-decoration: none;
  font-size: 13px;
  text-transform: none;
  font-weight: 400;
}
#main-menu .sub-menu a:hover { background: #333; color: #fff; }

/* Content */
#main-content { padding: 30px 0 60px; }
.entry-content { max-width: 920px; margin: 0 auto; }
.entry-content h2 { color: #222; font-size: 22px; margin: 1.6em 0 0.5em; font-weight: 600; }
.entry-content h3 { color: #333; font-size: 17px; margin: 1.4em 0 0.4em; }
.entry-content ul { padding-left: 22px; }
.entry-content li { margin-bottom: 6px; }
.contact-box {
  background: #f5f5f5;
  border-left: 4px solid #222;
  padding: 16px 20px;
  margin: 20px 0;
}
.product-card {
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  overflow: hidden;
  clear: both;
  min-height: 80px;
}
.product-card img {
  max-width: 100px !important;
  max-height: 80px !important;
  width: auto !important;
  height: auto !important;
  float: left;
  margin: 0 12px 4px 0;
  object-fit: contain;
}
.product-card a { color: #222; font-weight: 600; text-decoration: none; font-size: 15px; }
.product-card a:hover { text-decoration: underline; }
.product-card p { margin: 4px 0 0; clear: none; }
.gallery { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.gallery img { max-width: 48%; height: auto; border: 1px solid #eee; }
footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 18px;
  font-size: 12px;
}
footer a { color: #ccc; }
img { max-width: 100%; height: auto; }
.note { font-style: italic; color: #888; }
.price { font-weight: 600; color: #222; }

/* Home page image slider */
.slider {
  position: relative;
  max-width: 800px;
  margin: 1.5rem auto;
  overflow: hidden;
  background: #111;
  border-radius: 4px;
}
.slides {
  display: flex;
  transition: transform 0.5s ease;
}
.slides img {
  min-width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}
.slider-btn:hover { background: rgba(0,0,0,0.8); }
.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }

/* Home page two-column layout */
.home-layout {
  display: flex;
  gap: 24px;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.home-left { flex: 1 1 58%; min-width: 0; }
.home-right { flex: 1 1 38%; }
.home-right ul { margin: 0 0 12px; padding-left: 18px; }
.home-right .contact-box { background: transparent; border: none; padding: 0; margin: 8px 0; }
.catalog-btn {
  display: inline-block;
  background: #4a90d9;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.catalog-btn:hover { background: #3a7bc8; }
@media (max-width: 768px) {
  .home-layout { flex-direction: column; }
  .home-left, .home-right { flex: 1 1 100%; }
}
