/*
Theme Name: Simple Hero Homepage
Theme URI: https://example.com/simple-hero-homepage
Author: ChatGPT
Description: A simple one-page WordPress theme with a large picture and text on the homepage.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: simple-hero-homepage
*/

:root {
  --bg: #f7f3ed;
  --text: #1d1d1d;
  --muted: #555;
  --button: #1d1d1d;
  --button-text: #fff;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 24px 40px;
  color: white;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .38);
}

.hero-content {
  position: relative;
  max-width: 850px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero p {
  font-size: clamp(18px, 2vw, 24px);
  margin: 0 auto 32px;
  max-width: 720px;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none;
  font-weight: 700;
}

.main-text {
  max-width: 850px;
  margin: 0 auto;
  padding: 70px 24px;
  font-size: 19px;
}

.site-footer {
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 700px) {
  .site-header {
    padding: 18px 22px;
  }

  .hero {
    min-height: 80vh;
  }
}
