/* ========================================
   ROOT VARIABLES
======================================== */
:root {
  --brand-primary: #06534f;
  --brand-primary-darker: #03a071;
  --brand-light: #bcdc9f;
  --brand-blue: #75d1f4;

  --white: #ffffff;
  --black: #000000;

  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 10px 35px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FONTS
======================================== */
@font-face {
  font-family: "Inlander";
  src: url("../files/fonts/inlander/InlanderDemo-Eag8W.otf");
}

@font-face {
  font-family: "Acumin";
  src: url("../files/fonts/acumin-pro/Acumin-RPro.otf");
}

/* ========================================
   BASE TYPOGRAPHY
======================================== */
body {
  font-family: "Merriweather", serif;
  color: var(--black);
}

h1, .hero-title {
  font-family: "Inlander";
  color: var(--brand-primary);
}

h2, h3, h5 {
  font-family: "Acumin";
  letter-spacing: 5px;
}

h4 {
  font-family: "Inlander";
  color: var(--white);
}

p {
  font-size: large;
}

.hero-slogan {
  font-family: "Acumin";
  font-size: 1.42rem;
  color: var(--brand-primary-darker);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.text-secondary {
  font-family: "Acumin";
}

.text-tertiary {
  font-family: "Merriweather", serif !important;
  color: var(--white) !important;
  font-weight: 500 !important;
  font-size: large !important;
  letter-spacing: normal !important;
}

h5.text-secondary { color: var(--black) !important; }
h4.text-secondary { color: var(--white) !important; }

/* ========================================
   BUTTONS
======================================== */
.btn {
  background-color: var(--brand-primary);
  color: var(--white);
  font-size: larger;
  font-family: "Merriweather", serif;
}

.primary-btn-shadow {
  box-shadow: 0 10px 25px rgba(5, 82, 78, 0.35) !important;
}

.btn-danger.danger-btn-shadow {
  box-shadow: 0 10px 25px rgba(1, 160, 113, 0.35) !important;
  background-color: var(--brand-primary) !important;
  border: none !important;
}

.btn:active {
  background-color: var(--brand-primary-darker) !important;
  border-color: var(--brand-primary-darker) !important;
}

.btn:focus {
  background-color: var(--brand-primary-darker) !important;
  border-color: var(--brand-primary-darker) !important;
  box-shadow: none !important; /* removes blue glow */
}

/* ========================================
   HERO
======================================== */
.hero-img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  border-radius: 15px;
  object-fit: contain;
  box-shadow: var(--shadow-strong);
  display: block;
}

@media (max-width: 768px) {
  .hero-img {
    max-width: 280px;
    margin: 0 auto 1.5rem auto;
    display: block;
  }

  .hero-img-container {
    text-align: center;
    line-height: 0;
    padding: 0;
  }
}

/* ========================================
   CARDS 
======================================== */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;

  background-color: var(--brand-primary);
  color: var(--white);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center !important;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.card-body {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  text-align: center;
}

.card-body h4,
.card-body h5 {
  font-family: "Acumin";
  margin-bottom: 0;
  text-align: center !important;
  letter-spacing: 5px;
}

.card-body p {
  color: #f3f3f3;
  margin-bottom: 0;
  line-height: 1.4;
  text-align: center !important;
}

.card-body {
  text-align: center !important;
}

.card-body .d-flex {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.section-title {
        font-family: "Acumin";
        letter-spacing: 7px;
        color: var(--brand-primary-darker);
        text-align: center;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        font-size: 3rem;
      }

#team h4 {
  text-transform: uppercase;
}

/* ========================================
   ASSIGNMENT GRID 
======================================== */
.assignment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center !important;      
}

.assignment-card {
  flex: 0 0 225px;           
  max-width: 100%;         
  display: flex;
}

.assignment-card .card {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center !important
}

.assignment-card .card-img-top {
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;       
  display: block;
}

.assignment-card .card-body {
  padding: 0.75rem;
  text-align: center !important;
}

.assignment-card .card-body h4 {
  margin: 0;
  text-align: center !important;             
}

.assignment-card .mb-3 {
  margin-bottom: 0 !important;
}

.section-subtitle {
  font-family: "Merriweather", serif;
  color: var(--brand-primary);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: normal !important;
}

/* ========================================
   IMAGES
======================================== */
img.cropped {
  height: 250px;
  object-fit: cover;
  object-position: center top;
}

/* ========================================
   TABLES
======================================== */
.table {
  --bs-table-bg: transparent !important;
  --bs-table-striped-color: var(--brand-primary-darker);
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  color: var(--brand-primary-darker);
}

/* ========================================
   GALLERY
======================================== */
#damage-gallery .carousel-item img {
  height: 420px;
  object-fit: cover;
  border-radius: 0.6rem;
}

#damage-gallery .carousel-control-prev-icon,
#damage-gallery .carousel-control-next-icon {
  filter: invert(1);
}

/* ========================================
   NAVBAR + FOOTER
======================================== */
.navbar {
  min-height: 55px;
  color: var(--brand-primary);
}

.navbar .nav-link {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

footer,
section.pb-0 {
  background-color: rgba(5, 82, 78, 0.06);
  border-top: 1px solid rgba(5, 82, 78, 0.15);
  backdrop-filter: blur(4px);
  padding-top: 1.5rem !important;
  padding-bottom: 1rem !important;
}

footer .row,
section .row {
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 576px) {
  footer img {
    max-width: 120px;
    margin: 0 auto;
    display: block;
  }
}

/* ========================================
   UTILITIES
======================================== */
.link {
  color: var(--black);
  font-style: italic;
}

span.fw-medium {
  color: var(--black);
}

span.fs-0.fw-medium {
  color: var(--white) !important;
}

#team .card-body > div:last-child {
  justify-content: center !important;
  text-align: center !important;
  width: 100%;
}

.color-card .color-overlay {
  color: white !important;
  font-family: "Acumin" !important;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 1.5rem;
}

.bg-image {
  width: 50%;
  margin: 0 auto;
}
