/*
|--------------------------------------------------------------------------
| Summit Ridge Roofing — Custom Brand Override
| Base theme: Multim Marketing Agency (theme_2)
| Brand: Charcoal #151515 + Amber #e8820a
|--------------------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@300;400;500;600;700&display=swap');

/* ── FONT OVERRIDE ── */
body,
.cs-secondary_font {
  font-family: 'Barlow', sans-serif;
}
.cs-primary_font,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.02em;
}

/* ── PRIMARY COLORS → deep charcoal ── */
h1, h2, h3, h4, h5, h6,
.cs-primary_color,
.cs-primary_color_hover:hover {
  color: #151515 !important;
}
.cs-primary_bg,
.cs-primary_bg_hover:hover {
  background-color: #151515 !important;
}
.cs-primary_border,
.cs-primary_border_hover:hover {
  border-color: #151515 !important;
}

/* ── ACCENT COLORS → amber #e8820a ── */
.cs-accent_color,
.cs-accent_color_hover:hover,
.comment-list .reply a {
  color: #e8820a !important;
}
.cs-accent_bg,
.cs-accent_bg_hover:hover,
.cs-btn.cs-style2.cs-accent_bg,
.cs-btn.cs-style1.cs-accent_bg {
  background-color: #e8820a !important;
  border-color: #e8820a !important;
}
.cs-accent_bg:hover,
.cs-btn.cs-style2.cs-accent_bg:hover {
  background-color: #f59f2e !important;
  border-color: #f59f2e !important;
}
.cs-accent_border,
.cs-accent_border_hover:hover {
  border-color: #e8820a !important;
}

/* Accent 2 — keep as lighter amber */
.cs-accent_color_2,
.cs-accent_color_2_hover:hover {
  color: #f59f2e !important;
}
.cs-accent_bg_2,
.cs-accent_bg_2_hover:hover {
  background-color: #f59f2e !important;
}

/* Accent 4 bg (used for footer) → very dark charcoal */
.cs-accent_4_bg_2 {
  background-color: #111111 !important;
}

/* ── HERO SECTION ── */
.cs-hero.cs-style2 {
  background: #151515 !important;
  min-height: 88vh;
  position: relative;
  overflow: hidden;
}
.cs-hero.cs-style2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1632778149955-e80f8ceca2e8?w=1600&q=80') center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}
.cs-hero.cs-style2 .container {
  position: relative;
  z-index: 2;
}
.cs-hero.cs-style2 .cs-hero_subtitle {
  color: #e8820a !important;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.cs-hero.cs-style2 .cs-hero_title {
  color: #ffffff !important;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}
.cs-hero.cs-style2 .cs-hero_title b.cs-accent_color {
  color: #e8820a !important;
}

/* ── TOPBAR ── */
.cs-topbar {
  background: #0e0e0e !important;
}

/* ── NAVIGATION ── */
.cs-site_header.cs-style1 {
  background: #ffffff !important;
  border-bottom: 3px solid #e8820a !important;
}
.cs-nav .cs-nav_list > li > a {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}
.cs-site_header.cs-style1 .current-menu-item > a {
  color: #e8820a !important;
}

/* ── SECTION HEADINGS ── */
.cs-section_subtitle {
  color: #e8820a !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: 'Barlow', sans-serif;
}
.cs-section_title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
}

/* ── BUTTONS ── */
.cs-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
}
.cs-btn.cs-style2 {
  border-radius: 0 !important;
}

