/* CSS Reset */
:root {
      --primary-color: #000000;
      --accent-color: #f89622;
      --background-color: #ffffff;
      --button-color: #ffffff;
      --button-text-color: #000000;
      --button-hover: #f89622;
      --button-text-hover-color:#ffffff;
      --text-color: #ffffff;
      --row-alt: #fdf4e8;
      --row-hover: #ffe0b3;
      --opportunity-color: #1a1a1a;
      --other-column-color: #444444;
    } 

  * {margin: 0;padding: 0;box-sizing: border-box;}
    
.balthazar-regular {
  font-family: "Balthazar", serif;
  font-weight: 400;
  font-style: normal;
}
  
body {background-color: var(--background-color);}

h1 {font-family: "Balthazar", serif;font-size:2.5rem;font-weight:700;font-style: bold; margin:1.5rem;}
h2 {font-family: "Balthazar", serif;font-size: 2rem;font-weight: 600; margin-bottom: 1rem;}
h3{font-family: "Balthazar", serif;font-size: 2rem; font-weight:500;}

span {font-size:28px;font-style:italic;}
p {font-family: 'Roboto', sans-serif; font-size:1.2rem; margin: 0 0 1.5rem;}
a {font-family: 'Roboto', sans-serif;font-style:bold;color:#000; text-decoration:none; padding:15px;}
a:hover {color: var(--button-hover);}
img {max-width:100%; width:auto; height:auto; margin:auto; display:block;}
   
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  background: var(--background-color);
  color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
  font-family: 'Roboto', sans-serif;
  padding:0 2rem;
  top: 0;
  z-index: 200;
}
.header-logo img {
  max-height:125px;
  max-width: 125px;
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
}
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  transition: color 0.3s ease;
}
.nav a:hover, .nav a:focus {
  color: var(--accent-color);
  outline: none;
}
.phone-link {
  background-color: var(--button-color);
  color: var(--button-text-color);
  padding:0.5rem 0.5rem;
  border-radius: 5px;
  border:var(--background-color), solid 2px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight:700;
  transition: var(--background-color) 0.3s ease, color 0.3s ease;
}
.phone-link:hover, .phone-link:focus {
  background-color: var(--button-hover);
  color: var(--text-color);
  outline: none;
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
}
    
  .main{
    flex: 1;
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--background-color);
  }
  .section{background-color:var(--background-color);}
   .section h1{
    font-family: "Balthazar", serif; 
    text-align:left; 
    justify-content: left;  
    text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.093);
    border-bottom: 1px solid black;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.093);
  }
   .section img{max-width:600px; width:100%; height:auto;}

    .fullwidth {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     margin-top:1%;
     margin-bottom:1%;
     max-width:100%;
     padding-right:0.5%;
     padding-left:0.5%;
    }
    .fullwidth-center-content h2{
      text-align: center;
      padding: 1rem;
    }
    .fullwidth-center-content p{
      text-align:justify;
      padding: 0 1rem 1rem 1rem;
    }
    #events-iframe {transition: height 0.25s ease-out;}
    /* Hero Video */
.outter .hero-video {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-video {

  .video-container {
    height: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  video {
    object-fit: cover;
    position: absolute;
    height: 550px;
    width: 100%;
    top: 0;
    left: 0;
  }
  img {
    object-fit: cover;
    position: absolute;
    height: 600px;
    width: 100%;
    top: 0;
    left: 0;  
    padding: 0;
    margin: 0;
  }
  .video-container:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(black, 0.2);
    z-index: 1;
  }

  .callout {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 75%;
    margin: auto;
  }
  .callout > h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 4.2vh;
    text-transform: uppercase;
    margin: 0 0 1rem;
    padding: 0;
    line-height: 1;
    color:white;
    text-shadow: 1px 1px 2px rgba(5, 5, 5, 0.398), 3px 1px 1px rgba(0, 0, 0, 0.785);
    text-align:center;
    text-wrap: balance;
  }
}

