/* General Styles */
.pageload
{
  animation: page 2s linear 0s 1;
}

@keyframes page 
{
  from
  {
    opacity: 0;
  }
  to
  {
    opacity: 1;
  }
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(105deg, #444444 0%, #385cff 100%); /* Primary background - very dark grey/off-black */
  color: white;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px; /* Vertical padding for content within sections */
}

h1, h2, h3, h4, h5, h6 {
  color: rgb(62, 171, 255);
}

a {
  color: #a0cfff; /* Light blue for links, good contrast on dark backgrounds */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Slightly different timing for hero to feel snappier */
.hero.reveal {
  transition-duration: 520ms;
}

/* Header Styles */
header {
  background: linear-gradient(355deg, #000000 50%, #8a8a8a 100%); /* Black */
  padding: 25px 0;
  text-align: center;
  border-bottom: 1px solid #333; /* Subtle separator */
}

header img
{
  height: 155px;
}

header h1 {
  margin: 0;
  margin-bottom: 25px; /* Spacing for menu */
  font-size: 2.8em;
  letter-spacing: 1px;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

header nav ul li {
  display: inline-block;
  margin: 0 25px; /* Good spacing for menu items */
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  padding-bottom: 5px; /* Space for underline */
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #696969; /* Lighter grey for hover/active */
  text-decoration-thickness: 2px;
}

/* Common Button Styles */
.button {
  display: inline-block;
  padding: 12px 28px;
  background-color: #121212; /* Dark grey button background */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #666666;
  cursor: pointer;
  transition: background-color 1s, color 1s, border-color 1s;
  font-size: 1em;
}

.button:hover {
  background-color: #f0f0f0; /* Light background on hover */
  color: #333333; /* Dark text on hover */
  border-color: #cccccc;
}

/* Hero Content Section (Text-Button-Text) */
.hero-content-section {
  background: linear-gradient(105deg, #444444 50%, #222222 100% ) ; /* Grey */
  padding: 30px 0;
  margin-top: 25px; /* Same distance as H1 margin-bottom to nav */
  text-align: center;
}

.hero-content-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: flex-start; /* Align items to the top */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text-block {
  flex: 1; /* Allows text blocks to take available space */
  margin: 0 20px;
  text-align: left;
}
.hero-text-block:first-child { margin-left: 0; }
.hero-text-block:last-child { margin-right: 0; }


.hero-text-block h3 {
  margin-top: 0;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.hero-text-block p {
  font-size: 1em;
  line-height: 1.7;
}

.hero-buttons-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Vertically center buttons if text blocks are taller */
  flex-shrink: 0; /* Prevent button block from shrinking */
  margin: 0 20px; /* Spacing around button block */
  padding-top: 10px;
  padding-bottom: 10px; /* Align buttons a bit lower if needed */
}

.hero-buttons-block .button {
  margin-bottom: 15px;
  width: 200px; /* Fixed width for uniform buttons */
}

.hero-buttons-block .button:last-child {
  margin-bottom: 0;
}

/* Page Specific Content Section */
.page-specific-section 
{ 
  color: white;
}
.page-specific-section .container {
  text-align: left;
  background: linear-gradient(355deg, #000000 50%, #8a8a8a 100%); /* Default for content, can be overridden */
}
.page-specific-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}
.page-specific-section p, .page-specific-section ul {
  margin-bottom: 15px;
}
.page-specific-section ul {
  list-style-position: inside;
  padding-left: 0;
}
.page-specific-section li {
  margin-bottom: 8px;
}


/* Lead Capture Section */
.lead-capture-section 
{ /* Grey */
  color: white;
  text-align: center;
}

.lead-capture-section .container {
  padding-top: 30px;
  padding-bottom: 30px;
}
.lead-capture-section h2 {
  margin-bottom: 25px;
  font-size: 1.6em;
  font-weight: normal;
}

.lead-capture-section form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.lead-capture-section input[type="email"] {
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid #555555;
  width: 280px;
  font-size: 1em;
  background-color: #333;
  color: white;
}
.lead-capture-section input[type="email"]::placeholder {
  color: #aaa;
}


/* Location & Hours Section */
.location-hours-section {
  background: linear-gradient(355deg, #000000 50%, #8a8a8a 100%); /* Black */
  color: white;
}

.location-hours-section .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px; /* Space between contact info and hours table */
}

.contact-info, .hours-operation {
  flex-basis: 48%; /* Each takes roughly half the space */
}
.contact-info h3, .hours-operation h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}
.contact-info p {
  margin-bottom: 10px;
  line-height: 1.8;
}
.contact-info a {
  color: #a0cfff;
}
.contact-info a:hover {
  color: white;
}

.hours-operation table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.hours-operation th, .hours-operation td {
  border: 1px solid #444444;
  padding: 10px 12px;
  text-align: left;
}
.hours-operation th {
  background-color: #1a1a1a; /* Darker background for table headers */
  font-weight: bold;
}
.hours-operation tr:nth-child(even) td {
  background-color: #0d0d0d; /* Slightly different for even rows if needed */
}


/* Contact Page Specifics */
.contact-page-section h2 {
  margin-bottom: 10px;
}
.contact-page-section > .container > p { /* Intro paragraph on contact page */
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#calendar-placeholder {
  border: 2px dashed #555;
  padding: 25px;
  margin: 30px auto 40px auto;
  text-align: center;
  max-width: 700px;
  background-color: #111;
  border-radius: 8px;
}
#calendar-placeholder h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4em;
}
#calendar-placeholder ol {
  text-align: left;
  display: inline-block; /* To center the list block */
  margin-top: 10px;
  margin-bottom: 15px;
  padding-left: 20px; /* For list bullets */
}
#calendar-placeholder li {
  margin-bottom: 8px;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #333;
}
.contact-form-container h3 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 1.6em;
}
.contact-form-container div {
  margin-bottom: 20px;
}
.contact-form-container label {
  display: block;
  margin-bottom: 8px;
  color: #ccc;
  font-weight: bold;
}
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
  width: calc(100% - 24px); /* Account for padding and border */
  padding: 12px;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #333;
  color: white;
  font-size: 1em;
}
.contact-form-container textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form-container button.button {
  display: block;
  width: auto;
  margin: 10px auto 0 auto; /* Center button */
}


