/*
Theme Name: The Curious Collection Performance
Author: Aaron McGregor / ChatGPT
Description: A cinematic candlelit WordPress theme for The Curious Collection.
Version: 1.1
*/

body {
  margin: 0;
  background: #070707;
  color: #F5F2EB;
  font-family: Georgia, serif;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 36px;
  background: rgba(0,0,0,.58);
  z-index: 10;
  box-sizing: border-box;
  letter-spacing: 2px;
}

nav a {
  margin-left: 24px;
  color: #F5F2EB;
  text-decoration: none;
  font-size: 14px;
}
.hero {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.18)),
    url('assets/hero.jpg');

  background-size: cover;
  background-position: center;

  display: flex;
  align-items: flex-end;

  padding-left: 8%;
  padding-bottom: 3%;

  box-sizing: border-box;
}
.hero h1 {
  font-size: clamp(36px, 4.8vw, 58px);
  letter-spacing: 7px;
  margin: 0 0 20px;
}

.tagline {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}

.button {
  display: inline-block;
  border: 1px solid #C8A15A;
  padding: 15px 30px;
  margin-top: 30px;
  color: #F5F2EB;
  text-decoration: none;
  letter-spacing: 1px;
}

section {
  padding: 110px 12%;
}

.manuscript {
  background:
    linear-gradient(rgba(0,0,0,.68), rgba(0,0,0,.9)),
    url('assets/manuscript.png');
  background-size: cover;
  background-position: center;
}

h1, h2, h3 {
  font-weight: normal;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin-top: 0;
}

p {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  border: 1px solid #C8A15A;
  padding: 36px;
  background: rgba(255,255,255,.025);
}

footer {
  padding: 50px 12%;
  color: #cfc7b8;
  border-top: 1px solid rgba(200,161,90,.35);
}

@media (max-width: 700px) {
  nav a {
    display: block;
    margin: 10px 0 0;
  }
  .hero {
    padding: 160px 8% 80px;
    align-items: flex-start;
  }
}
.logo {
  font-weight: bold;
  letter-spacing: 3px;
  margin-right: 40px;
}


/* Header image for internal pages */

.page-hero {
  height: 45vh;
  min-height: 320px;
  background:
    linear-gradient(
      rgba(0,0,0,.25),
      rgba(0,0,0,.8)
    ),
    url('assets/manuscript.png');

  background-size: cover;
  background-position: center;
}


/* Prevent fixed menu covering page titles */

body:not(.home) section {
  padding-top: 80px;
}


/* Ensure scrolling */

html,
body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
