/*
 * Author: Luca Arzilli, ALSolutions
 *
 * Project Name: Tenuta Del Nicchio
 *
 */

/* FONT */

@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&family=Spectral+SC:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

input:focus {
    outline:none;
}

.navbar {
    background-color: #fff;
    transition: all 0.3s ease;
    padding: 0;
    height: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: -50px;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar.visible {
    top: 0;
}

.navbar .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.navbar-brand {
    padding: 0;
    height: 50px;
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-brand img {
    max-width: 300px;
	height:auto;
    transition: all 0.3s ease;
}

.language-selector {
    color: #333;
    position: absolute;
    left: 20px;
}

.language-btn {
    background: transparent;
    border: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin: 0px;
    font-family: "Spectral SC", serif;
}

.language-btn:hover {
    color: #000;
}

.language-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-btn:hover i {
    transform: translateY(2px);
}

.dropdown-menu {
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: 80px;
    padding: 8px 0;
    margin: 0px;
}

.dropdown-item {
    color: #000;
    font-size: 16px;
    padding: 5px 25px;
    transition: all 0.3s ease;
	font-family: "Spectral SC", serif;
}

.dropdown-item:hover {
    color: #000;
    background: transparent;
	text-decoration:none;
}

.dropdown-item.active {
    background: transparent;
	color:#000;
    font-weight: 700;
}

.menu-toggle {
    border: none;
    padding: 0;
    height: 50px;
    display: flex;
    align-items: center;
    position: absolute;
    right: 20px;
    width: 50px;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0px;
}

.menu-toggle img {
    width: 40px;
    height: auto;
}

.menu-toggle:hover {
    opacity: 0.8;
}

.menu-toggle:focus {
    outline: none;
}

.navbar button:hover,.navbar button:focus, .navbar button:active {
	background-color:transparent !important;
	border:0px !important;
}
.nav-item {
	padding:10px 0px;
}
.navbar-collapse {
	padding:10px 0px;
}

.language-selector a {
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 0 15px;
}

.language-selector .separator {
    margin: 0 5px;
    opacity: 0.5;
}

.nav-link, .dropdown-item {
	font-size:14px;
	line-height:16px;
	color:#E0E0E0;
	padding:0 15px !important;
	font-family: "Baskervville", serif;
	font-weight:300;
}
.dropdown-item {
	line-height:32px !important;
}
.nav-link:active, .nav-link:hover, .nav-link:focus, .dropdown-item:active, .dropdown-item:hover, .dropdown-item:focus, .dropdown a:active, .dropdown a:hover, .dropdown a:hover {
	text-decoration:none;
	color:#000;
}
.dropdown-item:hover {
	background-color:transparent;
}
.navbar-brand {
	padding-right: 20px;
}
.btn-lang {
	background-color: transparent;
	font-size:13px;
	line-height:13px;
	color:#E0E0E0;
	margin-top:0px;
	border-radius:5px;
	border:1px solid #E0E0E0;
	text-decoration:none;
	padding:5px 10px;
	cursor:pointer;
	outline: none !important;
}
.btn-lang:hover, .btn-lang:focus, .btn-lang:active {
	background-color: rgba(255, 255, 255, 0.3);
}
.btn-lang img {
	border-radius:5px;
	border-color:transparent;
	margin-right:2px;
}

.btn-grey {
	background-color: #E0E0E0;
	border:1px solid #3D3D3D;
	color:#3D3D3D;
}
button {
	background-color:#FFF;
	font-size: 16px;
  	line-height: 18px;
	color:#000;
	padding:10px 15px !important;
	margin-top:30px;
	border:1px solid #000;
	text-transform:uppercase;
}
button:active, button:hover {
    background-color: #000 !important;
    color: #FFF;
    text-shadow: none !important;
}
section {
	padding:120px 0px;
}

body{
	font-family: "Baskervville", serif;
	font-size: 18px;
	line-height: 24px;
	color:#000;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Spectral SC", serif;
  	font-weight: 600;
  	font-style: normal;
	text-align: center;
	margin-bottom: 40px;
}

input, textarea {
    margin-bottom: 20px;
    width: 100%;
    font-size: 14px;
    line-height: 14px;
    padding: 15px;
    border: solid 1px #000;
    height: 50px !important;
	color:#000;
	font-family: "Baskervville", serif;
	font-size:16px;
	line-height:16px;
	font-weight:300;
}
input[type="checkbox"] {
	width:auto;
	display:inline;
	height: auto !important;
	margin-left:0px;
	margin-right:2px;
	margin-bottom:5px;
}
textarea {
	height: 100px;
}

a {
	cursor:pointer;
}

#contactform-phone button, #contactform-email button {
	margin-top:0px !important;
}


select {
    background: #FFF;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0px 10px 0px 10px;
    font-size: 16px;
    margin-top: 10px;
    border: 1px solid #FFF;
    height: 32px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    color: #2d432b;
}

strong {
	font-weight:800 !important;
}

#scrolltop a {
	display:inline-block;
	width:40px;
	height:40px;
	border-radius:20px;
	border:1px solid #C30C26;
	font-size: 20px;
	color: #C30C26;
	line-height:34px;
	text-align:center;
	text-decoration:none;
	background:#F4FAFC;
	margin-top:12px;
	margin-right:4px;
	margin-left:4px;
	margin-bottom:5px;
	padding-top:0px;
	z-index:999;
}

