:root {
  --carousel-delay: 6s;
}

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap');



body {
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background: linear-gradient(to bottom, #fdfdfd, #f1f1f1);
  color: #222;
  line-height: 1.6;
}



.hero-blend h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1px;
}



.hero-blend p {
  font-size: 18px;
  line-height: 1.6;
  color: #e0e0e0;
}



.round-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}



.round-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}





body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(to bottom, #fdfdfd, #f1f1f1);
  color: #222;
  line-height: 1.6;
}



.header-bg {
  background: #f9f9f9 url('cartographer3.png') repeat;
  background-size: 300px 300px;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
}



.combined-header {
  background: #f9f9f9 url('cartographer3.png') repeat;
  background-size: 300px 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px;
  background-color: #000;
  position: relative;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* soft bottom shadow */}

.logo img {
  width: 240px;
  max-width: 100%;
}



nav {
  display: flex;
  gap: 24px;
}



nav a {
  color: #f2f2f2;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none !important;
  padding: 8px 4px;
}



nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: #66b2ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}



nav a:hover::after,

nav a.active::after {
  transform: scaleX(1);
}



nav a:hover,

nav a.active {
  color: #fff;
}



.hero-blend {
  position: relative;
  background: url('hero.jpg') center center / cover no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: white;
  overflow: hidden;
}



.hero-blend::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 0;
}



.hero-blend h1,

.hero-blend p,

.hero-blend .cta-button {
  position: relative;
  z-index: 1;
}



.hero-blend h1 {
  font-size: 64px;
  margin-bottom: 15px;
}



.hero-blend p {
  font-size: 18px;
  margin-bottom: 25px;
}



.cta-button {
  background-color: #b3472c;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #993d26;
}



.main-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 50px 30px;
  max-width: 960px;
  margin: 60px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}



.section-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 50px auto;
  width: 80%;
  max-width: 600px;
}



h1 {
  text-align: center;
  font-size: 38px;
  margin-bottom: 15px;
}



h2 {
  text-align: center;
  font-size: 28px;
  margin-top: 50px;
  margin-bottom: 20px;
}



p {
  text-align: center;
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto 25px;
}



ul {
  list-style: none;
  padding: 0;
  text-align: center;
  font-size: 16px;
  margin-top: 10px;
}



ul li {
  margin: 10px 0;
}



.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}



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



.footer {
  margin-top: 0;
  background-color: #111111;
  color: white;
  text-align: center;
  padding: 20px 0;
  
  font-size: 14px;
}



.card-wrapper {
  background: url('cartographer3.png') repeat;
  background-size: 220px 220px; /* more significant texture shift */
  padding: 6rem 2rem;
  margin: 0;
  display: flex;
  justify-content: center;
  border: none;
  position: relative;}

.card-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0));
  z-index: 0;}

.card-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 5rem 7rem;
  max-width: 1200px;
  width: 100%;
  justify-items: center;
  position: relative;
  z-index: 1;
}}

.card-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 5rem 7rem;
  max-width: 1200px;
  width: 100%;
  justify-items: center;
  position: relative;
  z-index: 1;
}}

.round-card {
  background: #f4f1ec;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #111;
  position: relative;
}



.round-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}



@media (max-width: 768px) {
  .combined-header {
  background: #f9f9f9 url('cartographer3.png') repeat;
  background-size: 300px 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px;
  background-color: #000;
  position: relative;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* soft bottom shadow */}

  nav {
    justify-content: center;
    flex-wrap: wrap;
  }



.card-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 5rem 7rem;
  max-width: 1200px;
  width: 100%;
  justify-items: center;
  position: relative;
  z-index: 1;
}}

  .round-card {
  background: #f4f1ec;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #111;
  position: relative;
}

}



.card-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0));
  z-index: 0;}
.card-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 5rem 7rem;
  max-width: 1200px;
  width: 100%;
  justify-items: center;
  position: relative;
  z-index: 1;
}}





.carousel-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  
}



.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  text-align: center;

  height: 100%;
  top: 0;
  left: 0;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 2s ease-in-out;
}



.carousel-slide h2 {
  font-size: 32px;
  margin-bottom: 1rem;
}



.carousel-slide p {
  font-size: 18px;
  color: #333;
}



.carousel-slide.active {
  opacity: 1;
  position: relative;

  position: absolute;
  opacity: 1;
  z-index: 1;
}











.carousel-card {
  background: #ffffff;
  padding: 5rem 6rem;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15), inset 0 0 8px rgba(255, 255, 255, 0.1);
  max-width: 960px;
  width: 100%;
  position: relative;
  text-align: center;
  overflow: hidden;
  margin: 0 auto;
  box-sizing: border-box;
  min-height: 350px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}







.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;

  height: 100%;
  top: 0;
  left: 0;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 2s ease-in-out;
}













.textured-divider {
  width: 100%;
  height: 32px;
  background: url('cartographer3.png') repeat;
  background-size: 300px 300px;
}









.carousel-section {
  background: linear-gradient(to bottom, #d6d6d6 0%, #f5f5f5 100%);
  padding: 6rem 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}











.product-card {
  background: #f4f1ec;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 0.75rem;
}

.price {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #111;
}

.add-to-cart {
  background-color: #b3472c;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.add-to-cart:hover {
  background-color: #993d26;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pagination-controls button {
  padding: 10px 20px;
  background-color: #b3472c;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.pagination-controls button:disabled {
  background-color: #ccc;
  cursor: default;
}

#pageInfo {
  font-weight: bold;
  color: #333;
}


.footer, .footer p {
  font-size: 12px !important;
  color: white !important;
}





.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}


body.products-page {
  background: linear-gradient(to bottom, #d6d6d6 0%, #f5f5f5 100%);
}
