/* ==========================================================================
   Global Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #8b0000;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #8b0000;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: #a52a2a;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.hero {
  position: relative;
  text-align: center;
  color: #ffffff;
  margin-top: 0;
}

.hero img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-text button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #8b0000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-text .learn-more {
  background-color: #ccc;
  color: #333;
}

.hero-text .learn-more:hover {
  background-color: transparent;
  color: #333;
  border: 1px solid #333;
  box-shadow: none;
}

/* ==========================================================================
   Products Section Styles
   ========================================================================== */

.product-filters {
  margin-bottom: 20px;
  text-align: center;
}

.filter-btn {
  padding: 8px 15px;
  margin: 0 5px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  color: #333;
  font-weight: 500;
}

.filter-btn.active {
  background-color: #a52a2a;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-items: center;
}

.product-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

.product-card h3 {
  margin: 10px 0;
  font-size: 20px;
}

.product-card p {
  font-size: 14px;
  color: #666;
}

.price {
  font-weight: 700;
  color: #8b0000;
  margin: 10px 0;
}

.product-card button {
  padding: 8px 15px;
  background-color: #a52a2a;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.product-card:hover {
  transform: scale(1.05);
}

.view-all {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #8b0000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.featured-products,
.product-listing {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff5e1;
  margin-bottom: 0;
}

.featured-products h2,
.product-listing h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #8b0000;
}

/* ==========================================================================
   About Section Styles
   ========================================================================== */

.about-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
  margin-bottom: 0;
}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #8b0000;
}

.story-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-text {
  max-width: 50%;
  text-align: left;
}

.story-text p {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.story-content img {
  width: 50%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-section img {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  border-radius: 10px;
}

/* ==========================================================================
   Mission Section Styles
   ========================================================================== */

.mission-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff5e1;
  margin-bottom: 0;
}

.mission-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #8b0000;
}

.mission-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mission-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
}

.mission-icon {
  font-size: 24px;
  color: #a52a2a;
  margin-bottom: 10px;
}

.mission-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.mission-card p {
  font-size: 14px;
  color: #666;
}

/* ==========================================================================
   Team Section Styles
   ========================================================================== */

.team-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
  margin-bottom: 0;
}

.team-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #8b0000;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.team-member {
  max-width: 300px;
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

.team-member p em {
  color: #a52a2a;
  font-style: normal;
}

.team-member p {
  font-size: 14px;
  color: #666;
}

/* ==========================================================================
   Contact Section Styles
   ========================================================================== */

.contact-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
  margin-bottom: 0;
}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #8b0000;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  text-align: left;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 20px;
  color: #a52a2a;
  margin-right: 10px;
}

.contact-item h3 {
  font-size: 18px;
  color: #333;
  display: inline;
}

.contact-item p {
  font-size: 14px;
  color: #666;
  margin: 5px 0;
}

.contact-item a {
  color: #666;
  text-decoration: none;
}

.contact-item a:hover {
  color: #a52a2a;
}

.contact-form {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.contact-form h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.contact-form label {
  display: block;
  margin-top: 10px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.contact-form textarea {
  height: 100px;
  resize: vertical;
}

.contact-form button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #a52a2a;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.contact-form button:hover {
  background-color: #8b0000;
}

/* ==========================================================================
   Customer Say Section Styles
   ========================================================================== */

.customer-say {
  padding: 40px 20px;
  text-align: center;
  background-color: #f5f5f5;
  margin-bottom: 0;
}

.customer-say h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #8b0000;
}

.quote-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.quote-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background-color: #ccc;
  border-radius: 50%;
  margin-right: 10px;
}

.quote-author p {
  font-size: 14px;
  color: #333;
}

.quote-author span {
  font-size: 12px;
  color: #666;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

footer {
  background-color: #1a2a44;
  color: #fff;
  padding: 20px;
  margin-top: 0;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-section h3 {
  margin-bottom: 10px;
}

.footer-section a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 5px;
}

.footer-section a:hover {
  color: #a52a2a;
}

.social-links img {
  width: 24px;
  margin: 0 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #fff;
  padding-top: 10px;
}

.footer-bottom-about {
  text-align: center;
  margin-top: 110px;
  margin-bottom: 0px;
  border-top: 1px solid #fff;
  padding-top: 10px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  header {
    padding: 10px;
  }
  .hero-text h1 {
    font-size: 24px;
  }
  .hero-text p {
    font-size: 14px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .story-content {
    flex-direction: column;
  }
  .story-text,
  .story-content img {
    max-width: 100%;
  }
  .mission-cards,
  .team-members {
    flex-direction: column;
    align-items: center;
  }
  .team-member img {
    width: 120px;
    height: 120px;
  }
  .contact-content {
    flex-direction: column;
  }
  .contact-form {
    margin-top: 20px;
  }
  .quote-card {
    max-width: 100%;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
