@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-dark: #080b0c;
  --primary-medium: #1a2035;
  --accent-warm: #e67e22;
  --accent-light: #f39c12;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f5f5f5;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --font-primary: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
}

.header {
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 100%
  );
  color: var(--text-light);
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  position: relative;
}

.logo {
  height: 80px;
  width: 80px;
  border-radius: 50%;
}

.hidden {
  display: none;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
}

.nav-container h1 {
  background: linear-gradient(
    to right,
    var(--text-light) 10%,
    var(--accent-warm)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--accent-light);
}

.primary-navigation {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
  flex-direction: row;
  margin: 0;
  padding: 0;
}

.primary-navigation a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.primary-navigation a:hover {
  color: var(--accent-light);
}

.primary-navigation .active {
  color: var(--accent-warm);
}

.hero-container {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  box-shadow: 10px 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-content {
  max-width: 1000px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-wrap: nowrap;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--accent-warm);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-5px);
  transition: 2s ease;
}

.btn-secondary {
  background-color: var(--accent-warm);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--accent-light);
  transform: translateY(-5px);
  transition: 2s ease;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

/* Featured Products Section */
.featured-products {
  padding: calc(var(--spacing-lg) * 2) var(--spacing-md);
  background-color: var(--background-light);
  min-height: 100vh;
}

.featured-products h2 {
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-lg);
  font-size: 3rem;
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.product-card {
  background: var(--text-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 500px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 60px;
}

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

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

.product-card h3 {
  color: var(--primary-dark);
  padding: var(--spacing-sm);
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
}

.product-card p {
  color: var(--text-dark);
  padding: 0 var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  flex-grow: 1;
}

.product-btn {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-warm);
  color: var(--text-light);
  text-decoration: none;
  text-align: center;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.product-btn:hover {
  background-color: var(--accent-light);
  transform: translateX(-50%) translateY(-2px);
}

/* Features Grid */
.why-us {
  padding: calc(var(--spacing-lg) * 2) var(--spacing-md);
  background-color: var(--primary-dark);
  color: var(--text-light);
  min-height: 100vh;
}

.why-us h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  font-size: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-lg) * 1.5);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
}

.feature {
  text-align: center;
  padding: calc(var(--spacing-lg) * 1.5);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.feature i {
  font-size: 3.5rem;
  color: var(--accent-warm);
  margin-bottom: var(--spacing-md);
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.feature p {
  opacity: 0.9;
  font-size: 1.1rem;
  line-height: 1.6;
}

.feature:last-child {
  width: 100%;
  margin-top: 0;
}

.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: var(--spacing-md);
  color: var(--accent-warm);
}

.footer-section p {
  margin-bottom: var(--spacing-sm);
}

.footer-section i {
  margin-right: 10px;
  color: var(--accent-light);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-warm);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul a:hover {
  color: var(--accent-warm);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Mobile view navigation */

@media (min-width: 320px) and (max-width: 622px) {
  .nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1rem;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .primary-navigation {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 3s ease, opacity 5s ease;
    opacity: 0;
  }

  .primary-navigation.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding: 0;
  }

  .primary-navigation:not(.hidden) {
    max-height: 300px;
    opacity: 1;
    margin-top: 1rem;
    padding: 1rem 0;
  }

  .primary-navigation li {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgb(65, 70, 68);
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    font-weight: 900;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    text-wrap: nowrap;
  }

  .featured-products {
    padding: 10px;
  }

  .featured-products h2 {
    text-align: center;
    margin: 2rem;
    font-size: 1.8rem;
  }

  .products-grid {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    width: 300px;
  }

  .product-card {
    background: whitesmoke;
    border-radius: 15px;
    height: 300px;
    width: auto;
    margin-bottom: 1rem;
    display: flex;
  }
  .product-card img {
    width: 100%;
    height: 60%;
  }

  .product-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
  }
  .product-card p {
    font-weight: 400;
    font-size: smaller;
    margin-bottom: 1rem;
  }

  .product-btn {
    width: 50%;
    padding: 0.4rem 1rem;
    bottom: 10px;
  }

  .why-us {
    padding: 10px;
  }
  .why-us h2 {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    padding-top: 1rem;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    margin: 0 auto;
    width: 90%;
    gap: 2rem;
  }

  .feature {
    height: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    text-justify: auto;
    gap: 2rem;
  }

  .feature:last-child {
    width: 100%;
    margin-top: 0;
    padding-top: 0%;
  }

  .feature h3 {
    font-size: 1.6rem;
    font-weight: 800;
  }
  .feature p {
    font-weight: 300;
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }

  .social-links {
    justify-content: center;
  }
}

