/* =============================================================================
   HICKS METALS & ALLOYS LTD — Inner Pages Stylesheet
   Shared by: about-us.html, metal-recycling.html, skips.html, contact-us.html
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. GLOBAL INNER PAGE BODY BACKGROUND
   Faceted poly geometric texture across inner pages.
----------------------------------------------------------------------------- */
body.inner-page {
  background-color: #f0f0f0;
  background-image: url('../images/poly.png');
  background-repeat: repeat;
  background-position: center top;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.inner-page main {
  flex: 1 0 auto;
}

body.inner-page footer {
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------------
   2. PAGE BANNER (Hero banner with increased height & breadcrumbs)
   Requested: same header style of skips.html + increased height + breadcrumbs
----------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: flex-end;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 30, 39, 0.5) 0%, rgba(17, 30, 39, 0.8) 100%);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding-bottom: 36px;
}

.page-banner-title {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 50px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* Breadcrumb Navigation */
.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb li {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb li[aria-current="page"] {
  color: #ee222e;
  font-weight: 700;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page-banner {
    height: 240px;
  }
  .page-banner-content {
    padding-bottom: 22px;
  }
  .page-banner-title {
    font-size: 34px;
  }
}

/* -----------------------------------------------------------------------------
   3. ABOUT US CONTENT AREA
   Centered paragraphs directly on the poly.png background
----------------------------------------------------------------------------- */
.about-content-section {
  padding: 70px 20px 100px;
}

.about-content-container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.about-content-container p {
  font-family: 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  font-size: 18px;
  line-height: 32px;
  color: #555555;
  margin: 0 0 24px 0;
  font-weight: 300;
}

.about-content-container p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-content-section {
    padding: 40px 16px 60px;
  }
  .about-content-container p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 20px;
  }
}

/* -----------------------------------------------------------------------------
   4. METAL RECYCLING CARD
   White card on poly background with image left, red icon + text right
----------------------------------------------------------------------------- */
.metal-content-section {
  padding: 60px 20px 90px;
}

.metal-card-container {
  max-width: 1140px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.metal-card-image {
  flex: 0 0 48%;
  max-width: 48%;
  position: relative;
  min-height: 440px;
}

.metal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.metal-card-text {
  flex: 0 0 52%;
  max-width: 52%;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.metal-card-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ee222e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(238, 34, 46, 0.3);
}

.metal-card-badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.metal-card-title {
  font-family: 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  font-size: 34px;
  font-weight: 400;
  color: #222222;
  margin: 0 0 24px 0;
  letter-spacing: 0.01em;
}

.metal-card-paragraph {
  font-family: 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #666666;
  margin: 0 0 20px 0;
  text-align: left;
}

.metal-card-paragraph:last-child {
  margin-bottom: 0;
}

.metal-card-paragraph strong {
  color: #333333;
  font-weight: 700;
}

@media (max-width: 900px) {
  .metal-card-container {
    flex-direction: column;
  }
  .metal-card-image,
  .metal-card-text {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .metal-card-image {
    min-height: 280px;
  }
  .metal-card-text {
    padding: 36px 24px;
  }
  .metal-card-title {
    font-size: 26px;
  }
}

/* -----------------------------------------------------------------------------
   5. SKIPS PAGE LAYOUT
----------------------------------------------------------------------------- */
.skips-content-section {
  padding: 60px 20px 90px;
}

.skips-cards-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.skips-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
}

.skips-card-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ee222e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(238, 34, 46, 0.3);
}

.skips-card-badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.skips-card-title {
  font-family: 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #222222;
  margin: 0 0 18px 0;
}

.skips-card p {
  font-size: 16px;
  line-height: 1.75;
  color: #666666;
  margin: 0 0 16px 0;
}

.skips-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .skips-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .skips-card {
    padding: 30px 24px;
  }
  .skips-card-title {
    font-size: 24px;
  }
}

/* -----------------------------------------------------------------------------
   6. CONTACT US PAGE LAYOUT
----------------------------------------------------------------------------- */
.contact-content-section {
  padding: 60px 20px 90px;
}

.contact-container {
  max-width: 1140px;
  margin: 0 auto;
}

.contact-boxes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.contact-box {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 38px 24px;
  text-align: center;
}

.contact-box-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ee222e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(238, 34, 46, 0.3);
}

.contact-box-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-box-title {
  font-family: 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #222222;
  margin: 0 0 12px 0;
}

.contact-box p,
.contact-box address {
  font-family: 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #666666;
  font-style: normal;
  margin: 0;
}

.contact-box a {
  color: #ee222e;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.contact-box a:hover {
  color: #c0392b;
}

.contact-map-wrapper {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

@media (max-width: 820px) {
  .contact-boxes-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-map-wrapper iframe {
    height: 320px;
  }
}
