/* ============================= */
/* Global Styles */
/* ============================= */

.xsmall-pad {
  padding: 10px;
}

.small-pad {
  padding: 25px;
}

.medium-pad {
  padding: 50px;
}

.large-pad {
  padding: 100px;
}

.text-white {
  color: white;
}

/* Ensure full height and prevent extra scrolling */
html,
body {
  height: 100%;
  font-family: "Lora", sans-serif;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.main-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  font-family: "Lora", sans-serif;
  background-image: url("../img/new-military.jpeg") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Keeps the background fixed while scrolling */
}

main {
  flex: 1;
}

.container {
  padding: 0;
}

/* ============================= */
/* Navbar Styles */
/* ============================= */
.navbar-custom {
  background-color: transparent;
  padding: 10px 20px;
  position: relative;
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-custom .logo {
  height: 200px;
  width: auto;
}

.navbar-custom .navbar-nav {
  font-size: 1.2rem;
}

.navbar-custom .nav-link {
  color: white;
  padding: 10px 15px;
}

.navbar-custom .nav-link:hover {
  color: #cccccc;
}

.navbar-toggler {
  border: none;
  background: transparent !important;
  padding: 10px;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 15px;
  z-index: 1050;
  -webkit-tap-highlight-color: transparent;
  color: white !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.navbar-toggler-icon {
  width: 100px;
  height: 100px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler .close-icon {
  display: none;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  position: absolute;
  top: 10px;
  right: 2vw;
}

/* Custom size for bigger navbar toggler */
.navbar-toggler.navbar-toggler-lg {
  width: 200px;
  height: 200px;
}

.navbar-toggler.navbar-toggler-lg .navbar-toggler-icon {
  transform: scale(1.5);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .close-icon {
  display: block;
}

.offcanvas-start.custom-bg {
  background-color: #3a2c39;
  color: #fff;
}

.offcanvas-body .navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.offcanvas .offcanvas-title {
  font-size: 3.5rem; /* Adjust this as needed */
  padding-left: 10px;
}

.offcanvas .nav-link {
  font-size: 2.5rem; /* Adjust this as needed */
}

@media (max-width: 440px) {
  .logo-title {
    flex-wrap: wrap;
  }
  .logo-title .page-title {
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* ============================= */
/* Wrapper for layout */
/* ============================= */
.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-section {
  background-size: cover;
  min-height: 20vh; /* Allows the section to shrink if needed */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-btn {
  background-color: rgb(58, 44, 57);
  color: white;
  border-color: rgb(58, 44, 57);
  font-size: 2rem; /* Increases text size */
  padding: 15px 30px; /* Makes the button larger */
  border-radius: 8px; /* Optional: Adds softer edges */
  font-weight: bold; /* Makes text stand out */
}

.hero-btn:hover {
  background-color: white;
  color: rgb(58, 44, 57);
  border-color: rgb(58, 44, 57);
}

.hero-btn:active {
  background-color: rgb(216, 216, 216) !important;
  color: rgb(58, 44, 57) !important;
  border-color: rgb(58, 44, 57) !important;
}

.card h3 {
  text-align: center;
}

.card p {
  text-align: left;
}

.clickable-panel {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s ease-in-out;
  position: relative;
}

.clickable-panel:hover,
.clickable-panel:active {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
  background-color: #0c284d10;
}

@media (max-width: 768px) {
  .clickable-panel:active {
    transform: scale(0.98);
  }
}

.tap-me {
  display: none;
  font-size: 0.9rem;
  font-weight: bold;
  color: rgb(58, 44, 57);
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .tap-me {
    display: block;
  }
}

.full-width-section .container p {
  text-align: left;
}

/* ============================= */
/* Service Section */
/* ============================= */
.service-section {
  background-color: rgb(58, 44, 57);
  padding: 60px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  border-top: 4px solid white;
  border-bottom: 4px solid white;
}

.service-section h2 {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 900px;
  margin: auto;
}

.service-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-left: 6px solid white;
  padding: 15px;
  width: 100%;
  max-width: 700px;
  text-align: left;
  font-size: 1.1rem;
  color: white;
  transition: background 0.3s ease-in-out;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.service-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-right: 15px;
}

/* ============================= */
/* Full-Width Sections */
/* ============================= */
.full-width-section {
  width: 100%;
  padding: 60px 0;
}

.bg-white {
  background-color: white;
}

.bg-transparent-dark {
  background-color: rgba(16, 49, 99, 0.85);
  color: white;
}

.bg-light {
  background-color: #f8f9fa;
}

.bg-secondary {
  background-color: rgb(58, 44, 57);
}

.bg-secondary .list-group-item {
  color: white;
  background-color: transparent;
  border: none;
}

/* ============================= */
/* Accordion Styles */
/* ============================= */
.accordion-item {
  border: none;
}

.accordion-button {
  background-color: rgb(58, 44, 57);
  color: white;
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  background-color: rgb(58, 44, 57);
  color: white;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1);
}

.accordion-body {
  padding: 20px;
}

/* ============================= */
/* List Groups */
/* ============================= */
.list-group-item {
  border: none;
}

/* ============================= */
/* Officers Section */
/* ============================= */
.officers-section {
  background-color: rgb(58, 44, 57);
  padding: 60px 0;
  color: white;
  border-top: 4px solid white;
  border-bottom: 4px solid white;
}

.officers-section h2 {
  text-align: center;
  font-weight: bold;
  color: white;
  margin-bottom: 30px;
}

.officers-section button {
  background-color: white;
  color: rgb(58, 44, 57);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px;
  border: solid 1px white;
  width: 100%;
}

.officers-section button:hover {
  background-color: rgb(58, 44, 57);
  color: white;
  border: solid 1px white;
}

.officers-section a {
  color: white;
  text-decoration: none;
}

.officers-section a:hover {
  text-decoration: underline;
}

.contact-section button {
  background-color: white;
  color: rgb(58, 44, 57);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px 20px;
  border: solid 1px white;
}

.contact-section button:hover {
  border: solid 1px white;
}

/* ============================= */
/* Button Styles */
/* ============================= */
.btn-primary {
  background-color: rgb(121 30 20);
  color: rgb(255 255 255);
  border-color: rgb(121 30 20);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px;
}

.btn-primary:hover {
  background-color: rgb(58, 44, 57);
  border-color: rgb(58, 44, 57);
}

.btn-custom {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom:hover {
  background-color: rgb(83, 21, 14) !important;
  color: white !important;
  border-color: rgb(83, 21, 14) !important;
}

.btn-custom:active {
  background-color: rgb(43, 32, 42) !important;
  color: rgb(150, 198, 207) !important;
  border-color: rgb(150, 198, 207) !important;
}

/* ============================= */
/* Contact Section */
/* ============================= */
.contact-section {
  text-align: center;
  padding: 40px 0;
  color: white;
}

.contact-section a {
  color: white;
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* ============================= */
/* Footer Styles */
/* ============================= */
.footer {
  background-color: rgb(58, 44, 57);
  color: white;
  padding: 15px 0;
  text-align: center;
  margin-top: auto;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 990px) {
  .photo-row {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .full-width-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .navbar-custom {
    padding-left: 10px;
    padding-right: 10px;
  }
  .photo-row {
    padding-left: 5px;
    padding-right: 5px;
  }
  .img-container {
    margin-left: 5px;
    margin-right: 5px;
  }
}

/* ============================= */
/* Contact Section - Fixing Overlap & Responsiveness */
/* ============================= */

/* Main section padding and layout */
.contact-section-page {
  text-align: center;
  padding: 60px 20px; /* More flexible padding */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 150px); /* Dynamic height minus header/footer */
  box-sizing: border-box; /* Include padding inside height */
}

/* Contact form adjustments */
.contact-form {
  background: #3a2c39;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 700px;
}

/* Buttons and inputs */
.contact-form h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color: white;
}

.contact-form label {
  font-weight: bold;
  font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  font-size: 1.1rem;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 15px;
}

/* Placeholder styles */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: black;
  opacity: 1;
}

/* Button */
.contact-form button {
  background-color: rgb(58, 44, 57) !important;
  border-color: white !important;
  color: white !important;
  font-weight: bold !important;
  font-size: 1.2rem !important;
  padding: 12px !important;
  border-radius: 5px !important;
  width: 100% !important;
  margin-top: 10px !important;
}

.contact-form button:hover {
  background-color: white !important;
  color: rgb(58, 44, 57) !important;
  border-color: white !important;
}

/* Mobile responsive tweaks */
@media (max-width: 768px) {
  .contact-section-page {
    padding: 40px 15px; /* Reduce padding */
    min-height: auto; /* Remove height forcing */
  }

  .contact-form {
    max-width: 100%;
    padding: 30px;
  }

  .contact-form h2 {
    font-size: 1.8rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 12px;
  }

  .contact-form button {
    font-size: 1rem;
    padding: 10px;
  }
}

body.offcanvas-open {
  padding-right: 0 !important;
}

header,
footer {
  width: 100%;
  box-sizing: border-box;
  padding-right: 0 !important;
}

@media (max-width: 450px) {
  .page-title {
    display: none;
  }
}

.calendar-body {
  background-image: url("../img/new-military.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.odd-brick-sec {
  background-color: #574256;
}

.white-bar {
  padding-top: 1%;
  background-color: white;
}

.header-title {
  font-size: 4vw;
}

@media (max-width: 900px) {
  .logo {
    height: 100px !important;
    width: 100px !important;
  }

  .navbar-toggler-icon {
    height: 50px !important;
    width: 50px !important;
  }

  .index-header {
    font-size: 200% !important;
    padding-top: 20px;
  }
}
@media (min-width: 1300px) {
  .white-bar {
    padding-top: 5px;
    background-color: white;
  }
  .card-title {
    font-size: 2rem;
  }

  .card-text {
    font-size: 1.2rem;
  }

  .navbar-custom .logo {
    height: 300px;
    width: auto;
  }
}

@media (max-width: 776px) {
  .card-title,
  .card-text,
  .card-button {
    text-align: center !important;
  }

  .card .card-body {
    text-align: center; /* Center the text content */
  }

  .card .card-title {
    margin-left: auto;
    margin-right: auto;
  }

  .card .card-button {
    margin-left: auto;
    margin-right: auto;
    display: block; /* So button takes up space and can be centered */
  }
}

.about-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5%;
  gap: 30px;
  flex-wrap: wrap;
}

.about-btns button {
  background-color: rgb(58, 44, 57);
  color: white;
  font-size: 1.75rem;
  font-weight: bold;
  padding: 15px 25px;
  border: 1px solid rgb(58, 44, 57);
  border-radius: 5px;
}

.about-btns button:hover {
  background-color: white;
  color: rgb(58, 44, 57);
  border: 1px solid rgb(58, 44, 57);
}

.navigation-section {
  background-color: rgb(58, 44, 57);
  padding: 60px 0;
  color: white;
  border-top: 4px solid white;
  border-bottom: 4px solid white;
}

.navigation-section button {
  background-color: white;
  color: rgb(58, 44, 57);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px;
  border: solid 1px white;
}

.navigation-section button:hover {
  background-color: rgb(58, 44, 57);
  color: white;
  border: solid 1px white;
}
