
/* ===================================================
   VARIABLES: Define colors, font, and transition duration
   =================================================== */
:root {
  --transition-duration: 900ms;
  --background: #0A2342;   /* main background color */
  --trim: #C2A469;         /* accents for highlights, borders, active elements */
  --highlight: #A4161A;    /* hover color or alert emphasis */
  --text: #FFFFFF;          /* primary text color */
  --neutrals: #E5E5E5;      /* secondary text color */
  --contrast: black;        /* high contrast element color */
  --font-title: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Bahnschrift SemiBold', Bahnschrift, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-sub: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Bahnschrift Light', Bahnschrift, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Use Elms Sans for Apple devices (Safari/WebKit) */
@supports (-webkit-appearance: none) {
  :root {
    --font-title: "Elms Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Bahnschrift SemiBold', Bahnschrift, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-sub: "Elms Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Bahnschrift Light', Bahnschrift, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
}

/* ===================================================
   GLOBAL STYLES
   =================================================== */
* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-sub);
  color: var(--text);
  background: var(--background);
  scroll-behavior: smooth;
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===================================================
   MAIN: Scrollable panels
   =================================================== */
main {
  flex: 1 0 auto;
  height: auto;
  scroll-snap-type: y mandatory;
  box-sizing: border-box;
}

/* Each panel fills the viewport minus nav */
.panel {
  position: relative;
  min-height: calc(100vh);
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: left;
  scroll-snap-align: start;
  overflow: hidden;
}

/* Info sections that follow each panel */
.info-section {
  min-height: 90vh;
  width: 100%;
  background: var(--background);
  display: flex;
  align-items: top;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
  scroll-snap-align: start;
}

.info-section > * {
  flex: 1;
  max-width: 2000px;
}

/* Column text content */
.info-content {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  color: var(--text);
  padding: 1rem 1rem;
  gap: 0.2rem;
  height: auto; 
  
}

.first-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2rem;
  text-align: center;
  height: auto;            
}

.first-info h2 {
  font-size: clamp(12px, 4vw, 40px);
  margin: 0;
  font-family: var(--font-sub);
  color: var(--text);
  
}

/* Wrapper to manage total height of the combined info section */
.first-info-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 90vh;
  width: 100%;
}

/* First info section */
.first-info {
  background-color: var(--background);
  width: 100%;
  min-height: 50vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  box-sizing: border-box;
}

/* H2 free vertical control, with width constraint */
.first-info h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: var(--text);
  text-align: center;
  font-size: clamp(20px, 3vw, 40px);
  max-width: 1800px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}

/* CTA container below centered H2 */
.first-info-cta {
  position: absolute;
  left: 50%;
  top: calc(50% + 120px);
  transform: translateX(-50%);
}

/* Large CTA button using --highlight palette */
.btn-cta {
  display: inline-block;
  background: var(--highlight);
  color: var(--neutrals);
  padding: 1.1rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 22px);
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-cta:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
}
.btn-cta:active {
  transform: translateY(0);
}

@media (max-width: 900px){
  .first-info-cta { position: static; transform: none; top: auto; left: auto; margin-top: 1.25rem; }
  .first-info { align-items: center; }
}

/* Gold highlight section */
.highlight-section {
  background-color: var(--trim);
  width: 100vw;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* Columns inside gold section */
.highlight-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

/* Individual column */
.highlight-columns .column {
  flex: 1;
  min-width: 180px;
}

/* Column headings and text */
.highlight-columns h3,
.highlight-columns p {
  color: var(--contrast);
  text-align: center;
}

.highlight-columns h3 {
  font-size: clamp(16px, 2vw, 22px);
  margin-bottom: 0.5rem;
}

.highlight-columns p {
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.5;
}
.info-content h2 {
  margin-top: 50%;
  font-size:  clamp(16px, 1.6vw, 38px);
}

.centre {
  text-align: center !important;
}

.info-content h3 {
  margin-top: 18% ;
  text-align: center;
  color: var(--trim);
  font-size: clamp(14px, 1.5vw, 32px) ;
}

.info-content p, .info-content ul, .info-content li {
  font-size: clamp(8px, 1vw, 24px);
  line-height: 1.6;
  text-align: justify;
  justify-content: left;
  color: var(--neutrals);
}

/* Gold highlight block variant for About page */
.gold-highlight {
  background: var(--trim);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  color: var(--contrast);
}
.gold-highlight p { text-align: center; }
.gold-highlight ul, .gold-highlight li { text-align: left; }
.gold-highlight h2,
.gold-highlight h3,
.gold-highlight p,
.gold-highlight li,
.gold-highlight a {
  color: var(--contrast);
}
.gold-highlight a { text-decoration: underline; }



/* Right column: video embed */
.info-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.info-image iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.info-image img {
  max-width: 100%;
  max-height: 80%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}






/* ===================================================
   BACKGROUND IMAGES AND OVERLAY
   =================================================== */
.bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform, opacity;
}

