/* Bootstrap Creative / Portfolio Theme - Core Styles */

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}

/* -------------------------------------------------------
   Navigation
   ------------------------------------------------------- */
#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

#mainNav.navbar-shrink {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: rgba(0, 0, 0, 0.9) !important;
}

/* -------------------------------------------------------
   Masthead (Hero Header)
   ------------------------------------------------------- */
header.masthead {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

header.masthead .container {
  position: relative;
  z-index: 2;
}

/* -------------------------------------------------------
   Portfolio Section
   ------------------------------------------------------- */
.portfolio-item {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-caption {
  max-width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  text-align: center;
  padding: 15px 20px;
  border-top: 1px solid #e9ecef;
}

.portfolio-caption h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #212529;
  text-transform: none;
}

.portfolio-caption p.text-muted {
  font-size: 0.875rem;
  margin: 0;
  font-style: italic;
  color: #6c757d;
}

/* -------------------------------------------------------
   Buttons
   ------------------------------------------------------- */
.btn-xl {
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
}

/* -------------------------------------------------------
   Section padding
   ------------------------------------------------------- */
section {
  padding: 40px 0;
}

section.bg-dark {
  padding: 40px 15px;
}
