/* variable */
:root {
    --base-color: #ae5832;
    --base-color-dark: #864427;
    --dark-gray: #262b35;
}
body{
    font-size: 17px;
    line-height: 32px;
}
/* reset */
.placeholder-light-gray::-webkit-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
.placeholder-light-gray::-moz-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
.placeholder-light-gray:-ms-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
/* heading */
h1, h2, h3, h4, h5, h6 {word-spacing: -2px;}
h1 {
    line-height: 4.375rem;
}
h2 {
    line-height: 3.438rem;
}
h3 {
    line-height: 2.813rem;
}
h4 {
    line-height: 2.575rem;
}
h5 {
    line-height: 2rem;
}
h6 {
    line-height: 1.75rem;
}
/* header */
header .navbar-brand img {
    max-height: 60px;
}
@media (min-width: 1500px) {
    header .navbar-brand img {
        max-height: 100px;
    }
}
header .left-nav .navbar-nav:before {
    height: 100px;
}
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}
header.sticky .navbar-nav .nav-link,
header.sticky .fixed-header .navbar-nav .nav-link,
header.sticky .disable-fixed .navbar-nav .nav-link{
    padding-top: 30px;
    padding-bottom: 30px;
}
header .left-nav .navbar-nav:before {
    background-color: var(--dark-gray);
    opacity: 0.2; 
    transform: translate(-28px, 0px);
    -webkit-transform: translate(-28px, 0px);
    transition: 0s;
}
header.sticky .left-nav .navbar-nav:before {
    transform: translate(-28px, 0px);
    -webkit-transform: translate(-28px, 0px);
}
header .btn.btn-small {
    padding: 10px 20px;
}
header .navbar [class*=col-] .navbar-nav .nav-item a {
    text-transform: uppercase;
    font-weight: 400;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--base-color);
}
.navbar .navbar-nav .simple-dropdown .dropdown-item {
    white-space: normal;
}
.navbar .navbar-nav .simple-dropdown .dropdown-menu li > a {
    padding: 14px 0;
    font-size: 15px;
}
@media (min-width: 992px) {
    .navbar .navbar-nav .simple-dropdown .dropdown-menu {
        background-color: var(--base-color);
        width: 480px;
        opacity: 0.98;
    }
    .navbar .navbar-nav .dropdown .dropdown-menu a,
    .navbar .navbar-nav .simple-dropdown li > a {
        padding: 10px 0;
        font-size: 14px;
        color: #FFF;
        border-top: 1px solid var(--base-color-dark);
    }
    .navbar .navbar-nav .dropdown .dropdown-menu a:hover,
    .navbar .navbar-nav .simple-dropdown li > a:hover {
        background-color: var(--base-color-dark);
        color: #FFF;
    }
    .navbar .navbar-nav .simple-dropdown li:first-child > a {
        border-top: 0;
    }
    .navbar .navbar-nav .simple-dropdown .dropdown-menu li:last-child > a,
    .navbar .navbar-nav .simple-dropdown li:last-child > a {
        padding-bottom: 10px;
    }
}
/* bg color */
.bg-raven-blue {
    background-color: #6c757d;
}
.bg-orange {
    background-color: #ffa800;
}
.bg-base-color-transparent {
    background-color: rgba(174, 88, 50, .15);
}
.bg-base-color-light {
    background-color: #D68F71;
}
.border-radius-left-8px {
    border-radius: 8px 0 0 0;
}
.bg-gradient-gray-light-dark-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(32, 35, 41, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(32, 35, 41, 1) 0%, transparent 80%);
}
.bg-gradient-red-transparent {
  background-image: linear-gradient(to top, rgba(166, 29, 54, 1) 0%, transparent 80%);
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(166, 29, 54, 1)), to(transparent));
}
/* text */
.text-orange {
    color: #ffa800;
}
.text-red {
    color: #ec5b54;
}
/* btn */
.btn {
    letter-spacing: normal;
    font-weight: 700;
}
.btn i { 
    margin-left: 5px;
}
.btn.btn-hover-animation-switch .btn-icon {
    margin-left: 4px;
}
.btn.btn-hover-animation-switch:hover .btn-text {
    transform: translateX(21px);
}
.btn.btn-transparent-white-light:hover {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 1);
    color: var(--white);
}
.btn.btn-dark-gray:not(.btn.submit):hover, .btn.btn-dark-gray:not(.btn.submit):active {
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: var(--white);
}
.btn.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--white);
}
.btn.btn-light-base-color {
    background-color: #c7e9d4;
    border-color: #c7e9d4;
    color: var(--dark-gray);
}
.btn.btn-box-shadow.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
}
.btn.btn-link {
    padding: 0 0 2px;
}
.btn.text-uppercase-inherit i {
    top: 1px;
}
/* top right bottom left */
.right-minus-250px {
    right: -250px;
}
.right-minus-170px {
    right: -170px;
}
.right-minus-155px {
    right: -155px;
}
.bottom-minus-85px {
    bottom: -85px;
}
/* page title */
.page-title-extra-small h1 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
}
.page-title-extra-small h2 {
    /*
    font-size: 3.438rem;
    line-height: 3.438rem;
    */
    font-size: 2.75rem;
    line-height: 3rem;
}
/* custom */
.feature-box-icon img {
    width: 60px;
    height: auto;
}
.icon-with-text-style-10:hover .feature-box-icon {
    -webkit-transform: scale(1);
    transform: scale(1);
}
.feature-box-content {
    padding: 0 20px;
}
.contact-form-style-03 {
    margin-top: -100px;
}
.process-step-style-05 .progress-step-separator {
    bottom: -10px;
    height: 100%;
    z-index: -1;
}
.social-icon-style-02 .small-icon li {
    margin: 0;
}
input, select, textarea, .form-control {
    font-size: 16px;
}
/* footer */
footer{
    font-size: 16px;
    line-height: 30px;
}
footer ul li {
    margin-bottom: 0;
}
footer .footer-logo img {
    max-height: 70px;
}
.footer-light a:hover {
    color: var(--dark-gray);
}

