/* Reset */
body, html {
  font-family: 'Inter', sans-serif;
  line-height: 1;
  font-size: 16px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}
*, *:before, *:after {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0 0 1rem 0;
  padding: 0;
}
ol, ul {
  padding-left: 20px;
  line-height: 1.5;
}
img {
  height: auto;
}
h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1rem; }
h5 { font-size: 0.8rem; }
h6 { font-size: 0.6rem; }
a {
  text-decoration: none;
  color: #c0392b; /* Rosso armonioso */
}

html {
  scroll-behavior: smooth;
}

/* Menu */
:root {
  --menu-bg: #1a1a1a;
  --menu-color: #f4f4f4;
}

.header {
  background-color: var(--menu-bg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 10px 15px;
}
.header__content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.header__logo,
.header__quick {
  display: flex;
  align-items: center;
  color: var(--menu-color);
}

.header__menu {
  padding: 0;
  margin: 0;
}
.header__menu li {
  display: inline-block;
}
.header__menu li a {
  color: var(--menu-color);
  opacity: 0.8;
  display: block;
  padding: 16px;
  font-size: 15px;
  margin-right: 40px;
  transition: 0.3s ease;
  border-radius: 10px;
}
.header__logo-img {
  height: 40px;
  width: auto;
}
.header__menu li a:hover {
  opacity: 1;
  background-color: #943126; /* Rosso scuro armonioso */
}

.contattaci-btn {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #c0392b;
  text-transform: uppercase;
  font-weight: bold;
  overflow: hidden;
  z-index: 1;
  background-color: transparent;
  transition: color 0.3s ease;
}

.contattaci-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(244, 244, 244, 0.9);
  z-index: -1;
  transition: left 0.3s ease;
}

.contattaci-btn:hover::before {
  left: 0;
}

.contattaci-btn:hover {
  color: #b03a2e;
}
@media (max-width: 768px) {
  .header__menu {
    position: absolute;
    top: 60px;
    left: 0;
    background-color: var(--menu-bg);
    width: 100%;
    height: 100vh;
    height: 0vh;
    overflow: hidden;
    transition: all 1s cubic-bezier(.215, .61, .355, 1);
  }

  .header__menu li {
    width: 100%;
    border-bottom: 1px solid #444;
  }

  .menu-open .header__menu {
    height: 100vh;
    padding: 3%;
  }

  .icon-hamburger {
    height: 50px;
    width: 40px;
    margin-left: 20px;
    padding-top: 5px;
  }

  .icon-hamburger span {
    height: 2px;
    width: 30px;
    background: var(--menu-color);
    position: relative;
    display: block;
    margin-top: 11px;
    transition: all 0.2s cubic-bezier(.215, .61, .355, 1);
  }

  .menu-open .icon-hamburger span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
  }

  .menu-open .icon-hamburger span:nth-child(2) {
    transform: rotate(-45deg) translateY(-9px);
  }

  .header__quick {
    display: flex;
    justify-content: flex-end;
    width: 50%;
  }
}

/* Helpers - Utility */
.img-round { border-radius: 50%; }
.round { border-radius: 20px; }
.spacer { height: 10vh; }
.relative { position: relative; }
.overflow-h { overflow: hidden; }
@media (max-width: 768px) {
  .sma-text-center { text-align: center; }
}

.img-small {
  height: 270px;
  object-fit: cover;
}
.ionicon {
  width: 20px;
  height: 20px;
  margin: 10px;
}
.font-normal {
  font-weight: 400;
}

/* Grid System */
.grid {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1250px;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}
.grid--center {
  justify-content: center;
}
.col {
  flex: 1;
}

[class*='col-'] {
  position: relative;
  padding: 0 15px;
}
.grid .grid [class*='col-'] {
  padding: 0px;
}

.col-20 { width: 20%; }
.col-25 { width: 25%; }
.col-30 { width: 30%; }
.col-33 { width: 33.33%; }
.col-50 { width: 50%; }
.col-70 { width: 70%; }
.col-80 { width: 80%; }
.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) {
  [class*='col-'] { width: 100%; }
  .sma-20 { width: 20%; }
  .sma-25 { width: 25%; }
  .sma-33 { width: 33.33%; }
  .sma-50 { width: 50%; }
  .sma-100 { width: 100%; }
}
/* Title System */
h1, .text-1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}
h2, .text-2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
h3, .text-3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
h4, p, .text-4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
a {
  color: #c43f3f;
}

