:root {
    --green: #6cad44;
    --orange: #db6f27;
    
    --bs-body-font-family: Poppins, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-link-color: #ff9852; /* #ee0979; */
  --bs-link-hover-color: #dd7128;
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color); 
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth; 
}

/* NAV */
.navbar {
    padding: 0.2rem 0;
}

.navbar-nav .nav-link {
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 12px;
    text-transform: uppercase;
    color: #333;
}

.navbar-nav .nav-link:hover {
    color: var(--green);
}
.hero .btn-custom {
    background-color: var(--orange);
    border: none;
    padding: 10px 32px;
    color:#fff;
}

.hero .btn-custom:hover {
    background-color: #c55f1f;
}

 
.hero {
    height: 100vh;
    overflow: hidden;
}

#heroCarousel {
    position: relative;
    height: 100%;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
}


.hero-slide {
    position: relative;
    height: 100vh;
}

.hero-slide .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}
/* Przesunięcie tekstu w prawo na desktopie */
@media (min-width: 992px) {
    .hero-text {
        margin-left: 3rem; /* lub padding-left: 3rem; */
    }
}

/* Padding dla małych ekranów */
@media (max-width: 991.98px) {
    .hero-text {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
} 

/* tylko dla oferty */
.offer-category .carousel {
    padding-bottom: 40px; /* miejsce na kropki */
}

.offer-category .carousel-indicators {
    position: static;          /* USUWA absolute */
    margin-top: 20px;
    justify-content: center;
}

/* KOLORY KROPEK */
.offer-category .carousel-indicators [data-bs-target] {
    width: 20px;
    height: 3px;
    border-radius: 0;
    background-color: #bbb;
}

.offer-category .carousel-indicators .active {
    background-color: #000;
}


.page-section {
 padding-top:6rem;
 padding-bottom:6rem;
}
.section-header h2 {
    font-weight: 700;
    letter-spacing: 1px;
}

.section-icon {
    font-size: 2.5rem;
    color: var(--green);
}

.section-lead {
    max-width: 720px;
    margin: 0 auto;
    color: #555;
    font-size: 0.9rem;
}

a {
  color: var(--bs-link-color);
  text-decoration: underline;
}
a:hover {
  color: var(--bs-link-hover-color);
}

a:not([href]):not([class]), a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

/* HEADINGS */
h2 {
    color: var(--green);
}
.top-bar {
  padding-top:5px;
  height: 36px;
  background: #f8f9fa;
  font-size: 0.85rem;
  z-index: 1040;
  transition: transform 0.3s ease;
}
.top-bar.hide {
  transform: translateY(-100%);
}

/* menu przesunięte o wysokość top-bar */
.main-navbar {
  top: 36px;
  transition: top 0.3s ease;
}

/* gdy top-bar zniknie, menu idzie do góry */
.main-navbar.top-hidden {
  top: 0;
}

.top-bar .top-link {
  color: #333;
  text-decoration: none;
}

.top-bar .top-link i {
  font-size: 1rem;
}

.top-bar .top-link:hover {
  color: #d5213f;
}
/* OFFER IMAGES SAME HEIGHT */
.offer-img {
    height: 220px;
    object-fit: cover;
}

/* ICONS */
.icon {
    color: var(--orange);
    font-size: 1.4rem;
}
.offer-card {
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all .3s ease;
    border-radius: 12px;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

.offer-icon {
    font-size: 2.2rem;
    color: var(--green);
}

.offer-card h5 {
    font-weight: 700;
}

.offer-card p {
    font-size: 0.95rem;
}

.offer-category h3 {
    font-weight: 700;
    color: var(--green);
}

.category-desc {
    max-width: 820px;
    color: #555;
    margin-bottom: 20px;
}
 


@media (max-width: 768px) {
    .logo { width:100px }
    .hero h1 {padding-top:80px}
    .gallery-item {
        height: 160px;
    }
}
 .logo { 
    width:200px 
}
 
.parallax-section {
    background-image: url('../magazyn/image/galeria/oferta/world/img_20221001_111807.webp'); /* np. czosnek w skrzynkach */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay {
    background: rgba(0, 0, 0, 0.35);
    padding: 90px 0;
}

.parallax-title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.parallax-lead {
    color: #eee;
    font-size: 1.1rem;
    max-width: 600px;
}
#dlaczego-topveg .why-box {
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

#dlaczego-topveg .why-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

#dlaczego-topveg .why-icon {
    font-size: 3rem;
    color: #6cad44; /* zieleń TOPVEG */
}

#dlaczego-topveg h5 {
    font-weight: 600;
} 

/* kontener */
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    height: 240px; /* <-- JEDNAKOWA WYSOKOŚĆ */
}

/* obraz */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* <-- KLUCZ */
    transition: transform .4s ease;
}
.gallery-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform .3s, box-shadow .3s;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(108, 173, 68, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* hover */
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* FOOTER */
footer {
    font-size: 0.9rem; 
    background: linear-gradient(0deg, #418914 0%, #418914 100%);
}

footer h5 {
    color: var(--orange);
}
