/* Reset i podstawy */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  line-height: 1.6;
  background-color: #f7f4f0;
}

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

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

/* Siatka główna */

.container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

/* Header */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo img {
  height: 110px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0%;
  height: 2px;
  background-color: #c79b63; /* akcent */
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.hero-text p {
  font-size: 1.05rem;
  max-width: 30rem;
  margin-bottom: 1.5rem;
}

.hero-image img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-left: 320px;  
}

}
}

}

.hero-placeholder {
  border-radius: 1.25rem;
  border: 1px dashed rgba(0,0,0,0.2);
  padding: 3rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  background: rgba(255,255,255,0.7);
}

/* Sekcje */

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background-color: #fffaf4;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.section-intro {
  margin-top: 0;
  margin-bottom: 1.75rem;
  max-width: 40rem;
  color: #555;
}

/* Produkty */

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

.product-card {
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.product-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.product-content {
  padding: 1rem 1.1rem 1.2rem;
}

.product-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.product-content p {
  margin: 0 0 0.4rem;
}

.product-price {
  font-weight: 600;
  color: #b27730;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-form {
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(0,0,0,0.15);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #c79b63;
  outline-offset: 1px;
}

/* Przyciski */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background-color: #c79b63;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
}

.btn:hover {
  background-color: #b27730;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  background-color: #ffffff;
  color: #b27730;
  border: 1px solid #e0c5a1;
}

.btn-secondary:hover {
  background-color: #fff4e3;
}

/* Stopka */

.site-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  background-color: #ffffff;
}

.footer-inner {
  padding: 1rem 0 1.3rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.small {
  font-size: 0.8rem;
  color: #777;
}

/* Responsywność */

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

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

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
