*{
  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;
  letter-spacing: .027em;
  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: 50vw;
  height: 47vh;

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

  padding: 1.7rem;
  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 (FLASH) ==== */
.flash-container{
  position: absolute;
  top: calc(62vh);   /* ← move it down ~12px */
  left: 0; right: 0;        /* avoids 100vw scrollbar quirks */
  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: 82vh;  /* 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: 1.5rem;
}

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

 .flash-container {
  position: static;
  margin-top: 1rem;
  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;
  }
}

/* Hero text a touch smaller for Chrome/Firefox */
.container-hero-text{ height: 36vh; }     /* was 40vh */
.container-hero-text h1{
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.00
  ;
}
.cc-notice{
  margin: .5rem auto 0;
  padding: .5rem 1rem;
  max-width: 1200px;
  font: 400 0.9rem/1.4 Arial, Helvetica, sans-serif;
  text-align: center;
  color: #fff;
  border-top: 1px solid rgba(0,0,0,.12);
}
.cc-notice a{ color: inherit; text-decoration: underline; }
.cc-sep{ margin: 0 .5ch; opacity: .65; }

/* --- Coming Soon lock --- */
.coming-soon-overlay{ display:none; }                 /* default hidden */
body.coming-soon .coming-soon-overlay{ display:flex; }

body.coming-soon{
  overflow:hidden;                                    /* stop page scroll */
}
/* blur & disable clicks on everything underneath */
body.coming-soon .page-wrapper,
body.coming-soon .footer-nav-container{
  filter: blur(3px);
  pointer-events:none;
  user-select:none;
  -webkit-user-select:none;
}

/* full-screen glass */
.coming-soon-overlay{
  position:fixed; left:0; top:0; right:0; bottom:0;
  z-index:99999;
  align-items:center; justify-content:center;
  background: rgba(0,0,0,0.55);
  /* backdrop-filter is nice-to-have; page blur above is the fallback */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* center card */
.cs-card{
  font-family: Arial, sans-serif;
  max-width:640px; width:min(90vw,640px);
  padding:2rem 1.8rem;
  background: rgba(0,0,0,0.65);
  color:#fff; text-align:center;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:18px;
  box-shadow:0 12px 28px rgba(0,0,0,0.35);
}
.cs-card h1{ margin:0 0 .4rem; font-family:'Crosstown',sans-serif; font-size:48px; line-height:1.05; }
.cs-card p{ margin:.2rem 0 .6rem; font-size:22px; letter-spacing:.04em; }
.cs-card small{ opacity:.85; }
@media (max-width:700px){
  .cs-card h1{ font-size:34px; }
  .cs-card p{ font-size:18px; }
}

/* === Fixed top-left logo (global) === */
:root{
  --logo-left: clamp(12px, 2vw, 24px);
  --logo-top: clamp(12px, 2vh, 24px);
  --logo-width: clamp(125px, 65vw, 550px); /* adjust to taste */
}

/* Accessible “visually hidden” helper for SEO-friendly H1 fallback text */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

.site-logo{
  position:fixed;
  inset: var(--logo-top) auto auto var(--logo-left);
  display:block;
  width:var(--logo-width);
  aspect-ratio: 1200 / 330;            /* tweak if your logo’s proportions differ */
  background: no-repeat left top / contain url('/assets/img/calcamino-logo-white.png');
  z-index: 9999;
  text-decoration:none;
}

/* Optional: provide a 2x asset for sharper retina rendering */
@supports (background-image: image-set(url('/assets/calcamino-logo-white.png') 1x)) {
  .site-logo{
    background-image: image-set(
      url('/assets/calcamino-logo-white.png') 1x,
      url('/assets/calcamino-logo-white.png') 2x
    );
  }
}

/* If the fixed logo overlaps content on small screens, add a little top padding */
@media (max-width: 600px){
  body{ padding-top: max(64px, calc(var(--logo-top) + 48px)); }
}

/* If you had decorative page titles, hide them but keep semantic H1 text for SEO */
.masthead h1, .masthead h2{
  position:absolute; width:1px;height:1px; margin:-1px; clip:rect(0 0 0 0);
  overflow:hidden; white-space:nowrap; border:0;
}

