
.brick-image {
    width: 100%;
    height: auto;
    display: block;
}

.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    row-gap: 0.33em;
    padding: 9.8% 15.34%;
    box-sizing: border-box; /* <- ADD THIS */
}

.line {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-transform:uppercase;
    text-align: center;
    letter-spacing: 1px;
    background: url('text_texture.png') no-repeat center center;
    background-size: cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.1 !important;
    height: auto !important;
    white-space: nowrap;
}

.brick-container {
  position: relative;
  font-size: clamp(14px, 4vw, 55px);
  box-sizing: border-box; /* (just to be sure) */
}
/* Right: Form controls area */
.form-controls {
    width: 100%;
    box-sizing: border-box;
}

.form-controls label, #ozarksPaverForm label {
    margin-top: 10px;
    font-weight: 600;
}



/* Contact form container */
#ozarksPaverForm {
    width: 100%;
    box-sizing: border-box;
}

/* Field group (each label+input) */
.ozarks-label-field-group {
    flex: 1 1 calc(50% - 10px); /* Two columns with spacing */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


/* Unified input styles for all forms */
.form-controls input[type="text"],
.form-controls select,
#ozarksPaverForm input[type="text"],
#ozarksPaverForm input[type="email"],
#ozarksPaverForm input[type="tel"],
#ozarksPaverForm select {
    width: 100% !important;
    padding: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-top: 4px;
    margin-bottom: 16px;
}


/* Submit button style */
#ozarksPaverForm button[type="submit"] {
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.trigger-paver-modal a:hover {
  cursor: pointer;
}


@media (max-width: 1400px) {

  .brick-container,
  .form-controls,
  #ozarksPaverForm {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .brick-container {
    margin: 0 auto; /*ensure it's centered */
  }

  .form-controls {
    padding: 0 16px;
  }

  .form-controls input[type="text"],
  .form-controls select,
  #ozarksPaverForm input,
  #ozarksPaverForm select {
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 16px;
  }


  #ozarksPaverForm,  .form-controls {
    padding: 0 16px;
  }
}



/***************************************************************************************************************************
  * Modal Styles
  ***************************************************************************************************************************/

/* Full-screen overlay */
.paver-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal content box */
.paver-modal-content {
  background: #fff;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  position: relative;
}

/* Close button */
.close-paver-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  padding: 0 5px;
}

.close-paver-btn:hover {
  color: #000;
}

/* Optional: fade in animation */
.paver-modal-overlay.show {
  display: flex;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
