/* =========================
   GENERAL
========================= */
body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
}

/* =========================
   HEADER
========================= */
header {
  text-align: center;
  padding: 40px 20px 25px;
}

header h1 {
  font-size: 40px;
  margin: 0 0 20px 0;
  font-weight: 700;
}

nav a {
  color: #c9a86a;
  margin: 0 18px;
  font-weight: 600;
  font-size: 16px;
}

nav a:hover {
  opacity: 0.85;
}

/* =========================
   HOME (HERO)
========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  padding: 90px 60px 110px;
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
}

.hero-image img {
  width: 550px;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image a:hover img {
  transform: scale(1.01);
}

/* =========================
   GALLERY
========================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  gap: 55px;
  padding: 70px 50px 90px;
  background-color: #0a0a0a;
}

.gallery-item {
  background-color: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.gallery-item a {
  display: block;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item a:hover img {
  transform: scale(1.01);
}

.gallery-caption {
  padding: 18px 12px 20px;
}

.gallery-caption h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.gallery-caption p {
  font-size: 14px;
  color: #ddd;
  margin: 0;
}

/* =========================
   PAINTING PAGE
========================= */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;                /* 🔧 REDUCED FROM 130 → 80 */
  padding: 100px 80px;
  background-color: #0a0a0a;
}

.image {
  flex: 0 0 auto;
  width: 700px;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  padding: 22px;
  background-color: #111;
  border: 2px solid #3a3a3a;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
}

.text {
  max-width: 420px;
}

.text h1 {
  font-size: 34px;
  margin-bottom: 25px;
  font-weight: 700;
}

.text p {
  font-size: 17px;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 25px;
  background-color: #c9a86a;
  color: #000;
  padding: 14px 26px;
  font-weight: 700;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.button:hover {
  opacity: 0.85;
}

.back-link {
  color: #c9a86a;
  font-weight: 600;
}

.back-link:hover {
  opacity: 0.85;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 25px;
  color: #888;
  font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .container {
    gap: 60px;
    padding: 80px 40px;
  }

  .image {
    width: 600px;
    height: 600px;
  }
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
    padding: 60px 30px;
  }

  .text {
    max-width: 700px;
  }

  .image {
    width: 100%;
    max-width: 700px;
    height: auto;
  }

  .image img {
    max-width: 100%;
    max-height: none;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
}