.bg-wrap img {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: transform var(--transition-duration) cubic-bezier(.2,.9,.3,1), opacity var(--transition-duration) ease;
  will-change: transform, opacity;
}

/* subtle overlay for better text contrast */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,35,66,0.25) 0%, rgba(10,35,66,0.5) 60%);
  pointer-events: none;
  transition: opacity 400ms ease;
}

/* ===================================================
   PANEL CONTENT
   =================================================== */
.content {
  position: absolute;
  z-index: 3;
  text-align: left;
  max-width: 5000px;
  padding: 2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform calc(var(--transition-duration)/1.6) cubic-bezier(.2,.9,.3,1),
  opacity calc(var(--transition-duration)/1.6) ease;
  top:33%;
}
.content h1 { 
  font-size: clamp(30px, 8vw, 180px);  
  margin: 0 0 1rem 0;                 
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: left  !important;                 
  width: 100%;                      
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
  line-height: 140px;
  display: block !important; 
  top:-33%;
  font-family: var(--font-title);
  font-weight: 600;
}

.content h1 .line { 
  display:block;
}

.content h2 {
  font-size: clamp(14px, 1.8vw, 30px); 
  margin: 0;
  color: var(--text);
  font-family: var(--font-sub);
  font-weight: 300;
  
}
.content p { 
  font-size: clamp(14px, 1.8vw, 20px); 
  margin: 0;
  color: var(--text);;
}

.contentColumn {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  text-align: justify;
  max-width: 50%;
  max-height: 80%;
  padding: 2rem;
  top:10%;
  right:5%;
}

.contentColumn p {
  font-size: clamp(12px, 1.8vw, 18px); 
}


.meta {
  margin-top: 1.2rem;
  font-size: 13px;
  color: var(--neutrals);
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

/* ===================================================
   PANEL STATE: ACTIVE / INACTIVE
   =================================================== */
.panel.inactive img {
  transform: translate(-50%, -50%) scale(1.05);
  filter: brightness(.85) saturate(.9);
}

.panel.inactive .content {
  transform: translateY(30px);
  opacity: 0;
}

.panel.active img {
  transform: translate(-50%, -45%) scale(1.12);
}

.panel.active .content {
  transform: translateY(0);
  opacity: 1;
}

.panel[data-index="0"] .content {
  top: 33%;
  transform: translateY(0);
  left: 2rem;
  top: 33%;
  text-align: left;
}

/* ===================================================
   TOP NAVIGATION
   =================================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10,35,66,0.8);
  padding: 1rem 2rem;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.nav-content { display:flex; align-items:center; justify-content: space-between; gap: 1rem; }
.nav-brand { display:flex; align-items:center; gap: 0.6rem; color: var(--text); text-decoration:none; font-weight: 800; letter-spacing: 0.5px; }
.nav-logo { width: 28px; height: 28px; border-radius: 4px; display:inline-block; object-fit: contain; }
.nav-title { line-height: 1; }

.top-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  align-items: center; 
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.top-nav a:hover {
  color: var(--trim);
}

.top-nav .contact-btn {
  background-color: var(--trim); 
  color: var(--contrast);         
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.top-nav .contact-btn:hover {
  background-color: #d4b873;      /* lighter gold on hover */
  transform: scale(1.05);
  color: var(--contrast);
}