#scrolltop a:hover, #scrolltop a:focus {
	text-decoration:none;
	color:#C30C26;
}

#scrolltop {
	display:none;
	position:fixed;
	bottom:7%;
	right:3%;
}

.nopadding {
	padding:0px !important;
}
.nomargin {
	margin:0px !important;
}
.sec-image {
	padding:0px !important;
}

.error {
	color:#cd0c0c;
}

footer {
	background-color: rgba(0, 0, 0, 1);
	padding:50px 0px;
}

footer img {
	width: 20vw;
}

footer p {
	font-size: 14px;
	line-height: 16px;
	color: #FFF;
}

footer .footer-contact {
	font-size: 20px;
	line-height: 28px;
	color: #FFF;
	padding:20px 0px;
}

footer .footer-menu {
	padding:0px 0px 40px 0px;
}
footer .footer-social {
	padding:80px 0px 40px 0px;
}

footer .footer-menu a {
	color: #FFF;
	text-decoration: none;
	font-family: "Spectral SC", serif;
  	font-weight: 400;
  	font-style: normal;
	letter-spacing: -1px;
	font-size: 22px;
	padding:0px 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff;
    margin: 0 10px;
    transition: all 0.3s ease;
	text-decoration: none;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.footer-social i {
    font-size: 16px;
}


/* END CSS MENU */

@media (max-width: 1200px) {
	.btn-lang {
		display:block;
		margin-top:10px;
		text-align:center;
	}
}

@media (max-width: 450px) {
	#scrolltop {
		bottom:7%;
	}
	#scrolltop a {
		margin-right:0px;
	}
	footer .info {
		margin:0px 30px;
	}
	.navbar {
		margin:25px 30px;
	}
	.info-2 {
		text-align:left;
		margin-top:10px;
	}
	.form-footer {
  		padding-left: 0px;
  		margin-top:50px;
	}
}

input::placeholder,
textarea::placeholder {
    color: #000;
    opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #000;
    opacity: 1;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #000;
    opacity: 1;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #000;
    opacity: 1;
}

input[type="submit"] {
    margin-top: 20px;
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #fff;
    color: #000;
}

