html {
  font-family: "Bentham", serif;
  font-size: 1.3rem;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  padding: 0 30px;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  position: relative;
}

header nav a {
  position: relative;
  color: black;
  text-decoration: none;
  text-transform: uppercase;
}

header nav a img {
  width: auto;
  height: 80px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: rgb(180, 130, 10);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: rgba(216, 159, 17, 0.5);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 30px;
}

main p {
  margin-block: 0.5rem;
}

main > container:has(.hero) {
  flex: 1;
  display: flex;
  flex-direction: column;
  inline-size: 100%;
  max-width: none;
}

.container {
  inline-size: min(55ch, calc(100% - 2rem));
  margin-inline: auto;
  margin-block: 2rem;
}

container p {
  margin-block: 0.8rem;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
  display: inline-block;
}

.decorative-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(216, 159, 17, 0.8),
    transparent
  );
}

.product-categories .page-hero,
.about-hero,
.contact-hero {
  text-align: center;
}

.product-categories .decorative-line,
.about-hero .decorative-line,
.contact-hero .decorative-line {
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}

.hero .page-hero {
  display: inline-block;
}

.hero .decorative-line {
  margin-left: 50%;
  transform: translateX(-50%);
}

.hero-content {
  flex: 1;
}

.hero-content .page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgb(180, 130, 10);
  font-weight: 600;
  margin: 1.5rem 0 1rem 0 !important;
}

.hero-description {
  font-size: 1.2rem;
  color: #666;
  font-style: italic;
  margin: 1rem 0 !important;
}

.hero-content > p:not(.hero-subtitle):not(.hero-description) {
  line-height: 1.8;
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

.hero img {
  width: auto;
  height: 280px;
  border-radius: 50%;
  border: 4px solid rgba(216, 159, 17, 0.4);
  box-shadow: 0 8px 24px rgba(216, 159, 17, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(216, 159, 17, 0.3);
}

.hero button {
  background-color: rgba(216, 159, 17, 0.6);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-family: "Bentham", serif;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 2rem;
  letter-spacing: 1px;
}

.hero button:hover {
  background-color: rgba(216, 159, 17, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 159, 17, 0.4);
}

.hero button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-categories {
  max-width: 1200px;
  margin-inline: auto;
  margin-top: 2rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.category-box {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.category-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(216, 159, 17, 0.6),
    rgba(216, 159, 17, 0.3)
  );
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

.category-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(216, 159, 17, 0.2);
}

.category-box:hover::before {
  opacity: 0.5;
}

.category-box h3 {
  margin: 0;
  font-size: 1.4rem;
  color: white;
  z-index: 1;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-page {
  max-width: 1200px;
  margin-inline: auto;
  margin-top: 2rem;
}

.about-hero {
  text-align: center;
  margin: 0 0 2rem 0;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.about-intro {
  background: linear-gradient(
    135deg,
    rgba(216, 159, 17, 0.08),
    rgba(216, 159, 17, 0.03)
  );
  padding: 2.5rem;
  border-left: 4px solid rgba(216, 159, 17, 0.6);
  margin: 3rem 0;
  border-radius: 0 8px 8px 0;
}

.about-intro .intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0;
  color: #444;
}

.about-text {
  margin: 2rem 0;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.highlight-text {
  font-style: italic;
  font-size: 1.15rem;
  color: rgb(180, 130, 10);
  text-align: center;
  margin: 3rem 0 !important;
  padding: 1.5rem;
  background: rgba(216, 159, 17, 0.05);
  border-radius: 8px;
}

.founder-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(216, 159, 17, 0.2);
  text-align: center;
}

.founder-section h2 {
  color: rgb(180, 130, 10);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.founder-text p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
  text-align: left;
}

.contact-page {
  max-width: 1200px;
  margin-inline: auto;
}

.contact-hero {
  text-align: center;
  margin: 2rem 0;
}

.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-intro {
  background: linear-gradient(
    135deg,
    rgba(216, 159, 17, 0.08),
    rgba(216, 159, 17, 0.03)
  );
  padding: 2.5rem;
  border-left: 4px solid rgba(216, 159, 17, 0.6);
  margin: 3rem 0;
  border-radius: 0 8px 8px 0;
}

.contact-intro .intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0;
  color: #444;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(216, 159, 17, 0.2);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(216, 159, 17, 0.15);
  border-color: rgba(216, 159, 17, 0.4);
}

.contact-icon {
  color: rgb(180, 130, 10);
  margin-bottom: 1rem;
}

.contact-icon svg {
  width: 48px;
  height: 48px;
}

.contact-card h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-card a {
  color: rgb(180, 130, 10);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: rgb(216, 159, 17);
  text-decoration: underline;
}

.contact-message {
  margin: 3rem 0;
}

hr {
  border: 1px solid rgba(216, 159, 17, 0.2);
  margin: 0;
}

footer {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: rgba(216, 159, 17, 0.08);
  padding: 2rem 0;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-separator {
  color: rgba(216, 159, 17, 0.5);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.footer-info p {
  margin: 0;
}

footer a {
  color: rgb(180, 130, 10);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: rgb(216, 159, 17);
  text-decoration: underline;
}

@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .hero-content .page-hero h1 {
    font-size: 2.2rem;
  }

  .hero img {
    height: 220px;
  }

  .hero .decorative-line {
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: white;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  header nav a img {
    height: 60px;
  }

  .about-intro {
    padding: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .footer-separator {
    display: none;
  }

  .footer-info {
    padding: 0 1rem;
  }

  .footer-info p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
