/* ==========================================================================
   Base / Reset
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  background-color: #38383b;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.main {
  min-height: calc(100vh - 6rem - 10.9rem);
}

.main--coal {
  background-color: #18181b;
}

.main--fog {
  background-color: #f8f8fc;
}

.main--primary {
  background-color: #38383b;
}

.main--padded {
  padding-top: 4rem;
}

@media (min-width: 768px) {
  .main--padded {
    padding-top: 6rem;
  }
}

/* ==========================================================================
   Navigation Bar (Header)
   ========================================================================== */

.header {
  background-color: #38383b;
  transition: background-color 250ms ease-in;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  width: 100%;
}

.header--transparent {
  background-color: transparent;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  transition: margin 250ms ease-in;
}

.header--transparent .header__content {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.header__brand {
  background: url('/i/logo_white.png') left 0 top 50% / contain no-repeat;
  height: 2rem;
  flex-grow: 1;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  cursor: pointer;
}

.header__menu-bar-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.header__menu-top-bar,
.header__menu-bottom-bar {
  position: absolute;
  background-color: white;
  height: 1px;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  transition: transform 250ms cubic-bezier(0.2, 0.6, 0.3, 1),
    width 250ms cubic-bezier(0.2, 0.6, 0.3, 1);
  will-change: transform, width;
}

.header__menu-top-bar {
  transform: translateY(5.5px);
}

.header__menu-bottom-bar {
  transform: translateY(-5.5px);
}

.header__menu--active .header__menu-top-bar {
  transform: translateX(3.5px) rotate(-135deg);
  width: 1.5rem;
}

.header__menu--active .header__menu-bottom-bar {
  transform: translateX(3.5px) rotate(135deg);
  width: 1.5rem;
}

.header__nav {
  display: none;
}

.header__actions {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.header__action {
  display: inline-block;
  color: white;
  margin-left: 1rem;
}

.header__action-link {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
  transition: opacity 100ms ease-in;
}

.header__action-link:hover,
.header__action-link:active {
  opacity: 0.6;
}

.header__action-link--active {
  border-bottom: 1px solid white;
}

/* Mobile Navigation */

.mobile-header__nav {
  position: fixed;
  visibility: hidden;
  transition: visibility 250ms ease-in, opacity 250ms ease-in;
  will-change: visibility, opacity;
  opacity: 0;
  top: 0;
  left: 0;
  background-color: #38383b;
  height: 100vh;
  z-index: 1;
  width: 100%;
}

.mobile-header__nav--active {
  visibility: visible;
  opacity: 1;
}

.mobile-header__content {
  height: 100%;
  transition: transform 250ms ease-in;
  transform: translateY(20px);
  will-change: transform;
}

.mobile-header__nav--active .mobile-header__content {
  transform: translateY(0px);
}

.mobile-header__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  list-style: none;
  margin: 0;
  height: 100%;
  padding: 0;
}

.mobile-header__action-link {
  display: block;
  color: white;
  font-size: 2rem;
  text-decoration: none;
  line-height: 1.8;
}

.mobile-header__action-link:hover,
.mobile-header__action-link:active {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .header__menu {
    display: none;
  }

  .mobile-header__nav {
    display: none;
  }

  .header__content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }

  .header__nav {
    display: inline-block;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: #38383b;
  color: white;
  width: 100%;
}

.footer__content {
  padding: 2rem 1rem;
}

.footer__title {
  font-size: 1.5rem;
}

.footer__info {
  display: flex;
  justify-content: space-between;
}

.footer__contacts,
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__contact a,
.footer__link a {
  color: #a8a6a1;
  line-height: 2;
}

@media (min-width: 768px) {
  .footer__title {
    font-size: 2.5rem;
    margin: 0;
    margin-bottom: 2rem;
  }

  .footer__content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
  }
}

/* ==========================================================================
   Button
   ========================================================================== */

.button {
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 0;
  border: none;
  background-color: #a8a6a1;
  color: white;
  cursor: pointer;
  transition: opacity 100ms ease-in;
  text-decoration: none;
  text-align: center;
}

.button:hover,
.button:active {
  opacity: 0.8;
}

.button--expanded {
  width: 100%;
}

.button--m {
  padding: 1rem;
  font-size: 1rem;
}

.button--primary {
  background-color: #38383b;
  color: #f8f8fc;
}

.button--secondary {
  background-color: #dcb984;
  color: #f1f0f4;
}

/* ==========================================================================
   Landing Page - Hero Header
   ========================================================================== */

