/* Reset & font ---------------------------------------------------------- */

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



body {
    background: linear-gradient(to bottom, #edf0f5, #0bbc75) !important;
    font-family: "Poppins", sans-serif, Arial, Helvetica, sans-serif;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  animation: fadeUp 1.9s linear;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

/* Container -------------------------------------------------------------- */

.container {
  max-width: 100%!important;
  width: 100%;
  margin: auto;
}

/* NAVBAR ---------------------------------------------------------------- */

.navbar {
  width: 100%!important;
  box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #edf0f5 !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  position: relative;
  width: 100%!important;
}

/* HAMBURGER MENU -------------------------------------------------------- */

.nav-container .checkbox {
  position: absolute;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
}

.line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.line2 {
  transition: transform 0.2s ease-in-out;
}

.line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

/* MENU ITEMS ------------------------------------------------------------ */

.navbar .menu-items {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  padding-top: 120px;
  background: #edf0f5;
  transform: translateX(-150%);
  display: flex;
  flex-direction: column;
  padding-left: 50px;
  text-align: center;
  transition: transform 0.5s ease-in-out;
  backdrop-filter: blur(2px);
  z-index: 9999;
}

.navbar .menu-items li {
  list-style: none;
  margin-bottom: 4rem;
}

.navbar .menu-items a {
  text-decoration: none;
  color: #0e2431;
  font-size: 1.5rem;
  font-weight: 500;
}

.navbar .menu-items a:hover {
  font-weight: 700;
}

/* MENU OPEN ANIMATIONS -------------------------------------------------- */

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

/* CLOSE BUTTON ---------------------------------------------------------- */

.close-menu {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
  z-index: 99999;
}

.nav-container input[type="checkbox"]:checked ~ .close-menu {
  display: block;
}

/* BLUR BACKGROUND WHEN MENU IS OPEN ------------------------------------- */

.page-content {
  transition: filter 0.4s ease;
}

.nav-container input[type="checkbox"]:checked ~ .page-content {
  filter: blur(30px) brightness(0.2);
}

/* LOGO (senza positioning assoluto!) ------------------------------------ */

.logo {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 180px;
  width: 280px;
  object-fit: contain;
}

/* LOGO BUTTON (flottante sopra la navbar) ------------------------------- */

.logo-button {
  width: 220px;
  height: 140px;
  background: #edf0f5!important;
  border-radius: 25px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  position: absolute;
  top: 5px;
  right: 15px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.logo-button:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

/* BUTTON STYLE ---------------------------------------------------------- */

.btn {
  position: relative;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 2.5em;
  cursor: pointer;
  border-radius: 6em;
  transition: all 0.2s;
  border: none;
  font-weight: 500;
  background-color: #edf0f5 !important;
  color: black;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.btn::after {
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #fff;
  transition: all 0.4s;
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}
/* MENU CENTRATO SU MOBILE */
@media (max-width: 768px) {
  .navbar .menu-items {
    text-align: center;
    padding-left: 0;        /* rimuove lo spostamento a sinistra */
    align-items: center;    /* centra verticalmente e orizzontalmente */
  }

  .navbar .menu-items li {
    width: 100%;
  }

  .navbar .menu-items a {
    font-size: 1.8rem;      /* opzionale: più leggibile su mobile */
    display: block;
    width: 100%;
  }
}

/* END NAVBAR */
/* HEADER START */
.thirteen {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  margin-top: 20px;
}

.thirteen h1 {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
  text-transform: uppercase;
  width: auto;
  text-align: center;
  white-space: nowrap;
  border: 2px solid #0bbc75;
  padding: 5px 14px 3px 14px;
  margin: 0;
  color: #050c31;
}

/* i due puntini laterali */
.thirteen h1:before,
.thirteen h1:after {
  background-color: #050c31;
  position: absolute;
  content: '';
  height: 7px;
  width: 7px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.thirteen h1:before {
  left: -20px;
}

.thirteen h1:after {
  right: -20px;
}
/* HEADER SECTION END */

.contact-subtext {
  font-size: 16px;
  margin-top: 10px;
  color: #050c31; /* leggermente trasparente */
  text-align: center;
  letter-spacing: 1px;
  font-size: x-large
}


/* ---- CONTACT SECTION ---- */

.container {
  flex: 0 1 700px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 20px;
  margin-top: 0px;
}

.screen {
  position: relative;
  background: #ffffff;
  border-radius: 15px;
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #ffffff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #000000;
  font-size: 26px;
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: #000000;
}

.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: #888;
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #030000;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;/* ---- CONTACT SECTION — VERSIONE APPLE INSPIRED ---- */

.container {
  flex: 0 1 850px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 40px;
}

/* ------------------------------
   SCREEN (Apple glassmorphism)
------------------------------ */

.screen {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .1);
}

.screen:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  bottom: 0;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .25);
  z-index: -1;
}

/* ------------------------------
   HEADER — stile macOS Sonoma
------------------------------ */

.screen-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
}

.close { background: #ff605c; }
.maximize { background: #ffbd44; }
.minimize { background: #00ca4e; }

.screen-header-ellipsis {
  width: 4px;
  height: 4px;
  background: #777;
  border-radius: 50%;
  margin-left: 3px;
}

/* ------------------------------
   BODY
------------------------------ */

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ------------------------------
   TITLE — Apple minimalist
------------------------------ */

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #0e2431;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.app-title:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 35px;
  height: 4px;
  background: #99f2c8;
  border-radius: 2px;
}

.app-contact {
  margin-top: auto;
  font-size: 10px;
  color: #666;
}

/* ------------------------------
   FORM — Floating label Apple
------------------------------ */

.app-form-group {
  position: relative;
  margin-bottom: 25px;
}

.app-form-group.message {
  margin-top: 40px;
}

/* Floating label */
.app-form-group label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 0.85rem;
  color: #5c6975;
  pointer-events: none;
  transition: 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text";
}

/* Input style */
.app-form-control {
  width: 100%;
  padding: 14px 0 6px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  color: #000;
  font-size: 15px;
  outline: none;
  transition: border-color .25s;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text";
}

.app-form-control::placeholder {
  color: transparent;
}

.app-form-control:focus {
  border-bottom-color: #007aff;
}

/* Floating animation */
.app-form-control:focus + label,
.app-form-control:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.75rem;
  color: #007aff;
}

/* SELECT */
.app-form-group select:not([value=""]) + label {
  top: -10px;
  font-size: 0.75rem;
  color: #007aff;
}

/* ------------------------------
   BUTTON
------------------------------ */

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-button {
  background: #000;
  color: #fff;
  padding: 12px 28px;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: .25s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.app-form-button:hover {
  background: #1a1a1a;
  transform: scale(1.03);
}

.app-form-button:active {
  transform: scale(0.95);
}

/* --------------------------------------------- */
/* RESPONSIVE <520px                              */
/* --------------------------------------------- */

@media screen and (max-width: 520px) {

  .screen-body {
    flex-direction: column;
  }

  .screen-body-item {
    padding: 25px 20px;
  }

  .app-title {
    font-size: 22px;
  }

  .app-title:after {
    bottom: -8px;
    width: 28px;
  }

  .app-form-control {
    font-size: 14px;
    padding: 10px 0 4px 0;
  }

  .container {
    padding: 0 10px;
  }

  .screen {
    border-radius: 12px;
  }
}

  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}

.app-form-button {
  background: none;
  border: none;
  color: #0bbc75;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.app-form-button:hover {
  color: #050c31;
}

/* --------------------------------------------- */
/* RESPONSIVE VERSION FOR MOBILE (<520px)        */
/* --------------------------------------------- */

@media screen and (max-width: 520px) {

  .screen-body {
    flex-direction: column;
  }

  .screen-body-item {
    padding: 25px 20px;
  }

  .app-title {
    font-size: 20px;
  }

  .app-title:after {
    bottom: -8px;
    width: 20px;
  }

  .app-form-control {
    font-size: 13px;
    padding: 8px 0;
  }

  .app-form-group.message {
    margin-top: 25px;
  }

  .app-form-button {
    font-size: 13px;
  }

  .container {
    padding: 0 10px;
  }

  .screen {
    border-radius: 10px;
  }

  .screen:after {
    left
  }
}

/* ---------------------------------------------------
   GLOBAL THEME
--------------------------------------------------- */

:root {
  --bg-main: #1c1f24;
  --bg-panel: #2a3038;
  --accent: #4fa3ff;
  --text-light: rgba(255,255,255,0.9);
  --text-soft: rgba(255,255,255,0.7);
  --radius: 14px;
  --shadow: 0 20px 45px -10px rgba(0,0,0,0.55);
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-light);
}


