* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #ffffff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 80px;
  max-width: 1440px;
  margin: 0 auto;
}
.main-nav .nav-left .logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  text-decoration: none;
  color: #000000;
  letter-spacing: 0.05em;
}
.main-nav .nav-left .logo span {
  font-weight: 400;
  opacity: 0.8;
}
.main-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav .nav-right a {
  font-family: "Bebas Neue", sans-serif;
  text-decoration: none;
  color: #000000;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}
.main-nav .nav-right a:hover {
  opacity: 0.7;
}
.main-nav .nav-right .cart-button {
  font-family: "Bebas Neue", sans-serif;
  background: none;
  border: none;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 0;
  color: #000000;
  transition: opacity 0.3s ease;
}
.main-nav .nav-right .cart-button:hover {
  opacity: 0.7;
}
.main-nav .nav-right .menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: 1rem;
}
.main-nav .nav-right .menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000000;
  margin: 4px 0;
  transition: transform 0.3s ease;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem;
  min-height: 80vh;
  margin-top: 80px;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero .hero-content .text-content {
  flex: 1;
  padding-right: 2rem;
}
.hero .hero-content .text-content h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 5rem;
  line-height: 0.9;
  margin-bottom: 1rem;
  color: #000000;
  letter-spacing: 0.02em;
}
.hero .hero-content .text-content p {
  font-size: 1.2rem;
  color: #000000;
  max-width: 500px;
  font-weight: 300;
  line-height: 1.6;
}
.hero .hero-content #threejs-container {
  flex: 1;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero .hero-content #threejs-container canvas {
  max-width: 100%;
  max-height: 100%;
}

section {
  padding: 6rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
}
section h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
section p {
  max-width: 600px;
  font-size: 1.1rem;
  font-weight: 300;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  transition: transform 0.3s ease;
  overflow: hidden;
}
.product-card .product-image {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
}
.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card .product-image.latte-image img {
  object-position: right center;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}
.product-card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000000;
  letter-spacing: 0.02em;
}
.product-card p {
  color: #000000;
  font-size: 1rem;
  line-height: 1.5;
}

.contact {
  background: #f9f9f9;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

canvas {
  display: block;
  width: 100%;
  height: 100vh;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .hero .hero-content .text-content h1 {
    font-size: 4rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    padding: 0 1rem;
  }
  .main-nav .nav-right a:not(.logo) {
    display: none;
  }
  .main-nav .nav-right .cart-button {
    display: none;
  }
  .main-nav .nav-right .menu-button {
    display: block;
  }
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero .text-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .hero #threejs-container {
    width: 100%;
    height: 400px;
  }
  .hero .hero-content .text-content h1 {
    font-size: 3rem;
  }
  section h2 {
    font-size: 3rem;
  }
}
