/*
	Theme Name: Themebase
	Theme URI: 
	Author:  Veronika Udod
	Author URI: 
	Version: 2.0
	Description: 
	Tags: 
	Licence: GPL v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: ecoffset.it
*/

/* MAIN SETTINGS */

:root {
  --strip-height: 25px;

  --fs-h1: clamp(32px, calc(18px + 2.92vw), 60px);
  --fs-h2: clamp(28px, calc(19px + 1.88vw), 46px);
  --fs-h3: clamp(24px, calc(17px + 1.46vw), 38px);
  --fs-h4: clamp(20px, calc(15px + 1.04vw), 30px);
  --fs-h5: clamp(18px, calc(15px + 0.63vw), 24px);
  --fs-h6: clamp(16px, calc(15px + 0.21vw), 18px);
  --fs-body: clamp(16px, calc(15px + 0.21vw), 18px);
  --fs-ticker: clamp(42px, calc(36px + 1.25vw), 54px);
  --blue: #161f48;
  --white: #ffffff;
  --gold: #d6b35f;
  --lightgold: #fbf9f1;
  --grey: #6e6b60;
  --lightgrey: #dcdee1;
}

body {
  width: 100vw;
  overflow-x: clip;
  margin: 0;
  padding-top: var(--strip-height);
  transition: 0.5s;
  background: #ffffff;
  color: #191919;
}

html {
  overflow-x: clip;
  margin-top: 0 !important;
  scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Edge, Safari */
}

/* Custom scroll indicator ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â fluttua sopra il sito */
#custom-scrollbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 6px;
  height: 100vh;
  z-index: 99998;
  pointer-events: none;
}
#custom-scrollbar-thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  min-height: 40px;
  background: rgba(25, 25, 25, 0.25);
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  cursor: default;
}
#custom-scrollbar.is-visible #custom-scrollbar-thumb {
  opacity: 1;
}
#custom-scrollbar-thumb:hover {
  background: rgba(25, 25, 25, 0.4);
}

@font-face {
  font-family: "ABCDiatype";
  src:
    url("/wp-content/themes/themebase/inc/assets/fonts/ABC Diatype Variable/ABCDiatypeVariable-Trial.woff2")
      format("woff2"),
    url("/wp-content/themes/themebase/inc/assets/fonts/ABC Diatype Variable/ABCDiatypeVariable-Trial.woff")
      format("woff"),
    url("/wp-content/themes/themebase/inc/assets/fonts/ABC Diatype Variable/ABCDiatypeVariable-Trial.ttf")
      format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: "ABCDiatype", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: var(--fs-h1);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
}

h2 {
  font-size: var(--fs-h2);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.24;
}

h3 {
  font-size: var(--fs-h3);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
}

h4 {
  font-size: var(--fs-h4);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
}

h5 {
  font-size: var(--fs-h5);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
}

h6 {
  font-size: var(--fs-h6);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
}

p {
  font-size: var(--fs-body);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
  margin-bottom: 0;
}

button {
  font-size: 15px;
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
}

.max-w-1360 {
  max-width: 1360px;
  margin: auto;
}

.position-relative {
  position: relative;
}

/* MAIN SETTINGS MOBILE */
@media only screen and (max-width: 768px) {
}

/* COLOR STRIP */

#festival-color-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--strip-height);
  display: flex;
  z-index: 1000;
}

.color-block {
  flex: 1;
  height: 100%;
}

/* STICKY SECTION TITLE */

.sticky-section-title {
  position: sticky !important;
  top: var(--strip-height);
  z-index: 999 !important;
  width: 100% !important;
}

.elementor-section:has(.sticky-section-title),
.e-con:has(> .sticky-section-title),
.elementor-section-wrap:has(.sticky-section-title),
.elementor:has(.sticky-section-title) {
  overflow: visible !important;
}

.sticky-section-title h4 {
  font-family: "ABCDiatype", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.04em;
}

/* TICKER */

.festival-ticker {
  background: #f9695f;
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
  margin: 0;
}

.festival-ticker__inner {
  display: flex;
  width: max-content;
  animation: festival-ticker-scroll 150s linear infinite;
}

.festival-ticker__inner span {
  display: inline-block;
  color: #ffffff;
  font-size: var(--fs-ticker);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

@keyframes festival-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* CONTACT FORM 7 */
.cf7-divina {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 550px;
  align-items: flex-start;
}

.cf7-divina p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin: 0;
  align-items: flex-start;
}

.cf7-divina .wpcf7-form-control-wrap {
  flex: 1;
  min-width: 200px;
}

.cf7-divina input {
  font-family: "ABCDiatype", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.04em;
  border-radius: 0;
  padding: 14px 25px;
  outline: none;
}

.cf7-divina input[type="email"] {
  width: 100%;
  border: none;
  border-bottom: 2px solid #cdcdcd;
  background: #fff;
  color: #3d0a0a;
  transition: border-color 0.3s ease;
  padding: 0;
  font-size: 24px;
}

