/* Songwah Store - Static Site Styles */
:root {
  --primary: #1a1a1a;
  --secondary: #f5f5f5;
  --accent: #c9a86c;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --border: #e5e5e5;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.main-nav a {
  margin-left: 2rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
}

/* Products Section */
.products-section {
  padding: 3rem 0;
}

.products-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

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

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

.product-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.product-card h3 a:hover {
  color: var(--accent);
}

.product-card .price {
  padding: 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.product-card .btn {
  margin: 1rem;
  width: calc(100% - 2rem);
  background: var(--primary);
  color: var(--white);
}

.product-card .btn:hover {
  background: var(--accent);
}

/* Page Header */
.page-header {
  background: var(--secondary);
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
}

/* Product Detail */
.product-detail {
  padding: 2rem 0;
}

.product-detail .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.product-images img {
  width: 100%;
  border-radius: 8px;
}

.product-info h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.product-info .price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.product-info .description {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.product-info .description ul {
  padding-left: 1.5rem;
}

.product-info .description li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .product-detail .container {
    grid-template-columns: 1fr;
  }
  
  .main-nav a {
    margin-left: 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}