@import url('https://fonts.googleapis.com/css2?family=Cygre&display=swap');
@import url('https://fonts.googleapis.com/css2?family=The+Rufly+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barrio&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

:root {
  --brown: #8F4300;
  --cream: #F7EAC9;
  --gray-800: #333333;
  --orange: #FF9233;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--cream);
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body,
.topnav,
.hero,
main,
section,
p,
a,
button,
input,
label {
  font-family: 'Open Sans', Arial, sans-serif;
}

h1,
h2,
h3 {
  font-family: 'Barrio', 'Open Sans', Arial, sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-logo {
  height: 40px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
  background-color: #ffffff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 1rem;
}

.hero {
  color: #fff;
  text-align: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
  margin-top: 0;
  padding-top: 4rem;
  background-image: url('assets/images/hero-image.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}



.hero h1 {
  font-size: 3em;
  margin-bottom: 0.3em;
}

.hero p {
  font-size: 1.3em;
  margin-bottom: 1em;
}

.btn {
  background-color: var(--orange);
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px 30px 15px;
  flex: 1 0 auto;
}

section {
  margin-bottom: 40px;
}

#about {
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 8px;
  margin-top: 40px;
}

.section-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-bottom: 8px;
  margin-left: 8px;
}

#products {
  padding: 30px 0;
}

.products-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.product {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 18px;
  text-align: center;
  width: 220px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  top: 0;
}

.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: transform 0.5s ease;
}

.product h3 {
  margin: 0.5em 0 0.3em 0;
  transition: color 0.3s ease;
}

.product:hover h3 {
  color: var(--orange);
}

.product p {
  color: #555;
  transition: opacity 0.3s ease;
}

.product:hover p {
  opacity: 0.8;
}

.product {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: backwards;
}

.products-list .product:nth-child(1) {
  animation-delay: 0.1s;
}

.products-list .product:nth-child(2) {
  animation-delay: 0.2s;
}

.products-list .product:nth-child(3) {
  animation-delay: 0.3s;
}

#contact {
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 8px;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

#contactForm label {
  font-weight: 500;
}

#contactForm input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

#contactForm .btn {
  margin-top: 10px;
}

.form-message {
  color: #d32f2f;
  font-size: 1em;
  margin-top: 8px;
}

footer {
  background-color: var(--brown);
  color: var(--cream);
  padding: 40px 0 0 0;
  margin-top: 50px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  color: var(--orange);
  margin-bottom: 15px;
  font-size: 1.5em;
  font-family: 'Barrio', serif;
}

.footer-section h4 {
  color: var(--orange);
  margin-bottom: 15px;
  font-size: 1.1em;
  font-family: 'Barrio', serif;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Open Sans', Arial, sans-serif;
}

.footer-section ul li a:hover {
  color: var(--orange);
}

.footer-section p i {
  margin-right: 8px;
  color: var(--orange);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--cream);
  font-size: 1.5em;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9em;
  font-family: 'Open Sans', Arial, sans-serif;
}


@media screen and (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .hero {
    background-size: 120% auto;
    will-change: background-position;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-logo {
    height: 32px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1.5rem;
    background-color: rgba(143, 67, 0, 0.95);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-right {
    flex-direction: row-reverse;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.2rem;
    opacity: 0.85;
  }

  .nav-link::after {
    bottom: -2px;
    height: 1px;
  }

  .nav-link:hover {
    opacity: 1;
  }

  .products-list {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
}