/* Variables converted from SCSS */
:root {
  --primary-color: #34495e;
  --primary-color-shadow: #2c3e50;
  --secondary-color: #1abc9c;
}

html,
body,
main {
  height: 100%;
}

::selection {
  background: var(--primary-color);
  color: #fff;
}

/* Jumbotrons */
.jumbotron {
  padding-top: 150px;
  padding-bottom: 150px;
  margin-bottom: 0;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.photo-cover {
  background: #34495e url(https://static.pexels.com/photos/36487/above-adventure-aerial-air-large.jpg) no-repeat center center / cover fixed;
  height: 100vh;
  position: relative;
}

.background-primary {
  background: var(--primary-color);
}

.background-secondary {
  background: var(--primary-color-shadow);
}

.large {
  font-size: 4em;
}

.medium {
  font-size: 2em;
}

/* Header */
.transparent {
  background: transparent !important;
  border: none;
}

.navbar-inverse {
  transition: all 0.2s ease-in;
  background-color: var(--primary-color);
  border-color: var(--primary-color-shadow);
}

.navbar-inverse.transparent {
  background: transparent !important;
  border: none;
}

.navbar-inverse .navbar-brand {
  color: #fff;
}

.navbar-inverse .navbar-brand:hover {
  color: var(--secondary-color);
}

.navbar-inverse .navbar-nav > li > a {
  color: #fff;
}

.navbar-inverse .navbar-nav > li > a:hover {
  color: var(--secondary-color);
}

/* Portfolio */
.thumbnail {
  cursor: pointer;
  position: relative;
  display: flex;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  height: 150px;
  align-items: center;
  justify-content: center;
}

.thumbnail-svg {
  flex: 1 0 auto;
  padding: 0.5em;
  max-height: 6em;
  width: 100%;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  opacity: 0;
  transition: all 0.2s ease-in;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail:hover .thumbnail-overlay {
  opacity: 0.9;
  transition: all 0.2s ease-in;
}

/* Projects Pages */
.full-screen {
  background: #eee;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  overflow-y: scroll;
  z-index: 9999;
}

.close-window {
  cursor: pointer;
}

/* Footer */
footer {
  padding: 50px 0 0 0;
}

.footer-col {
  margin-bottom: 30px;
}

.footer-col h3 {
  margin-bottom: 20px;
  color: #fff;
}

.footer-col p {
  color: #bbb;
}

.list-inline li {
  margin: 0 10px;
}

.list-inline a {
  color: #fff;
  font-size: 1.5em;
  transition: color 0.2s ease-in;
}

.list-inline a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Custom button styles */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: #16a085;
  border-color: #16a085;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .large {
    font-size: 2.5em;
  }

  .jumbotron {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .photo-cover h1 {
    font-size: 2.5em;
  }
}

/* Smooth scrolling enhancement */
html {
  scroll-behavior: smooth;
}

/* Form styling */
.form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 12px;
  font-size: 16px;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(26, 188, 156, 0.25);
}

/* Navigation mobile toggle */
.navbar-toggle {
  border-color: #fff;
}

.navbar-toggle .icon-bar {
  background-color: #fff;
}

/* Text improvements */
.text-inverse {
  color: #fff;
}

/* Skills section styling */
#about .row .col-md-4 {
  margin-bottom: 30px;
}

#about .row .col-md-4 h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Portfolio grid improvements */
#portfolio .thumbnail {
  margin-bottom: 30px;
  transition: transform 0.2s ease-in;
}

#portfolio .thumbnail:hover {
  transform: translateY(-5px);
}

/* Modal content styling */
.full-screen .center {
  padding: 20px;
}

.full-screen h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.full-screen .lead {
  color: var(--primary-color-shadow);
  margin-bottom: 30px;
}

.full-screen p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}