content://com.android.externalstorage.documents/tree/primary%3AAcode::primary:Acode/Albergo /css/index.css/* ================= Base ================= */
html {
    scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

h1, h2 {
  margin: 0;
  color: #2c3e50;
}

h2 {
  text-shadow: 0 0px 20px rgba(0, 0, 0, 0.3);
}

/* ================= Header ================= */
header {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-content img {
  width: 60px;
}

/* ================= Navigation ================= */
nav {
  background-color: #2c3e50;
  padding: 6px 0;
  position: absolute;
  top: 80px;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
}

.nav-links a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f39c12;
}

.logo-mobile {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 0 20px;
}

/* ================= Hero ================= */
.hero {
  background: url('../images/Logo.png') center no-repeat #fdfaf6;
  background-size: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: black;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.hero * {
  position: relative;
  z-index: 1;
}

.benvenuti {
  font-size: 60px;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
  animation: fadeIn 2s ease-in-out;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: -50px;
}

/* ================= Sezioni ================= */
.section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.section h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.section p,
.section ul,
.section form {
  font-size: 1rem;
  color: #555;
}

ul {
  padding-left: 18px;
  font-family: serif;
}
li {
  font-size: 100%;
}


/* ================= Galleria ================= */
 #galleria {
  padding: 60px 20px;
  background-color: #fffaf5;
}

#galleria h2 {
  text-align: center;
  font-size: 2.8rem;
  font-family: 'Georgia', serif;
  margin-bottom: 40px;
  color: #3b2f2f;
}

#galleria h3 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #6b4c3b;
  font-family: 'Georgia', serif;
  border-left: 5px solid #e2b478;
  padding-left: 10px;
}

.galleria-zigzag {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.galleria-item {
  width: 280px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galleria-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.galleria-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.didascalia {
  padding: 12px 16px;
  font-size: 1rem;
  color: #4a3f3f;
  font-family: 'Georgia', serif;
  background-color: #fdf7f0;
  text-align: center;
}

/* ================= Form ================= */
form input,
form textarea {
  width: 99.5%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
    appearance: none;           /* Removes default arrow - most browsers */
  -webkit-appearance: none;   /* Safari/Chrome */
  -moz-appearance: none;      /* Firefox */
  background-color: #fff;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 8px;
  background-image: none;     /* Removes arrow image */ 
}
#checkin-form #roomtype{
    appearance: none;           /* Removes default arrow - most browsers */
  -webkit-appearance: none;   /* Safari/Chrome */
  -moz-appearance: none;      /* Firefox */
  background-color: #fff;
  padding: 8px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-image: none;     /* Removes arrow image */
  text-align: center;
}
form button {
  padding: 10px 20px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #f39c12;
}

.telefono-wrapper {
  display: flex;
  gap: 0.5rem;
}

.telefono-wrapper select,
.telefono-wrapper input {
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.telefono-wrapper select {
    appearance: none;           /* Removes default arrow - most browsers */
  -webkit-appearance: none;   /* Safari/Chrome */
  -moz-appearance: none;      /* Firefox */
  background-color: #fff;
  padding: 8px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-image: none;     /* Removes arrow image */
  width: 30%;
  height: 15%;
}

.telefono-wrapper input {
  width: 70%;
  height: 15%;
}

/* ================= Risultato ================= */
#result {
  margin-top: 20px;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  display: inline-block;
}

#result.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#result.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ================= Footer ================= */
footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: #fff;
}

footer .social-icons {
  margin-top: 10px;
}

footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 5px;
  border-radius: 50%;
  background-color: #444;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

footer .social-icons a:hover {
  background-color: #e0c28c;
  color: #000;
}

/* ================= Toast ================= */
.toast {
  position: fixed;
  bottom: 45%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
}

/* ================= Menu Pop-up ================= */
p.content {
  contain: none;
}

#menu-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 93%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

#menu-popup .popup-content {
  background: white;
  padding: 2rem;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.popup-close {
  position: sticky;
  top: 15px;
  right: 5px;
  font-size: 35px;
  float: right;
  color: black;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}
#popup-title {
  font-size: 25px;
}
#popup-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#popup-list li {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

#popup-list li:last-child {
  border-bottom: none;
}

.riga-piatto {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nome-piatto {
  font-weight: bold;
}

.prezzo {
  font-weight: normal;
  font-size: 0.9em;
  color: gold;
text-shadow: 0px 2px 2px black ;
  
}

.descrizione {
  font-size: 0.85em;
  color: #777;
  margin-top: 5px;
}

/* ================= Responsive ================= */
@media screen and (max-width: 600px) {
  .header-content h1 {
    font-size: 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #2c3e50;
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    margin: 10px 0;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #444;
  }

  .logo-mobile {
    display: block;
  }
}
/* ================= Check-in Form ================= */
#checkin-form {
  background-color: #fdfdfd;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 0px 20px gray;
  max-width: 600px;
  margin: 40px auto;
  font-size: 1rem;
}

