/*
Theme Name: Roofing Contractors Brandon FL
Theme URI: https://uncoverwpsite.42web.io
Description: Child theme for Hello Elementor.
Author: Roofing Contractors Brandon FL Team
Author URI: https://yourwebsite.com
Template: hello-elementor
Version: 1.0.0
Text Domain: roofing-contractors-brandon-fl
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom CSS below this line */

/* ============================================================
   GULF RIDGE ROOFING — GLOBAL STYLE SYSTEM
   Generic, non-component-specific styles only.
   Component-specific CSS lives inline in header.php, footer.php,
   front-page.php, etc.
   ============================================================ */

:root {
  /* Dark palette */
  --dark-950:  #060b14;
  --dark-900:  #0b1120;
  --dark-800:  #111827;
  --dark-700:  #1c2436;
  --dark-600:  #243047;
  --dark-500:  #2e3c57;
  --dark-border: rgba(255,255,255,0.08);

  /* Accent */
  --orange:        #f97316;
  --orange-hover:  #ea6c0a;
  --orange-glow:   rgba(249,115,22,0.15);
  --amber:         #f59e0b;
  --amber-light:   #fbbf24;

  /* Semantic */
  --emergency:  #ef4444;
  --success:    #10b981;

  /* Text on dark */
  --text-white:     #ffffff;
  --text-secondary: rgba(255,255,255,0.68);
  --text-muted:     rgba(255,255,255,0.38);

  /* Light surfaces */
  --bg-light:    #f1f5f9;
  --bg-white:    #ffffff;
  --light-border:#e2e8f0;
  --text-dark:   #0b1120;
  --text-body:   #374151;
  --text-light:  #6b7280;

  /* Radius */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.22);
  --shadow-orange: 0 4px 20px rgba(249,115,22,0.32);

  /* Transitions */
  --t:      0.2s ease;
  --t-slow: 0.35s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section       { padding: 5rem 0; }
.section-lg    { padding: 6.5rem 0; }
.section-sm    { padding: 3rem 0; }
.section-dark  { background: var(--dark-900); }
.section-deeper{ background: var(--dark-950); }
.section-gray  { background: var(--bg-light); }

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-glow);
  border: 1px solid rgba(249,115,22,0.28);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-dark  .section-label,
.section-deeper .section-label { color: var(--amber-light); background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.28); }

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.section-dark h2, .section-deeper h2 { color: var(--text-white); }

h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }

.section-header p {
  font-size: 1.02rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0.75rem auto 0;
  line-height: 1.75;
}
.section-dark .section-header p,
.section-deeper .section-header p { color: var(--text-secondary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #ea6c0a 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #fb923c 0%, var(--orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.42);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid var(--dark-border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

.cta-group { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cta-divider { color: var(--text-secondary); font-size: 0.88rem; }

/* ============================================================
   BREADCRUMB (shared across header + inner page templates)
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb-sep { opacity: 0.35; }

/* ============================================================
   INFO BOX (shared across multiple inner-page templates)
   ============================================================ */
.info-box { background: var(--dark-800); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); padding: 1.75rem; }
.info-box-title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--orange); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--dark-border);
}
.info-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.info-box li { font-size: 0.87rem; color: var(--text-secondary); padding-left: 1.2rem; position: relative; line-height: 1.55; }
.info-box li::before { content: '\2039'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ============================================================
   BLOG — used by blog index / single post templates
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card {
  background: var(--bg-white); border: 1px solid var(--light-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: all var(--t-slow); overflow: hidden;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(249,115,22,0.35); }
.blog-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-glow); border: 1px solid rgba(249,115,22,0.25);
  padding: 0.2rem 0.65rem; border-radius: 100px; margin-bottom: 0.85rem;
}
.blog-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); line-height: 1.38; margin-bottom: 0.75rem; }
.blog-card-title a { color: var(--text-dark); transition: color var(--t); }
.blog-card-title a:hover { color: var(--orange); }
.blog-excerpt { font-size: 0.88rem; color: var(--text-body); line-height: 1.72; margin-bottom: 1.25rem; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 0.65rem; font-size: 0.78rem; color: var(--text-light); margin-bottom: 1rem; flex-wrap: wrap; }
.blog-meta-sep { opacity: 0.4; }
.blog-read-more { font-size: 0.85rem; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 0.35rem; transition: gap var(--t); }
.blog-read-more:hover { gap: 0.65rem; }

