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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.5;
  color: #222;
  background-color: #fff;
}

button {
  padding: 0.75rem 1.5rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background: #f5f5f5;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text .jamaica {
  font-weight: bold;
}

.hero-img {
  width: 90%;
  max-width: 400px;
  margin-top: 2rem;
}

.category-section {
  padding: 2rem 1rem;
  text-align: center;
}

.category-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.category img {
  width: 100%;
  border-radius: 8px;
}

.category p {
  margin-top: 0.5rem;
  font-weight: bold;
}

.refill-save {
  padding: 2rem 1rem;
  background: #fcf8f2;
  text-align: center;
}

.refill-save .text {
  max-width: 600px;
  margin: 0 auto;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  gap: 1.5rem;
}

.about-text {
  max-width: 500px;
  text-align: center;
}

.about-img {
  width: 80%;
  max-width: 300px;
}

.footer {
  padding: 2rem 1rem;
  background: #f0f0f0;
  text-align: center;
  font-weight: bold;
}

/* Desktop layout */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 4rem;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-img {
    margin-top: 0;
    width: 50%;
  }

  .about {
    flex-direction: row;
    justify-content: space-around;
    text-align: left;
  }

  .about-img {
    width: 300px;
  }
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  transition: opacity 0.5s ease;
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 123, 191, 0.7);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 50%;
}

.carousel-btn:hover {
  background-color: #28a745;
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.carousel-dots {
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 15px;
  z-index: 10;
}

.carousel-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #28a745;
}

/* === Logo Adjustments === */
.navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    margin: 0 auto;
    text-align: center;
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
    max-height: 140px;
    display: block;
    margin: 0 auto;
}

/* Optional: Center collapse menu under logo on desktop */
@media (min-width: 992px) {
    .navbar .navbar-collapse {
        justify-content: center;
    }
}

/* === Responsive Fixes === */
html, body {
  width: 100%;
  overflow-x: hidden;
}

section.position-relative img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 767px) {
  section.position-relative img {
    height: auto !important;
    object-fit: contain;
  }

  .position-absolute.top-50.start-50.translate-middle.text-center {
    top: 55% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 1rem;
  }

  .position-absolute h2 {
    font-size: 1.5rem !important;
  }

  .position-absolute .btn {
    font-size: 1rem !important;
    padding: 0.5rem 1.2rem !important;
  }
}

/* Prevent grid overflow */
.category-section .row {
  margin-left: 0;
  margin-right: 0;
}


    
  