.vino-anni a {
    padding: 0 20px;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vino-anni a.active {
    font-weight: 700;
}

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 1);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-menu.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.overlay-logo {
    max-width: 350px;
    margin-bottom: 50px;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.overlay-nav a {
    color: #000;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: "Spectral SC", serif;
}

.overlay-nav a:hover {
    opacity: 0.7;
}

.overlay-close {
    position: fixed;
    top: 5px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
	margin:0px
}

.overlay-close:hover {
    opacity: 0.7;
    background-color: transparent !important;
}

.overlay-close img {
    width: 30px;
    height: 30px;
}

body.menu-open {
    overflow: hidden;
}

/* Home Navigation - White buttons */
.home-navbar {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-navbar.hidden {
    opacity: 0;
    visibility: hidden;
}

.home-language-selector {
    position: relative;
}

.home-language-btn {
    background: transparent;
    border: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin: 0px;
    font-family: "Spectral SC", serif;
}

.home-language-btn:hover {
    color: #000;
}

.home-language-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.home-language-btn:hover i {
    transform: translateY(2px);
}

.home-language-selector .dropdown-menu {
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: 80px;
    padding: 8px 0;
    margin: 0px;
}

.home-language-selector .dropdown-item {
    color: #000;
    font-size: 16px;
    padding: 5px 25px;
    transition: all 0.3s ease;
    font-family: "Spectral SC", serif;
}

.home-language-selector .dropdown-item:hover {
    color: #000;
    background: transparent;
    text-decoration: none;
}

.home-language-selector .dropdown-item.active {
    background: transparent;
    color: #000;
    font-weight: 700;
}

.home-menu-toggle {
    border: none;
    padding: 0;
    height: 50px;
    display: flex;
    align-items: center;
    width: 50px;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0px;
}

.home-menu-toggle:hover {
    opacity: 0.8;
}

.home-menu-toggle:focus {
    outline: none;
}

.home-menu-toggle img {
    width: 40px;
    height: auto;
}

.home-navbar button:hover,
.home-navbar button:focus, 
.home-navbar button:active {
    background-color: transparent !important;
    border: 0px !important;
}

/* White buttons for other pages */
.page-navbar {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.page-navbar.hidden {
    opacity: 0;
    visibility: hidden;
}

.page-navbar .home-language-selector {
    position: relative;
}

.page-navbar .home-language-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin: 0px;
    font-family: "Spectral SC", serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.page-navbar .home-language-btn:hover {
    color: #fff;
    opacity: 0.8;
}

.page-navbar .home-language-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.page-navbar .home-language-btn:hover i {
    transform: translateY(2px);
}

.page-navbar .home-language-selector .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 80px;
    padding: 8px 0;
    margin: 0px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.page-navbar .home-language-selector .dropdown-item {
    color: #000;
    font-size: 16px;
    padding: 8px 25px;
    transition: all 0.3s ease;
    font-family: "Spectral SC", serif;
}

.page-navbar .home-language-selector .dropdown-item:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.page-navbar .home-language-selector .dropdown-item.active {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    font-weight: 700;
}

.page-navbar .home-menu-toggle {
    border: none;
    padding: 0;
    height: 50px;
    display: flex;
    align-items: center;
    width: 50px;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0px;
    filter: brightness(0) invert(1);
}

.page-navbar .home-menu-toggle:hover {
    opacity: 0.8;
}

.page-navbar .home-menu-toggle:focus {
    outline: none;
}

.page-navbar .home-menu-toggle img {
    width: 40px;
    height: auto;
}

.page-navbar button:hover,
.page-navbar button:focus, 
.page-navbar button:active {
    background-color: transparent !important;
    border: 0px !important;
}

.overlay-nav-item {
	position: relative;
}

.vino-submenu {
	display: none;
	list-style: none;
	padding: 0;
	margin: 10px 0 0 0;
}

.overlay-nav-item.active .vino-submenu {
	display: block;
}

.vino-submenu li {
	margin: 8px 0;
}

.vino-submenu a {
	font-size: 20px;
	font-weight: 400;
	opacity: 0.7;
}

.vino-submenu a:hover {
	opacity: 1;
}
