/* Earth Quotes Section Scoped CSS */
.earth-quotes-section {
    position: relative;
    height: 600px;
    background-color: #5FB772;
    background: url(https://sonorangirl.github.io/Earth-Quotes/img/google-earth-view-Orhangazi-Turkey.jpg) no-repeat center center;
    /* Instead of background fixed which breaks inside section on mobile, let's keep fixed if they want parallax, but fixed is large. Let's use user's styles */
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-transition: background 2s ease-in-out;
    -moz-transition: background 2s ease-in-out;
    -o-transition: background 2s ease-in-out;
    -ms-transition: background 2s ease-in-out;
    transition: background 2s ease-in-out;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.earth-quotes-section .site-wrapper {
    display: table;
    width: 100%;
    height: 100%;
    min-height: 100%;
    -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.earth-quotes-section .site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
}

@media screen and (min-width: 768px) {
    .earth-quotes-section .site-wrapper-inner {
        vertical-align: middle;
    }
}

.earth-quotes-section h1,
.earth-quotes-section h2,
.earth-quotes-section h3,
.earth-quotes-section h4,
.earth-quotes-section h5 {
    font-family: inherit;
    /* use Bix kurumsal fonts or we can import Fjalla One */
    color: #EDF2ED;
    /* Override original #4E545B because background is heavy */
    font-weight: 700;
}

.earth-quotes-section p {
    color: #EDF2ED;
}

.earth-quotes-section .cover-container {
    margin-right: auto;
    margin-left: auto;
}

@media screen and (min-width: 768px) {
    .earth-quotes-section .cover-container {
        width: 100%;
    }
}

.earth-quotes-section .inner {
    padding: 1.5em 2em;
}

@media screen and (min-width: 768px) {
    .earth-quotes-section .inner {
        padding: 3.125em 5em;
    }
}

.earth-quotes-section .inner.cover h2 {
    color: #EDF2ED;
    font-size: 1.8em;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .earth-quotes-section .inner.cover h2 {
        font-size: 1.4em;
    }
}

@media screen and (min-width: 768px) {
    .earth-quotes-section .inner.cover {
        padding: 0 25%;
    }
}

.earth-quotes-section .highlight {
    background-color: rgba(78, 84, 91, 0.5);
    padding: 30px;
    border-radius: 5px;
}

.earth-quotes-section .masthead,
.earth-quotes-section .footer {
    display: none;
    /* Hide header and footer from the plugin to fit cleanly inside Bix Kurumsal */
}

.earth-quotes-section .btn-lg {
    padding: 10px 20px;
    font-weight: bold;
    background-color: transparent;
    color: #EDF2ED;
    border: 2px solid #EDF2ED;
    border-radius: 30px;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s;
    text-decoration: none;
}

.earth-quotes-section .btn-lg:hover {
    background-color: #5FB772;
    border-color: #5FB772;
    color: white;
}
/* Basic Modal implementation to avoid needing Bootstrap */
.earth-quotes-section .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
.earth-quotes-section .modal.show {
  display: block;
}
.earth-quotes-section .modal-dialog {
  margin: 10% auto;
  max-width: 500px;
}
.earth-quotes-section .modal-content {
  background: #EDF2ED;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}
.earth-quotes-section .modal-header {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
}
.earth-quotes-section .modal-header .close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.earth-quotes-section .modal-body {
  padding: 15px;
  color: #333;
}
.earth-quotes-section .modal-footer {
  padding: 15px;
  border-top: 1px solid #ddd;
  text-align: right;
}
.earth-quotes-section .modal-footer .btn {
  background: #5FB772;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

/* Nav styles */
.earth-quotes-section .masthead {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.earth-quotes-section .masthead-brand {
    color: #EDF2ED;
    font-size: 1.5rem;
}
.earth-quotes-section .nav {
  list-style: none;
  display: flex;
  gap: 15px;
}
.earth-quotes-section .nav a {
  color: #EDF2ED;
  font-size: 1.2rem;
  text-decoration: none;
}
.earth-quotes-section .nav a:hover {
  opacity: 0.8;
}

/* Footer styles inside container */
.earth-quotes-section .footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.earth-quotes-section .footer p {
    font-size: 0.9rem;
}