.countdown-clock{
  .countdown{ 
    display: flex;
    justify-content: center;
    gap:2%;
    padding:76% 0 0 0;
  }
  
  .countdown > div{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin: auto;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.521);
    border-radius: 5px;
    width: 100%;
    min-width: 75px;
    max-width: 90px;
    height: auto;
    min-height: 75px;
    max-height: 90px;
    background-color: rgba(255, 255, 255, 0.863);
  }
  .number {
    font-weight: 500;
    font-size: 40px;
    color: #f89622;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.753), 0px -1px 0px rgba(0, 0, 0, 0.7);
  }

  div span:last-of-type{
    font-size: 1rem;
  }
}

    .form-container {
       background-color: var(--background-color);
       padding: 30px;
       border-radius: 12px;
       border: 2px solid var(--primary-color);
       width: 100%;
       display: flex;
       flex-direction: column;
       position: relative;
       z-index: 1;
      }
      
      .form-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 30px; /* Increased for readability */
            margin-bottom: 30px;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            flex: 1 1 300px;
            min-width: 0;
        }
        .form-group.full-width {flex: 1 1 100%;}

        label {
            font-weight: 700;
            color:var(--primary-color);
            margin-bottom: 10px;
            font-size: 1.2em;
        }
        input, textarea {
            padding: 14px;
            border: 2px solid var(--primary-color);
            border-radius: 6px;
            font-size: 1em;
            min-height: 48px; /* WCAG 2.5.8 Target Size */
            background-color: var(--background-color);
        }
        input:focus, textarea:focus {
            outline: 4px solid var(--accent-color); /* WCAG 2.4.11 Focus Appearance */
            outline-offset: 2px;
            border-color: transparent;
            box-shadow: none;
        }
        input.invalid, textarea.invalid {
            border-color: #b00020; /* High contrast error color */
            background-color: var(--background-color);
        }
        textarea {
            resize: vertical;
            min-height: 150px;
        }
        .error {
            color: #b00020;
            font-size: 0.9em;
            margin-top: 8px;
            display: none;
            font-weight: 600;
        }
        .error.show {
            display: block;
        }
        .success {
            color: #006400; /* High contrast success color */
            font-size: 1em;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600;
        }
        .form-button {
            padding: 16px;
            background-color: var(--accent-color);
            color: var(--background-color);
            border: 2px solid var(--primary-color);
            border-radius: 6px;
            font-size: 1.1em;
            font-weight: 700;
            cursor: pointer;
            min-height: 56px; /* Larger for WCAG 2.5.8 */
            min-width: 220px;
            align-self: center;
            transition: background-color 0.3s ease;
        }
        .form-button:hover:not(:focus) {
            background-color: var(--accent-color);
        }
        .form-button:focus {
            outline: 4px solid var(--accent-color);
            outline-offset: 2px;
        }
      .visually-hidden {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0;}
      .honeypot {display:none;}


  .footer {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--background-color);
    width: 100%;
    padding: 20px;
    box-sizing: border-box; 
    box-shadow:  0 -5px 10px -6px rgba(0,0,0,.2);
  }
    .footer-column{
      flex: 1;
      flex-basis: 33.33%;
      padding: 10px;
      box-sizing: border-box;
      min-width: 200px;
    }
    .footer-column h4{
      font-family: "Balthazar", serif;
      font-size: 1.5em;
      font-weight:400;
      text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.093);
      margin-top: 0;
    } 
    .footer-column p{
      font-family: 'Roboto', sans-serif;
      font-size:100%;
      margin:5px 0;
    }
     .footer-column q{
      font-family: 'Roboto', sans-serif;
      font-size:100%;
      margin:5px 0;
      text-align:center;
    }
    .footer-column span{
      font-size:100%;
      font-style:normal;
      display: flex;
      padding:5px 0;
    }
    .footer-column .bold{
      font-family: "Balthazar", serif;
      font-size: 1.2rem;
      letter-spacing:1px;
      font-weight:600;
      margin:0;
      padding:5px 0;
      display:flex;
    }
    .footer-column a{
      color:var(--primary-color);
      text-decoration:none;
      padding:5px 0;
    }
    .footer-column a:hover {
      text-decoration: underline;
      color:var(--button-hover);
    }
    
 .footer-logo{
      padding-top: 0.625rem;
      display: flex;
      align-items: center;
      flex-direction:column;
      width: 100%;
      max-height: 100%;
      height: auto;
    } 
  .footer-column.logo-column{
    text-align: center;
    border-width: 0 1px 0 1px;
    border-color: var(--primary-color);
    border-style: solid;
    }
    .footer-column.logo-column img{
      max-width:125px;
      width:100%;
      max-height:125px;
      height: auto;
      margin:25px 0;
    }
    
   .footer-column.contact-column{
    border-color: var(--primary-color);
   }
    .footer-contact{
      padding-top: 0.625rem;
      display: flex;
      flex-direction: column;
      align-items:flex-start;
      width: 100%;
      max-height: 100%;
      height: auto;
    }
    .footer-contact.footer-email{
      flex-direction: row;
      min-width: 100%;
      width: auto;
      font-size: 100%;
    }
    .footer-contact.footer-phone{
      flex-direction: row;
      min-width: 100%;
      width: auto;
      font-size: 100%;
    }
    .footer-contact.footer-address{
      flex-direction: row;
      min-width: 100%;
      width: auto;
      font-size: 100%;
    }
   