@media (min-width: 623px) {
  .mobile-menu-btn {
    display: none;
  }

  .primary-navigation {
    display: flex;
    flex-direction: row;
    max-height: none;
    opacity: 1;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .primary-navigation.hidden {
    display: flex;
    max-height: none;
    opacity: 1;
  }
}

/* Product Page */
/* .products-section {
  padding: calc(var(--spacing-lg) * 2) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--background-light);
} */

.products-section {
  padding: calc(var(--spacing-lg)) var(--spacing-md);
  max-width: 1500px;
  margin: 0 auto;
  background-color: var(--background-light);
}

.products-section h2 {
  text-align: center;
  margin-bottom: calc(var(--spacing-lg) * 1.5);
  color: var(--text-dark);
  font-size: 3rem;
  font-weight: 700;
}

.products-section .product-card {
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
}

.products-section .product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.products-section .product-card h3 {
  color: var(--primary-dark);
  padding: var(--spacing-sm);
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
}

.products-section .product-card .price {
  padding: calc(var(--spacing-sm) * 0.5) var(--spacing-sm);
  color: var(--primary-medium);
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.products-section .order-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-warm);
  color: var(--text-light);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.products-section .order-btn:hover {
  background-color: var(--accent-light);
  transform: translateX(-50%) translateY(-2px);
}

/* Services Section Styles */
.services-section {
  background-color: var(--primary-dark);
  color: white;
  border-bottom: 2px solid var(--background-light);
  margin-bottom: 10px;
}

.services-section h2 {
  text-align: center;
  margin-bottom: calc(var(--spacing-lg) * 1.5);
  color: var(--text-light);
  font-size: 3rem;
  font-weight: 700;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.5rem 1.2rem;
  border: none;
  background-color: var(--accent-warm);
  color: var(--text-light);
  cursor: pointer;
  border-radius: 50%;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.5s ease;
  border: 1px solid var(--accent-warm);
}

.tab-btn:hover {
  background-color: var(--accent-light);
  color: var(--text-light);
  transform: translateY(-2px);
}

.tab-btn.active {
  background-color: var(--accent-warm);
  color: var(--text-light);
}

.tab-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 1px;
}

.tab-pane {
  display: none;
  padding: var(--spacing-lg);
  background: var(--primary-medium);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-pane.active {
  display: block;
  animation: fadeIn 1.5s ease-out;
}

.tab-pane h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  font-size: 1.8rem;
  font-weight: 600;
}

.tab-pane p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.tab-pane ul {
  list-style-type: none;
  padding: 0;
}

.tab-pane li {
  padding: calc(var(--spacing-sm) * 0.8) 0;
  color: var(--text-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.tab-pane li:before {
  content: "•";
  color: var(--accent-warm);
  font-weight: bold;
  margin-right: var(--spacing-sm);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* New classes for Intersection Observer */
.section_hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.section_reveal {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 2s ease-out, transform 2s ease-out;
}

@media (min-width: 320px) and (max-width: 500px) {
  .products-section h2 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  .products-section .product-card h3 {
    padding: 5px;

    font-size: 1.3rem;
  }

  .products-section .product-card {
    height: 320px;
    max-width: 300px;
    max-height: 500px;
    width: 100%;
    margin: 0 auto;
    gap: 0.4rem;
    margin-bottom: 0;
  }

  .products-section .product-card .price {
    padding: 0;
    font-weight: 500;
    font-size: 1rem;
  }

  .products-section .product-card img {
    height: 170px;
  }

  .products-section .order-btn {
    width: 60%;
    margin: 0 auto;
    padding: 0.5rem;
    font-weight: 400;
  }

  .tab-content {
    max-width: 400px;
    width: 90%;
    padding-bottom: 2rem;
  }

  .services-section h2 {
    padding-top: 2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-light);
    font-size: 1.7rem;
    font-weight: 800;
  }

  .about-section h2 {
    font-size: 1.7rem;
    font-weight: 800;
  }
}

.about-section {
  background-color: var(--background-light);
  color: var(--text-dark);
  text-align: center;
  margin: 0 auto;
  min-height: 100vh;
}

.goal {
  height: 20vh;
  width: 100%;
  background-image: url("https://images.unsplash.com/photo-1657143372753-53c875693c0e?w=700&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTI0fHxncmlsbGluZ3xlbnwwfDB8MHx8fDA%3D");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.about-section h2 {
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-lg);
  font-size: 3rem;
  font-weight: 700;
}

.about-section p {
  font-weight: 400;
}

@media (min-width: 320px) and (max-width: 500px) {
  .about-container {
    margin: 0;
  }
  .about-container h2 {
    font-size: 1.7rem;
    margin: 0;
    padding: 0;
  }
}