/* Footer Styles */
footer {
  background: linear-gradient(105deg, #444444 50%, #222222 100% ) ; /* Grey */
  color: #aaaaaa;
  text-align: center;
  padding: 25px 20px;
  font-size: 0.9em;
  border-top: 1px solid #333; /* Subtle separator */
}
footer img
{
  height: 30px;
  border: solid 3px black;
  border-radius: 27px;
}

/* Responsive Adjustments (Basic) */
@media (max-width: 992px) {
  .hero-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .hero-text-block {
    margin: 0 0 25px 0; /* Stacked margin */
    text-align: center;
    max-width: 600px; /* Limit width when stacked */
  }
  .hero-buttons-block {
    margin-top: 10px; /* Space after last text block */
    padding-top: 0;
  }
  .location-hours-section .container {
    flex-direction: column;
    align-items: center;
  }
  .contact-info, .hours-operation {
    flex-basis: auto; /* Let them take full width */
    width: 100%;
    max-width: 500px; /* Limit width when stacked */
    text-align: center; /* Center content in stacked view */
  }
  .contact-info h3, .hours-operation h3 {
    text-align: center;
  }
  .hours-operation table {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) 
{
  header h1 { font-size: 2.2em; }
  header nav ul li { margin: 0 15px; }
  header nav ul li a { font-size: 1.1em; }

  .button { padding: 10px 20px; font-size: 0.95em;}
  .hero-buttons-block .button { width: 180px; }

  .lead-capture-section form 
  {
    flex-direction: column;
    width: 100%;
    max-width: 320px; /* Limit form width */
    margin: 0 auto;
  }
  .lead-capture-section input[type="email"] 
  {
    width: calc(100% - 32px); /* Full width minus padding */
    margin-bottom: 10px;
  }
  .lead-capture-section button.button 
  {
    width: 100%;
  }
}

@media (max-width: 480px) {
  header nav ul 
  {
    padding-top: 10px;
  }
  header nav ul li 
  {
    display: block; /* Stack nav items */
    margin: 10px 0;
  }
  .container 
  {
    padding: 25px 15px;
  }
  .hero-text-block h3 { font-size: 1.3em; }
  .page-specific-section h2 { font-size: 1.7em; }
  .lead-capture-section h2 { font-size: 1.4em; }
  .contact-info h3, .hours-operation h3 { font-size: 1.3em; }
  .contact-form-container { padding: 20px; }
}
