/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  padding: 30px;
  text-align: center;
  color: white;
  max-width: 60%;
  border-radius: 10px;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}


.btn {
  background-color: #af4c0f;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #8b3909;
}

/* Responsive Text */
@media screen and (max-width: 768px) {
  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* <-- You can adjust opacity here */
  z-index: 1;
}

/* Ensure slide content sits above overlay */
.slide-content {
  position: relative;
  z-index: 2;
}












/* Services Section */
.services {
  background-color: #f8f4f1;
  padding: 100px 20px;
}

.services .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
    font-family: "Noto Serif Sinhala", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-size: 32px;
  margin-bottom: 10px;
  color: #3e2c1c;
}

.section-subtitle {
  font-size: 18px;
  color: #3e2c1c;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  margin-bottom: 40px;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-card h3 {
   font-family: "Noto Serif Sinhala", serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: #af4c0f;
}

.service-card p {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  line-height: 1.6;
}












/* About Us Section */
.about-us {
  background-color: #f2eee9;
  padding: 80px 20px;
}

.about-us .container {
  max-width: 1200px;
  margin: auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-family: "Noto Serif Sinhala", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-size: 26px;
  color: #3e2c1c;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 16px;
  font-weight: 500;
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.about-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #af4c0f;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.about-btn:hover {
  background-color: #8c3d0c;
}









.products {
  padding-top: 50px;
  background-color: #fdfaf5;
  padding: 80px 0;
}

.products .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


.section-title {
  font-size: 32px;
  color: #3e2c1c;
  margin-bottom: 10px;
}

.section-description {
  font-size: 18px;
  color: #3e2c1c;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card h3 {
  color: #3e2c1c;
  margin-bottom: 10px;
  font-size: 20px;
}

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

.product-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #af4c0f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.product-btn:hover {
  background-color: #8c3d0c;
}

.view-all-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 30px;
  background-color: transparent;
  color: #af4c0f;
  border: 2px solid #af4c0f;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background-color: #af4c0f;
  color: white;
}






.location-section {
  padding: 60px 0;
  background-color: #f8f4f0;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}


.location-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
  justify-content: space-between;
}

.map-container {
  flex: 1 1 500px;
  min-height: 350px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.location-info {
  flex: 1 1 400px;
  padding: 40px;
  background-color: white;
  border-radius: 10px;
}

.location-info h2 {
  margin-bottom: 10px;
  color: #3e2c1c;
  font-size: 28px;
}

.location-info p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.location-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.location-info ul li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #444;
}

.map-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #af4c0f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.map-btn:hover {
  background-color: #8c3d0c;
}