/* Article layout — single post template */
.article-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--light-border); }
.article-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: 0.75rem; }
.article-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; color: var(--text-light); margin: 0.85rem 0 0; flex-wrap: wrap; }
.article-meta .blog-cat { margin-bottom: 0; }

.article-body h2 { font-size: 1.45rem; font-weight: 800; color: var(--text-dark); margin: 2.75rem 0 1rem; padding-top: 0.5rem; border-top: 2px solid var(--light-border); }
.article-body h3 { font-size: 1.08rem; font-weight: 700; color: var(--text-dark); margin: 2rem 0 0.75rem; }
.article-body p { color: var(--text-body); line-height: 1.82; margin-bottom: 1.15rem; font-size: 0.97rem; }
.article-body ul, .article-body ol { margin: 0.75rem 0 1.25rem 1.5rem; color: var(--text-body); font-size: 0.97rem; line-height: 1.78; }
.article-body li { margin-bottom: 0.45rem; }
.article-body strong { color: var(--text-dark); font-weight: 700; }
.article-body a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--orange-hover); }
.article-body blockquote {
  border-left: 3px solid var(--orange); padding: 1rem 1.35rem;
  background: #fff9f5; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.75rem 0; color: var(--text-body); font-size: 0.96rem; line-height: 1.75;
}
.article-body blockquote strong { color: var(--orange); }
.article-callout { background: var(--dark-900); color: #fff; border-radius: var(--radius-lg); padding: 1.75rem 2rem; margin: 2rem 0; }
.article-callout h3 { color: var(--amber); margin-bottom: 0.5rem; font-size: 1rem; }
.article-callout p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.7; }
.article-callout .btn { display: inline-block; }

/* Sidebar — used alongside article-body on single post template */
.article-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: var(--bg-white); border: 1px solid var(--light-border); border-radius: var(--radius-lg); padding: 1.5rem; }
.sidebar-card-dark { background: var(--dark-900); border-color: var(--dark-border); }
.sidebar-card-dark h3, .sidebar-card-dark .sidebar-heading { color: #fff; }
.sidebar-card-dark p, .sidebar-card-dark li { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }
.sidebar-heading { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 1rem; }
.sidebar-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.6rem; }
.sidebar-card p { font-size: 0.87rem; color: var(--text-body); line-height: 1.7; margin-bottom: 0.85rem; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-links a { font-size: 0.87rem; color: var(--orange); font-weight: 600; padding: 0.4rem 0; border-bottom: 1px solid var(--light-border); display: block; }
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--orange-hover); }

/* Related posts grid — single post template */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.related-card { border: 1px solid var(--light-border); border-radius: var(--radius-lg); padding: 1.25rem; background: var(--bg-white); transition: all var(--t-slow); }
.related-card:hover { border-color: rgba(249,115,22,0.35); box-shadow: var(--shadow-md); }
.related-card .blog-cat { margin-bottom: 0.6rem; }
.related-card-title { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); line-height: 1.35; margin-bottom: 0.5rem; }
.related-card-title a { color: var(--text-dark); }
.related-card-title a:hover { color: var(--orange); }
.related-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; }

/* Page hero — used by inner service/neighborhood templates */
.page-hero {
  background: var(--dark-900);
  background-image: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(249,115,22,0.07) 0%, transparent 60%);
  padding: 3.5rem 0; position: relative;
}
.page-hero .breadcrumb { margin-bottom: 1.4rem; }
.page-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); font-weight: 900; color: #fff; letter-spacing: -0.025em; line-height: 1.12; max-width: 800px; }
.page-hero h1 span { color: var(--orange); }
.page-hero-sub { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.78; max-width: 700px; margin-top: 1rem; }
.hero-inner.page-layout { grid-template-columns: 1fr 340px; }

