/*
Theme Name: Vesuviella
Theme URI: https://vesuviella.it
Author: Mutart
Author URI: https://vesuviella.it
Description: Vesuviella custom theme for WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: villagina
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e74c3c; /* RED/Orange */
  --secondary-color: #32373c;
  --text-color: #2a2a2a; /* Dark Gray */
  --transition: all 0.3s ease;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.home {
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  font-size: 18px;
  font-family: "DM Sans", serif;
  transition: background-color 0.75s ease-in-out;

  -webkit-animation: caricamento 1.5s ease-in 1 forwards;
  -moz-animation: caricamento 1.5s ease-in 1 forwards;
  -o-animation: caricamento 1.5s ease-in 1 forwards;
  animation: caricamento 1.5s ease-in 1 forwards;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.overflow-hidden {
  overflow: hidden;
}

p {
  margin-bottom: 20px;
}

/* CONTAINER AND GRID */

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container-min {
  max-width: 980px;
  margin: 0 auto;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gap-20 {
  gap: 20px;
}
.gap-30 {
  gap: 30px;
}

.gap-50 {
  gap: 50px;
}

.gap-100 {
  gap: 100px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

@media (max-width: 768px) {
  [class^="grid-"],
  .grid-3,
  .grid-2 {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 25px !important;
  }

  .intro-section:after {
    display: none;
  }

  .flex {
    flex-direction: column !important;
    gap: 20px;
  }
}

.flex--center {
  justify-content: center;
}

.row-reverse {
  flex-direction: row-reverse;
}

.min-grid {
  max-width: 1200px;
  margin: 40px auto 25px auto;
}

.col {
  flex: 1;
}

[class*="col-"] {
  position: relative;
  padding: 0 25px;
}

.col-20 {
  width: 20%;
}

.col-25 {
  width: 25%;
}

.col-30 {
  width: 30%;
}

.col-33 {
  width: 33.33%;
}

.col-40 {
  width: 40%;
}

.col-50 {
  width: 50%;
}

.col-60 {
  width: 60%;
}

.col-70 {
  width: 70%;
}

.col-80 {
  width: 80%;
}

.col-90 {
  width: 90%;
}

.col-100 {
  width: 100%;
}

@media (max-width: 991px) {
  .tab-20 {
    width: 20%;
  }

  .tab-25 {
    width: 25%;
  }

  .tab-33 {
    width: 33.33%;
  }

  .tab-50 {
    width: 50%;
  }

  .tab-100 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .col-20 {
    width: 100%;
  }

  .col-25 {
    width: 100%;
  }

  .col-30 {
    width: 100%;
  }

  .col-33 {
    width: 100%;
  }

  .col-40 {
    width: 100%;
  }

  .col-50 {
    width: 100%;
  }

  .col-60 {
    width: 100%;
  }

  .col-70 {
    width: 100%;
  }

  .col-80 {
    width: 100%;
  }

  .col-90 {
    width: 100%;
  }

  .col-100 {
    width: 100%;
  }

  .flex-reverse {
    flex-direction: column-reverse;
  }
}

/* Nested Grid */
.grid .grid {
  margin-left: -15px;
  margin-right: -15px;
}

/********/

/* HEADER */

header {
  transition: all 0.3s ease-in-out;
}

.desktop-header {
  position: absolute;
  background: transparent;
  top: 90px;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
	width: 100%;
}

.page:not(.home) .desktop-header a, .page:not(.home) .desktop-header h5 {
	color: black !important;
}

.main-navigation {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 50px;
  list-style: none;
}

header nav ul a {
  color: white;
  text-transform: uppercase;

}

header h5 {
  color: white;

  font-size: 20px;
}

.fixed {
  position: fixed !important;
  top: 20px !important;
  left: 50%;
  width: 50%;
  background: white;
  padding: 15px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
  border-radius: 5px;
  z-index: 9999999 !important;
}

.fixed.desktop-header li a {
  color: black;
}

.fixed .icon-menu .line {
  background: black;
  color: black;
}

.fixed .logo h5 {
  color: black;
}

.mobile-header {
  display: none;
}

@media (max-width: 768px) {
  .mobile-header {
    position: absolute;
    z-index: 20;
    top: 140px !important;
    width: 100%;
    display: flex !important;
  }
	
	header h5 {
  color: black;

  font-size: 20px;
}


  .fixed {
    position: fixed !important;
    top: 00px !important;
    left: 50%;
    width: 100%;
    background: white;
    padding: 15px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transform: translateX(-50%);
    border-radius: 5px;
    z-index: 9999999 !important;
  }

  .desktop-header {
    display: none;
  }

  .header-mobile {
    display: flex;
  }

  .main-navigation {
    width: 100%;
    display: flex !important;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
  }

  header h5 {
    margin: 0 10px;
  }

  .home header:has(.outside-menu-wrapper.open) {
    width: 100%;
    top: 0;
  }

  .menu-mobile-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh !important;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }

  nav ul li a {
    text-decoration: none;
    font-size: 24px;
    text-transform: uppercase;
    color: black;
    font-weight: 500;
    position: relative;
  }

  .header-desk {
    display: none !important;
  }

  .icon-menu {
    width: 30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2000;
  }

  .home .icon-menu.open {
    position: relative;
  }

  .icon-menu.open .line {
    background: black;
  }

  .icon-menu.open .line:nth-child(1) {
    transform: rotate(45deg) translate(0px, 8px);
  }

  .icon-menu.open .line:nth-child(2) {
    opacity: 0;
  }

  .icon-menu.open .line:nth-child(3) {
    transform: rotate(-45deg);
    translate: -7px -7px;
  }

  .line {
    background: black;
    height: 2px;
    display: block;
    transition: all 0.3s ease-in-out;
  }

  .outside-menu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999 !important;
    transform: translateX(-200%);
    transition: all 0.3s ease-in-out;
  }

  .outside-menu-wrapper.open {
    transform: translateX(0%);
  }

  .outside-menu-wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    height: 100dvh;
  }

  nav ul li a {
    position: relative;
    z-index: 10;
    display: inline-block;
  }

  nav ul li a:hover {
    color: var(--primary-color);
  }


}

