/* Warm color scheme - 5 colors max */
:root {
  --primary-warm: #FF6B35;      /* High contrast orange */
  --secondary-warm: #F7931E;    /* High contrast amber */
  --accent-warm: #FFD23F;       /* Medium contrast yellow */
  --neutral-warm: #F4E4C1;      /* Low saturation cream */
  --text-dark: #2C3E50;         /* Dark text */
  --text-light: #FFFFFF;         /* Light text */
  --border-light: #E8D5B7;       /* Light border */
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--neutral-warm);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--primary-warm);
  color: var(--text-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-light);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
}

/* Product Banner Cards */
.product-banner {
  background: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-banner-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-banner-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--border-light);
}

.product-banner-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-model {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sale-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-warm);
}

.original-price {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
}

.view-details-btn {
  background: var(--secondary-warm);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.view-details-btn:hover {
  background: var(--primary-warm);
}

/* Product Detail Page */
.product-detail {
  background: var(--text-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.product-detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-gallery {
  position: relative;
}

.main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--border-light);
}

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

.thumbnail {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-info .model {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.product-info .price-box {
  margin-bottom: 2rem;
}

.msrp-price {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.product-description {
  margin-bottom: 2rem;
}

.document-list {
  background: var(--neutral-warm);
  padding: 1.5rem;
  border-radius: 8px;
}

.document-list h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.document-item {
  display: block;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: var(--text-light);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.3s;
}

.document-item:hover {
  background: var(--accent-warm);
}

/* Document Page */
.document-page {
  background: var(--text-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.document-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-light);
}

.document-header h1 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.document-type {
  color: var(--primary-warm);
  font-weight: bold;
}

.document-iframe {
  width: 100%;
  height: 800px;
  border: none;
  border-radius: 8px;
  background: var(--neutral-warm);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 2rem 0;
  margin-top: 4rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--accent-warm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #444;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-detail-header {
    grid-template-columns: 1fr;
  }
  
  .gallery-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .product-banner-image {
    height: 200px;
  }
  
  .product-banner-content {
    padding: 1rem;
  }
  
  .product-title {
    font-size: 1.2rem;
  }
  
  .sale-price {
    font-size: 1.5rem;
  }
  
  .main-image {
    height: 300px;
  }
  
  .gallery-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .product-banner-image {
    height: 150px;
  }
  
  .main-image {
    height: 250px;
  }
  
  .price-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .document-iframe {
    height: 600px;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
