/*
Theme Name: WS-theme
Theme URI: https://www.watsonsolutions.it/
Author: Watson Solutions
Author URI: https://www.watsonsolutions.it/
Description: Watson solutions starter theme based on Underscore.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wstheme
This theme, like WordPress, is licensed under the GPL.
*/

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-VariableFont_opsz_wght.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Italic-VariableFont_opsz_wght.woff') format('woff');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body,
html {
    height: 100%;
    animation: fadeIn .8s ease-in-out;
}

body {
    font-family: 'Inter', sans-serif;
    color: #848484;
}

.skip-link {
    display: none;
}

a:link {
    color: #000;
    text-decoration: none;
}
  
a:visited {
    color: #000;
    text-decoration: none;
}
  
a:hover {
    color: #000;
    text-decoration: none;
}
  
a:active {
    color: #000;
    text-decoration: none;
}

p {
    line-height: 1.7;
    font-size: 1.2rem;
}

/* SCROLL ANIMATION */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	will-change: opacity, transform;

	transition:
		opacity 1.2s cubic-bezier(.22,1,.36,1),
		transform 1.4s cubic-bezier(.22,1,.36,1);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* delay opzionali */
.reveal.delay-1 { transition-delay: 0.3s; }
.reveal.delay-2 { transition-delay: 0.5s; }
.reveal.delay-3 { transition-delay: 0.7s; }

/* BTN */
a.tas-btn-white {
    display: inline-block;
    background-color: #fff;
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;    
    padding: 10px 45px;
}

a.tas-btn-black {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;    
    padding: 10px 45px;
}

a.tas-green-btn,
p.tas-green-btn a {
    display: inline-block;
    background-color: #00b52e;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;    
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;    
    padding: 10px 45px; 
}

/* HEADER */
.site-header {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 100px;
    padding-right: 50px;
    z-index: 10;
}

img.logo-header {
    height: 70px;
    position: absolute;
    left: 30px;
    top: 15px;
    z-index: 20;
}

.hamburger {
    display: block;
    position: absolute;
    right: 10px;
    left: auto;
    top: 23px;
    cursor: pointer;
    z-index: 99;
}

.hamburger-inner,.hamburger-inner:after,.hamburger-inner:before {
    position: absolute;
    width: 30px;
    height: 2px;
    border-radius: 0;
}

.hamburger-inner:after,.hamburger-inner:before {
    width: 40px;
}

.hamburger-inner:before {
    top: -9px
}

.hamburger-inner:after {
    bottom: -9px
}

nav.main-navigation {
    position: fixed;
    left: 0;
    top: -1000px;
    width: 100%;
    background-color: #fff;
    padding-top: 125px;
    padding-bottom: 125px;
    transition: .3s;
}

nav.main-navigation ul {
    text-align: center;
    padding: 0;
    margin: -50px 0 0 0;
}

nav.main-navigation ul li {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    display: block;
    margin: 5px 0;
}

nav.main-navigation ul li a {
    display: inline-block;
    transform: translateY(80px);
    transition: transform 1s cubic-bezier(.25,.8,.25,1);
}

nav.main-navigation ul li a.menu-is-open {
    transform: translateY(0);
}

nav.main-navigation-is-open {
    top: 0;
    z-index: 15;
}

.tas-menu-social {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.tas-menu-social img {
    height: 28px;
    margin: 0 8.5px;
}

.tas-menu-language {
    position: absolute;
    right: 50px;
    bottom: 30px;
    color: #000;
}

.header-cta {
    display: flex;
    padding-right: 50px;
}

.header-cta span {
    color: #000;
}

/* HOME */
.tas-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background-color: beige;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 150px;
    overflow: hidden;
}

.tas-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
    object-fit: cover;

    transform: scale(1.15); /* stato iniziale zoom */
	transition: transform 2.5s cubic-bezier(.22,1,.36,1);
}

.tas-hero.is-loaded .tas-hero-bg {
	transform: scale(1);
}

