:root {
  --color-dark: #2b2a2e;
  --color-slate: #4d616c;
  --color-text: #2d2d2d;
  --color-text-light: #d5d5d5;
  --color-muted: #6b6b6b;
  --max-width: 1160px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.15rem;
  white-space: nowrap;
}

.navbar-brand svg {
  width: 42px;
  height: 32px;
  flex-shrink: 0;
}

.navbar-end {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: #333;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-link.active {
  border-bottom-color: #000;
}

.nav-link:hover {
  color: #000;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bag-icon {
  width: 22px;
  height: 22px;
  color: #222;
}

.navbar-burger {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.navbar-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  margin-bottom: 6px;
}

/* Hero */
.hero {
  background: var(--color-dark);
  color: #fff;
  padding: 72px 24px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-heading {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 24px;
}

.hero-text {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 28px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: #fff;
}

.social-icons svg {
  width: 22px;
  height: 22px;
}

/* Buttons */
.btn-pill {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid #000;
}

.btn-pill:hover {
  background: #fff;
  color: #000;
}

.btn-center {
  text-align: center;
  margin: 56px auto;
}

/* Portfolio / content sections */
.section-white {
  background: #fff;
  padding: 0 24px 64px;
}

.portfolio-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
}

.portfolio-item h3 {
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.portfolio-item p {
  color: var(--color-muted);
  margin: 12px 0 0;
}

.portfolio-item img {
  border-radius: var(--radius);
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Portfolio page category sections */
.portfolio-sections {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 24px;
}

.portfolio-category {
  margin-bottom: 56px;
}

.portfolio-category h2 {
  font-size: 1.6rem;
  margin: 0 0 20px;
}

.portfolio-category img {
  width: 220px;
  height: 220px;
}

/* For sale grid */
.forsale-grid {
  max-width: var(--max-width);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.forsale-grid img {
  border-radius: var(--radius);
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Testimonial */
.testimonial {
  background: var(--color-slate);
  color: #fff;
  padding: 72px 24px;
  text-align: center;
}

.testimonial .stars {
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.testimonial .stars svg {
  width: 20px;
  height: 20px;
}

.testimonial blockquote {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  font-style: normal;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: 56px 24px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 16px;
}

.footer-menu-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #999;
  margin: 0 0 16px;
}

.footer-links a {
  display: block;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #999;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Generic page content (single/list templates) */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}

.page-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.page-content time {
  color: var(--color-muted);
  display: block;
  margin-bottom: 24px;
}

.lightgallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.lightgallery-grid a {
  display: block;
  line-height: 0;
}

.lightgallery-grid img {
  margin: 0;
  border-radius: 8px;
}

/* Shop grid (artwork for sale) */
.shop-grid {
  max-width: var(--max-width);
  margin: 16px auto 0;
  padding: 0 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.shop-item {
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.shop-item-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.shop-item-images a {
  display: block;
  line-height: 0;
}

.shop-item-images img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 0;
}

.shop-item h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.shop-item .price {
  font-weight: 700;
  margin: 0 0 6px;
}

.shop-item .details {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin: 0;
}

.list-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

.list-grid article h2 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.list-grid article time {
  color: var(--color-muted);
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .hero-inner,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    height: 320px;
  }

  .forsale-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
  }

  .navbar-end.is-active .nav-links {
    display: flex;
  }

  .navbar-burger {
    display: block;
  }

  .navbar {
    position: relative;
  }
}

/* Minimalist Contact Form Styling */
.contact-form {
  max-width: 550px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background-color: transparent;
}

/* Adjust colors automatically for dark themes */
@media (prefers-color-scheme: dark) {
  .form-group input, .form-group select, .form-group textarea {
    border-color: #444;
    color: #fff;
  }
}

.contact-form button {
  padding: 0.8rem 2rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

.contact-form button:hover {
  opacity: 0.8;
}

