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

:root {
  --primary: #1E6FBF;
  --accent:  #FFD700;
  --bg:      #F4F8FF;
  --white:   #FFFFFF;
  --text:    #1A1A2E;
  --shadow:  0 4px 20px rgba(30,111,191,.15);
  --radius:  12px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== UTILITIES ===== */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: .5rem;
}
.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-primary { background: var(--accent); color: var(--text); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-cta { background: var(--primary); color: var(--white); }
.btn-wa  { background: #25D366; color: var(--white); }
.btn-social-fb { background: #1877F2; color: #fff; }
.btn-social-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: .8rem 0;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  transition: color .3s;
}
#navbar.scrolled .nav-brand { color: var(--primary); }
.nav-brand img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}
.nav-links a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  transition: color .2s;
  position: relative;
  padding-bottom: 3px;
}
#navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }
#navbar.scrolled .nav-links a:hover { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: background .3s, transform .3s, opacity .3s;
}
#navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: .9rem 1rem;
    color: var(--text) !important;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
  }
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a1a3c;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(10,40,100,.75) 0%, rgba(10,40,100,.35) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 1rem 3rem;
  max-width: 750px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
  font-size: .85rem;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}
#hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-subsub {
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 768px) {
  #hero { min-height: 60vh; }
}

/* ===== O NAS ===== */
#o-nas { padding: 5rem 0; background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: .8rem; }
.feature-card h3 { color: var(--primary); font-weight: 800; margin-bottom: .4rem; }
.feature-card p  { font-size: .9rem; color: #555; }
.about-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
}

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

/* ===== OFERTA ===== */
#oferta { padding: 5rem 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.products-grid-single {
  display: grid;
  grid-template-columns: minmax(280px, 420px);
  gap: 2rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.product-card:hover { transform: translateY(-4px); }
.product-img {
  width: 100%; height: 240px;
  object-fit: cover;
}
.product-info { padding: 1.5rem; }
.product-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .5rem;
}
.product-dims {
  font-size: .88rem;
  color: #666;
  margin-bottom: .8rem;
  font-weight: 600;
}
.product-dims span {
  display: inline-block;
  background: var(--bg);
  border-radius: 6px;
  padding: .2rem .6rem;
  margin: .2rem .2rem 0 0;
}
.product-desc { font-size: .95rem; color: #555; }

/* Gallery grid */
.gallery-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.2rem;
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,111,191,.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
  font-size: 2rem;
  color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Okazje tags */
.occasions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 2rem;
}
.occasion-tag {
  background: var(--primary);
  color: var(--white);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 700;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  user-select: none;
}
.lightbox.active { display: flex; }

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
  transition: opacity .2s;
  pointer-events: none;
  display: block;
}
.lightbox img.fading { opacity: 0; }

.lightbox-close {
  position: fixed;
  top: 1rem; right: 1.5rem;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  background: rgba(0,0,0,.45);
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 10;
}
.lightbox-arrow:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-arrow:disabled { opacity: .25; cursor: default; }
.lightbox-arrow:disabled:hover { background: rgba(0,0,0,.45); transform: translateY(-50%); }

.lightbox-counter {
  position: fixed;
  bottom: 1.2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-family: 'Nunito', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  background: rgba(0,0,0,.4);
  padding: .3rem .9rem;
  border-radius: 50px;
}

/* Thumbnail strip */
.lightbox-thumbs {
  position: fixed;
  bottom: 3.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  max-width: 90vw;
  overflow-x: auto;
  padding: .3rem;
}
.lightbox-thumbs::-webkit-scrollbar { height: 4px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); border-radius: 4px; }
.lightbox-thumb {
  width: 44px; height: 36px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: .5;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
  flex-shrink: 0;
}
.lightbox-thumb.active,
.lightbox-thumb:hover { opacity: 1; border-color: var(--accent); }

/* ===== CENNIK ===== */
#cennik { padding: 5rem 0; background: var(--white); }
.pricing-category {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary);
}
.pricing-category:nth-child(1) { border-left-color: var(--primary); }
.pricing-category:nth-child(2) { border-left-color: #2ecc71; }
.pricing-category:nth-child(3) { border-left-color: #3498db; }
.pricing-category-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}
.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.price-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform .25s, border-color .25s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.price-card.featured {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.04);
  border-color: var(--accent);
}
.price-duration {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: .5rem;
}
.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .3rem;
}
.price-amount span { font-size: 1.4rem; }
.price-label {
  font-size: .85rem;
  opacity: .75;
  
}
.price-note {
  background: var(--bg);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: .95rem;
  color: #555;
  line-height: 1.7;
}
.price-note strong { color: var(--primary); }
.pricing-cta { text-align: center; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

/* ===== NOWOŚCI ===== */
#nowosci {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1E6FBF 0%, #0D4A8A 100%);
  color: var(--white);
  text-align: center;
}
#nowosci .section-title { color: var(--white); }
#nowosci .section-subtitle { color: rgba(255,255,255,.8); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.news-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(4px);
  transition: background .25s, transform .25s;
}
.news-card:hover { background: rgba(255,255,255,.2); transform: translateY(-4px); }
.news-icon { font-size: 2.8rem; margin-bottom: .8rem; }
.news-card h3 { font-weight: 800; font-size: 1.1rem; margin-bottom: .5rem; }
.news-card p  { font-size: .9rem; opacity: .85; }
.news-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
  font-size: .8rem;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.news-cta { margin-top: 1rem; }

/* ===== SEO ===== */
#seo-content { padding: 5rem 0; background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); }
.seo-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  color: #555;
  line-height: 1.9;
  text-align: center;
}
.seo-text p + p { margin-top: 1rem; }

/* FAQ Accordion */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: .75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.faq-question:hover { background: #e8f0fb; }
.faq-question.open { color: var(--primary); }
.faq-chevron {
  transition: transform .3s;
  font-style: normal;
  font-size: .85rem;
  color: var(--primary);
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 1.4rem;
  font-size: .95rem;
  color: #555;
  line-height: 1.7;
}
.faq-answer.open {
  max-height: 300px;
  padding: .6rem 1.4rem 1.2rem;
}

/* ===== DLACZEGO MY ===== */
#dlaczego-my { padding: 5rem 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--primary);
  transition: transform .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.why-icon { font-size: 2.5rem; margin-bottom: .7rem; }
.why-card h3 { color: var(--primary); font-weight: 800; margin-bottom: .4rem; }
.why-card p  { font-size: .9rem; color: #555; }

@media (max-width: 768px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .why-grid { grid-template-columns: 1fr; } }

/* ===== KONTAKT ===== */
#kontakt { padding: 5rem 0; background: var(--text); color: var(--white); }
#kontakt .section-title { color: var(--white); }
#kontakt .section-subtitle { color: rgba(255,255,255,.7); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.contact-card h3 { font-weight: 800; margin-bottom: 1rem; color: var(--accent); }
.contact-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  transition: color .2s;
}
.contact-link:hover { color: var(--accent); }
.contact-social {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-items: center;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .2s, opacity .2s;
  text-decoration: none;
}
.social-btn:hover { transform: scale(1.04); opacity: .9; }
.social-fb  { background: #1877F2; color: #fff; }
.social-wa  { background: #25D366; color: #fff; }
.social-ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.contact-address { font-size: .95rem; line-height: 1.9; color: rgba(255,255,255,.8); }
.contact-address strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: .4rem; }
.nip-info { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: .6rem; }

/* ===== FOOTER ===== */
footer {
  background: #0d1117;
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 1.2rem 1rem;
  font-size: .82rem;
}
footer a { color: var(--accent); }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(30,111,191,.4);
  transition: background .2s, transform .2s;
}
#scrollTop.visible { display: flex; }
#scrollTop:hover { background: var(--accent); color: var(--text); transform: scale(1.1); }