#checkin-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

#checkin-form input[type="text"],
#checkin-form input[type="email"],
#checkin-form input[type="tel"],
#checkin-form input[type="date"],
#checkin-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fafafa;
  transition: border-color 0.3s, background-color 0.3s;
  width: 96%;
}

#checkin-form input:focus,
#checkin-form select:focus {
  outline: none;
  border-color: #f39c12;
  background-color: #fff;
}

#checkin-form button {
  width: 100%;
  padding: 12px;
  background-color: #2c3e50;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#checkin-form button:hover {
  background-color: #f39c12;
}
/* Responsive */
@media (max-width: 600px) {
  #checkin-form {
    padding: 20px 15px;
  }
}
.c-telefono-wrapper{
   display: flex;
  gap: 0.5rem; 
}
#checkin-form .c-telefono-wrapper select {
  appearance: none;           /* Removes default arrow - most browsers */
  -webkit-appearance: none;   /* Safari/Chrome */
  -moz-appearance: none;      /* Firefox */
  background-color: #fff;
  padding: 8px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-image: none;     /* Removes arrow image */
  width: 30%;
  height: 15%;
}

#checkin-form .c-telefono-wrapper input {
  width: 70%;
  height: 15%;
}
.language-selector select {
  appearance: none;           /* Removes default arrow - most browsers */
  -webkit-appearance: none;   /* Safari/Chrome */
  -moz-appearance: none;      /* Firefox */
  background-color: #fff;
  padding: 8px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-image: none;     /* Removes arrow image */
}

.language-selector select {
  padding: 8px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.language-selector select:hover {
  border-color: #888;
  background-color: #f9f9f9;
}

.language-selector select:focus {
  outline: none;
  border-color: #555;
}
@media screen and (max-width: 480px) {
.nav-links a {
font-size: 1rem;
}

.section h2 {
font-size: 24px;
}

.didascalia {
font-size: 1rem;
}

.galleria-sezione img,
.galleria-item img {
width: 100%;
}

.galleria-item {
flex-direction: column !important;
text-align: center;
}

#prenota input,
form input,
form textarea,
#checkin-form input,
#checkin-form select {
font-size: 1rem;
width: 96%;
}

.lightbox img {
max-width: 100%;
max-height: 70%;
}

#menu-popup .popup-content {
max-width: 95%;
max-height: 85vh;
}

form button,
#checkin-form button {
font-size: 1rem;
padding: 10px;
}

.toast {
font-size: 1rem;
padding: 10px 20px;
}
}
.custom-select-wrapper {
  position: relative;
  width: 100%;
}
#search-prefisso {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.custom-select {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
}
.custom-select div {
  padding: 8px;
  cursor: pointer;
}
.custom-select div:hover {
  background-color: #eee;
}
/* === TELEFONO PERSONALIZZATO === */
.telefono-wrapper {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: top;
  width: 100%;
  height: 100%;
}

.telefono-input-group {
  display: flex;
  gap: 1px;
  height: 48px;
  width: 100%;
}

.prefix-selector {
  position: relative;
  width: 29%;
  height: 100%;
}

#search-prefisso {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.dropdown {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  display: none;
  z-index: 1000;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dropdown div {
  padding: 10px;
  cursor: pointer;
}

.dropdown div:hover {
  background: #f0f0f0;
}

#telefono {
  flex: 1;
  height: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 160px;
  box-sizing: border-box;
}
.phone-wrapper {
  max-width: 400px;
  margin: 20px auto;
  font-family: 'Segoe UI', sans-serif;
}

.phone-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.country-code-selector {
  position: relative;
  width: 120px;
}

#search-code {
  width: 100%;
  padding: 8px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.dropdown {
  display: none;
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 10;
  border-radius: 6px;
}

.dropdown div {
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.dropdown div:hover {
  background-color: #f0f0f0;
}

#user-phone {
  flex: 1;
  padding: 8px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}
#apri-carrello {
  background-color: #fff;
  border: 2px solid #8B0000;
  color: #8B0000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  margin: 1rem;
  cursor: pointer;
  border-radius: 8px;
}

#popup-carrello {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.finestra {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

#chiudi-popup {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.nascosto {
  display: none;
}
.menu-section {
  text-align: center;
  padding: 40px 20px;
  background: #fffaf5;
  border-radius: 30px;
}

.menu-section h2 {
  font-family: "Georgia", serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #3b2f2f;
}

.menu-info {
  font-size: 1.1rem;
  font-style: italic;
  color: #7a6f6f;
  margin-bottom: 30px;
}

.menu-categorie-elegante {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-categorie-elegante li {
  padding: 15px 25px;
  background-color: #fff;
  border: 1px solid #d4cfcf;
  border-radius: 8px;
  font-size: 1.2rem;
  font-family: "Georgia", serif;
  color: #3b2f2f;
  text-align: cneter;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.menu-categorie-elegante li:hover {
  background-color: #f9ede2;
  border-color: #b9986c;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}