* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  background: #f7f7f5;
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 247, 245, 0.95);
  border-bottom: 1px solid #ddd;
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
}

.site-nav a:hover {
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  padding: 7rem 0 5rem;
  background: linear-gradient(to bottom, #f7f7f5, #ecebe7);
}

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

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #666;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin: 0.7rem 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.hero-text {
  max-width: 620px;
  font-size: 1.05rem;
  color: #333;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #111;
}

.btn-primary {
  background: #111;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #111;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: #efeee9;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.card-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.card,
.project {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 1.4rem;
}

.project-image {
  height: 220px;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.placeholder {
  display: grid;
  place-items: center;
  background: #d9d8d2;
  color: #555;
  font-weight: 600;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #cfcfcf;
  border-radius: 14px;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid #ddd;
  background: #f7f7f5;
}

.footer-inner {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .two-column,
  .card-grid,
  .project-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #f7f7f5;
    border-bottom: 1px solid #ddd;
    padding: 1rem 4%;
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav.open {
    display: flex;
  }
}

.home-gallery-preview {
  background: #f7f7f5;
}

.home-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;

  max-width: 1000px;   /* controls overall width */
  margin-left: auto;
  margin-right: auto;
}
.home-gallery-preview .container {
  text-align: center;
}

.home-photo {
  height: 260px;
  border-radius: 18px;
}

.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-category {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 800px) {
  .home-photo-grid,
  .gallery-category-grid {
    grid-template-columns: 1fr;
  }
}
body {
  background: #0f1c2e;
  color: #ffffff;
}

.site-header {
  background: rgba(15, 28, 46, 0.96);
  border-bottom: 1px solid #22324a;
}

.site-footer {
  background: #0f1c2e;
  border-top: 1px solid #22324a;
}

.logo,
.site-nav a,
h1,
h2,
h3,
.btn-secondary,
.gallery-category,
.card,
.project,
.contact-form input,
.contact-form textarea,
.footer-inner {
  color: #ffffff;
}

p,
.hero-text,
.contact-wrap p,
.card p,
.project p {
  color: #d8dee8;
}

.section-alt {
  background: #13243a;
}

.hero {
  background: linear-gradient(to bottom, #0f1c2e, #13243a);
}

.eyebrow,
.section-label {
  color: #d4af37;
}

.btn {
  border: 1px solid #d4af37;
}

.btn-primary {
  background: #d4af37;
  color: #0f1c2e;
}

.btn-secondary {
  background: transparent;
  color: #d4af37;
}

.card,
.project,
.gallery-category {
  background: #16283f;
  border: 1px solid #2a3e5c;
}

.contact-form input,
.contact-form textarea {
  background: #16283f;
  border: 1px solid #2a3e5c;
}

.placeholder {
  background: #22324a;
  color: #d4af37;
}

.home-gallery-preview .container {
  text-align: center;
}

.home-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.home-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-category {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 1.5rem;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.gallery-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.gallery-section {
  padding-top: 4rem;
}

.gallery-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .gallery-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-image-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.gallery-back-link {
  display: inline-block;
  margin-top: 1rem;
  color: #d4af37;
  text-decoration: none;
}

@media (max-width: 900px) {
  .home-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .gallery-category-grid {
    grid-template-columns: 1fr;
  }
}
