/* ===== COLOR VARIABLES ===== */
:root {
  --bg-primary: #FFFAE9;
  --bg-secondary: #F5E6D3;
  --fg-primary: #5E5226;
  --accent: #B91A1A;
}

/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: var(--bg-primary);
  color: var(--fg-primary);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 40px;
}
a { text-decoration: none; color: inherit; }
h1,h2,h3 { margin: 0; }

/* ===== LOGO w prawym dolnym rogu ===== */
.logo-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: auto;
  opacity: 0.3;
  z-index: 1000;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0px;
  padding-bottom: 15px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-primary) 100%);
}

.hero-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: -30px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(1200%) hue-rotate(345deg);
  cursor: pointer;
  transition: transform 0.3s;
  display: inline-block;
}

.hero a:hover .hero-logo {
  transform: scale(1.05);
}

.hero h1 {
  font-size: 100px;
  color: var(--accent);
  margin-bottom: 15px;
}

.hero h2 {
  font-size: 32px;
  color: var(--fg-primary);
}

/* ===== LINIE DEKORACYJNE ===== */
hr.section-divider {
  border: none;
  border-top: 3px solid var(--accent);
  width: 70%;
  margin: 30px auto;
}

/* ===== KIM JESTEM ===== */
.about {
  padding: 20px 20px;
  max-width: 1100px;
  margin: auto;
  background-color: var(--bg-secondary);
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  max-width: 400px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  color: var(--accent);
  font-size: 36px;
  margin-bottom: 20px;
  text-align: left;
}

.about-text p {
  font-size: 18px;
  color: var(--fg-primary);
  text-align: left;
}

/* ===== OFERTY ===== */
.oferty {
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-secondary) 100%);
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.oferty h2 {
  color: var(--accent);
  font-size: 36px;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.oferta-items-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.oferta-item {
  background-color: var(--bg-primary);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 25px;
  width: 100%;
  max-width: 400px;
  margin: 0 20px;
  font-size: 18px;
  line-height: 1.5;
  transition: transform 0.3s;
}

.oferta-item h3 { 
  color: var(--accent); 
  font-size: 20px;
  margin-bottom: 10px; 
}
.oferta-item p { 
  color: var(--fg-primary);
  font-size: 18px;
}
.oferta-item p br { line-height: 2; }

.oferta-item:hover {
  transform: translateY(-5px);
}

/* ===== KONTAKT ===== */
.kontakt {
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  background-color: var(--bg-secondary);
  border-radius: 24px;
}

.kontakt h2 { 
  color: var(--accent); 
  font-size: 36px;
  margin-bottom: 20px; 
}

.kontakt a.button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-primary);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: bold;
  margin: 10px;
  transition: 0.3s;
}

.kontakt a.button:hover { background-color: var(--fg-primary); }

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 1024px) {
  .about-content { gap: 30px; }
}

@media (max-width: 768px) {
  .about-content { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
  .about-text { max-width: 100%; }
  .about-image img { max-width: 90%; }
  .oferta-items-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .hero h2 { font-size: 24px; }
  .about-text p { font-size: 18px; }
}
