 .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); } .reveal.active { opacity: 1; transform: translateY(0); } .delay-100 { transition-delay: 0.1s; } .delay-200 { transition-delay: 0.2s; } .delay-300 { transition-delay: 0.3s; } .electrical-calculators { padding: var(--spacing-4xl) 0; background: var(--bg-primary); position: relative; overflow: hidden; } .calculators-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--spacing-xl); margin-top: var(--spacing-3xl); } @media (min-width: 768px) { .calculators-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .calculators-grid.bento-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: min-content; } .bento-large { grid-column: span 1; } } .glass-card { --glass-bg: rgba(20, 24, 28, 0.6); --glass-border: rgba(255, 255, 255, 0.08); --glass-backdrop: blur(12px); background: var(--glass-bg); backdrop-filter: var(--glass-backdrop); border: 1px solid var(--glass-border); border-radius: 16px; padding: 2rem; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; } .glass-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); border-color: rgba(240, 185, 11, 0.3); } .calculator-header { text-align: center; margin-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 1.5rem; } .calculator-icon { font-size: 3rem; margin-bottom: 1rem; display: inline-block; filter: drop-shadow(0 0 10px rgba(240, 185, 11, 0.3)); } .calculator-header h3 { color: var(--primary-color); font-size: 1.5rem; margin-bottom: 0.5rem; } .calculator-header p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; } .glass-input, .glass-select { width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 0.8rem 1rem; color: #fff; font-size: 1rem; transition: all 0.3s ease; margin-bottom: 0.5rem; } .glass-input:focus, .glass-select:focus { outline: none; border-color: var(--primary-color); background: rgba(0, 0, 0, 0.5); box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1); } .glass-select option { background: var(--bg-primary); color: #fff; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; color: var(--text-secondary); margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 500; } .btn-primary { width: 100%; background: var(--primary-color); color: #000; font-weight: 700; padding: 1rem; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; } .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(240, 185, 11, 0.3); } .glass-result { margin-top: 2rem; background: rgba(240, 185, 11, 0.1); border: 1px solid rgba(240, 185, 11, 0.2); border-radius: 8px; padding: 1.5rem; text-align: center; } .result-content h4 { color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; } .result-value { color: var(--primary-color); font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; } .result-explanation { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; line-height: 1.5; } .residential-checklist { padding: var(--spacing-4xl) 0; background: var(--bg-secondary); } .checklist-timeline { position: relative; max-width: 800px; margin: var(--spacing-3xl) auto 0; } .checklist-timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, transparent, var(--primary-color), transparent); } .timeline-item { position: relative; padding-left: 80px; margin-bottom: 3rem; } .timeline-marker { position: absolute; left: 0; top: 0; width: 50px; height: 50px; background: var(--bg-primary); border: 2px solid var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 0 15px rgba(240, 185, 11, 0.2); } .marker-icon { font-size: 1.5rem; } .timeline-content { position: relative; } .timeline-content h3 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 1.4rem; } .checklist-items { display: grid; gap: 1rem; } .checklist-item { display: flex; align-items: center; gap: 1rem; padding: 0.8rem; background: rgba(255, 255, 255, 0.03); border-radius: 6px; transition: background 0.3s ease; } .checklist-item:hover { background: rgba(255, 255, 255, 0.08); } .checklist-icon { color: var(--primary-color); font-weight: bold; } .checklist-text { color: #e0e0e0; } .wiring-checklist { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); } @media (max-width: 768px) { .checklist-timeline::before { left: 20px; } .timeline-item { padding-left: 60px; } .timeline-marker { width: 40px; height: 40px; } .marker-icon { font-size: 1.2rem; } } .residential-vocabulary { padding: var(--spacing-4xl) 0; background: var(--bg-primary); } .vocabulary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: var(--spacing-3xl); } .vocab-item { padding: 1.5rem; display: flex; flex-direction: column; height: 100%; } .vocab-item h3 { color: var(--primary-color); font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .vocab-item p { color: #ccc; font-size: 0.95rem; line-height: 1.6; margin: 0; } @media (max-width: 768px) { .glass-card { padding: 1.5rem; } .calculator-header h3 { font-size: 1.3rem; } } .residential-hero .hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(11, 14, 17, 0.85) 0%, rgba(22, 26, 30, 0.75) 50%, rgba(11, 14, 17, 0.9) 100%); z-index: 1; } .residential-hero .hero-bg-image { background-image: url('../images/residential-electrical-resources-hero.png'); background-position: center; background-size: cover; opacity: 0.6; } .residential-hero .container { position: relative; z-index: 2; } .residential-hero .breadcrumb-section { position: relative; z-index: 20; margin-bottom: 2.5rem; margin-top: 2.5rem; text-align: left; display: flex; justify-content: flex-start; } .residential-hero .breadcrumb-nav { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1.25rem; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 100px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); } .residential-hero .breadcrumb-nav a { color: #e0e0e0; text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.3s ease; } .residential-hero .breadcrumb-nav a:hover { color: var(--primary-color); text-decoration: none; } .residential-hero .breadcrumb-nav span { color: rgba(255, 255, 255, 0.4); font-size: 0.8rem; } .silo-bridge { font-size: 1.1rem; color: var(--text-primary); margin-bottom: var(--spacing-md); padding: 0.5rem; border-radius: var(--border-radius-sm); background: rgba(240, 185, 11, 0.05); display: inline-block; } .silo-bridge a { color: var(--primary-color); text-decoration: underline; font-weight: 600; } .local-coverage { font-size: 0.95rem; color: var(--text-muted); margin-bottom: var(--spacing-sm); font-style: italic; } .trust-line { font-size: 1rem; font-weight: 500; color: #4ade80; margin-bottom: var(--spacing-xl); display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .trust-line::before { content: '✓'; font-weight: bold; } .tool-use-cases { padding: var(--spacing-3xl) 0; background: var(--bg-secondary); border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .tool-use-cases h2 { text-align: center; font-size: 2rem; color: var(--text-primary); margin-bottom: var(--spacing-xl); } .tool-use-cases ul { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing-lg); list-style: none; padding: 0; } .tool-use-cases li { background: rgba(255, 255, 255, 0.03); padding: 1rem; border-radius: var(--border-radius-md); border: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-secondary); display: flex; align-items: center; gap: 0.75rem; transition: var(--transition-fast); } .tool-use-cases li::before { content: '🛠️'; font-size: 1.2rem; } .mid-resource-cta { padding: var(--spacing-3xl) 0; text-align: center; background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary)); border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .mid-resource-cta h2 { font-size: 2rem; color: var(--text-primary); margin-bottom: var(--spacing-md); } .mid-resource-cta p { color: var(--text-muted); margin-bottom: var(--spacing-xl); font-size: 1.1rem; } .mid-resource-cta .btn { display: inline-block; max-width: 300px; } .proof-bridge, .expert-bridge, .local-seo, .experience-signal { padding: var(--spacing-xl) 0; text-align: center; background: var(--bg-primary); border-top: 1px solid rgba(255, 255, 255, 0.05); } .proof-bridge p, .expert-bridge p, .local-seo p, .experience-signal p { max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 1.6; color: var(--text-secondary); } .proof-bridge a, .expert-bridge a { color: var(--primary-color); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: var(--transition-fast); } .proof-bridge a:hover, .expert-bridge a:hover { border-bottom-color: var(--primary-color); } .proof-bridge { background: rgba(240, 185, 11, 0.02); } .expert-bridge { background: linear-gradient(to right, var(--bg-secondary), var(--bg-primary)); } .local-seo { opacity: 0.8; } .experience-signal { background: var(--bg-card); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }