/* ===== Na Szlaku — Serwis Rowerowy — style.css ===== */

:root {
  --forest: #2D3B2D;
  --forest-light: #3a4d3a;
  --cream: #F5F2EB;
  --cream-dark: #EBE7DD;
  --orange: #E87C2A;
  --orange-hover: #d46b1d;
  --olive: #5A7247;
  --olive-light: #6d8a59;
  --graphite: #333333;
  --graphite-light: #555555;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(45,59,45,0.10);
  --shadow-lg: 0 12px 48px rgba(45,59,45,0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'Outfit', sans-serif;
  color: var(--forest);
  line-height: 1.2;
}

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

a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-hover); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  background: rgba(245,242,235,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45,59,45,0.08);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(45,59,45,0.1); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 72px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 1.35rem;
  color: var(--forest); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo svg { width: 32px; height: 32px; flex-shrink:0; }
.nav-logo span { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500; font-size: .92rem;
  color: var(--graphite); text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(45,59,45,0.06); color: var(--forest); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: .95rem;
  padding: 12px 24px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .25s ease;
}
.btn-orange {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 16px rgba(232,124,42,0.3);
}
.btn-orange:hover {
  background: var(--orange-hover); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,124,42,0.4);
}
.btn-outline {
  background: transparent; color: var(--forest);
  border: 2px solid var(--forest);
}
.btn-outline:hover {
  background: var(--forest); color: var(--white);
  transform: translateY(-2px);
}
.btn svg { width:18px; height:18px; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--forest); border-radius: 2px;
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, var(--forest) 0%, var(--forest-light) 55%, var(--olive) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,124,42,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, var(--cream), transparent);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 16px; border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero-badge svg { width:16px; height:16px; }
.hero h1 {
  font-size: 3.2rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  margin-bottom: 32px; line-height: 1.7;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  width: 100%; max-width: 400px;
}
.hero-card-icon {
  width: 64px; height: 64px;
  background: var(--orange);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(232,124,42,0.3);
}
.hero-card-icon svg { width: 32px; height: 32px; color: white; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--orange);
}
.hero-stat-label {
  font-size: .85rem; color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.hero-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--white);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--forest); color: var(--white); }
.section-title {
  font-size: 2.2rem; font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--graphite-light);
  margin-bottom: 48px;
  max-width: 600px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }
.section-dark .section-title { color: var(--white); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px 32px 24px;
  border: 1px solid rgba(45,59,45,0.06);
  border-left: 4px solid var(--olive);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--orange);
}
/* Ikona usunięta — pasek boczny zastępuje ikonę */
.service-card h3 {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 8px;
}
.service-card p {
  font-size: .92rem; color: var(--graphite-light);
  margin-bottom: 16px; line-height: 1.6;
}
.service-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  color: var(--orange);
}

/* ===== PRICING TABLE ===== */
.pricing-section { padding: 80px 0; }
.pricing-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 32px;
  background: var(--cream-dark);
  padding: 6px; border-radius: 12px;
  width: fit-content;
}
.pricing-tab {
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: .88rem;
  padding: 10px 20px; border-radius: 8px;
  background: none; border: none; cursor: pointer;
  color: var(--graphite-light);
  transition: all .2s;
}
.pricing-tab.active {
  background: var(--white);
  color: var(--forest);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pricing-tab:hover:not(.active) { color: var(--forest); }

.pricing-table-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(45,59,45,0.06);
  overflow: hidden;
}
.pricing-group { display: none; }
.pricing-group.active { display: block; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table tr {
  border-bottom: 1px solid rgba(45,59,45,0.06);
  transition: background .15s;
}
.pricing-table tr:last-child { border-bottom: none; }
.pricing-table tr:hover { background: rgba(245,242,235,0.5); }
.pricing-table td {
  padding: 16px 24px;
  vertical-align: top;
}
.pricing-table td:first-child {
  font-weight: 500;
  color: var(--graphite);
}
.pricing-table td:last-child {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--orange);
  text-align: right;
  white-space: nowrap;
}
.pricing-table .note {
  display: block;
  font-size: .82rem;
  color: var(--graphite-light);
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}
.about-photo {
  background: var(--forest);
  border-radius: 20px;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-photo.has-image {
  background-size: cover !important;
  background-position: top center !important;
  min-height: 500px;
}
.about-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--forest), var(--olive));
  opacity: 0.9;
}
.about-photo.has-image::before { display: none; }
.about-photo-inner {
  position: relative; z-index: 1; text-align: center; color: white;
  padding: 40px;
}
.about-photo-inner svg {
  width: 80px; height: 80px; margin-bottom: 16px;
  opacity: 0.5;
}
.about-photo-inner p {
  font-size: .9rem; opacity: 0.6;
  font-style: italic;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}
.about-content h2 {
  font-size: 2rem; margin-bottom: 20px;
}
.about-content p {
  margin-bottom: 16px; color: var(--graphite-light);
}
.about-content p:first-of-type { font-size: 1.05rem; color: var(--graphite); }

.about-traits {
  display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap;
}
.about-trait {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: .9rem;
  color: var(--forest);
}
.about-trait svg { width:20px; height:20px; color: var(--orange); flex-shrink:0; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  background: var(--forest);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform .3s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--forest), var(--olive));
}
.gallery-item.has-image::before { display: none; }
.gallery-item.has-image:hover { transform: scale(1.03); }

.gallery-placeholder {
  position: relative; z-index: 1;
  text-align: center; color: white;
}
.gallery-placeholder svg { width: 40px; height: 40px; opacity: 0.3; margin-bottom: 8px; }
.gallery-placeholder p { font-size: .8rem; opacity: 0.4; }

/* Placeholder labels — widoczne gdy brak zdjęcia */
.placeholder-label p {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== CONTACT ===== */
.contact-columns {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all .3s ease;
}
.contact-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.contact-card .contact-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
}
.contact-card-label {
  font-size: .82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.contact-card-value {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.contact-card-value a { color: var(--orange); }
.contact-card-value a:hover { color: var(--white); }
.contact-card-hint {
  font-size: .85rem;
  color: rgba(255,255,255,0.4);
}

.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--orange); }

/* ===== SOCIAL SECTION ===== */
.social-section {
  text-align: center;
  margin-bottom: 48px;
}
.social-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.social-links-big {
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: .95rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s ease;
  border: 2px solid rgba(255,255,255,0.15);
  color: var(--white);
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover {
  transform: translateY(-3px);
  color: var(--white);
}

/* Facebook */
.social-btn-fb {
  background: rgba(24,119,242,0.15);
  border-color: rgba(24,119,242,0.3);
}
.social-btn-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 6px 24px rgba(24,119,242,0.35);
}
.social-btn-fb svg { color: #5B9EF4; }
.social-btn-fb:hover svg { color: white; }

/* Instagram */
.social-btn-ig {
  background: rgba(225,48,108,0.12);
  border-color: rgba(225,48,108,0.25);
}
.social-btn-ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(225,48,108,0.35);
}
.social-btn-ig svg { color: #E1306C; }
.social-btn-ig:hover svg { color: white; }

/* ===== MAP ===== */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,0.08);
  height: 300px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
  text-align: center;
}
.footer p {
  color: rgba(255,255,255,0.4);
  font-size: .85rem;
}
.footer a { color: rgba(255,255,255,0.6); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), #c96820);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white); font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.cta-banner .btn-outline {
  border-color: white; color: white;
}
.cta-banner .btn-outline:hover {
  background: white; color: var(--orange);
}

/* ===== MOBILE STICKY CTA ===== */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 12px 16px;
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  padding: 14px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232,124,42,0.4);
}
.mobile-cta svg { width: 20px; height: 20px; }

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(245,242,235,0.98);
  backdrop-filter: blur(20px);
  z-index: 998;
  padding: 32px 24px;
}
.mobile-menu.open { display: flex; flex-direction: column; }
.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 1.3rem;
  color: var(--forest);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(45,59,45,0.08);
  display: block;
}
.mobile-menu .btn-orange {
  margin-top: 24px; text-align: center;
  justify-content: center;
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 110px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-visual { display: none; }

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

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { min-height: 280px; }
  .about-photo.has-image { min-height: 400px; }

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

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

  .social-btn { padding: 12px 24px; font-size: .9rem; }

  .pricing-tabs {
    width: 100%; overflow-x: auto; flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    position: relative;
    scrollbar-width: none; /* Firefox */
  }
  .pricing-tabs::-webkit-scrollbar { display: none; }

  /* Wrapper z cieniem sugerującym dalszą część */
  .pricing-tabs-wrapper {
    position: relative;
  }
  .pricing-tabs-wrapper::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 60px;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    border-radius: 0 12px 12px 0;
    transition: opacity .3s;
  }
  .pricing-tabs-wrapper.scrolled-end::after {
    opacity: 0;
  }

  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }

  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .pricing-table td { padding: 12px 16px; font-size: .9rem; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
