@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&family=Roboto+Slab:wght@300;400;600;700&display=swap');

/* ==========================================================================
   1:1 Replication CSS: Emmaus Coal Layout & Color Palette
   ========================================================================== */

:root {
  --primary-red: #9F1300;
  --primary-green: #196C34;
  --text-dark: #333333;
  --text-gray: #4a4a4a;
  --text-light: #7a7a7a;
  --bg-light: #ffffff;
  --bg-alt: #f3f3f3;
  --border-light: #f1f1f1;
  --border-dark: #ddd;
  
  --font-heading: 'Roboto Slab', serif;
  --font-body: 'Open Sans', sans-serif;
  
  --transition: all 0.3s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-gray);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 20px;
}

a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Common Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.clr::after {
  content: "";
  display: block;
  clear: both;
}

/* ==========================================================================
   Header Bar & Top Bar
   ========================================================================== */

#top-bar-wrap {
  background-color: var(--primary-green);
  color: #ffffff;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left {
  font-weight: 600;
}

.top-bar-right a {
  color: #ffffff;
  margin-left: 15px;
  font-weight: 600;
}

.top-bar-right a:hover {
  text-decoration: underline;
}

#site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 999;
}

#site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

#site-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

#site-logo span {
  color: var(--primary-red);
}

#site-navigation-wrap {
  height: 100%;
}

.dropdown-menu {
  list-style: none;
  display: flex;
  height: 100%;
}

.dropdown-menu > li {
  position: relative;
  height: 100%;
}

.dropdown-menu > li > a {
  display: block;
  line-height: 74px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #555555;
  text-transform: uppercase;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li.active > a {
  color: var(--primary-red);
}

/* Red underline effect */
.dropdown-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 3px;
  background-color: var(--primary-red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.dropdown-menu > li > a:hover::after,
.dropdown-menu > li.active > a::after {
  transform: scaleX(1);
}

/* Mobile menu toggle */
.oceanwp-mobile-menu-icon {
  display: none;
}

.oceanwp-mobile-menu-icon a {
  font-size: 16px;
  line-height: 74px;
  color: #555555;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

#mobile-dropdown {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
}

#mobile-dropdown.active {
  display: block;
}

.oceanwp-mobile-menu-icon a .oceanwp-close-text {
  display: none;
}

.oceanwp-mobile-menu-icon a.active .oceanwp-text {
  display: none;
}

.oceanwp-mobile-menu-icon a.active .oceanwp-close-text {
  display: inline;
}

#mobile-dropdown ul {
  list-style: none;
  padding: 0;
}

#mobile-dropdown ul li {
  border-bottom: 1px solid var(--border-light);
}

#mobile-dropdown ul li a {
  display: block;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 13px;
  color: #555555;
  text-transform: uppercase;
}

#mobile-dropdown ul li a:hover {
  background-color: var(--bg-alt);
  color: var(--primary-red);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.elementor-hero {
  position: relative;
  background-image: linear-gradient(rgba(18, 18, 18, 0.45), rgba(18, 18, 18, 0.45)), url('../graphics/quality_anthracite_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0;
  text-align: left;
}

/* No red tint overlay to preserve natural image colors; dark overlay is managed by background-image linear-gradient */

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 60%;
}

.hero-inner h1 {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 58px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9em;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.hero-divider {
  width: 100px;
  height: 10px;
  background-color: var(--primary-red);
  margin-bottom: 25px;
}

.hero-inner p {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-red, .btn-green {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 30px;
  border: 0;
  border-bottom: 5px solid rgba(0,0,0,0.3);
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.1s ease;
}

.btn-red {
  background-color: var(--primary-red);
}

.btn-red:hover {
  background-color: #790e00;
}

.btn-green {
  background-color: var(--primary-green);
}

.btn-green:hover {
  background-color: #124d24;
}

.btn-red:active, .btn-green:active {
  transform: translateY(2px);
  border-bottom-width: 3px;
}

/* ==========================================================================
   Section Layouts & General Typography
   ========================================================================== */

.page-section {
  padding: 60px 0;
}

.page-section-alt {
  background-color: var(--bg-alt);
}

.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--primary-red);
  margin-bottom: 30px;
}

/* ==========================================================================
   Section: Why Anthracite (Lists)
   ========================================================================== */

.why-list {
  list-style: none;
  margin-bottom: 30px;
}

.why-list li {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.why-list li::before {
  content: "✔";
  color: var(--primary-green);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -2px;
}

.why-content {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 30px;
  max-width: 800px;
}

/* ==========================================================================
   Section: Sizing Cards / Pricing Cards Grid
   ========================================================================== */

.pricing-sub {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 600;
}

.sizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.size-card {
  background-color: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.size-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  border-color: var(--primary-red);
}

.size-card-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-dark);
  margin-bottom: 15px;
}

.size-card-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.size-card-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 5px;
}

