 /*
 Theme Name: Flats SF
 Theme URI: https://www.flatssf.com/
 Author: Michael Muranaka for Entre Vista
 Author URI: http://muranaka.ink/
 Description: Custom Theme
 Version: 1.0
 License: GNU General Public License
 License URI: https://www.gnu.org/licenses/gpl.html
 Tags: flats, burger
 */

html, body {
  scroll-behavior: smooth;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: url(/wp-content/uploads/2025/07/flats-texture.png) top left repeat, #0D0E0E;
}

a {
  cursor: pointer !important;
  transition: all .5s;
  color: #fff;
  text-decoration: underline;
}

a:hover {
  color: #FFE160 !important;
}

img {
  display: block;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
  height: auto;
}

video {
  object-fit: cover;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lexend Deca", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 90%;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
}

h3 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 auto 10px;
}

p {
  line-height: 160%;
}

header {
  padding: 40px 3%;
  position: absolute;
  z-index: 20;
  width: 100%;
  color: #1E1E1E;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.box {
  box-sizing: border-box;
}

.yellow {
  color: #FFE160 !important;
}

a.button {
  display: inline-block;
  font-size: 16px;
  color: #0D0E0E;
  border-radius: 10px;
  padding: 15px 40px;
  text-decoration: none;
  text-transform: uppercase;
  background: #FFE160;
  letter-spacing: 2px;
  border: 3px solid #FFE160;
}

a.button:hover {
  background: #0D0E0E;
  color: #fff;
}

#header-content {
  background: url(/wp-content/uploads/2025/07/flats-texture.png) top left repeat, #FFE160;
  border: 3px solid #1E1E1E;
}

#header-content span {
  text-transform: uppercase;
}

#logo-container {
  padding: 0 0 0 30px;
}

#logo {
  margin: 0 30px 0 0;
  line-height: 0;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-transform: uppercase;
  display: flex;
}

nav ul a {
  display: block;
  padding: 30px 40px;
  color: #1E1E1E;
  border-left: 3px solid #1E1E1E;
  text-decoration: none;
}

nav ul a:hover {
  background: #1E1E1E;
  color: #fff;
}

#flats-hero {
  width: 100%;
  min-height: 1080px;
  height: 100vh;
  z-index: 10;
}

h1 {
  position: absolute;
  width: 100%;
  z-index: 20;
  display: block;
  font-size: 120px;
  padding: 400px 1vw 0;
  text-align: center;
  pointer-events: none;
  font-weight: 900;
}

#location {
  display: flex;
  flex-direction: column;
  margin: 120px auto;
  text-align: center;
}

#location h2 {
  font-size: 64px;
  margin: 0 auto 40px;
}

#location div {
  width: 90%;
  max-width: 800px;
  background: #1E1E1E;
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
  margin:  0 auto 40px;
}

#location p {
  margin: 0;
}

#menu {
  padding: 0 0 120px;
  margin: 0 auto;
  width: 90%;
  max-width: 1000px;
  text-align: center;
}

#menu h2 {
  font-size: 96px;
  margin: 0 auto 40px;
}

#menu .menu-item {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 80px 0 0;
}

#menu .menu-item:nth-of-type(2n) {
  margin-left: auto;
}

#menu .menu-item img {
  width: 40%;
  height: 80%;
  border: 5px solid #FFE160;
  border-radius: 20px;
}

#menu .menu-item div {
  width: 50%;
  text-align: left;
}

#about {
  background: url(/wp-content/uploads/2025/07/flats-texture.png) top left repeat, #1E1E1E;
  padding: 120px 30px;
}

#about h2 {
  display: block;
  text-align: center;
  font-size: 64px;
}

#gallery-container {
  height: 600px;
  width: 100%;
  padding: 80px 0;
}

#gallery-container img, #gallery-container video {
  height: 600px;
  width: 23%;
}

#bio-container {
  column-count: 2;
  column-gap: 20px;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 60px;
}

#more-info-container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

#more-info-container a {
  text-transform: uppercase;
  justify-content: flex-start;
  text-decoration: none;
}

#more-info-container a:hover {
  color: #FFE160;
}

#more-info-container img {
  width: 60px;
  margin: 0 30px 0 0;
}

footer {
  padding: 60px 40px;
}

footer a {
  text-decoration: none;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 96px;
  }

  #menu .menu-item {
    width: 100%;
  }

  #bio-container {
    column-count: 1;
    text-align: center;
  }

  #gallery-container {
    height: 400px;
  }

  #gallery-container img, #gallery-container video {
    height: 400px;
    width: 48%;
  }

  #gallery-container video:last-of-type, #gallery-container img:last-of-type {
    display: none;
  }
}

@media (max-width: 900px) {
  nav .hide a {
    display: none;
  }

  h1 {
    font-size: 84px;
    padding: 300px 1vw 0;
  }

  #flats-hero {
    min-height: 800px;
    height: 100vh;
  }
}

@media (max-width: 700px) {
  #logo-container span {
    display: none;
  }

  header {
    padding: 0;
  }

  #flats-hero {
    min-height: 600px;
    height: 80vh;
  }

  h1 {
    font-size: 13vw;
    padding: 30vh 0 0;
  }

  h2 {
    font-size: 54px !important;
  }

  #location {
    margin: 60px auto;
  }

  #menu {
    padding: 0 0 60px;
  }

  #menu .menu-item {
    flex-direction: column;
  }

  #menu .menu-item img, #menu .menu-item div {
    width: 100%;
  }

  #menu .menu-item img {
    margin: 0 auto 30px;
  }

  #about {
    padding: 60px 30px;
  }

  #gallery-container {
    padding: 40px 0;
  }

  #gallery-container video {
    width: 100%;
  }

  #gallery-container img {
    display: none;
  }

  footer {
    padding: 30px;
  }

}