/* ── HERO FORM CARD ── */
.sr-hero-form {
  background: #ffffff;
  padding: 36px 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
}
.sr-hero-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e8820a, #f59f2e);
}
.sr-hero-form h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #151515;
  margin-bottom: 4px;
}
.sr-hero-form p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 20px;
}
.sr-form-group { margin-bottom: 12px; }
.sr-form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #151515;
  margin-bottom: 5px;
}
.sr-form-group input,
.sr-form-group select,
.sr-form-group textarea {
  width: 100%;
  border: 1.5px solid #ddd;
  padding: 10px 13px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: #151515;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
  border-radius: 0;
}
.sr-form-group input:focus,
.sr-form-group select:focus { border-color: #e8820a; }
.sr-form-submit {
  width: 100%;
  background: #e8820a;
  color: white;
  border: none;
  padding: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.sr-form-submit:hover { background: #f59f2e; }
.sr-form-note {
  text-align: center;
  font-size: 0.7rem;
  color: #888;
  margin-top: 8px;
}

/* ── TRUST BAR ── */
.sr-trust-bar {
  background: #1e1e1e;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}
.sr-trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.sr-trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 16px;
  border-right: 1px solid #2a2a2a;
  flex: 1;
}
.sr-trust-item:last-child { border-right: none; }
.sr-trust-icon { font-size: 1.5rem; }
.sr-trust-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.2;
}
.sr-trust-sub { font-size: 0.7rem; color: #666; letter-spacing: 0.04em; }

/* ── STORM BANNER ── */
.sr-storm {
  background: #151515;
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}
.sr-storm::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(232,130,10,0.04) 40px, rgba(232,130,10,0.04) 80px
  );
}
.sr-storm-tag {
  display: inline-block;
  background: #e8820a;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.sr-storm-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 14px;
}
.sr-storm-sub { font-size: 0.95rem; color: #c8c8c8; line-height: 1.6; }
.sr-storm-phone {
  background: #e8820a;
  padding: 28px 36px;
  text-align: center;
  white-space: nowrap;
}
.sr-storm-phone-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.sr-storm-phone-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: white;
  letter-spacing: 0.02em;
}
.sr-storm-phone-sub { font-size: 0.72rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ── CHAT WIDGET ── */
.sr-chat-widget {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.sr-chat-bubble {
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 13px 17px;
  font-size: 0.83rem;
  color: #151515;
  max-width: 220px;
  position: relative;
  animation: srFloat 3s ease-in-out infinite;
  font-family: 'Barlow', sans-serif;
}
.sr-chat-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px; right: 20px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}
.sr-chat-bubble strong {
  color: #e8820a;
  display: block;
  margin-bottom: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sr-chat-btn {
  width: 58px; height: 58px;
  background: #e8820a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(232,130,10,0.45);
  cursor: pointer;
  font-size: 1.4rem;
  color: white;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sr-chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(232,130,10,0.6);
}

/* ── SERVICE CARDS ── */
.cs-iconbox.cs-style2 {
  border-radius: 0 !important;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cs-iconbox.cs-style2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* ── STATS BAR ── */
.cs-funfact.cs-style1 .cs-funfact_number {
  color: #e8820a !important;
}

/* ── TESTIMONIALS ── */
.cs-testimonial.cs-style4 .cs-testimonial_icon {
  color: #e8820a !important;
}
.cs-testimonial.cs-style4 .cs-testimonial_ratings {
  background-color: rgba(232,130,10,0.12) !important;
}

/* ── PAGE HERO (inner pages) ── */
.cs-page_head {
  background: #151515 !important;
}
.cs-page_head .cs-page_heading {
  color: #ffffff !important;
}

/* ── FOOTER ── */
.cs-footer.cs-style1 {
  background: #0e0e0e !important;
}
.cs-widget_title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  border-bottom: 2px solid #e8820a;
  padding-bottom: 10px;
  display: inline-block;
}
.cs-copyright {
  background: #080808 !important;
  color: #444 !important;
}

/* ── LOGO TEXT (when no image) ── */
.sr-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sr-logo-icon {
  width: 42px; height: 42px;
  background: #e8820a;
  clip-path: polygon(50% 0%, 100% 38%, 100% 100%, 0% 100%, 0% 38%);
  flex-shrink: 0;
}
.sr-logo-text { display: flex; flex-direction: column; line-height: 1; }
.sr-logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #151515;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.sr-logo-name.light { color: #ffffff; }
.sr-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8820a;
  font-weight: 700;
}

/* ── CONTACT PAGE SPECIFICS ── */
.sr-contact-icon-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.sr-contact-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: #e8820a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}
.sr-contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8820a;
  margin-bottom: 3px;
}
.sr-contact-val { font-size: 1rem; font-weight: 600; color: #151515; }

@keyframes srFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
