/* Base */
:root {
  --bg: #f4f7f9;
  --brand: #007b9c;
  --brand-dark: #005f73;
  --text: #0f172a;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--brand);
  color: var(--white);
  padding: 18px 0;
}

.site-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.site-subtitle {
  margin: 6px 0 0;
  opacity: 0.95;
}

/* Nav */
.site-nav {
  background: var(--brand-dark);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: var(--white);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

.nav-link {
  border: 0;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-link:hover,
.nav-link:focus-visible {
  outline: none;
  background: rgba(255,255,255,0.15);
}

.nav-link.active {
  background: rgba(255,255,255,0.25);
}

/* Main content */
.site-main {
  padding: 18px 0 24px;
}

.content {
  min-height: 520px;
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;

  /* background set by JS (image + gradient) */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: background-image 0.35s ease-in-out;

  padding: clamp(14px, 2vw, 22px);
  background-color: rgba(255,255,255,0.92);
  background-blend-mode: normal;
}

.section-title {
  color: var(--brand);
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.text-block {
  max-width: 70ch;
  line-height: 1.6;
  margin: 0;
}

.gallery-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/*
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  width: 100%;
}

.gallery-frame img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
}

*/
.gallery-frame {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}


.gallery-caption {
  padding: 10px 12px;
}

.video-wrap {
  width: 100%;
}

.video-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-frame video {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: cover;
}

.img-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.img-overlay.hidden {
  display: none;
}

.img-overlay img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 12px;
}


/* Gallery grid 
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
*/
/* Video */

.video-wrap {
  margin-top: 14px;
}

.video-wrap video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* Footer */
.site-footer {
  background: var(--brand);
  color: var(--white);
  text-align: center;
  padding: 12px 0;
}

/* Legal + Links */
.legal {
  background: #f0f0f0;
  padding: 18px 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/*.legal-item {
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0;
}
*/
.legal-summary {
  cursor: pointer;
  font-weight: 800;
}

.useful-links {
  background: #e0e0e0;
  padding: 18px 0;
  text-align: center;
}

.useful-title {
  margin: 0 0 10px;
}

.useful-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.useful-list a {
  color: #003b46;
  font-weight: 700;
  text-decoration: none;
}

.useful-list a:hover {
  text-decoration: underline;
}

.sep {
  opacity: 0.55;
}

.site-header {
  background: var(--brand);
  color: var(--white);
  padding: 24px 0;
}

.site-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontal centering */
  justify-content: center;
  text-align: center;    /* text centering */
}

.email-link {
  text-decoration: none;
  display: inline-block;
  margin-top: 16px;
}

.btn-primary {
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  background: var(--brand);
  color: white;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-dark);
}


/* Mobile */
@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 0 0;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    text-align: left;
    width: 100%;
  }

  .content {
    min-height: 480px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 200px;
  }
}


.content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 620px;
  padding: clamp(18px, 3vw, 34px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
}

.glass-panel {
  /*position: relative; /* REQUIRED for shine 
  overflow: hidden;*/

  width: clamp(480px, 26vw, 430px);
  min-height: 460px;
  padding: clamp(18px, 2vw, 28px);
  border-radius: 22px;

  /* Ultra light transparency */
  background:rgba(6, 168, 243, 0.096);

  /* Soft glass border */
  border: 1px solid rgba(255, 255, 255, 0);

  /* Subtle glass blur 
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);*/

  /* Light shadow (not too heavy) */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.50);

  animation: floatGlass 4s ease-in-out infinite;
}

/*
.glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;

  /* Light streak 
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );

  transform: skewX(-20deg);
  animation: shineMove 4s infinite;
}
*/
/*
@keyframes shineMove {
  0% {
    left: -100%;
  }
  100% {
    left: 150%;
  }
}
*/

.section-title {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.section-body {
  line-height: 1.7;
  color: var(--text);
}

@keyframes floatGlass {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}



@media (max-width: 780px) {
  .content {
    justify-content: flex-start;
    min-height: auto;
    padding: 18px;
  }

  .glass-panel {
    width: 75%;
    max-width: 100%;
    min-height: 500px;
    animation: none;
  }
}

/*xxxxxxxxxxxx*/

.img-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

.img-overlay.hidden {
  display: none;
}

.img-overlay img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 14px;
  animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}




/*new*/
.content.content--hero {
  min-height: calc(100vh - 80px);
  padding: 0;
  background: none !important;
  border-radius: 0;
}

.hero-video-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  width: 90%;
  max-width: 900px;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 600;
  text-shadow: 0 4px 14px rgba(0,0,0,0.7);
}



/* Video fills entire screen OUTSIDE section */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* sits behind everything */
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional overlay */
.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: -1;
}

/* Content sits above video */
.content.content--hero {
  background: none !important;
  height: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center text */
.hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  width: 90%;
  max-width: 1000px;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 600;
  text-shadow: 0 5px 18px rgba(0,0,0,0.8);
}

.site-header {
  position: relative;
  z-index: 10;
}