/* Sairaj Roofing - Hostinger Production CSS */
:root {
  --primary: #f97316;
  --primary-hover: #ea580c;
  --secondary: #020617;
  --dark: #0f172a;
  --light: #f8fafc;
  --border: #e2e8f0;
  --text: #334155;
  --text-dark: #0f172a;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text); background: #ffffff; line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-dark); font-weight: 700; line-height: 1.2; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--primary-hover); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.bg-light { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-dark { background: var(--secondary); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.text-center { text-align: center; }

/* Top bar */
.top-bar { background: #020617; color: #94a3b8; font-size: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid #1e293b; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-contacts a { color: #cbd5e1; margin-left: 1rem; }
.top-contacts a:hover { color: var(--primary); }

/* Header & Nav */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.brand-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark { background: var(--secondary); color: var(--primary); font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.brand-title { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--secondary); letter-spacing: -0.5px; }
.brand-tagline { display: block; font-size: 0.65rem; font-weight: 700; color: var(--primary); letter-spacing: 1px; }

.nav-list { display: flex; list-style: none; gap: 1.25rem; }
.nav-list a { color: #475569; font-weight: 600; font-size: 0.875rem; padding: 0.5rem 0; }
.nav-list a.active, .nav-list a:hover { color: var(--primary); }

.has-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); min-width: 240px; list-style: none; padding: 0.5rem 0; }
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 0.5rem 1rem; font-size: 0.8125rem; }
.dropdown-menu li a:hover { background: #fff7ed; color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-phone { font-weight: 700; font-size: 0.8125rem; color: var(--secondary); display: flex; align-items: center; gap: 0.35rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.625rem 1.25rem; font-weight: 700; font-size: 0.8125rem; border-radius: 6px; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #1e293b; color: #fff; }
.btn-outline { border: 1px solid var(--border); background: #fff; color: var(--text-dark); }
.btn-outline-white { border: 1px solid #475569; background: transparent; color: #fff; }
.btn-outline-white:hover { background: #1e293b; }
.btn-large { padding: 0.875rem 1.75rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--secondary); margin: 4px 0; }

/* Hero */
.hero-section { background: #020617; color: #fff; padding: 4.5rem 0; border-bottom: 1px solid #1e293b; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.badge { display: inline-block; background: #1e293b; color: #fb923c; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; padding: 0.25rem 0.75rem; border-radius: 4px; margin-bottom: 1rem; border: 1px solid #334155; }
.hero-title { font-size: 2.75rem; color: #fff; margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-media img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

/* Trust Strip */
.trust-strip { background: var(--primary); color: #fff; padding: 1.25rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; gap: 1rem; }
.trust-num { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; }
.trust-label { display: block; font-size: 0.75rem; opacity: 0.9; }

/* Grid systems */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.three-col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.pillar-card { background: #fff; border: 1px solid var(--border); padding: 1.5rem; border-radius: 10px; }
.pillar-card h4 { color: var(--secondary); margin-bottom: 0.5rem; font-size: 1.1rem; }

/* Estimator Box */
.calc-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.calc-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.form-group label { display: block; font-weight: 700; font-size: 0.8125rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 0.875rem; }
.calc-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: var(--light); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); }
.result-card { text-align: center; }
.res-label { display: block; font-size: 0.75rem; color: #64748b; font-weight: 600; margin-bottom: 0.25rem; }
.res-value { display: block; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--secondary); }
.result-card.highlight .res-value { color: var(--primary); }

/* Page Header */
.page-header { background: #020617; color: #fff; padding: 3.5rem 0; border-bottom: 1px solid #1e293b; }
.page-header h1 { font-size: 2.25rem; color: #fff; margin-bottom: 0.75rem; }
.page-header-desc { font-size: 1rem; color: #cbd5e1; max-width: 800px; }

/* Tables */
.table-responsive { overflow-x: auto; margin-top: 2rem; }
.comparison-table, .specs-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); }
.comparison-table th, .comparison-table td, .specs-table th, .specs-table td { padding: 1rem; border: 1px solid var(--border); font-size: 0.875rem; text-align: left; }
.comparison-table th, .specs-table th { background: var(--secondary); color: #fff; font-family: var(--font-heading); }
.comparison-table td.highlight-col { background: #fff7ed; font-weight: 600; color: var(--secondary); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.info-card { background: var(--light); border: 1px solid var(--border); padding: 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.875rem; }
.whatsapp-box { background: #ecfdf5; border: 1px solid #a7f3d0; padding: 1.25rem; border-radius: 8px; }
.btn-whatsapp { background: #10b981; color: #fff; display: inline-block; padding: 0.625rem 1rem; border-radius: 6px; font-weight: 700; margin-top: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-checkbox { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; margin-bottom: 1.5rem; }
.form-feedback { padding: 0.75rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; }

/* Footer */
.site-footer { background: #020617; color: #94a3b8; padding: 4rem 0 2rem; border-top: 1px solid #1e293b; font-size: 0.8125rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-heading { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; font-size: 0.75rem; text-align: center; }

/* Mobile action bar */
.mobile-action-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #020617; border-top: 1px solid #1e293b; z-index: 999; padding: 0.5rem; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
.action-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.5rem; font-size: 0.75rem; font-weight: 700; border-radius: 6px; color: #fff; }
.call-btn { background: #1e293b; }
.whatsapp-btn { background: #10b981; }
.quote-btn { background: var(--primary); }

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid, .two-col-grid, .contact-grid { grid-template-columns: 1fr; }
  .three-col-grid, .pillars-grid { grid-template-columns: 1fr 1fr; }
  .calc-form-grid, .calc-results { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar, .nav-list, .btn-phone { display: none; }
  .mobile-toggle, .mobile-action-bar { display: grid; }
  .mobile-toggle { display: block; }
  .three-col-grid, .pillars-grid, .trust-grid, .calc-form-grid, .calc-results, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  body { padding-bottom: 60px; }
}