/* HOME SLIDER */

.home-slider {
  height: 600px;
  width: 100%;
  background-size: cover;
  position: relative;
  background-position: center center;
  font-family: "National Park", sans-serif;
  /* background-image: url(https://vesuviatella.it/wp-content/uploads/2025/04/Vesuviatella-1.jpg); */
  background-image: url(https://vesuviatella.it/wp-content/uploads/2025/04/Vesuviatella-Header.jpg);
}

.home-slider:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.home-slider h1 {
  font-size: clamp(48px, 10vw, 130px) !important;
  color: white;
  position: relative;
  line-height: 1;
  z-index: 10;
  color: white;
  font-weight: 300;
  margin-bottom: 0;
}

.home-slider .text-wrapper {
  width: 100%;
  padding: 0 25px;
  position: relative;
  z-index: 10;
}

.content-slide {
  height: 100%;
}

.content-testo-slide {
  display: grid;
  place-items: center;
  height: 100%;
}

.content-testo-slide p {
  z-index: 10;
  color: white;
  position: relative;
  max-width: 510px;
  font-size: 20px;
  line-height: 28px;
}

.content-testo-slide h4 {
  font-family: "National Park", sans-serif !important;
  font-size: 18px;

  margin-bottom: 10px;
  z-index: 10;
  color: white;
  position: relative;
}

.content-testo-slide a.btn {
  z-index: 10;
  position: relative;
  margin-top: 15px;
  display: inline-block;
}

@media (max-width: 768px) {
  .home-slider {
    height: 550px !important;
  }
  .home-slider:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
  }
}

.product-gallery {
  margin-top: 20px;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumbnail img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: transform 0.3s ease-in-out;
}

.gallery-thumbnail img:hover {
  transform: scale(1.1);
}

/* NEW STYLE */