/* Mobile toggle (hidden by default; shown in media query) */
.nav-toggle{
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span{ position: relative; }
.nav-toggle span::before{ position: absolute; top: -7px; }
.nav-toggle span::after{ position: absolute; top: 7px; }

/* Animated state when menu open */
body.nav-open .nav-toggle span{ background: transparent; }
body.nav-open .nav-toggle span::before{ transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after{ transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   DOT INDICATORS
   =================================================== */
.dots {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: var(--highlight);
  cursor: pointer;
}

.dot.active {
  background: var(--trim);
  transform: scale(1.2);
}
.dot:focus-visible { 
  outline: 2px solid var(--trim); outline-offset: 2px; 
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  position: relative;
  flex-shrink: 0; /* prevent shrinking in flex layout */
  background: var(--trim);
  color: var(--text);
  padding: 1rem 2rem;
  text-align: center;
  border-top: 1px solid var(--highlight);
  z-index: 15;
}

.footer-content p {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.footer-content .social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.footer-content .social-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-content .social-links a:hover {
  color: var(--highlight);
}

.footer-content .copyright {
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: normal;
}

/* ===================================================
   ACCESSIBILITY & REDUCED MOTION
   =================================================== */
@media (prefers-reduced-motion: reduce){
  :root { --transition-duration: 150ms; }
  .bg-wrap img { transition: none; }
  .content { transition: none; }
}

/* ===================================================
   SMALL SCREEN TWEAKS
   =================================================== */
@media (max-width: 640px){
  .content { padding: 1rem; }
  .top-nav{ padding: 0.75rem 1rem; }
  .nav-logo{ width: 22px; height: 22px; }
  .highlight-section{ padding: 1.5rem 1rem; }
  .first-info{ padding: 1.5rem; }
}

/* Responsive safeguards */
@media (max-width: 900px){
  .info-section{ min-height: auto; align-items: flex-start; flex-direction: column; }
  .first-info-wrapper{ min-height: auto; }
  .first-info{ min-height: auto; padding-top: 3rem; padding-bottom: 3rem; align-items: center; }
  .first-info h2{ position: static; transform: none; top: auto; left: auto; max-width: 100%; padding: 0 0.5rem; }
  .info-content h2{ margin-top: 0; }
  .info-content h3{ margin-top: 1rem; }
  /* Mobile: stack highlight section columns vertically */
  .highlight-columns{ flex-direction: column; gap: 1.25rem; }
  .highlight-columns .column{ min-width: 0; width: 100%; }
  /* Allow nav to wrap neatly on small widths without changing desktop */
  .nav-content{ gap: 0.5rem; }
  /* Replace nav links with hamburger */
  .nav-toggle{ display: inline-flex; }
  .top-nav ul{
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    background: rgba(10,35,66,0.98);
    gap: 0;
    padding: 0.5rem 1rem 0.75rem 1rem;
    border-bottom: 1px solid rgba(194,164,105,0.35);
  }
  body.nav-open .top-nav ul{ display: flex; }
  .top-nav ul li{ padding: 0.5rem 0; }
  .top-nav ul a{ display: block; }
  /* Reduce gold section padding for smaller screens */
  .highlight-section{ padding: 2rem 1rem; }
  /* Tone down panel heading spacing on small screens */
  .content h1{ line-height: 1.1; }
  /* Center contentColumn horizontally on mobile */
  .contentColumn{
    max-width: 90%;
    align-items: center;
    text-align: justify;
    top: 20%; 
    max-height: 80%;
  }
  /* Increase text sizes for mobile readability */
  .first-info h2{ font-size: clamp(24px, 4vw, 40px); }
  .btn-cta{ font-size: clamp(18px, 2vw, 22px); }
  .highlight-columns h3{ font-size: clamp(20px, 2.5vw, 22px); }
  .highlight-columns p{ font-size: clamp(16px, 2vw, 18px); }
  .info-content h2{ font-size: clamp(20px, 2vw, 38px); }
  .info-content h3{ font-size: clamp(18px, 2vw, 32px); }
  .info-content p, .info-content ul, .info-content li{ font-size: clamp(16px, 1.5vw, 24px); }
  .content h2{ font-size: clamp(18px, 2.2vw, 30px); }
  .content p{ font-size: clamp(16px, 2vw, 20px); }
  .contentColumn p{ font-size: clamp(16px, 2vw, 18px); }
  .meta{ font-size: 15px; }
  .instagram-post .content p{ font-size: clamp(16px, 2vw, 18px); }
  /* Hide side dots to declutter on mobile */
  .dots{ display: none; }
}





/* (Removed unused About page layout rules) */

/* ===================================================
   News Page
   =================================================== */
.instagram-post .content {
  background: rgba(0,0,0,0.4); /* semi-transparent overlay behind text */
  border-radius: 12px;
  padding: 1.5rem;
}

.instagram-post .content p {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--neutrals);
}

/* ===================================================
   FAQ SECTION STYLES (AISEO Optimization)
   =================================================== */
.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(194, 164, 105, 0.2);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-item h3 {
  color: var(--trim);
  margin-bottom: 0.75rem;
  font-family: var(--font-title);
}

.faq-item p {
  margin-top: 0.5rem;
  line-height: 1.6;
}