/* Common styles for Mazzerinière Guest House multilingual homepage */
:root {
  --primary: #f96d64;
  --dark: #292e31;
  --light: #fff;
  --accent: #50514f;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --Verydark: black;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--light);
  color: #333;
  line-height: 1.7;
}
header {
  /* background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%); */
  color: var(--Verydark);
  padding: 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  font-size: xx-large;
}
header img.hero {
  width: 100vw;
  max-height: 60vh;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  
}
header .hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1rem 2rem 1rem;
}

.hero-content-bg {
  background: white; 
  border-radius: var(--radius);
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  display: inline-block;
  max-width: 95vw;
  opacity: 0.85;
}



header h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  margin: 0 0 1rem 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
header p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.cta-btn {
  background: var(--primary);
  color: var(--light);
  border: none;
  border-radius: var(--radius);
  padding: 0.9em 2em;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.cta-btn:hover {
  background: var(--accent);
}
main {
  max-width: 1000px;
  margin: -3rem auto 0 auto;
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  position: relative;
  z-index: 2;
}
.section-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.feature {
  background: #fafafa;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  color: var(--primary);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.gallery img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  object-fit: cover;
  height: 180px;
  cursor: zoom-in;
  transition: transform 0.2s;
}
.gallery img:hover {
  transform: scale(1.04);
}
/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.modal.open { display: flex; }
.modal-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  background: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  background: #fff;
  display: block;
}
.modal-close, .modal-arrow {
  position: absolute;
  top: 16px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover, .modal-arrow:hover { background: var(--primary); }
.modal-close { right: 16px; }
.modal-arrow.left { left: 16px; }
.modal-arrow.right { right: 60px; }
@media (max-width: 600px) {
  .modal-content img { max-width: 98vw; max-height: 60vh; }
  .modal-close, .modal-arrow { width: 32px; height: 32px; font-size: 1.2rem; }
  .modal-arrow.right { right: 48px; }
}
.testimonial {
  background: #f7f7f7;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0 1rem 0;
  text-align: center;
  font-style: italic;
  color: #444;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.contact {
  background: var(--dark);
  color: var(--light);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  margin-top: 2rem;
  text-align: center;
}
.contact a {
  color: var(--primary);
  text-decoration: underline;
}
footer {
  background: var(--dark);
  color: #d2d2d2;
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  font-size: 1rem;
  margin-top: 2rem;
}
.lang-switcher {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 2000;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.3em 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  display: flex;
  gap: 0.5em;
  align-items: center;
}
.lang-switcher button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.2em 0.5em;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.lang-switcher button.active, .lang-switcher button:focus {
  background: var(--primary);
  color: #fff;
  outline: none;
}
@media (max-width: 600px) {
  header h1 { font-size: 2rem; }
  .section-title { font-size: 1.3rem; }
  main { padding: 1rem 0.5rem; }
  .lang-switcher { top: 8px; right: 8px; font-size: 0.95rem; padding: 0.2em 0.5em; }
} 