select,
input {
  padding: 10px 15px;
  margin-left: 10px;
  border: 1px solid #ececec;
  margin: 10px 0;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button {
  background: var(--primary-color);
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button
  span {
  color: white;
}

/* General Styles */
#homepage {
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.main {
  position: relative;
}

.content-slide {
  text-align: center;
  color: #fff;
}

.text-wrapper {
  padding: 2rem;
}

.text-wrapper h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Phrase Section */
.phrase {
  padding: 4rem 0;
  text-align: center;
  background-color: #f9f9f9;
}

.phrase h4 {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

/* Product Section */
.product-detail {
  padding: 4rem 0;
}

.flex {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.col-50 {
  flex: 1;
}

/* Product Images */
.product-image {
  position: relative;
}

.single-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery {
  margin-top: 1rem;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-thumbnail {
  flex: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-thumbnail:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

/* Product Info */
.info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.product-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.product-price {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Add to Cart Button */
.single_add_to_cart_button {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  padding: 1rem 2rem !important;
  border-radius: 30px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-weight: 600 !important;
  width: 100%;
  margin-top: 10px;
}

.single_add_to_cart_button:hover {
  background-color: #c0392b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .text-wrapper h1 {
    font-size: 3rem;
  }

  .text-wrapper h3 {
    font-size: 1.5rem;
  }

  .flex {
    flex-direction: column;
    gap: 2rem;
  }

  .phrase h3 {
    font-size: 1.5rem;
    padding: 0 25px;
  }

  .info h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .text-wrapper h1 {
    font-size: 2.5rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
  }

  .product-gallery-thumbnails {
    flex-wrap: wrap;
  }

  .gallery-thumbnail {
    flex: 1;
  }

  .gallery-thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    opacity: 0.7;
    transition: all 0.3s ease;
    object-fit: cover;
  }
}

/* PAGINA */

.main-bg-page {
    padding: 80px 0 20px 0;
    margin-bottom: 25px;
}

.main-bg-page h1 {
  color: black;
  font-size: clamp(42px, 10vw, 72px);
  margin-bottom: 0px;
}

input,
select {
  border: 1px solid hsla(0, 0%, 7%, 0.11) !important;
}

.wc-block-components-radio-control
  .wc-block-components-radio-control__input:checked:before {
  background: var(--primary-color) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input {
  height: 2.25em !important;
}

.wp-block-woocommerce-checkout-actions-block
  .wc-block-checkout__actions_row
  .wc-block-components-checkout-place-order-button {
  background: var(--primary-color) !important;
  color: white;
  border: 1px solid var(--primary-color) !important;
}

.product-description ul {
  padding-left: 25px;
  margin-bottom: 25px;
}

.quantity {
  position: relative;
}

.quantity:before {
  content: "Numero Box:  ";
  font-weight: 600;
  margin-right: 12px;
}

.variations select {
  margin-left: 45px !important;
}

.info-utili {
  background: #f9f9f9;
  padding: 40px 0;
  margin-bottom: 40px;
}
.single-box {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--primary-color) !important;
  padding: 15px 20px;
  border-radius: 8px;
  min-height: 160px;
  margin: 40px 0;
  text-align: center;
  align-items: center;
  justify-content: center;
	min-height: 230px;
}

@media (max-width: 768px) {
  .single-box {
    margin: 15px 0;
  }
}

.single-box p {
  margin-bottom: 0;
}

.copyrights {
  justify-content: space-between !important;
  padding: 10px;
  font-size: 12px;
}

.woocommerce-page footer {
  border-top: 1px solid #ededed;
  padding-top: 40px;
  margin-top: 40px;
}

footer ul {
  list-style: none;
}

.fi {
  font-size: 24px;
}

.wp-block-separator {
  margin-bottom: 20px !important;
}

.loghi img {
  max-width: 200px;
}

.loghi {
  justify-content: center !important;
  align-items: center !important;
  gap: 20px;
}

.loghi-carousel {
  margin: 80px auto 120px auto !important;
}

iframe {
  margin: 0 auto 20px auto;
}

.top-bar {
  background: var(--primary-color);
  padding: 10px 0;
  color: white;
  text-align: center;
  font-weight: 600;
  margin: 0 auto !important;
  display: flex;
  justify-content: center;
}


.page-id-153 [class*="col-"] {
  padding: 0px;
}

.loghi-carousel h2 {
	text-align: center;
	margin-bottom:20px;
}

.menu-wrapper {
	display:flex;
	gap:20px;
	align-items: center;
}

.cart-contents {
	color: white !important;
}

@media(max-width:768px){
	.home header h5 {
		color: white;
	}
	
	.home .line {
		background: white;
	}
}