:root {
  --clr-primary: #000;
  --clr-white: #fff;
  --clr-card: #f4f4f4;
  
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
}

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

.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  padding: var(--space-md);
}

.product-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--clr-primary);
  font-weight: 600;
  padding: 1rem;
  position: relative;
}

.product-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--clr-primary);
}

/* Header */
header {
  background-color: var(--clr-primary);
  padding: var(--space-md) 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--clr-white);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .header-content {
      flex-direction: column;
      gap: 1rem;
  }
  
  .nav-menu {
      gap: 1rem;
  }
}

/* Product Layout */
.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
  align-items: start;
}

/* Product Image */
.product-image {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.zoom-container {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.zoom-container img {
  width: 100%;
  height: auto;
  display: block;
}

.zoom-container img.hidden {
  display: none;
}

.zoom-container img.active {
  display: block;
}

.zoom-lens {
  position: absolute;
  border: 2px solid #fff;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: zoom-in;
  display: none;
}

.zoom-result {
  position: absolute;
  top: 0;
  left: 105%;
  width: 300px;
  height: 300px;
  border: 1px solid #d4d4d4;
  background-repeat: no-repeat;
  background-color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: none;
  z-index: 999;
}

/* Color Options */
.color-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.color-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.color-btn.active {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

/* Product Information */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.specifications, .product-description {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.specifications h2, .product-description h2 {
  color: var(--clr-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--clr-primary);
}

.specifications ul {
  list-style: none;
  padding: 0;
}

.specifications li {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.specifications li strong {
  color: var(--clr-primary);
  display: inline-block;
  min-width: 120px;
}

.product-description ul {
  list-style: none;
  padding: 0;
}

.product-description li {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background-color: #f8f9fa;
  border-radius: 5px;
  line-height: 1.6;
}

.product-description p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  padding-block: var(--space-xl);
  background-color: rgb(0, 0, 0);
  margin-top: var(--space-xl);
  text-align: center;
}

.footer .container {
  display: flex;
  justify-content: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  max-width: 600px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer-contact h3 {
  color: var(--clr-white);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.footer-contact address {
  font-style: normal;
  text-align: center;
}

.footer-contact p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--clr-white);
}

.footer-contact i {
  color: var(--clr-white);
}

.footer-logo {
  width: 120px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .zoom-result {
      display: none !important;
  }
  
  .zoom-lens {
      display: none !important;
  }
  
  .zoom-container {
      cursor: default;
  }
}

@media (max-width: 1024px) {
  .product-container {
      grid-template-columns: 1fr;
      gap: 2rem;
  }

  .product-image {
      max-width: 600px;
      margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .specifications, .product-description {
      padding: 1.5rem;
  }

  .product-title {
      font-size: 1.5rem;
  }
}