/* Villa Mèze - Mediterraans Minimaal Theme */
/* Colors: Wit + Zand (#E8DFD0) + Terracotta (#C4785A) */
/* Google Fonts loaded via HTML <link> for better performance */

:root {
  --color-white: #FFFFFF;
  --color-sand: #E8DFD0;
  --color-sand-light: #F5F1EB;
  --color-sand-dark: #D4C9B9;
  --color-terracotta: #C4785A;
  --color-terracotta-dark: #A85D42;
  --color-text: #2D2D2D;
  --color-text-light: #666666;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  padding-top: 100px; /* Space for fixed lang-bar + nav */
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-terracotta-dark);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--sand {
  background-color: var(--color-sand-light);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav__toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

/* Top Language Bar */
.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--color-sand-light);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.lang-bar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.lang-bar__link {
  color: var(--color-text-light);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-bar__link:hover {
  color: var(--color-terracotta);
  background: var(--color-white);
}

.lang-bar__link--active {
  color: var(--color-terracotta-dark);
  font-weight: 600;
  background: var(--color-white);
}

/* Adjust nav position for lang bar */
.nav {
  top: 36px;
}

@media (max-width: 768px) {
  .lang-bar__container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .lang-bar__link {
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -100px; /* Offset body padding for full-screen hero */
  padding-top: 100px; /* But keep content below fixed bars */
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: -1;
}

.hero__content {
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero--small {
  height: 50vh;
  min-height: 350px;
  margin-top: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--small h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.hero--small p {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn--primary {
  background: var(--color-terracotta);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-terracotta-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196, 120, 90, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-text);
}

.btn--whatsapp {
  background: #25D366;
  color: white;
}

.btn--whatsapp:hover {
  background: #1da851;
  color: white;
}

.btn--booking {
  background: #003580;
  color: white;
}

.btn--booking:hover {
  background: #00224f;
  color: white;
}

/* Highlights Section */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.highlight-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.highlight-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.highlight-card__title {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.highlight-card__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Image Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

/* Features List */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature__icon {
  font-size: 1.5rem;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.feature__title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature__text {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.info-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.info-card__content {
  padding: 1.5rem;
}

.info-card__tag {
  display: inline-block;
  background: var(--color-sand);
  color: var(--color-terracotta-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.info-card__title {
  margin-bottom: 0.5rem;
}

.info-card__text {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.info-card__distance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--color-text-light);
  font-size: 0.85rem;
}

/* Map Section */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form */
.contact-box {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-box__title {
  margin-bottom: 1rem;
}

.contact-box__text {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.contact-box__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  color: var(--color-sand);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__copyright {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-sand);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 100px; /* Below fixed lang-bar + nav */
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav__menu--open {
    transform: translateX(0);
  }

  .nav__toggle {
    display: flex;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .highlights {
    margin-top: 2rem;
  }

  .gallery__item--large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .section {
    padding: 3rem 0;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox--open {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.lightbox__img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