/* Button System */
.button {
  font-size: 1rem;
  text-transform: uppercase;
  background: #a73232;
  color: #fff;
  text-decoration: none;
  padding: 14px 25px;
  display: inline-block;
  border-radius: 4px;
  font-weight: 700;
}

.button:hover {
  background: #444;
  transition: ease-in-out 0.2s;
}

/* Helpers */
.mt-0 { margin-top: 0 }
.mt-1 { margin-top: 10px }
.mt-2 { margin-top: 20px }
.mt-3 { margin-top: 40px }
.mt-4 { margin-top: 100px }

.mb-0 { margin-bottom: 0 }
.mb-1 { margin-bottom: 10px }
.mb-2 { margin-bottom: 20px }
.mb-3 { margin-bottom: 40px }
.mb-4 { margin-bottom: 100px }

.p-0 { padding: 0 }
.p-1 { padding: 10px }
.p-2 { padding: 20px }
.p-3 { padding: 40px }
.p-4 { padding: 100px }

.pt-1 { padding-top: 10px; }
.pt-3 { padding-top: 20px; }
.pt-3 { padding-top: 40px; }
.pt-4 { padding-top: 15vh; }

.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 40px; }
.pb-4 { padding-bottom: 15vh; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.img-res {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  vertical-align: middle;
}

/* Cover */
.cover {
  text-align: center;
  padding: 10px;
  margin: 0px;
  min-height: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center center;
  background-size: cover;
}
.cover * {
  color: #fff;
}

.cover-rotating {
  background-position: center center;
  background-size: cover;
  transition: background-image 1s ease-in-out;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6)), url('gazebo.jpg');
}

.cover-wrapper {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

.cover-wrapper .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 600px;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: 0;
}

.cover-wrapper .cover.active {
  opacity: 1;
  z-index: 1;
}
/* Poster */
.poster {
  display: flex;
  height: 100vh;
  width: 100%;
  align-items: center;
}

.poster__img {
  width: 65%;
  height: 100%;
}
.poster__img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.poster__content {
  width: 35%;
  padding: 50px;
}

@media (max-width: 768px) {
  .poster {
    flex-wrap: wrap;
    height: auto;
  }
  .poster__img,
  .poster__content {
    width: 100%;
  }
}

.big-text {
  font-size: 70px;
  font-weight: 900;
}

@media (min-width: 768px) {
  .item--tall {
    grid-row: span 2;
  }
  .item--wide {
    grid-column: span 2;
  }
}

/* Galleria */
.gallery-section {
  padding: 60px 20px;
  background-color: #292424;
}

.gallery-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.gallery-title p {
  font-size: 1rem;
  color: #c43f3f;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  grid-auto-rows: 300px;
  grid-auto-flow: dense;
}

.gallery-item {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}
.gallery-last-row-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
/* Footer */
.footer {
  background-color: #7d2f2f;
  color: #fff;
}
.footer-bottom {
  background-color: #5a2222;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-bottom: 0;
}
.footer-bottom a {
  color: #fff;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li {
  margin-bottom: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  color: #292424;
  font-weight: 500;
  transition: 0.3s ease;
}

.social-links a:hover {
  color: white;
}

.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.social-icon:hover {
  transform: scale(1.1);
}

/* Stile Privacy Policy */
.privacy-page {
  background-color: #f9f9f9;
  color: #222;
  padding: 40px 20px;
  font-size: 16px;
}

.privacy-page h1 {
  font-size: 3rem;
  color: #111;
  margin-bottom: 1.5rem;
}

.privacy-page h2 {
  font-size: 1.5rem;
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-page p {
  max-width: 700px;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.privacy-page ul {
  padding-left: 20px;
  line-height: 1.6;
}

.privacy-page ul li {
  margin-bottom: 0.5rem;
}

.privacy-page strong {
  font-weight: bold;
}

.reveal {
  opacity: 1;
  transform: none;
}