/* Hero */
.hero-section {
  overflow: hidden;
  position: relative;
}

.hero-section .container-fluid {
  position: relative;
  height: 100vh;
  background: url('/assets/img/home-cover.jpg') center center / cover no-repeat;
}

/* Gradient overlay */
.hero-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.0));
  z-index: 1;
  pointer-events: none;
}

/* Hero text always above the overlay */
.hero-section .hero-text {
  position: absolute;
  bottom: 12%;
  left: 5%;
  color: #fff;
  max-width: 740px;
  z-index: 2;
}
.carousel-control-next, .carousel-control-prev {
  z-index: 3;
}
/* media query responsive */
@media (max-width: 1199px) {
    .newsletter-style-03 .btn {
        padding: 12px 18px 12px 18px;
    }
    .newsletter-style-03 input {
        padding-right: 145px !important;
        padding-left: 20px !important;
    }
    header .left-nav .navbar-nav:before {
        transform: translate(-9px, 0px);
        -webkit-transform: translate(-9px, 0px);
    }
    header .btn.btn-small {
        padding: 9px 15px;
    }
}
@media (max-width: 991px) {
    .contact-form-style-03 {
        margin-top: 0;
    }
}
@media (max-width: 767px) {
    .newsletter-style-03 input {
        padding-right: 70px !important;
        padding-left: 20px !important;
    }
}
@media (max-width: 576px) {
    .extra-small-screen {
        height: 300px !important;
    }
}

/*
Custom
*/

.page-title-pt {
    padding-top: 180px;
}
@media (min-width: 1200px) {
    .page-title-pt {
        padding-top: 240px;
    }
}

.contact-form-style-03 {
    margin-top: 60px;
}

.img-ratio-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* rapporto 1:1 = quadrato */
  overflow: hidden;
}

.img-ratio-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* riempie il contenitore quadrato */
  transition: transform 0.4s ease;
}

.zoom-hover:hover img {
  transform: scale(1.05);
}

.overlay-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.zoom-hover:hover .overlay-zoom {
  opacity: 1;
}

.bg-gradient-very-light-gray {
  background-image: linear-gradient(
    to bottom,
    #f3f5f6,
    #f6f7f8,
    #f9fafa,
    #fcfcfd,
    #ffffff
  );
}