/* Reset base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: white; /* bianco */
    color: #000;
    line-height: 1.5;
}

/* Header */
header {
    display: flex;
    flex-direction: column;  /* per impilare h1 e nav verticalmente */
    align-items: center;     /* centra orizzontalmente i figli */
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    font-family: 'Scheherazade', serif;
    color: #00aaff;
    font-size: 2.5rem;
    background: white;
    padding: 5px 10px;
    margin-bottom: 10px;
    text-align: center;
    
}


/* Nav */
nav {
    display: flex;
    gap: 25px;
    flex: 1;
    justify-content: center;
}

nav a {
    color: #4a90e2;          /* azzurro */
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 1.1em;        
    transition: color 0.3s;
}

nav a:hover {
    color: #357ABD;          /* azzurro più scuro  */
}


/* Cambio lingua a dx */
.lang-switch {
    flex: 0 0 auto;
    font-size: 1.1rem;
    color: #00aaff;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

.lang-switch a {
    color: #00aaff;
    text-decoration: none;
    padding: 0 6px;
}

.lang-switch a.active {
    font-weight: 700;
    text-decoration: underline;
}
/* stilizza italiano ed inglese */

.bandiere {
  position: relative;
  top: 10px;   /* alza o abbassa le bandiere */
  left: 800px;  /* spostale più a sinistra o destra */
  display: flex;
  gap: 8px;
}


.bandiere img.flag {
  width: 24px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.bandiere img.flag:hover {
  transform: scale(1.1);
}


/* Panorama background */
.panorama-bg {
    background: #a3c8f0 url('panorama.jpg') no-repeat center center;
    background-size: cover;
    padding: 40px 20px;
    color: #000;
}

/* wrapper per panorama */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;  /* cambia column -> row per layout orizzontale */
    gap: 50px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
}
.disponibilita label {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 1.1em;
}

.disponibilita input[type="date"],
.disponibilita input[type="text"],
.disponibilita input[type="number"],
.disponibilita input[type="email"],
.disponibilita input[type="tel"],
.disponibilita select {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
}


/* Sectioni con imagini e testo */
.welcome-section,
.relax-section {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 10px;
}

.welcome-section img,
.relax-section img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.welcome-text p,
.relax-text p {
    font-size: 1.05rem;
    color: #003366;
}

/* sezioni con immagine a dx e testo a sx */
.welcome-section {
    display: flex;
    flex-direction: row-reverse; /* inverti ordine: immagine a dx, testo a sx */
    align-items: center; /* allinea verticalmente se necessario */
    gap: 20px; /* spazio tra immagine e testo, se desiderato */
}


.relax-section {
    flex-direction: row;  
}

.relax-text p {
    white-space: pre-line;
}

/* Info section below */
.info-section {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    color: #003366;
}

.info-left p, .info-right p {
    font-size: 1rem;
    margin-bottom: 12px;
}

.info-left p i,
.info-right p i {
    margin-right: 8px;
    color: #00aaff;
}

.info-left a,
.info-right a {
    color: #00aaff;
    text-decoration: none;
}

.info-left a:hover,
.info-right a:hover {
    text-decoration: underline;
}

/* Button copia telefono */
button {
    margin-left: 10px;
    cursor: pointer;
    background: #00aaff;
    border: none;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0077cc;
}
.descrizione p {
    text-align: center;
    font-family: 'Scheherazade', serif;
    font-style: italic;
    font-weight: bold; /* aggiungi grassetto */
    font-size: 1.4rem; /* aumenta la dimensione (da 1.2 a 1.4rem) */
    color: #003366;
    margin: 30px auto;
    max-width: 800px;
    line-height: 1.6;
}

.commento p {
    margin: 5px 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #4a90e2;
    color: white;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .welcome-section,
    .relax-section {
        flex-direction: column;
        text-align: center;
    }
    .welcome-section img,
    .relax-section img {
        width: 80%;
        max-width: 400px;
        margin-bottom: 15px;
    }

    .info-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