.cf7-divina input[type="email"]:focus {
  border-color: #e54b48;
}
.cf7-divina input[type="email"]::placeholder {
  color: #aaa;
}

.cf7-divina input[type="submit"] {
  border: none;
  background: transparent;
  color: #e54b48;
  cursor: pointer;
  font-size: 24px;
  transition: background 0.3s ease;
  padding: 7px 16px;
}

.cf7-divina input[type="submit"]:hover {
  background: #f9695f;
  color: #ffffff;
}

.cf7-divina .wpcf7-not-valid-tip {
  font-size: 13px;
  color: #e54b48;
  margin-top: 6px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 15px 0 0 0 !important;
  padding: 0 !important;
  border: none !important;
  font-family: "ABCDiatype", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #e54b48;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #3d0a0a;
}

/* HOMEPAGE */
#jarallax-container-0 {
  border-radius: 5px;
}

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-size: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  background-size: 120%;
  transition: none !important;
}

/*********CONTACT US************/
/*.contact-us-form .form-control {
    padding: 20px;
    border-radius: 0;
	color: var(--white);
	text-transform: uppercase;
 	resize: none;
	background-color: #333333;
	border: 0;
}

.contact-us-form .form-control::placeholder {
	color: var(--grey);
	text-transform: uppercase;
}

.contact-us-form .btn-submit .form-control {
   	background: transparent;
	border: 1px solid var(--green);
	color: var(--white);
}

.contact-us-form p{
	margin-bottom: 24px;
}

.contact-us-form .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    min-height: 14px;
    border: 1px solid var(--white);
    display: inline-block;
    position: relative;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.contact-us-form .wpcf7-acceptance span{
    color: var(--grey);
	font-size: 14px;
}

.contact-us-form .wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: var(--white);
}*/

/* FOOTER */

footer {
  all: unset;
  display: block;
}

.footer-social-bar {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 14px 0px;
  background-color: #e54b48;
}

.footer-social-link {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(18px, calc(15px + 1.04vw), 30px);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
  /* letter-spacing: 0.03em; */
  transition: opacity 0.25s ease;
  letter-spacing: -0.04em;
}

.footer-social-link:hover {
  opacity: 1;
  color: #ffffff;
  text-decoration: underline;
}

/* FOOTER MOBILE */
@media only screen and (max-width: 768px) {
  .footer-social-bar {
    gap: 14px;
    padding: 12px 14px;
    flex-wrap: wrap;
  }
}

/* HAMBURGER BUTTON */

.dsa-menu-burger {
  position: fixed;
  right: 20px;
  top: 25px; /* overridden by JS once sticky bar height is known */
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
  line-height: 0;
}

.dsa-menu-burger.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.dsa-menu-burger img {
  width: 28px;
  height: 28px;
  display: block;
}

/* shown when menu is open (burger repurposed as close button) */
.dsa-menu-burger .dsa-burger-x {
  display: block;
  width: 28px;
  height: 28px;
}

/* Hide the in-panel close button (burger handles it) */
.dsa-menu-close {
  display: none;
}

/* MENU OVERLAY */

.dsa-menu-overlay {
  position: fixed;
  top: var(--strip-height);
  right: 0;
  width: 50%;
  height: calc(100dvh - var(--strip-height));
  background: #ff8373;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 20px 14px 32px;
  box-sizing: border-box;
  overflow-y: auto;
}

.dsa-menu-overlay.is-open {
  transform: translateX(0);
}

.dsa-menu-nav {
  flex: 1;
  display: flex;
  align-items: flex-start;
  /* padding-top: 40px; */
}

.dsa-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.dsa-menu-nav ul li {
  border-top: 2px solid #191919;
}

.dsa-menu-nav ul li:last-child {
  border-bottom: 2px solid #191919;
}

.dsa-menu-nav ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #191919;
  font-size: clamp(42px, calc(24px + 2.71vw), 68px);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
  padding: 0;
  transition: opacity 0.2s ease;
  letter-spacing: -0.04em;
}

.dsa-menu-nav ul li a:hover {
  text-decoration: underline;
}

.dsa-menu-nav ul li a img {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: block;
   object-fit: contain;
}

.dsa-menu-meta {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  /* gap: 6px; */
  /* border-top: 1px solid rgba(22, 31, 72, 0.2); */
}

.dsa-menu-meta a {
  color: #191919;
  text-decoration: none;
  transition: opacity 0.2s ease;
  letter-spacing: -0.04em;
  line-height: 100%;
  font-size: var(--fs-h5);
  font-family: "ABCDiatype", sans-serif;
  font-weight: 500;
}

.dsa-menu-meta a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* MENU MOBILE */
@media only screen and (max-width: 768px) {
  .dsa-menu-overlay {
    width: 100%;
    padding: 32px 14px 28px;
  }
  .dsa-menu-nav {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
  }
}
