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

body {
  font-family: "Georgia", serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

/* Header */
.header {
  text-align: center;
  padding: 60px 0 40px 0;
  background: #fafafa;
}

.logo {
  font-size: 3rem;
  font-weight: 300;
  color: #2c2c2c;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.tagline {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  margin-bottom: 30px;
}

.nav-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #8b7355;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
  border-radius: 2px;
  margin: 0 7px;
}

.nav-btn:hover {
  background: #6d5a44;
}

.nav-btn.secondary {
  background: transparent;
  color: #8b7355;
  border: 2px solid #8b7355;
}

.nav-btn.secondary:hover {
  background: #8b7355;
  color: white;
}

/* Portfolio Hero */
.portfolio-hero {
  background: #f8f8f8;
  padding: 80px 0;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: 2.5rem;
  color: #2c2c2c;
  font-weight: 300;
  margin-bottom: 20px;
}

.portfolio-hero p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Gallery */
.gallery {
  padding: 80px 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.artwork-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.artwork-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.artwork-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #e8d5c4, #d4b896);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b7355;
  font-size: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.artwork-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.artwork-item:hover .artwork-image::before {
  opacity: 1;
}

.artwork-info {
  padding: 25px;
}

.artwork-title {
  font-size: 1.3rem;
  color: #2c2c2c;
  margin-bottom: 8px;
  font-weight: 400;
}

.artwork-details {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.artwork-description {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.5;
  font-style: italic;
}

.artwork-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 15px;
}

.available {
  background: #e8f5e8;
  color: #2d5a2d;
}

.sold {
  background: #ffe8e8;
  color: #8b3a3a;
}

.commission {
  background: #e8f0ff;
  color: #2d4a8b;
}

.artwork-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #8b7355;
  margin-top: 10px;
}

.view-details-btn {
  display: inline-block;
  padding: 8px 16px;
  background: transparent;
  color: #8b7355;
  border: 1px solid #8b7355;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.view-details-btn:hover {
  background: #8b7355;
  color: white;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow-y: auto;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-content {
  background: white;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  z-index: 1001;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lightbox-close:hover {
  color: #8b7355;
}

.lightbox-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e8d5c4, #d4b896);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b7355;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

.lightbox-details {
  padding: 30px;
}

.lightbox-title {
  font-size: 2rem;
  color: #2c2c2c;
  margin-bottom: 15px;
  font-weight: 300;
}

.lightbox-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 6px;
}

.spec-item {
  text-align: center;
}

.spec-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.spec-value {
  font-size: 1rem;
  color: #2c2c2c;
  font-weight: bold;
}

.lightbox-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
}

.lightbox-story {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 25px;
}

.lightbox-story h4 {
  color: #8b7355;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.lightbox-story p {
  color: #666;
  line-height: 1.6;
}

.shipping-info {
  background: #f0f8ff;
  border-left: 4px solid #8b7355;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}

.shipping-info h5 {
  color: #8b7355;
  font-size: 1rem;
  margin-bottom: 8px;
}

.shipping-info p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.shipping-info p:last-child {
  margin-bottom: 0;
}

.sold-info {
  background: #fff5f5;
  border-left: 4px solid #d4756a;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}

.sold-info h5 {
  color: #d4756a;
  font-size: 1rem;
  margin-bottom: 8px;
}

.sold-info p {
  color: #666;
  font-size: 0.9rem;
}

.care-info {
  background: #f5f9f5;
  border-left: 4px solid #6b8e5a;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}

.care-info h5 {
  color: #6b8e5a;
  font-size: 1rem;
  margin-bottom: 8px;
}

.care-info p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.care-info p:last-child {
  margin-bottom: 0;
}

.payment-info {
  background: #fff9f0;
  border-left: 4px solid #e6a853;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}

.payment-info h5 {
  color: #e6a853;
  font-size: 1rem;
  margin-bottom: 8px;
}

.payment-info p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.payment-info p:last-child {
  margin-bottom: 0;
}

.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.lightbox-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #8b7355;
}

.inquire-btn {
  padding: 12px 24px;
  background: #8b7355;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.inquire-btn:hover {
  background: #6d5a44;
}

/* Categories */
.category-filters {
  text-align: center;
  margin-bottom: 40px;
}

.filter-btn {
  display: inline-block;
  padding: 8px 20px;
  margin: 0 8px 10px 0;
  background: transparent;
  color: #8b7355;
  border: 1px solid #8b7355;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: #8b7355;
  color: white;
}

/* Contact CTA */
.contact-cta {
  background: #f8f8f8;
  padding: 60px 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: 2rem;
  color: #2c2c2c;
  font-weight: 300;
  margin-bottom: 20px;
}

.contact-cta p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: #2c2c2c;
  padding: 40px 0;
  text-align: center;
}

.social-icons {
  margin-bottom: 20px;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 10px;
  background: #555;
  color: #ccc;
  text-decoration: none;
  border-radius: 50%;
  line-height: 40px;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.social-icon:hover {
  background: #8b7355;
  color: white;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer p {
  color: #ccc;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 40px 0 30px 0;
  }

  .logo {
    font-size: 2.2rem;
  }

  .nav-btn {
    display: block;
    margin: 10px auto 0 auto;
    text-align: center;
    max-width: 200px;
  }

  .portfolio-hero {
    padding: 50px 0;
  }

  .portfolio-hero h1 {
    font-size: 2rem;
  }

  .portfolio-hero p {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .gallery {
    padding: 50px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-cta {
    padding: 40px 0;
  }

  .contact-cta h2 {
    font-size: 1.7rem;
  }

  .contact-cta p {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.8rem;
  }

  .portfolio-hero h1 {
    font-size: 1.7rem;
  }

  .portfolio-hero p {
    font-size: 1rem;
  }

  .nav-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .contact-cta h2 {
    font-size: 1.5rem;
  }

  .artwork-info {
    padding: 20px;
  }
}