.page-trust-bar { background: var(--dark-950); border-bottom: 1px solid var(--dark-border); padding: 0; }
.page-trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.page-trust-item { padding: 0.85rem 1rem; border-right: 1px solid var(--dark-border); text-align: center; }
.page-trust-item:last-child { border-right: none; }
.page-trust-label { font-size: 0.82rem; font-weight: 700; color: var(--amber); }
.page-trust-sub   { font-size: 0.68rem; color: var(--text-muted); margin-top: 0.1rem; }

/* Two-col body layout — used by inner service page templates */
.two-col { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start; }
.two-col-main h2 { color: var(--text-dark); margin-bottom: 1.25rem; }
.two-col-main h3 { color: var(--text-dark); margin-bottom: 0.75rem; }
.two-col-main h4 { color: var(--text-dark); margin-bottom: 0.5rem; }
.two-col-main p  { color: var(--text-body); line-height: 1.78; margin-bottom: 1rem; font-size: 0.97rem; }
.two-col-main strong { color: var(--text-dark); }
.two-col-main em { color: var(--orange); font-style: italic; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }

/* Service detail cards — used by inner service templates */
.service-detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.service-detail-card { background: var(--dark-800); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); padding: 1.5rem; transition: border-color var(--t), transform var(--t-slow); }
.service-detail-card:hover { border-color: rgba(249,115,22,0.35); transform: translateY(-2px); }
.service-detail-card h3 { font-size: 0.97rem; color: #fff; margin-bottom: 0.6rem; }
.service-detail-card h3 a { color: var(--orange); }
.service-detail-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* Signs / checklist — used by inner service templates */
.signs-list { display: flex; flex-direction: column; gap: 0.85rem; }
.sign-item { display: flex; gap: 1rem; background: var(--dark-800); border: 1px solid var(--dark-border); border-radius: var(--radius); padding: 1.25rem; align-items: flex-start; transition: border-color var(--t); }
.sign-item:hover { border-color: rgba(249,115,22,0.3); }
.sign-num {
  width: 30px; height: 30px; min-width: 30px;
  background: linear-gradient(135deg, var(--orange), var(--amber)); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #fff; box-shadow: var(--shadow-orange);
}
.sign-item h3, .sign-content h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; }
.sign-item p,  .sign-content p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* FAQ accordion — used on front-page and inner templates */
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; }
.faq-item { border: 1px solid var(--light-border); border-radius: var(--radius); overflow: hidden; background: var(--bg-white); }
.section-dark .faq-item, .section-deeper .faq-item { background: var(--dark-800); border-color: var(--dark-border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem; background: none; border: none; cursor: pointer;
  font-size: 0.93rem; font-weight: 600; color: var(--text-dark); text-align: left;
  gap: 1rem; transition: background var(--t); font-family: inherit;
}
.section-dark .faq-question { color: #fff; }
.faq-question:hover { background: rgba(249,115,22,0.04); }
.faq-question.active { color: var(--orange); background: rgba(249,115,22,0.03); }
.faq-icon {
  width: 24px; height: 24px; min-width: 24px;
  background: var(--orange-glow); border: 1px solid rgba(249,115,22,0.28);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 700; color: var(--orange);
  transition: transform var(--t), background var(--t);
}
.faq-question.active .faq-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.38s ease, padding 0.2s; font-size: 0.9rem; color: var(--text-body); line-height: 1.78; padding: 0 1.25rem; }
.section-dark .faq-answer { color: var(--text-secondary); }
.faq-answer.open { max-height: 700px; padding: 0 1.25rem 1.25rem; }

/* Process steps — used on front-page and inner templates */
.process-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--dark-border); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--dark-border); }
.process-step  { background: var(--dark-800); text-align: center; padding: 1.75rem 1rem; }
.step-num { width: 48px; height: 48px; background: linear-gradient(135deg, var(--orange), var(--amber)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 900; color: #fff; margin: 0 auto 1rem; box-shadow: var(--shadow-orange); }
.step-title { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.step-desc  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   RESPONSIVE — generic layout/typography/button rules only
   ============================================================ */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .section    { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .page-trust-grid { grid-template-columns: repeat(2,1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cta-group { flex-direction: column; align-items: stretch; }
  .btn-lg { justify-content: center; text-align: center; }
}