/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LemonMilk.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LemonMilkbold.otf') format('opentype');
  font-weight: 700;
}
@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LemonMilklight.otf') format('opentype');
  font-weight: 300;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: #2b2b2b;
  background: #f4f4f4;
}

h1, h2, h3, h4, h5, h6 { margin-top: 0; }

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

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

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: #2b2b2b;
}

.navbar-logo img {
  height: 80px;
  padding: 10px 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-links a {
  color: #fff;
  letter-spacing: 1px;
  font-size: 15px;
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-weight: 300;
  padding: 0 16px;
  transition: color 0.3s ease;
}

.navbar-links a:hover { color: #E67E22; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  background: #2b2b2b;
  z-index: 999;
  flex-direction: column;
  padding: 10px 0 20px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: #fff;
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: #E67E22; }

/* ============================================================
   HERO BANNER
   ============================================================ */
.banner {
  height: 100vh;
  background-size: cover !important;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  position: relative;
  color: #fff;
}

.banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
}

.banner-title {
  background: #2b2b2b;
  padding: 14px 24px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.banner-title h1 {
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 0 1px rgba(0,0,0,0.2);
}

.btn-offer {
  display: inline-block;
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  background: rgba(255,0,37,0.85);
  padding: 10px 24px;
  border-radius: 3px;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.btn-offer:hover { background: #FF0025; }

.eu-content {
  max-width: 45%;
  text-align: right;
}

.eu-content p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
  opacity: 0.9;
}

.eu-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.eu-logos img { height: 45px; width: auto; display: inline-block; }

/* ============================================================
   OFFER GRID (categories)
   ============================================================ */
#oferta {
  background: #fff;
  padding: 60px 40px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: #2b2b2b;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.cat-card:hover { transform: scale(1.08); }

.cat-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.cat-card h3 {
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 1px;
  margin: 0;
}

/* ============================================================
   ABOUT / COMPANY SECTION
   ============================================================ */
#zaklad {
  background: #fff;
  padding: 40px 20px 60px;
}

.about-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 860px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}

.info-highlight {
  text-align: left;
}

.info-highlight h1 {
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.info-highlight .year {
  color: #FF0025;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1;
}

.company-description {
  flex: 1;
  min-width: 260px;
  border-left: 2px solid #2b2b2b;
  padding: 0 0 0 30px;
  color: #2b2b2b;
  text-align: right;
}

.company-description h4 { font-size: 17px; margin-bottom: 12px; }
.company-description p { line-height: 1.65; }

/* Company tabs */
.company-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #E8E8E8;
  max-width: 860px;
  margin: 0 auto;
}

.company-tab {
  cursor: pointer;
  padding: 14px 30px;
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 1px;
  color: #999;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.company-tab:hover { color: #2b2b2b; }
.company-tab.active { color: #FF0025; border-bottom-color: #FF0025; }

.tab-panels { max-width: 860px; margin: 0 auto; }

.tab-panel {
  display: none;
  padding: 30px 20px;
  background: #fff;
}

.tab-panel.active { display: block; }

.tab-panel-inner {
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.tab-panel-inner h3 { color: #FF0025; margin-bottom: 8px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#kontakt {
  background: #f4f4f4;
}

.contact-header {
  background: #2b2b2b;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.contact-header h2 {
  margin: 0;
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.address-box {
  background: #fff;
  padding: 60px 40px;
}

.address-box h2 {
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 24px;
}

.address-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.address-detail i { color: #FF0025; font-size: 18px; margin-top: 2px; }
.address-detail p { margin: 0; line-height: 1.5; }

.opening-hours {
  margin-top: 40px;
  border-radius: 3px;
  overflow: hidden;
}

.opening-hours-title {
  background: #FF0025;
  color: #fff;
  padding: 10px 20px;
  margin: 0;
  font-size: 16px;
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
}

.day-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 10px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.day-row:last-child { border-bottom: none; }
.day-row strong { font-size: 14px; }
.day-row span { font-size: 14px; color: #555; }

.map-box {
  min-height: 500px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #f4f4f4;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  border-top: 1px solid #e0e0e0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(0,0,0,0.4);
  font-size: 14px;
}

.footer-links span { opacity: 0.3; }

.footer-credits {
  font-size: 13px;
  color: rgba(0,0,0,0.3);
}

.footer-credits a { color: rgba(0,0,0,0.4); }
.footer-credits a:hover { color: #2b2b2b; }

/* ============================================================
   CATEGORY PAGE BANNER
   ============================================================ */
.category-banner {
  height: 40vh;
  background-size: cover !important;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
  margin-top: 90px;
}

.cat-banner-title {
  position: absolute;
  left: 0;
  bottom: 20px;
  background: #FF0025;
  color: #fff;
  padding: 10px 28px;
  border-radius: 0 3px 3px 0;
  min-width: 300px;
}

.cat-banner-title h1 {
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 300;
  margin: 0;
  letter-spacing: 1px;
}

/* ============================================================
   CATEGORY PAGE CONTENT
   ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2b2b2b;
  font-size: 14px;
  margin: 20px 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.back-link:hover { opacity: 1; }
.back-link::before { content: '←'; font-size: 18px; }

.cat-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  min-height: 60vh;
}

/* Product tabs sidebar */
.products-tabs {
  border-right: 2px solid #E8E8E8;
  padding-right: 0;
}

.product-tab {
  cursor: pointer;
  padding: 14px 20px;
  font-size: 14px;
  color: #666;
  border-right: 3px solid transparent;
  transition: all 0.2s;
  border-bottom: 1px solid #f0f0f0;
  margin-right: -2px;
}

.product-tab:hover { color: #2b2b2b; background: #f9f9f9; }
.product-tab.active { color: #FF0025; border-right-color: #FF0025; background: #fff; font-weight: 600; }

/* Product tab panels */
.product-panels {
  padding: 20px 30px;
}

.product-panel {
  display: none;
  animation: fadeIn 0.2s ease;
}

.product-panel.active { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.product-panel h2 {
  font-family: 'Lemon Milk', 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 1px;
  color: #FF0025;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.product-panel p {
  line-height: 1.75;
  color: #444;
  white-space: pre-line;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-body { grid-template-columns: 1fr; }
  .map-box { min-height: 350px; }
  .map-box iframe { min-height: 350px; }

  .cat-layout { grid-template-columns: 1fr; }
  .products-tabs { border-right: none; border-bottom: 2px solid #E8E8E8; display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 10px; margin-bottom: 10px; }
  .product-tab { border-right: none; border-bottom: 3px solid transparent; border-right: none; margin-right: 0; padding: 8px 14px; }
  .product-tab.active { border-right: none; border-bottom-color: #FF0025; }
  .product-panels { padding: 10px 0; }
}

@media (max-width: 720px) {
  .navbar-links { display: none; }
  .hamburger { display: block; }

  .about-header { flex-direction: column; gap: 20px; }
  .company-description { border-left: none; padding-left: 0; text-align: left; }

  .footer { flex-direction: column; height: auto; padding: 20px; gap: 6px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .eu-content { max-width: 100%; text-align: left; }
  .eu-logos { justify-content: flex-start; }

  .company-tabs { flex-wrap: wrap; }
  .company-tab { padding: 10px 14px; font-size: 11px; }
}

@media (max-width: 480px) {
  .banner { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 15px; }
  .banner-title h1 { font-size: 20px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #oferta { padding: 40px 16px; }
  .cat-layout { padding: 20px 12px 40px; }
  .cat-banner-title { min-width: 200px; }
  .cat-banner-title h1 { font-size: 18px; }
}
