﻿*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background: #3b3a4a; /* shown while the photo loads */
}

/* Hero: the photo already contains the portrait on the right */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 40px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, 0) 75%),
    url("../images/background.webp") no-repeat center center / cover;
}

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

.hero-content p {
  margin: 0;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .6);
}

.phone {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.phone:hover,
.phone:focus-visible {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #fff;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background .3s;
}

.btn:hover,
.btn:focus-visible {
  background: #ddd;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Tablet: narrower text column so it stays left of the portrait */
@media (max-width: 1100px) {
  .hero-content {
    max-width: 52%;
  }

  .hero-content p {
    font-size: 22px;
  }
}

/* Mobile: portrait on top, text at the bottom over a dark fade */
@media (max-width: 700px) {
  .hero {
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 32px 24px 40px;
    background:
      linear-gradient(rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .8) 100%),
      url("../images/background.webp") no-repeat 85% top / cover;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .hero-content p {
    font-size: 18px;
  }
}
