:root {
  --mid-brown: #5d4037;
  --brown: #8b4513;
  --text-color-dark: #333333;
  --text-color-light: #fffdfd;
  --white: #ffffff;
}

body {
  background-color: var(--white);
  color: var(--text-color-dark);
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  background-color: var(--mid-brown);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
}

.header-logo img {
  height: 50px;
}

.navbar-nav a {
  color: var(--text-color-light) !important;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 0.9em;
  margin-right: 20px;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.hero-image {
  width: 60%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin-left: 20%;
  margin-top: 3%;
  
  
}

.hero-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 750px;
  text-align: center;
  color: var(--white);
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.hero-overlay-text p {
  font-size: 1em;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.tagline {
  font-weight: bold;
  font-size: 1.1em;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  display: inline-block;
  padding: 5px 10px;
}

/* Action Tiles */
.action-tiles-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.tile {
  background-color: var(--white);
  border: 3px solid var(--mid-brown);
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 500px;
  padding: 30px 40px;
  transition: transform 0.2s;
}

.tile:hover {
  transform: translateY(-5px);
}

.icon-container {
  text-align: center;
}

.icon-container img {
  width: 100px;
  height: auto;
  margin-bottom: 5px;
}

.icon-container p {
  font-weight: 700;
  color: var(--text-color-dark);
  margin: 5px 0 0 0;
}

.small-text {
  font-size: 0.8em;
}

.action-btn {
  background-color: var(--mid-brown);
  border: none;
  color: var(--white);
  padding: 12px 30px;
  font-size: 1em;
  font-weight: 700;
  border-radius: 8px;
  transition: 0.3s;
}

.action-btn:hover {
  background-color: var(--brown);
  transform: scale(1.05);
}

.purchase-rice-tile {
  flex-direction: row-reverse;
}

/* Story Section */
.story-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  max-width: 900px;
  margin: 0 auto;
  gap: 30px;
  color: var(--text-color-light);
}

.story-image-container img {
  width: 200px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.story-content {
  flex-grow: 1;
}

.our-story-btn {
  background-color: var(--mid-brown);
  border: none;
  padding: 10px 15px;
  font-weight: 700;
  color: var(--white);
  border-radius: 5px;
  margin-bottom: 15px;
}

.story-text-box {
  background-color: #fff;
  border: 1px solid rgba(68, 43, 43, 0.8);
  padding: 20px;
  border-radius: 5px;
}

.story-text-box p {
  font-size: 0.95em;
  color: var(--text-color-dark);
  line-height: 1.5;
}

/* Footer */
.footer {
  background-color: var(--mid-brown);
  color: var(--text-color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-image {
    height: 350px;
  }

  .hero-overlay-text {
    width: 90%;
    padding: 15px;
  }

  .tile {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .purchase-rice-tile {
    flex-direction: column;
  }

  .story-section {
    flex-direction: column;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }
}
