:root {
  --bg: #101010;
  --bg-soft: #181818;
  --card: #202020;
  --gold: #c9a45c;
  --gold-soft: #e5c983;
  --text: #f5f0e8;
  --muted: #b8aea0;
  --border: rgba(201, 164, 92, 0.25);
}

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

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

header {
  background: rgba(16, 16, 16, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a {
  margin-left: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--gold);
}

.hero {
  min-height: 75vh;
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.75)),
    url("images/hero01.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-content {
  max-width: 750px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--gold);
  font-weight: normal;
  margin-bottom: 20px;
}

.hero p {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: 0.3s;
}

.btn:hover {
  background: var(--gold);
  color: #111;
}

section {
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;
}

.section-title {
  text-align: center;
  color: var(--gold);
  font-size: 2.4rem;
  font-weight: normal;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 45px;
}

.owners-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1fr;
  gap: 42px;
  align-items: center;
  margin-bottom: 55px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 34px;
}

.owners-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.owners-content {
  max-width: 620px;
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.owners-content h2 {
  color: var(--gold);
  font-size: 2.1rem;
  font-weight: normal;
  margin-bottom: 16px;
}

.owners-content p {
  color: var(--muted);
  margin-bottom: 18px;
}

.owners-content .btn {
  margin-top: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 30px;
  text-align: center;
}

.card h3 {
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: normal;
}

.card p {
  color: var(--muted);
}

.home-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.home-preview-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 1fr;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 330px;
}

.home-preview-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
}

.home-preview-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-preview-content h3 {
  color: var(--gold);
  font-size: 1.65rem;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 14px;
}

.home-preview-content p {
  color: var(--muted);
  margin-bottom: 18px;
}

.home-contact-card {
  grid-template-columns: 1fr;
  background:
    linear-gradient(rgba(16, 16, 16, 0.88), rgba(16, 16, 16, 0.88)),
    url("images/hero01.jpg") center/cover no-repeat;
}

.contact-mini-list {
  border-top: 1px solid var(--border);
  margin: 4px 0 22px;
  padding-top: 18px;
}

.contact-mini-list p {
  margin-bottom: 6px;
}

.category-buttons {
  text-align: center;
  margin-bottom: 40px;
}

.category-buttons a {
  display: inline-block;
  margin: 8px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  color: var(--gold);
}

.category-buttons a:hover,
.category-buttons a.active {
  background: var(--gold);
  color: #111;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.gallery-item {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
}

.product-card-content {
  padding: 24px;
}

.product-card h2 {
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: normal;
  margin-bottom: 8px;
}

.product-meta {
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.product-price {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.text-link {
  color: var(--gold);
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--gold-soft);
}

.empty-message,
.center-actions {
  color: var(--muted);
  text-align: center;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1fr;
  gap: 46px;
  align-items: start;
}

.product-main-image {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.product-thumbs img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.product-info {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 34px;
}

.product-info h1 {
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: normal;
  line-height: 1.15;
  margin-bottom: 10px;
}

.product-info p {
  color: var(--muted);
  margin-bottom: 18px;
}

.product-price-large {
  color: var(--text);
  font-size: 1.4rem;
}

.product-specs {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 20px;
}

.product-specs strong {
  color: var(--gold);
  font-weight: normal;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.form-box {
  max-width: 700px;
  margin: auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 35px;
}

.form-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
}

.form-box input,
.form-box textarea,
.form-box select {
  width: 100%;
  padding: 13px;
  margin-bottom: 20px;
  background: #0d0d0d;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.form-box textarea {
  min-height: 150px;
  resize: vertical;
}

.form-box button {
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

.success {
  color: #9ee6a8;
  text-align: center;
  margin-bottom: 20px;
}

.error {
  color: #ff9b9b;
  text-align: center;
  margin-bottom: 20px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 32px;
  align-items: start;
}

.admin-products {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 28px;
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-heading h2,
.admin-form h2 {
  color: var(--gold);
  font-weight: normal;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.admin-product-row img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

.admin-product-row h3 {
  color: var(--text);
  font-weight: normal;
}

.admin-product-row p {
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-form {
  max-width: none;
  margin: 0;
}

.admin-form h2 {
  margin-bottom: 20px;
}

.small-btn {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.danger-btn {
  border-color: #ff9b9b;
  color: #ff9b9b;
}

.danger-btn:hover {
  background: #ff9b9b;
  color: #111;
}

.delete-form {
  margin-top: 18px;
}

.checkbox-label {
  display: flex !important;
  gap: 10px;
  align-items: center;
  color: var(--muted) !important;
}

.checkbox-label input {
  width: auto;
  margin: 0;
}

.admin-image-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.admin-image-list img {
  width: 100%;
  height: 85px;
  object-fit: cover;
  border: 1px solid var(--border);
}

footer {
  background: #0b0b0b;
  border-top: 1px solid var(--border);
  padding: 50px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.footer-links {
  margin-bottom: 25px;
}

.footer-links a {
  color: var(--muted);
  margin: 0 14px;
  font-size: 0.95rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-info p {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  border: 1px solid var(--border);
  color: var(--gold);
  transition: 0.3s;
}

.footer-social a:hover {
  background: var(--gold);
  color: #111;
}

.footer-social svg {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  fill: currentColor;
}

.footer-copy {
  margin-top: 30px;
  color: #777;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    margin: 0 10px;
  }

  .hero {
    min-height: 60vh;
  }

  .owners-section {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .owners-content h2 {
    font-size: 1.8rem;
  }

  .hero-buttons,
  .hero-buttons .btn {
    width: 100%;
  }

  .home-preview-grid,
  .home-preview-card {
    grid-template-columns: 1fr;
  }

  .home-preview-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .product-detail,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .product-info {
    padding: 24px;
  }

  .admin-product-row {
    grid-template-columns: 70px 1fr;
  }

  .admin-product-row img {
    width: 70px;
    height: 70px;
  }
}