.footer-column.social-column{
  padding-top: 0.625rem;
  display: flex;
  flex-direction:column;
  align-items: center;
  width: 100%;
  max-height: 100%;
  height: auto;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  margin:12px 0;
}
 .social-links a {
   display: inline-block;
   width: 20%;
   height: 20%;
   transition: transform 0.2s ease;
  }
  .social-links svg {
    max-width: 75px;
    max-height: 75px;
    width:100%;
    height: auto;
    fill: #ffffff;
    background-color: #000000;
    border-radius: 50%;
    padding: 0.25rem;
  }
  .social-links a:hover svg {
    fill:orange;
    background-color: #ffffff;
    transform: scale(0.9);
  }
  .social-links a:focus svg {
    outline: 3px double #000000;
    outline-offset: 2px;
  }

.footer-row{ 
  display:flex;
  order: 4;
  flex-direction: row;
  width: 100%;
  justify-content:center;
  }
  .footer-row p{
    font-family: 'Roboto', sans-serif;
    font-size:0.9em;
    text-align:center;
    color: #000;
  }
  .footer-row a{
    font-family: 'Roboto', sans-serif;
    font-size:0.9em;
    text-decoration: none ;
    padding:5px;
  }

@media (max-width: 888px) {
  .header {flex-wrap:wrap; padding:0 0.3rem 0.3rem 0.3rem;}
  .hamburger {display: block;}
  .nav {display: none;flex-direction: column;align-items: center;width: 100%;gap: 0.5rem;}
  .nav.active {display: flex;}
  .phone-link {width: 100%;text-align: center;}
  .header-logo img {max-height: 85px;max-width: 85px;}
  
  .footer-column {flex-basis:100%;}
  .footer-column:nth-child(1) {
    order: 2;
    margin:3% 0;
    border-top:1px solid black;
    border-bottom:1px solid black;
    padding:10px 0;
  }
  .footer-column:nth-child(3) {order: 1;}
  .footer-column.logo-column{order: 3;border-width: 0 0 0 0;}
  }
      
@media (max-width: 768px) {
      .fullwidth h1 {font-size: 2rem;}
      .fullwidth h2 {font-size: 1.5rem;}
      .fullwidth p {font-size: 1rem;}
      .fullwidth img {max-width: 150px;max-height: 150px;}

  }