.tas-hero h1 {
	font-size: 15rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.tas-hero-content p {
    font-weight: 600;
    color: #fff;
    font-size: 4rem;
    line-height: 1.1;
    margin: -20px 0 0 0;
}

.tas-hero-content p span {
    color: #9A9A9A;
}

.tas-hero-arrow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    height: 100px;
    width: 100px;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

.tas-hero-arrow img {
    width: 20px;
    margin-top: 22px;
    transition: .3s;
}

.tas-hero-arrow:hover img {
    margin-top: 26px;
}

.tas-hp-desc {
    display: block;
    width: 75%;
    color: #000;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 130px;
    margin: 0 auto;
}

.tas-hp-desc p {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 30px;
}

.tas-hp-service {
    position: relative;
    display: flex;
    align-items: flex-start;
    height: 600px;
    width: 100%;
    background-color: beige;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    margin-bottom: 15px;
    cursor: pointer;
}

.tas-hp-service-1 {
    background-position: bottom;
}

.tas-hp-service-content {
    width: 65%;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 25px;

	position: sticky;
	top: 30px;

	transition: opacity 0.4s ease;
	opacity: 1;    
}

.tas-hp-service-content.is-hidden {
	opacity: 0;
}

.tas-hp-service-content h2 {
    font-weight: 600;
    color: #000;
}

.tas-hp-service-content p {
    font-weight: 500;
    margin-bottom: 0;
    color: #848484;
}

/* PAGE */
.tas-intro-page {
    position: relative;
    display: flex;
    justify-content: center;
    height: 350px;
    width: 100%;
    background-color: beige;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #000;
    margin-top: 100px;
    padding-top: 50px;
}

.tas-intro-page h1 {
    font-size: 6rem;
    text-align: center;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
    margin: 0;
}

.tas-page-1 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.tas-page-text p {
    width: 75%;
    margin: 0 auto 15px auto;
}

p.tas-text-grey {
    color: #848484 !important;
}

p.tas-text-big {
    font-size: 2.25rem;
    color: #000;
    font-weight: 700;
    line-height: 1.4;
}

.tas-menu-social-contacts {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    justify-content: center;
    margin-top: 100px;
}

/* VINI */
/* ================================================
   Vini Repeater - Layout Flex 3 colonne
   ================================================ */

.tas-vini-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.tas-vino-box {
    flex: 0 0 calc(33.333% - 10px); /* 3 per riga con gap */
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tas-vino-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Overlay scuro per migliorare leggibilità del testo */
.tas-vino-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease;
    z-index: 1;
}

.tas-vino-box:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.tas-vino-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

.tas-vino-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    z-index: 2;
}

.tas-vino-titolo {
    font-size: 1.4rem;    
    font-weight: 700;
    color: #fff;
    background-color: #000;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;    
    padding: 5px 15px;
    margin: 0 0 4px 0;    
}

.tas-vino-sottotitolo {
    font-size: 1.1rem;       
    font-weight: 700;
    line-height: 1.1;
    color: #000;
    background-color: #fff;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 5px 15px;     
    margin: 0;
}

img.tas-vino-cta {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 40px;
    cursor: pointer;
}

/* SINGLE WINE */
.tas-single-wine-cta {
    margin-top: 50px;
    margin-bottom: 100px;
}

.tas-wine-info {
    width: 75%;
    margin: 0 auto;
}

.tas-wine-info-item {
    display: flex;
    justify-content: space-between;
    color: #000;
    border-bottom: 1px solid #000;
    padding: 15px;
    transition: .4s;
}

span.tas-wine-info-left {
    display: inline-block;
    margin-right: 15px;
}

span.tas-wine-info-right {
    text-align: right;
}

.tas-wine-info-item span {
    line-height: 1.2;
}

.tas-wine-info > .tas-wine-info-item:first-of-type {   
    border-top: 1px solid #000; 
}

.tas-wine-info-item:hover {
    background-color: #000;
    color: #fff;
}

.tas-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
    margin-top: 100px;
}

.tas-item {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.tas-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 10px;
}

/* 404 */
.container-404 {
    padding-top: 150px;
    padding-bottom: 150px;
}

.container-404 h2,
.container-404 h3 {
    font-size: 1.5rem;
}

/* FOOTER */
.tas-pre-footer {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: .5s;
}

.tas-pre-footer:hover {
    background-color: #000;
}

.tas-pre-footer:hover .tas-text {
    color: #fff;
}

/* ── Track: contiene due copie del testo per il loop seamless ── */
.tas-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: tas-scroll-left 14s linear infinite;
}

.tas-content {
    display: flex;
    align-items: center;
}

.tas-text {
    font-size: 11rem;
    line-height: 1;
    font-weight: 900;
    color: #000;
    padding: 0 60px;
}

/* ── Animazione ── */
@keyframes tas-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.site-footer {
    background-color: #fff;
    padding-top: 50px;
    padding-bottom: 100px;
}

.site-footer a {
    transition: .5s;
}

.site-footer a:hover {
    letter-spacing: .6px;
}

.site-footer h3 {
    color: #B4B4B4;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 0 40px 0;
}

.site-footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.copy {
    background-color: #fff;
    color: #000;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.copy p {
    font-size: .9rem;
    margin: 0;
}

