/* Valentinotti Giovanni - Site styles
   Derived from test_4.html and updated to reflect content from impresavalentinotti.it
*/

:root {
  --primary-red: #a83f39; /* Terracotta/Brick Red */
  --text-dark: #2d3436;
  --light-grey: #f7f7f7;
}

html { scroll-behavior: smooth; }


body {
	font-family: 'Montserrat', sans-serif;
	color: var(--text-dark);
	line-height: 1.6;
	background: #f7f7f7;
}

/* Carousel Styles */
.carousel {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	touch-action: pan-y;
	background: black;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	height: 100%;
}

.carousel-item {
	min-width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carousel-item img {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Navigation arrows */
.carousel-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	pointer-events: none;
}

.carousel-nav button {
	background: rgba(0,0,0,0.5);
	border: none;
	color: white;
	font-size: 2rem;
	padding: 0.5rem 1rem;
	cursor: pointer;
	pointer-events: all;
	border-radius: 4px;
	transition: background 0.3s;
}

.carousel-nav button:hover {
	background: var(--primary-red);
}

/* Modal carousel size */
.modal.is-active .modal-content {
	width: 100vw;
	height: 100vh;
	max-width: 100%;
	max-height: 100%;
	padding: 0;
}

/* Close button style */
.modal-close {
	background: rgba(0,0,0,0.5);
	color: white;
	font-size: 2rem;
	border-radius: 50%;
}



/* Custom Buttons */
.button.is-main {
  color: white;
  border-radius: 2; 
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
.button.is-main:hover {
  transform: translateY(-2px);
}



.bottom-notification {
  background: var(--primary-red) !important;
  border: thin solid #f7f7f7 !important;
  background-size: cover;
  background-attachment: fixed; /* Parallax effect */
  background-position: center;
  position: fixed !important;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  z-index: 9999;
  
}




/* Hero Section */
.hero-bg {

  background:
    linear-gradient(var(--text-dark), var(--primary-red));
  background-size: cover;
  background-attachment: fixed; /* Parallax effect */
  background-position: center;
}



/* Custom Box/Card Styling */
.feature-box {
  border-left: 4px solid var(--primary-red);
  background: white;
  padding: 2rem;
  height: 100%;
  transition: 0.3s;
  border-radius: 2;
}
.feature-box:hover {
  background: var(--light-grey);
  padding-left: 2.5rem;
}

.feature-box ul {
  margin-top: 0.75rem;
  margin-left: 1rem;
  list-style: disc;
}
.feature-box li { margin-bottom: 0.25rem; }

/* Project Gallery Grid */
.gallery-item {
  position: relative;
  overflow: hidden;
  height: 260px;
  background-color: #eee;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(168, 63, 57, 0.9);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { transform: translateY(0); }

/* Footer tweaks */
.footer a { text-decoration: underline; }
.footer .is-small-data { font-size: 0.85rem; }
