/* Bare-bones styles. Replace/expand as you like. */

* {
  box-sizing: border-box;
  font-family: 'Noto Sans', monospace;
}


body {
  margin: 0;
  /* font-family: 'Noto Sans', monospace; */
  color: #ddd;
  background-image: url('/Texturelabs_Grunge_352M.jpg');
  background-color: #000;
  line-height: 1.5;
}

header, footer {
  top: 0;
  z-index: 10;
  position: sticky;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  border-bottom: 1px solid #ddd;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)),
    url('/Texturelabs_Grunge_352M.jpg');
  background-color: #222;
}

footer {
  border-top: 1px solid #ddd;
  border-bottom: none;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #ddd;

}

nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: #ddd;
  padding: 10px;
  
}

nav a:hover {
  /* text-decoration: underline; */
  background-color: #222;
  padding: 10px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem;
  /* align-content: center; */
}

h1, h2 {
  position: relative;
  font-size: 300%;
  margin-top: 0;
}
.textcontainer{
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  /* border: 1px solid #ddd; */
  background-color: rgb(10,10,10);
  padding: 1rem;
  /* align-content: center; */
}
.card:hover{
  background-color: rgb(20,20,20);
}
.card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  font-family: inherit;
  font-size: 1rem;
}

form button {
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
}
p{
  text-align: center;
}
a, a:visited, a:active {
  text-align: center;
  color: inherit;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 1px solid #e7e1d5;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button-primary {
  color: #111 !important;
  background: #e7e1d5;
}
.button-primary:hover {
  color: #111;
  background: #fff;
  text-decoration: none;
}
.button-secondary {
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
}
.button-secondary:hover {
  color: #111;
  background: #e7e1d5;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #e7e1d5;
  outline-offset: 4px;
}
.video {
  position: relative;
  width: min(1100px, calc(100vw - 3rem));
  aspect-ratio: 16 / 9;
  margin: 0 auto 2rem;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(420px, 62vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  
  object-fit: cover;
  /* object-position: right 125px top 50%;  */

  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.26) 78%),
    linear-gradient(to bottom, transparent 60%, #000 100%);
}

.hero-text {
  width: min(900px, 100%);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  margin-bottom: 0.5rem;
}
.hero-text p {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.showreel {
  padding-top: 1rem;
}
.showreel h2,
.section-heading {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
}
.home-cta {
  margin: 4rem auto 1rem;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  text-align: center;
  border: 1px solid rgba(231, 225, 213, 0.35);
  background: rgba(10, 10, 10, 0.84);
}
.home-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.home-cta p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 600px) {
  .hero { min-height: 440px; }
  .hero::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.32));
  }
  main { padding: 1.25rem; }
  .video { width: calc(100vw - 2.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
