/* =========================
   RESET & BASE
========================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  letter-spacing: 0.5px;
  color: #333;
  background-color: #fff8f0;
}

section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 32px; /* UJEDNOLICONY ROZMIAR WSZYSTKICH SEKCJI */
  margin-bottom: 30px;
  color: #ff7f50;
  text-align: center;
}

/* =========================
   HEADER
========================= */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  gap: 10px;
}

.logo {
  height: 80px;
}

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch button {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
}

/* =========================
   DELIKATNE ANIMACJE
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-up {
  transform: scale(0.95);
  transition: transform 0.5s ease;
}

.scale-up:hover {
  transform: scale(1);
}

/* =========================
   HERO / INTRO
========================= */
#hero {
  text-align: center;
  padding: 90px 20px;
  background-color: #ffe4e1;
}

#hero h1 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 15px 30px;
  margin-top: 20px;
  background: linear-gradient(135deg, #ff7f50, #ffa07a);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,127,80,0.5);
}

.hero-cta {
  text-align: center;
  margin-top: 40px;
}

/* =========================
   ABOUT
========================= */
#about {
  max-width: 800px;
  margin: 80px auto;
  text-align: center;
}

#about h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.about-text {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  max-width: 720px;
  margin: 0 auto;
}

}

/* =========================
   FEATURED DESIGNS / GALLERY
========================= */
#featured-designs {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

#featured-designs h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #ff7f50;
}

/* gallery wrapper for spacing */
.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.gallery-grid img {
  width: 100%;
  height: 300px; /* równa wysokość na desktop */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* CTA pod galerią */
.cta-wrapper {
  margin-top: 20px;
  text-align: center;
}

.cta-wrapper .cta-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff7f50, #ffa07a);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-wrapper .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,127,80,0.5);
}

/* =========================
   CONTACT FORM
========================= */
#contact form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
  gap: 15px;
}

#contact input,
#contact textarea {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

#contact button {
  display: inline-block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 14px 34px;
  background: linear-gradient(135deg, #ff7f50, #ffa07a);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#contact button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,127,80,0.5);
  letter-spacing: 0.5px;
}

#contact p {
  margin-bottom: 30px;
  font-size: 17px;
  color: #555;
}
#contact ::placeholder {
  color: #aaa;
  font-size: 15px;
}
/* =========================
   SOCIAL
========================= */
.social-section {
  text-align: center;
  padding: 60px 20px;
  background: transparent;
  margin-top: 40px;
}

.social-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.social-desc {
  font-size: 17px;
  color: #666;
  margin-bottom: 30px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-btn {
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn.pinterest {
  background: #e60023;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social-btn.etsy {
  background: #f1641e;
}

.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 40px 20px;
  background: #fff8f0;  /* spójny z body */
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

footer a {
  color: #ff7f50;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff9966;
}

.footer-links {
  margin-top: 10px;
  font-size: 15px;
}

/* =========================
   ANIMATIONS
========================= */


@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: auto; /* zdjęcia skalują się naturalnie na mobile */
  }

  .site-header {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 400px) {
  body {
    font-size: 16px;
  }

  header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .cta-btn,
  #contact button {
    width: 100%;
    max-width: 280px;
    font-size: 16px;
  }

  h1 {
    font-size: 1.6em;
  }

  .about-text {
    font-size: 15px;
  }
}

@media (min-width: 401px) and (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .header-left img {
    height: 45px;
  }

  .lang-switch button {
    font-size: 14px;
    padding: 6px 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cta-btn,
  #contact button {
    width: 100%;
    font-size: 16px;
  }

  #hero h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  #hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #555;
  }
}

@media (max-width: 600px) {
  #contact input,
  #contact textarea {
    font-size: 16px;
  }
}

/* =========================
   CONTACT FORM FOCUS
========================= */
.contact-form input,
.contact-form textarea {
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#contact input:focus,
#contact textarea:focus {
  border-color: #ff7f50;
  box-shadow: 0 6px 20px rgba(255,127,80,0.25);
  outline: none;
}
#contact input:hover,
#contact textarea:hover {
  border-color: #ffb199;
}
/* =========================
   PREMIUM MICRO ANIMATIONS
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* opcjonalny stagger dla dzieci np. w galerii */
.gallery-grid.fade-in img {
  transition-delay: 0.1s;
}

.gallery-grid.fade-in img:nth-child(1) { transition-delay: 0.1s; }
.gallery-grid.fade-in img:nth-child(2) { transition-delay: 0.2s; }
.gallery-grid.fade-in img:nth-child(3) { transition-delay: 0.3s; }
.gallery-grid.fade-in img:nth-child(4) { transition-delay: 0.4s; }
.gallery-grid.fade-in img:nth-child(5) { transition-delay: 0.5s; }
.gallery-grid.fade-in img:nth-child(6) { transition-delay: 0.6s; }

/* delikatny efekt podniesienia przy hover */
.cta-btn.fade-in:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(255,127,80,0.4);
}
/*subtelna linia jak w brandach fashion (Céline / Totême)*/
.site-header {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
/* =========================
   PREMIUM KOMUNIKAT MAILOWY
========================= */
.form-message {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  animation: fadeUp 0.4s ease forwards;
}

.form-message.success {
  background: #f4f8f6;
  color: #2e6f5c;
  border: 1px solid #cde6dc;
}

.form-message.error {
  background: #fff5f5;
  color: #9b2c2c;
  border: 1px solid #f5c2c7;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
MICRO-COPY UX POD FORMULARZEM
========================= */
.form-microcopy {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #777;
  text-align: center;
}