.hero {
  background: url('/i/header-bg.jpg') center/cover;
  height: 100vh;
  padding-top: 6rem;
}

.hero__title {
  font-weight: bold;
  font-size: 2.5rem;
  width: 100%;
  margin: 0;
  padding: 2rem 1rem;
  color: white;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
  }

  .hero__content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
  }

  .hero__title {
    width: 50%;
    font-size: 4rem;
  }
}

/* ==========================================================================
   Landing Page - Overview Section
   ========================================================================== */

.overview {
  padding: 2rem 1.5rem;
  background-color: #dfe0e1;
}

.overview__content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.overview__image-container {
  position: relative;
  height: 300px;
  width: 100%;
}

.overview__image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview__title {
  word-wrap: break-word;
  font-size: 1.75rem;
  font-weight: bold;
  margin: 1rem 0;
}

.overview__description {
  line-height: 1.8;
}

@media (min-width: 768px) {
  .overview__content {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 0;
  }

  .overview__image-container {
    margin-right: 4rem;
    height: 600px;
    width: 600px;
    flex-shrink: 0;
  }

  .overview__info {
    flex: 1;
  }

  .overview__title {
    font-size: 3rem;
  }

  .overview__description {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Landing Page - Page Section (3 sections)
   ========================================================================== */

.section {
  padding: 2rem 1.5rem;
}

.section--dark {
  background-color: #38383b;
}

.section--light {
  background-color: white;
  color: white;
}

.section__content {
  position: relative;
  padding-top: 8rem;
  z-index: 0;
}

.section__image-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  height: 600px;
  width: auto;
  max-width: 80vw;
  z-index: 0;
  max-height: 300px;
}

.section__image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section__info {
  padding: 1.5rem;
  position: relative;
  margin: 0 auto;
  z-index: 1;
  box-shadow: 2px -4px 4px 1px rgba(0, 0, 0, 0.3);
}

.section--dark .section__info {
  background-color: white;
}

.section--light .section__info {
  background-color: #a8a6a1;
}

.section__title {
  font-size: 1.75rem;
  font-weight: bold;
  margin: 0;
}

.section__description {
  line-height: 1.8;
  white-space: pre-line;
}

@media (min-width: 768px) {
  .section__content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
  }

  .section--flipped .section__image-container {
    position: relative;
    margin-left: auto;
  }

  .section__image-container {
    position: relative;
    max-height: initial;
    width: 80%;
    margin: 0;
  }

  .section__info {
    position: absolute;
    right: 0;
    padding: 4rem;
    width: 50%;
    z-index: 1;
    box-shadow: none;
    min-width: 600px;
  }

  .section--flipped .section__info {
    right: inherit;
  }

  .section__title {
    font-size: 3rem;
  }

  .section__description {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Landing Page - Map Section
   ========================================================================== */

.map-section {
  background-color: white;
  padding: 2rem 1.5rem;
}

.map-section p {
  margin-top: 0;
}

@media (min-width: 768px) {
  .map-section {
    padding: 2rem;
  }

  .map-section__content {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Google Map
   ========================================================================== */

.map {
  margin: 2rem 0;
  height: 400px;
}

/* ==========================================================================
   About Page - Overview Section
   ========================================================================== */

.about-overview {
  color: white;
}

.about-overview__content {
  padding: 2rem 1rem;
}

.about-overview__description {
  line-height: 1.8;
}

@media (min-width: 768px) {
  .about-overview__content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
  }

  .about-overview__title {
    flex: 1;
    font-size: 2.5rem;
  }

  .about-overview__description {
    flex: 1;
  }
}

/* ==========================================================================
   About Page - Banner Section
   ========================================================================== */

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/i/about-us-banner.jpg') center/cover;
  color: white;
  height: 100vh;
  text-align: center;
}

.banner__title {
  margin: 0;
}

@media (min-width: 768px) {
  .banner__title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   Contacts Page - Contacts Section
   ========================================================================== */

.contacts-section {
  color: white;
}

.contacts-section__content {
  padding: 2rem;
}

.contacts-section__address {
  line-height: 1.8;
}

.contacts-section__contacts {
  padding: 1rem 0;
}

.contacts-section__phones {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contacts-section__phone a {
  display: inline-block;
  text-decoration: none;
  color: white;
  cursor: pointer;
  line-height: 1.8;
}

.contacts-section__phone a:hover,
.contacts-section__phone a:active {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .contacts-section__content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
  }

  .contacts-section__title {
    font-size: 3rem;
  }

  .contacts-section__info {
    flex: 1;
  }

  .contacts-section__map {
    flex: 1;
  }
}

/* ==========================================================================
   Prices Page - Heading
   ========================================================================== */

.prices__heading-container {
  text-align: center;
}

.prices__heading {
  padding: 2rem;
  margin: 0;
  color: white;
  font-size: 2rem;
}

@media (min-width: 768px) {
  .prices__heading {
    max-width: 1400px;
    margin: auto;
    font-size: 3rem;
  }
}

/* ==========================================================================
   Prices Page - Selector (Tab Switcher)
   ========================================================================== */

.selector {
  top: 4rem;
  background-color: #38383b;
  position: sticky;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.selector__option {
  color: rgba(255, 255, 255, 0.3);
  transition: border-color 100ms linear, color 100ms linear;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.selector__option:not(:last-of-type) {
  margin-right: 2rem;
}

.selector__title {
  margin: 0;
  cursor: pointer;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.8;
}

.selector__option:hover,
.selector__option:active {
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.selector__option--active {
  color: white;
  border-bottom: 2px solid white;
}

.selector__option--active:hover,
.selector__option--active:active {
  border-bottom: 2px solid white;
}

@media (min-width: 768px) {
  .selector {
    position: static;
  }

  .selector__title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Prices Page - Page Section
   ========================================================================== */

.prices-section:nth-child(even) {
  background-color: #38383b;
  color: white;
}

.prices-section:nth-child(odd) {
  background-color: #dfe0e1;
  color: black;
}

.prices-section__content {
  padding: 2rem 1rem;
}

.prices-section__title {
  margin: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .prices-section__content {
    max-width: 1400px;
    padding: 2rem;
    margin: 0 auto;
  }

  .prices-section__title {
    font-size: 2rem;
    text-align: left;
  }
}

/* ==========================================================================
   Prices Page - Card
   ========================================================================== */

.card {
  background-color: #48484b;
  padding: 2rem;
  margin: 2rem 0;
}

.card--highlighted {
  background-color: #eee;
  color: #38383b;
}

/* ==========================================================================
   Prices Page - Storage Section
   ========================================================================== */

.storage__plan hr {
  width: 100%;
}

.storage__title {
  margin: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.storage__subtitle {
  margin: 0.5rem 0 1rem;
  text-align: center;
  font-size: 1rem;
}

.storage__old-price {
  font-size: 1.2rem;
  text-align: center;
  color: #4e4e4e;
  margin: 0;
  text-decoration: line-through;
}

.storage__price {
  text-align: center;
  margin: 0;
}

.storage__duration {
  font-size: 0.8rem;
  text-align: center;
  margin: 0;
  color: #888;
}

.storage__description {
  font-size: 0.8rem;
  line-height: 1.8;
  text-align: center;
}

.storage__offer {
  text-align: center;
  font-style: italic;
}

.storage__table-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.storage__table {
  width: 100%;
  border-collapse: collapse;
}

.storage__table td:not(:first-of-type),
.storage__table th:not(:first-of-type) {
  text-align: center;
}

.storage__table tbody {
  padding-bottom: 1rem;
  width: 100%;
}

.storage__table tbody th {
  font-weight: normal;
  font-style: italic;
  padding-top: 2rem;
}

.storage__table tbody td {
  border-bottom: 1px solid white;
}

.storage__table td {
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .storage__plans {
    display: flex;
    align-items: stretch;
  }

  .storage__plan {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .storage__plan:not(:last-of-type) {
    margin-right: 2rem;
  }

  .storage__info {
    margin-right: 3rem;
  }

  .storage__table-container {
    flex-direction: row;
  }

  .storage__table:not(:last-of-type) {
    margin-right: 2rem;
  }
}

/* ==========================================================================
   Prices Page - Ammo Section
   ========================================================================== */

.ammo__image {
  position: relative;
  height: 200px;
}

.ammo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .ammo {
    display: flex;
    align-items: center;
  }

  .ammo__image {
    flex: 1;
  }

  .ammo__title {
    flex: 2;
    text-align: center;
  }
}

/* ==========================================================================
   Prices Page - Cleaning Section
   ========================================================================== */

.cleaning__image {
  position: relative;
  height: 200px;
}

.cleaning__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .cleaning {
    display: flex;
    align-items: center;
  }

  .cleaning__image {
    flex: 1;
  }

  .cleaning__title {
    flex: 2;
    text-align: center;
  }
}

/* ==========================================================================
   Utility - Hidden
   ========================================================================== */

.hidden {
  display: none !important;
}
