*{
  box-sizing: border-box;
}


@font-face {
  font-family: 'Crosstown';
  src: url('/assets/Crosstown.eot'); /* IE9 Compat Modes */
  src: url('/assets/Crosstown.eot?#iefix') format('embedded-opentype'), /* IE6–IE8 */
       url('/assets/Crosstown.woff2') format('woff2'), /* Super modern browsers */
       url('/assets/Crosstown.woff') format('woff'),   /* Modern browsers */
       url('/assets/Crosstown.ttf') format('truetype'), /* Legacy Safari, Android */
       url('/assets/Crosstown.svg#Crosstown') format('svg'); /* Legacy iOS */
  font-weight: normal;
  font-style: normal;
}

/* ==== Global Reset and Body Styles ==== */
body {
  background-image: url('/assets/calcamino.png');
  background-size: cover; /* or contain, depending on desired effect */
  background-position: center;
  margin: 0;
  padding: 0;
  background: url('/assets/calcamino.png') center center / cover no-repeat;
  font-family: 'Crosstown', sans-serif;
  color: white;
  position: relative;
  height: 100vh;
  overflow-x: hidden;
}

/* ==== Header Container ==== */
.container-header {
  position: absolute;
  top: 0;
  left: 0;
  height: 20vh;
  width: 40vw;


  display: flex;
  align-items: center;
  justify-content: flex-start;

  font-family: 'Pacifico', cursive; /* Optional if you use a vintage web font */
  font-size: 6rem;
  color: white;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* ==== Subtitle Container ==== */
.container-subtitle {
  position: absolute;
  top: 0;
  right: 0;
  height: 20vh;
  width: 60vw;

  display: flex;
  align-items: center;
  text-align: left;
  justify-content: flex-start;

  font-size: 2.1rem;
  font-family: 'Crosstown', sans-serif;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* ==== Hero Text Container ==== */
.container-hero-text {
  position: absolute;
  top: 20vh;
  left: 0;
  width: 40vw;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Crosstown', sans-serif;
  font-size: 2rem;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* ==== Right Feature Box Container ==== */
.container-right-box {
  position: absolute;
  top: 20vh;
  right: 0;
  width: 60vw;
  height: 40vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-size: 2rem;

  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 20px;
}

/* ==== CTA Button ==== */
.cta {
  background-color: #ff6600;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  padding: 0.6rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #c2410c;
}

.divider-wrapper-high {
  position: absolute;
  top: 60vh;  /* Or wherever it needs to appear */
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

/* ==== Brand Message Section (FASH) ==== */
.flash-container {
  position: absolute;
  top: 60vh;
  left: 0;
  width: 100vw;
  height: 18vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4vw;
  font-family: 'Crosstown', sans-serif;
  font-size: 1.8rem;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.flash-divider {
  width: 80%;
  border: none;
  height: 1px;
  background-color: #ffffff;              /* fallback for older browsers */
  background-color: rgba(255, 255, 255, 0.4); /* preferred modern value */
  margin-bottom: 1rem;
}

.divider-wrapper-low {
  position: absolute;
  top: 78vh;  /* Or wherever it needs to appear */
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

/* ==== Footer Navigation Container ==== */
.footer-nav-container {
  position: absolute;
  top: 84vh;
  left: 0;
  width: 100vw;
  height: 16vh;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: rgba(0, 0, 0, 0.7);
  font-family: 'Crosstown', sans-serif;
  font-size: 2.3rem;
  color: white;
}

.footer-nav-container a {
  color: white;
  bottom: 0;
  text-decoration: none;
  font-weight: normal;
  padding: .5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.footer-nav-container a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {

body {
  background-image: url('/assets/calcamino.png');
  background-repeat: repeat-y;
  background-size: cover;
  background-position: center top;
  background-attachment: scroll; /* Ensures it scrolls with content */
}

  .container-header {
    position: static;
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.55);
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 1rem 0;
  }  
     
  .container-subtitle {
    position: static;
    width: 80%;
    height: auto;
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 1rem 0;
  }
  .container-header {
    font-size: 4.5rem;
    line-height: 1.5;
  }

  .container-subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }
  .container-hero-text,
  .container-right-box {
    width: 100vw;
    height: 45vh;
    position: static;
    padding: 1rem;
  }

/* Fix container-right-box stacking with other blocks */
.container-right-box {
  position: static; /* ensure it's flowing naturally */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Add space between .container-right-box and .flash-container or <ul> */

 .flash-container {
  position: static;
  margin-top: 2rem;
  padding: 1rem;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.3rem;
  background: transparent; /* Adds visible background */
  border-radius: 12px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

 /* ✅ Footer stays at the bottom */
.footer-nav-container {
  position: static;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 14vh;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: rgba(0, 0, 0, 0.7);
  font-family: 'Crosstown', sans-serif;
  font-size: 1rem !important;
  color: white;
}

  /* Ensure parent container allows footer to anchor */
  .pages-wrapper, .background-section {
    min-height: 100vh;
    position: relative;
    padding-bottom: 4rem; /* give room for footer */
    box-sizing: border-box;
  }
  
/* Optional: separate each section clearly */
.section {
  margin-bottom: 2rem;
}

  .divider-wrapper-high,
  .divider-wrapper-low {
    position: static;
  }
}


