/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --container-padding: 1rem;
  --header-height: 4rem;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
    --header-height: 5rem;
  }
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: white;
  color: black;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .logo {
    font-size: 1.5rem;
  }
}

/* Mobile Menu */
.menu-open {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding-top: calc(var(--header-height) + 2rem);
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  padding-bottom: 2rem;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Hamburger Button */
.hamburger {
  cursor: pointer;
  width: 24px;
  height: 24px;
  transition: all 0.25s;
  position: relative;
  z-index: 100;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  width: 24px;
  height: 2px;
  top: 0;
  left: 0;
  background: #000;
  transform: rotate(0);
  transition: all 0.5s;
}

.hamburger-middle {
  transform: translateY(7px);
}

.hamburger-bottom {
  transform: translateY(14px);
}

.open {
  transform: rotate(90deg);
}

.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translateX(6px);
  background: #000;
}

.open .hamburger-middle {
  display: none;
}

.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translateX(-6px);
  background: #000;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.product-card {
  background-color: white;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image-container {
  position: relative;
  padding-top: 100%;
  background-color: #f9fafb;
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

/* Product Detail Page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .product-detail {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    padding: 2rem;
  }
}

.product-gallery-main {
  position: relative;
  padding-top: 100%;
  background-color: #f9fafb;
  border-radius: 1rem;
  overflow: hidden;
}

.product-gallery-main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .product-gallery {
    gap: 1rem;
  }
}

.gallery-thumbnail {
  position: relative;
  padding-top: 100%;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.gallery-thumbnail:hover {
  border-color: #000;
}

.gallery-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 1rem;
  border-radius: 9999px;
  transition: all 0.2s;
  font-weight: 500;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .btn {
    padding: 1.25rem;
  }
}

.btn-primary {
  background-color: black;
  color: white;
}

.btn-primary:hover {
  background-color: #1a1a1a;
}

.btn-outline {
  border: 2px solid black;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #f9fafb;
}

/* Footer */
.footer {
  background-color: black;
  color: white;
  margin-top: auto;
  padding: 3rem var(--container-padding) 0;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #374151;
  margin-top: 3rem;
  font-size: 0.875rem;
}

/* Footer Map */
.footer-map {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.footer-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .footer-map {
    height: 400px;
  }
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

@media (min-width: 768px) {
  .text-price {
    font-size: 2rem;
  }
}

.link-hover {
  transition: color 0.2s;
}

.link-hover:hover {
  color: #4b5563;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem var(--container-padding);
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem var(--container-padding);
  }
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-description {
  font-size: 1rem;
  color: #4b5563;
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
  }
} 