/* ======================================= */
/* Global Styles                           */
/* ======================================= */
* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Revans' sans-serif;
  overflow: hidden;
  overflow-x: hidden;
  background-color: #ebc088;
}

/* ======================================= */
/* Fonts                                   */
/* ======================================= */

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-Normal.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-Light Italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-Medium Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-Bold Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Revans';
  src: url('../assets/fonts/Revans/Revans-SemiBold Italic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'EldersTypeface';
  src: url('../assets/fonts/EldersTypeface.otf') format('opentype');
  font-weight: auto;
  font-style: normal;
}

/* ========================== */
/* Utility Font Classes */
/* ========================== */

.revans-normal { font-family: 'Revans'; font-weight: 400; font-style: normal; }
.revans-italic { font-family: 'Revans'; font-weight: 400; font-style: italic; }

.revans-light { font-family: 'Revans'; font-weight: 300; font-style: normal; }
.revans-light-italic { font-family: 'Revans'; font-weight: 300; font-style: italic; }

.revans-medium { font-family: 'Revans'; font-weight: 500; font-style: normal; }
.revans-medium-italic { font-family: 'Revans'; font-weight: 500; font-style: italic; }

.revans-bold { font-family: 'Revans'; font-weight: 700; font-style: normal; }
.revans-bold-italic { font-family: 'Revans'; font-weight: 700; font-style: italic; }

.revans-semibold-italic { font-family: 'Revans'; font-weight: 600; font-style: italic; }

.elders-typeface { font-family: 'EldersTypeface'; font-weight: auto; font-style: normal;}

/* ======================================= */
/* Background + Overlay                    */
/* ======================================= */
.background-slideshow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.background-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.background-slideshow .slide.active {
  opacity: 1;
}

.background-slideshow .slide-a {
  background-image: url("images/image-1.jpg"); /* default */
  opacity: 1; /* make it visible from the start */
  background-color: #ebc088;
}

/* ======================================= */
/* Hero content                            */
/* ======================================= */
.hero {
  height: 100dvh; /* cover full viewport, mobile-safe */
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem;
  box-sizing: border-box;
  z-index: 3;
}

.hero__logo {
  width: min(320px, 60vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4));
  margin-bottom: 0.5rem;
  z-index: 4;
}

@media (max-width: 425px) {
  .hero__logo { width: min(150px, 60vw); }
}

.hero__tagline {
  max-width: 60ch;
  line-height: 1.5;
  color: #ffffff;
  font-size: 1.2rem;
  font-family: Revans;
  font-weight: 600;
  margin: 0 auto 0.75rem auto;
  z-index: 4;
}

@media (max-width: 1024px) {
  .hero__tagline { font-size: 1rem; }
}

@media (max-width: 768px) {
  .hero__tagline { font-size: 0.75rem !important; }
}

.hero__notice {
  max-width: 60ch;
  line-height: 1.5;
  color: #ffffff;
  font-size: 1.1rem;
  font-family: Revans;
  font-weight: 500;
  margin: 0 auto 0.75rem auto;
  z-index: 4;
  img {
    max-width: 100px;
    height: auto;
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero__notice { font-size: 0.65rem; }
}


/* Buttons */
.hero__actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal-width columns */
  gap: 0.75rem; /* space between buttons */
  justify-items: center; /* center the buttons in their cells */
  margin-top: 0.25rem;
  z-index: 4;
}

@media (max-width: 425px) {
  .hero__actions { grid-template-columns: 1fr; } /* single column on smaller screens */
}

.hero__actions .btn {
  width: 100%;        /* make them fill their grid cell */
  max-width: 180px;   /* optional: limit max button width */
}

.btn {
  --border: rgba(255,255,255,0.25);
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.05rem;
  font-weight: 600;
  border-radius: 999px;
  background: #ebc088; /* your footer tone for brand harmony */
  color: #111;
  transition: transform 150ms ease, filter 150ms ease, background 150ms ease;
  border: 1px solid transparent;
  box-sizing: border-box;
}

@media (max-width: 425px) {
  .btn {
    padding: 0.5rem 0.75rem; /* smaller padding on mobile */
    font-size: 0.75rem; /* smaller font size */
  }
}

.btn:hover { transform: translateY(-1px); filter: brightness(0.95); }

.btn:active { transform: translateY(0); filter: brightness(0.9); }

.btn--light {
  background: #fff;
  color: #111;
}

.btn--outline {
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 1px solid var(--border);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.08);
}

/* ======================================= */
/* Footer                                  */
/* ======================================= */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  padding-top: 2px;
  padding-bottom: 2px;
  width: 100%;
  height: 2vh;
  background: #ebc088;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  font-family: EldersTypeface, sans-serif;
  z-index: 10;
}

.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover {
  color: #f0f0f0;
  text-decoration: underline;
  transition: color 200ms ease-in-out;
}

/* ======================================= */
/* Utilities                               */
/* ======================================= */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ======================================= */
/* Responsive tweaks                       */
/* ======================================= */
@media (max-width: 520px) {
  .hero__tagline { font-size: 1rem; }
  .btn { width: calc(50% - 0.375rem); text-align: center; }
}

@media (max-width: 360px) {
  .btn { width: 100%; }
}