/* Theme Name: Giulia Natale
Author: Flavio N Quercia // flavio.quercia@conversa.it
Author URI: www.conversa.it
Version: 5/2025 */

body {
  background: #fff;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
  font-weight: 200;
  font-size: 12px;
  line-height: 2rem;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f3f5f8;
}

body b,
body strong {
  font-weight: 500;
}
body i,
body em {
  font-style: italic;
}

body a,
body a:hover {
  color: #000;
}

h1 {
  font-size: 17px;
  line-height: 30px;
  font-weight: 200;
  max-width: 60%;
}

h2,
h3 {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 2.7rem;
  text-transform: uppercase;
  margin-bottom: 1em;
}

h2 {
  font-size: 2.7rem;
  line-height: 1.2;
}
h2.section_title {
  color: #f0f0f0;
}
h2.section_title:after {
  border-color: #f0f0f0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.375;
  text-transform: uppercase;
}

h2:after,
h3:after {
  display: block;
  content: "";
  border-bottom: 1px solid;
  width: 45px;
  margin-top: 18px;
}

header {
  min-height: 100vh;
}
header .btn {
  padding: 8px 24px;
  font-size: 12px;
  color: #333;
  background-color: transparent;
  border-color: #333;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.075em;
}
header .btn:hover {
  background-color: #333;
  color: #fff;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

header .headline {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 32px;
  line-height: 45px;
  color: #000;
  margin-top: 150px;
}

.header-bg {
  height: 100%;
  object-fit: cover;
  object-position: calc(100% + 300px) top;
}

main {
  letter-spacing: 0.075em;
}

main section {
  min-height: 50vh;
}

section.contacts {
  background: #fff;
  font-size: 1.25rem;
  line-height: 1.5;
}

p.section_content {
  color: #d5d5d5;
  font-size: 1.42rem;
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1; /* dietro al testo */
  overflow: hidden;
}
.image-wrapper img.parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

footer {
  background-color: #f3f5f8;
}

footer .social a {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}
footer .social a:hover {
  padding-bottom: 7px;
  border-color: #d5d5d5;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.btn {
  font-size: 14px;
  line-height: 22px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  font-weight: 400;
  border-color: #333;
  color: #fff;
  background-color: #333;
  border-radius: 0;
  border: 2px solid transparent;
  white-space: nowrap;
  padding: 12px 40px;
}
.btn:hover {
  color: #333;
  background-color: transparent;
  border-color: #333;
}

/*
--------------------
22. CONTACT FORM
--------------------
*/
.form-control::-webkit-input-placeholder {
  opacity: 0.5;
}

.form-control::-moz-placeholder {
  /* Firefox 19+ */
  opacity: 0.5;
}

.form-control:-ms-input-placeholder {
  opacity: 0.5;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
  background-color: #f3f5f8;
  border: 0;
  outline: 0;
  box-shadow: none;
  letter-spacing: 0.075em;
  font-size: 12px;
}

.floating-label-form-group input:active,
.floating-label-form-group textarea:active,
.floating-label-form-group input:focus,
.floating-label-form-group textarea:focus {
  box-shadow: none;
  outline: 0;
  border-color: #f0f0f0;
}

.floating-label-form-group input {
  height: auto;
  font-size: 12px;
  padding: 12px 20px;
}

.floating-label-form-group textarea {
  padding: 15px 20px;
  height: 15.5em;
}

.required-alert ul {
  padding-left: 0;
}

.required-alert li {
  padding-left: 0;
  list-style: none;
}

.wpcf7-submit {
  width: auto;
}

div.wpcf7-response-output {
  margin: 0;
  padding: 10px 20px;
}

/* Tablet e su (md) */
@media (min-width: 768px) {
  body {
    font-size: 15px;
  }
  header .headline {
    font-size: 40px;
    line-height: 56px;
    margin-top: 160px;
  }
  .header-bg {
    object-position: calc(100% + 200px) top;
  }
}

/* Desktop e su (lg) */
@media (min-width: 992px) {
  body {
    font-size: 16px;
  }
  header .headline {
    font-size: 50px;
    line-height: 70px;
    margin-top: 220px;
  }
  .header-bg {
    object-position: right top;
  }
}

#site-loader {
  display: table;
  margin: auto;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  z-index: 999;
}
#site-loader #loader {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #000;
}
#site-loader #loader:after {
  display: block;
  margin: auto;
  margin-top: 20px;
  position: relative;
  width: 40px;
  height: 40px;
  -webkit-animation: rotate 0.6s linear infinite;
  -moz-animation: rotate 0.6s linear infinite;
  -ms-animation: rotate 0.6s linear infinite;
  -o-animation: rotate 0.6s linear infinite;
  animation: rotate 0.6s linear infinite;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border-top: 1px solid #333;
  border-bottom: 1px solid #d5d5d5;
  border-left: 1px solid #333;
  border-right: 1px solid #d5d5d5;
  content: "";
  opacity: 0.7;
}
