:root {
  --bg: #0d0f11;
  --blue: #00b8f0;
  --white: #f7f8fa;
  --muted: #b6bdc3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
  min-height: 76px;
  padding: 20px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #0b0d0f;
}

.brand {
  font-size: 21px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.brand span, h1 span, .eyebrow { color: var(--blue); }

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 6px;
  margin-top: 5px;
}

nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { font-size: 11px; letter-spacing: 1px; }
nav a:hover { color: var(--blue); }

.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 8%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.12)),
    url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2000&q=85')
    center/cover;
}

.eyebrow { font-size: 12px; letter-spacing: 4px; }

h1 {
  font-size: clamp(40px, 6vw, 86px);
  font-weight: 400;
  letter-spacing: 5px;
  margin: 20px 0;
}

.subtitle { letter-spacing: 4px; font-size: 12px; }

.button {
  display: inline-block;
  background: var(--blue);
  color: #071016;
  padding: 17px 26px;
  margin-top: 26px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.button:hover { background: #70dcff; }

.section { padding: 90px 6%; }

h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: 5px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 35px;
}

.photo {
  min-height: 340px;
  display: flex;
  align-items: end;
  padding: 20px;
  background-position: center;
  background-size: cover;
  position: relative;
  transition: transform .3s ease;
}

.photo:hover { transform: translateY(-5px); }

.photo h3 {
  font-size: 12px;
  letter-spacing: 2px;
  z-index: 1;
}

.landscape {
  background-image: linear-gradient(transparent, #0009),
    url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=800&q=80');
}

.pets {
  background-image: linear-gradient(transparent, #0009),
    url('https://images.unsplash.com/photo-1552053831-71594a27632d?auto=format&fit=crop&w=800&q=80');
}

.automotive {
  background-image: linear-gradient(transparent, #0009),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=800&q=80');
}

.lifestyle {
  background-image: linear-gradient(transparent, #0009),
    url('https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=800&q=80');
}

.about { background: #171a1d; }

.about p:not(.eyebrow), .contact p:not(.eyebrow) {
  max-width: 600px;
  line-height: 1.9;
  color: var(--muted);
}

.contact { text-align: center; }
.contact p { margin-left: auto; margin-right: auto; }

footer {
  padding: 35px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid #292d30;
}

@media (max-width: 850px) {
  .site-header { flex-direction: column; }
  nav { justify-content: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 520px; }
}

@media (max-width: 500px) {
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 65px 6%; }
  .hero { padding: 9%; }
}

/* MICHAEL VISIONS SOCIAL MEDIA */

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid #39444c;
  border-radius: 4px;
  color: #f7f8fa;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}

.social-button:hover {
  border-color: #00b8f0;
  background: #00b8f0;
  color: #071016;
  transform: translateY(-2px);
}

@media (max-width: 850px) {
  .social-links {
    width: 100%;
  }
}

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

.footer-social a {
  color: #b6bdc3;
  font-size: 12px;
  transition: color .25s ease;
}

.footer-social a:hover {
  color: #00b8f0;
}

/* Premium social icons */

.social-links,
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.social-button,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid #344650;
  border-radius: 50%;
  background: #1c242b;
  color: #dce8ee;
  transition: all .25s ease;
}

.social-button:hover,
.footer-social a:hover {
  background: #00b8f0;
  border-color: #00b8f0;
  color: #071016;
  transform: translateY(-3px);
}

.social-links svg,
.footer-social svg {
  width: 20px;
  height: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* Behind the Lens */

.about {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #12171b;
}

.about-content {
  max-width: 760px;
  margin: 0 auto;
}

.about-content h2 {
  margin-bottom: 35px;
}

.about-content p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.9;
  color: #c7cdd2;
}

.about-link {
  display: inline-block;
  margin-top: 25px;
  color: #00b8f0;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
}

.about-link:hover {
  color: #70dcff;
}

/* Michael Visions original photography */

.hero {
  min-height: 720px;
  background:
    linear-gradient(
      90deg,
      rgba(5,10,18,.76) 0%,
      rgba(5,10,18,.38) 55%,
      rgba(5,10,18,.12) 100%
    ),
    url('../images/hero-mountains.jpg')
    center center / cover no-repeat;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6%;
  padding: 0 6% 0 0;
  overflow: hidden;
}

.about-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

.about-content {
  max-width: 620px;
  margin: 0;
}

@media (max-width: 850px) {
  .hero {
    min-height: 570px;
  }

  .about {
    grid-template-columns: 1fr;
    padding: 0 0 65px;
  }

  .about-photo {
    height: 420px;
  }

  .about-content {
    padding: 35px 6% 0;
  }
}

/* Michael Visions automatic portfolio */
.mv-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 24px;
  margin-top: 35px;
}
.mv-category {
  min-width: 0;
}
.mv-category h3 {
  color: #fff;
  border-left: 3px solid #168cff;
  padding-left: 12px;
  margin-bottom: 15px;
}
.mv-photos {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.mv-photos button {
  border: 0;
  padding: 0;
  background: #171b23;
  cursor: pointer;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.mv-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.mv-photos button:hover img {
  transform: scale(1.05);
}
.mv-empty {
  color: #aaa;
  padding: 25px 10px;
  background: #171b23;
}
.mv-lightbox:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.96);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mv-lightbox img {
  max-width: 85vw;
  max-height: 88vh;
  object-fit: contain;
}
.mv-lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: white;
  font-size: 45px;
  cursor: pointer;
}
#mv-close {top: 15px;right: 25px;}
#mv-prev {left: 15px;}
#mv-next {right: 15px;}

/* Michael Visions portfolio cover cards */
.mv-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 22px;
  margin-top: 35px;
}
.mv-cover-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #151922;
  text-align: left;
}
.mv-cover-card > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .4s ease;
}
.mv-cover-card:hover > img {
  transform: scale(1.07);
}
.mv-cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(transparent,rgba(0,0,0,.85));
}
.mv-cover-overlay h3 {
  color: white;
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.mv-cover-overlay span {
  color: #60adff;
  font-size: .75rem;
  letter-spacing: 2px;
}
.mv-back {
  background: transparent;
  color: #60adff;
  border: 0;
  cursor: pointer;
  padding: 12px 0;
  text-align: left;
}
.mv-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 12px;
  grid-column: 1/-1;
}
.mv-photo-grid button {
  border: 0;
  padding: 0;
  background: #171b23;
  cursor: pointer;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.mv-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mv-gallery > h3,
.mv-gallery > .mv-back {
  grid-column: 1/-1;
}