.size-card-unit {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.size-card-btn {
  display: inline-block;
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  margin-top: auto;
}

.size-card-btn:hover {
  background-color: #124d24;
}

/* ==========================================================================
   Section: Hours & Delivery Locations (Two Columns)
   ========================================================================== */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-block {
  margin-bottom: 25px;
}

.contact-info-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-title::before {
  content: "■";
  color: var(--primary-red);
  font-size: 14px;
}

.contact-info-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

.delivery-box {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-dark);
  padding: 30px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.map-wrapper {
  margin-top: 20px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  background: #ffffff;
  padding: 15px;
}

/* ==========================================================================
   Section: Contact Form
   ========================================================================== */

.contact-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border-dark);
  border-radius: 3px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 2px rgba(159, 19, 0, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  background-color: var(--primary-red);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 30px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  width: 100%;
}

.form-submit-btn:hover {
  background-color: #790e00;
}

/* ==========================================================================
   Section: We Proudly Sell
   ========================================================================== */

.brands-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 30px;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.brand-logo-card {
  background-color: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 20px 30px;
  text-align: center;
  min-width: 180px;
  transition: var(--transition);
  cursor: pointer;
}

.brand-logo-card:hover {
  border-color: var(--primary-red);
  transform: scale(1.05);
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 30px 0;
  color: var(--text-light);
  font-size: 13px;
  text-align: center;
  line-height: 1.8;
}

#copyright a {
  color: var(--primary-red);
  font-weight: 600;
}

#copyright a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Subpage / Facts CSS
   ========================================================================== */

.facts-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 40px;
}

.facts-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fact-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 30px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.fact-item:last-child {
  border-bottom: 0;
}

.fact-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-dark);
  flex-shrink: 0;
}

.fact-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.fact-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-gray);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.link-card {
  background-color: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  transition: var(--transition);
}

.link-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 991px) {
  .hero-inner {
    max-width: 80%;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .fact-item {
    flex-direction: column;
    gap: 20px;
  }
  .fact-img {
    width: 100%;
    max-width: 250px;
    height: 180px;
  }
}

@media (max-width: 767px) {
  #site-navigation-wrap {
    display: none;
  }
  .oceanwp-mobile-menu-icon {
    display: block;
  }
  .hero-inner {
    max-width: 100%;
    text-align: center;
  }
  .hero-inner h1 {
    font-size: 34px;
  }
  .hero-divider {
    margin: 0 auto 20px auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-row .form-group {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   Specifications & Sizes Page Layout
   ========================================================================== */

.sizes-split-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}

.sizes-sidebar {
  background-color: var(--bg-light);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sizes-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 10px;
  border-bottom: 2px solid var(--primary-green);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.sizes-sidebar-menu {
  list-style: none;
}

.sizes-sidebar-menu li {
  margin-bottom: 10px;
}

.sizes-sidebar-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 0 4px 4px 0;
}

.sizes-sidebar-btn:hover {
  background-color: var(--bg-alt);
  color: var(--primary-red);
  border-left-color: var(--primary-red);
}

.sizes-sidebar-btn.active {
  background-color: #eaf5ee;
  color: var(--primary-green);
  border-left-color: var(--primary-green);
  font-weight: 700;
}

.sizes-content-area {
  background-color: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  min-height: 400px;
}

/* Tab Panes */
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Technical Specification Tables */
.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  margin: 25px 0 35px 0;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.specs-table th {
  background-color: var(--primary-green);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-gray);
  font-weight: 500;
}

.specs-table tbody tr:nth-child(even) {
  background-color: var(--bg-alt);
}

.specs-table tbody tr:hover {
  background-color: #f7faf8;
}

.specs-table tbody tr td:first-child {
  font-weight: 700;
  color: var(--text-dark);
}

/* Page Title Banner */
.page-title-banner {
  background-color: var(--primary-green);
  padding: 45px 0;
  color: #ffffff;
  border-bottom: 4px solid var(--primary-red);
}

.page-title-banner h1 {
  color: #ffffff;
  margin-bottom: 5px;
  font-size: 32px;
  font-family: var(--font-heading);
}

.page-title-banner p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.4;
}

/* Mobile Responsiveness for Sizes Page */
@media (max-width: 991px) {
  .sizes-split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .sizes-sidebar {
    padding: 10px;
  }
  
  .sizes-sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .sizes-sidebar-menu li {
    margin-bottom: 0;
    flex: 1 1 180px;
  }
  
  .sizes-sidebar-btn {
    text-align: center;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 4px;
    padding: 10px 12px;
  }
  
  .sizes-sidebar-btn:hover {
    border-left-color: transparent;
    border-bottom-color: var(--primary-red);
  }
  
  .sizes-sidebar-btn.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary-green);
  }
  
  .sizes-content-area {
    padding: 25px;
  }
}

/* ==========================================================================
   Emmaus Pricing List Layout (Dot Leaders)
   ========================================================================== */

.pricing-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-column-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-green);
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.oew-price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oew-price-list-item {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 15px;
  overflow: hidden;
}

/* Leader dots */
.oew-price-list-item::after {
  content: " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  z-index: 0;
  letter-spacing: 4px;
  color: #bbbbbb;
  overflow: hidden;
  white-space: nowrap;
}

.oew-price-list-title,
.oew-price-list-price-wrap {
  position: relative;
  z-index: 1;
  background-color: var(--bg-alt); /* Matches page-section-alt background #f3f3f3 */
  padding: 0 8px;
}

.oew-price-list-title {
  padding-left: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.oew-price-list-price-wrap {
  padding-right: 0;
  color: var(--primary-red);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
}

.oew-price-list-unit {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .pricing-split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
