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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #000000;
  line-height: 1.6;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & footer */
header {
  background: #0f172a;
  color: #ffffff;
  padding: 18px 0 14px;
}

.site-title {
  font-size: 32px;
  font-weight: bold;
}

.site-subtitle {
  font-size: 14px;
  margin-top: 4px;
}

nav {
  margin-top: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
}

nav a {
  color: #e5e7eb;
  font-size: 14px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

nav a.active,
nav a:hover {
  border-color: #38bdf8;
  text-decoration: none;
}

main {
  padding: 28px 0 40px;
}

section {
  margin-bottom: 28px;
}

h1, h2, h3 {
  margin-bottom: 10px;
}

p {
  margin-bottom: 10px;
}

ul {
  margin-left: 18px;
  margin-bottom: 10px;
}

.label {
  font-weight: bold;
}

.footer-bar {
  background: #0f172a;
  color: #ffffff;
  padding: 26px 0;
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
}

.footer-bar p + p {
  margin-top: 6px;
}

/* Form styling */
form {
  max-width: 520px;
}

.field {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

input, textarea, select {
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  font: inherit;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2563eb;
}

button {
  padding: 8px 14px;
  border-radius: 4px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #111827;
}

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #9ca3af;
  cursor: pointer;
}

.hero-dot.active {
  background: #38bdf8;
}

/* 3-column gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Owner section */
.owner-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
}

.owner-photo {
  max-width: 180px;
}

.owner-photo img {
  width: 100%;
  height: auto;
  border-radius: 999px;
  display: block;
}

.owner-text h3 {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 800px) {
  .site-title {
    font-size: 26px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .owner-section {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .owner-photo {
    max-width: 160px;
  }
}

@media (max-width: 520px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
