/* Google Font import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #F4F4F6;
  color: #0B2B4E;
  font-family: "Recoleta", Georgia, "Times New Roman", serif;
  line-height: 1.7;
  font-size: 18px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #F59F15;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid #9999A1;
  padding: 22px 0;
  background: #F4F4F6;
}

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-header h1 {
  margin: 0;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F59F15;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-header nav a {
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0B2B4E;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-image: url("images/photo-01.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 120px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 43, 78, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h2 {
  margin: 0 0 18px;
  max-width: 900px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #F4F4F6;
}

.hero p {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 1.2rem;
  color: #F4F4F6;
}

.button {
  display: inline-block;
  padding: 10px 14px;
  background: #F59F15;
  color: #E6E6E9;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #F59F15;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: #0B2B4E;
  color: #E6E6E9;
  border-color: #0B2B4E;
  opacity: 1;
  transform: translateY(-1px);
}

.portfolio,
.about,
.contact {
  padding: 72px 0;
}

.testimonials {
  padding: 72px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.testimonial-card {
  padding: 24px;
  border: 1px solid #9999A1;
  background: #9999A1;
}

.testimonial-quote {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: #F4F4F6;
}

.testimonial-name {
  margin: 0 0 6px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F59F15;
}

.testimonial-role {
  margin: 0;
  color: #F4F4F6;
  font-size: 0.95rem;
}

.portfolio h3,
.about h3,
.contact h3 {
  margin: 0 0 24px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F59F15;
}

.grid {
  column-count: 3;
  column-gap: 9px;
}

.grid img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 9px;
  border: 1px solid #E6E6E9;
  break-inside: avoid;
}

@media (max-width: 900px) {
  .grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .grid {
    column-count: 1;
  }
}

.about p,
.contact p {
  max-width: 720px;
  margin: 0 0 16px;
}

.contact a {
  font-weight: 700;
}

section {
  border-bottom: 1px solid #E6E6E9;
}

section:last-of-type {
  border-bottom: none;
}

.accent-line {
  width: 72px;
  height: 2px;
  background: #0B2B4E;
  margin: 0 0 24px;
}

.footer {
  padding: 28px 0 40px;
  color: #0B2B4E;
  font-size: 0.95rem;
}

.portfolio-item {
  display: block;
  margin-bottom: 9px;
  cursor: zoom-in;
  break-inside: avoid;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #0B2B4E;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 43, 78, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 9999;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  border: none;
  color: #F4F4F6;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav {
    gap: 12px;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .portfolio,
  .about,
  .contact,
  .testimonials {
    padding: 56px 0;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