/* ---------------------------------------------------
   REVIEW CARDS (MATCHED TO FOOTER THEME)
--------------------------------------------------- */

.review-section {
  padding: 60px 0;
  text-align: center;
}

.review-section h1 {
  font-size: 2.7rem;
  color: var(--text-light);
  margin-bottom: 25px;
}

.cards {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.card {
  position: relative;
  width: 260px;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #edf0f5;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
}

.card-title {
  text-align: center;
  background: #0e2431;
  color: #fff;
  padding: 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.card img {
  width: 100%;
  height: calc(100% - 40px);
  object-fit: cover;
}

/* Card Hover Description Overlay */
.card-desc {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  opacity: 0;
  padding: 22px;
  background: rgba(255,255,255,0.94);
  color: #111;
  font-size: 1.1rem;
  overflow-y: auto;
  transition: var(--transition);
}

.card:hover .card-desc {
  height: 100%;
  opacity: 1;
}


/* ---------------------------------------------------
   FOOTER — THEMED TO MATCH CARDS
--------------------------------------------------- */

.footer {
  background: #030000;
  padding: 60px 0 40px;
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

.footer-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-light);
}

.footer-sub {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 22px 0;
}

.social-icon {
  font-size: 26px;
  color: var(--text-light);
  padding: 12px;
  border-radius: var(--radius);
  background: #1a1d22;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

.instagram:hover { color: #ff5fa9; }
.whatsapp:hover { color: #25d366; }

.footer-copy {
  font-size: 13px;
  opacity: 0.55;
  margin-top: 20px;
}