/* FORM MAILCHIMP */
#mc_embed_signup form {
    font-family: 'Inter', sans-serif !important;
    padding: 0 !important;
}

#mc_embed_signup h2 {
    color: #B4B4B4 !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    margin: 0 !important;
    margin-bottom: 45px !important;
}

#mc_embed_signup .button {
    display: inline-block !important;
    height: auto !important;
    background-color: #dc3545 !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;    
    -webkit-border-radius: 25px !important;
    -moz-border-radius: 25px !important;
    border-radius: 25px !important;    
    padding: 10px 45px !important; 
}

#mc_embed_signup .mc-field-group {
    padding-bottom: 2% !important;
}

#mc_embed_signup .mc-field-group label { 
    display: none !important;
}

#mc_embed_signup .mc-field-group input {
    padding: 20px 0 !important;
    text-indent: 6% !important;
    border: 1px solid #B4B4B4 !important;
    border-radius: 25px !important;    
}

.mc-field-group input::placeholder { color: #B4B4B4 !important; font-weight: 600 !important; font-size: 1.1rem !important; letter-spacing: 0.5px !important; opacity: 1 !important; }
.mc-field-group input::-webkit-input-placeholder { color: #B4B4B4 !important; font-weight: 600 !important; font-size: 1.1rem !important; letter-spacing: 0.5px !important; }
.mc-field-group input::-moz-placeholder { color: #B4B4B4 !important; font-weight: 600 !important; font-size: 1.1rem !important; letter-spacing: 0.5px !important; opacity: 1 !important; }
.mc-field-group input:-ms-input-placeholder { color: #B4B4B4 !important; font-weight: 600 !important; font-size: 1.1rem !important; letter-spacing: 0.5px !important; }

.mc-field-group select {
	padding: 17px 0 !important;
	text-indent: 8% !important;
	border-radius: 25px !important;

	/* reset base */
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;

	/* stile simile input */
	border: 1px solid #B4B4B4 !important;
	background-color: #fff !important;
	font-size: 1.1rem !important;
	font-weight: 600 !important;
	color: #B4B4B4 !important;
	width: 100% !important;
}

.mc-field-group {
	position: relative;
}

.mc-field-group select {
	background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: right 15px center !important;
	background-size: 25px !important;
	padding-right: 40px !important;
}

/* Nuovo Blocco per immagini in pagina */
.tas-fascia {
    width: 100%;
    display: grid;
    gap: 15px;
}

/* layout */

.tas-layout-60-40 { grid-template-columns: 3fr 2fr; }
.tas-layout-50-50 { grid-template-columns: 1fr 1fr; }
.tas-layout-40-60 { grid-template-columns: 2fr 3fr; }
.tas-layout-100   { grid-template-columns: 1fr; }

/* item */

.tas-item {
    height: 450px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

/* MOBILE */
@media only screen and (max-width: 992px) {
    nav.main-navigation ul li {
        font-size: 2.5rem;
        margin: 10px 0;
    }

    p.tas-text-big {
        font-size: 1.75rem;
    }

    .tas-hero {
        align-items: flex-end;
    }    

    .tas-hero h1 {
        font-size: 6rem;
    }

    .tas-hero-content p {
        font-size: 2rem;
        margin-top: -10px;
    }    

    .tas-hero-arrow {
        bottom: -35px;
        height: 70px;
        width: 70px;
    }

    .tas-hero-arrow img {
        width: 16px;
        margin-top: 18px;
    }    

    .tas-hp-desc p {
        font-size: 1.75rem;
    }    

    .tas-text {
        font-size: 6rem;
    }    

    .tas-hp-service {
        height: 400px;
    }

    .tas-hp-service-content {
        width: 85%;
    }

    .tas-hp-service-content p {
        line-height: 1.2;
    }    

    .tas-vino-box {
        flex: 0 0 calc(50% - 7.5px); /* 2 per riga su tablet */
    }

    .tas-intro-page {
        height: 250px;
    }

    .tas-intro-page h1 {
        font-size: 3rem;
    }    

    .tas-page-text p {
        width: 85%;
    }    

    .tas-wine-info {
        width: 85%;
    }    
}

@media (max-width: 768px) {
    .tas-footer-1,
    .tas-footer-2 {
        margin-bottom: 50px;
    }

    .tas-fascia {
        grid-template-columns: 1fr !important;
    }

    .tas-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .tas-vino-box {
        flex: 0 0 100%; /* 1 per riga su mobile */
    }

    .tas-gallery { grid-template-columns: 1fr; }
}