/* CLABBY ELECTRIC LLC - Main Stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap");

:root {
  --teal-primary: #025373;
  --teal-secondary: #007B9D;
  --yellow: #FFD506;
  --yellow-light: #F9EDA3;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --gray-light: #F7F8FA;
  --gray-medium: #E2E6EA;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.13);
  --radius: 10px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "Instrument Sans", sans-serif; color: var(--dark); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: "Outfit", sans-serif; font-weight: 700; line-height: 1.25; color: var(--dark); }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.section-heading { font-size: 2rem; margin-bottom: 0.5rem; }
.section-subheading { font-size: 1.1rem; color: #555; margin-bottom: 2.5rem; }
/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-align: center; }
.btn-yellow { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.btn-yellow:hover { background: #e6c005; border-color: #e6c005; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--teal-primary); transform: translateY(-2px); }
.btn-outline-teal { background: transparent; color: var(--teal-primary); border-color: var(--teal-primary); }
.btn-outline-teal:hover { background: var(--teal-primary); color: var(--white); transform: translateY(-2px); }

/* HEADER / NAV */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 1px 8px rgba(0,0,0,0.07); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-placeholder { display: flex; align-items: center; gap: 8px; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--teal-primary); }
.logo-icon { width: 40px; height: 40px; background: var(--yellow); border-radius: 50% 50% 50% 0; display: flex; align-items: center; justify-content: center; position: relative; }
.logo-icon::after { content: ""; width: 12px; height: 10px; background: var(--teal-primary); border-radius: 0 0 4px 4px; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); }
.logo-text { line-height: 1.1; }
.logo-text span { display: block; font-size: 0.65rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-secondary); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--dark); position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--teal-secondary); transition: width var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--teal-primary); }
.nav-cta { padding: 10px 22px !important; background: var(--yellow); color: var(--dark) !important; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #e6c005; transform: translateY(-1px); box-shadow: var(--shadow); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; z-index: 1100; }
.hamburger span { width: 26px; height: 3px; background: var(--dark); border-radius: 3px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* HERO */
.hero { background: var(--teal-primary); color: var(--white); padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero h1 { color: var(--white); font-size: 3rem; max-width: 700px; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 560px; margin-bottom: 2rem; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-short { padding: 60px 0 50px; }
.hero-short h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-short p { margin-bottom: 0; }

/* SERVICE CARDS */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: all var(--transition); border: 1px solid var(--gray-medium); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--teal-secondary); }
.service-card .card-icon { width: 52px; height: 52px; background: var(--yellow-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-card .card-icon svg { width: 28px; height: 28px; stroke: var(--teal-primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--teal-primary); }
.service-card p { font-size: 0.95rem; color: #555; margin-bottom: 14px; }
.card-link { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--teal-secondary); display: inline-flex; align-items: center; gap: 4px; transition: all var(--transition); }
.card-link:hover { color: var(--teal-primary); gap: 8px; }

/* TRUST BADGES */
.trust-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; }
.trust-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; max-width: 180px; }
.trust-badge .badge-icon { width: 56px; height: 56px; background: var(--yellow-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.trust-badge .badge-icon svg { width: 28px; height: 28px; stroke: var(--teal-primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-badge h4 { font-size: 0.95rem; color: var(--teal-primary); }

/* ABOUT TEASER */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-teaser-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-teaser-text p { color: #555; margin-bottom: 1.5rem; font-size: 1.05rem; }
.photo-placeholder { width: 100%; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--teal-primary), var(--teal-secondary)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: "Outfit", sans-serif; font-size: 1.1rem; font-weight: 600; text-align: center; padding: 20px; opacity: 0.85; }
.about-photo { width: 100%; border-radius: var(--radius); object-fit: cover; }

/* SERVICES PAGE */
.service-section { padding: 60px 0; border-bottom: 1px solid var(--gray-medium); }
.service-section:last-of-type { border-bottom: none; }
.service-section-inner { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.service-section .service-icon { width: 64px; height: 64px; background: var(--yellow-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-section .service-icon svg { width: 32px; height: 32px; stroke: var(--teal-primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-section h2 { font-size: 1.6rem; color: var(--teal-primary); margin-bottom: 0.75rem; }
.service-section p { color: #444; font-size: 1.05rem; max-width: 800px; }

/* CTA BANNER */
.cta-banner { background: var(--teal-primary); color: var(--white); text-align: center; padding: 60px 0; }
.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 0.5rem; }
.cta-banner p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 1.5rem; }
.cta-banner .cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ABOUT PAGE */
.about-content { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.about-story h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--teal-primary); }
.about-story p { color: #444; font-size: 1.05rem; margin-bottom: 1.25rem; }
.about-story p.signature { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--teal-primary); }
.credentials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.credential-card { background: var(--white); border: 1px solid var(--gray-medium); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); transition: all var(--transition); }
.credential-card:hover { border-color: var(--yellow); transform: translateY(-2px); }
.credential-card .cred-icon { width: 48px; height: 48px; background: var(--yellow-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.credential-card .cred-icon svg { width: 24px; height: 24px; stroke: var(--teal-primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.credential-card h4 { font-size: 0.95rem; color: var(--teal-primary); margin-bottom: 4px; }
.credential-card p { font-size: 0.85rem; color: #666; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--teal-primary); }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-detail .detail-icon { width: 44px; height: 44px; background: var(--yellow-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail .detail-icon svg { width: 20px; height: 20px; stroke: var(--teal-primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-detail p, .contact-detail a { font-size: 0.95rem; color: #555; }
.contact-detail a:hover { color: var(--teal-secondary); }
.owner-note { background: var(--yellow-light); border-radius: var(--radius); padding: 20px 24px; margin-top: 8px; font-size: 0.95rem; color: #444; border-left: 4px solid var(--yellow); }
.contact-form-wrapper { background: var(--white); border: 1px solid var(--gray-medium); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-form-wrapper h2 { font-size: 1.4rem; margin-bottom: 1.5rem; color: var(--teal-primary); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-medium); border-radius: 8px; font-family: "Instrument Sans", sans-serif; font-size: 1rem; color: var(--dark); background: var(--white); transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal-secondary); box-shadow: 0 0 0 3px rgba(0,123,157,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.btn-submit { width: 100%; padding: 16px; font-size: 1.05rem; }

/* FOOTER */
.site-footer { background: var(--teal-primary); color: var(--white); padding: 48px 0 24px; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand .logo-placeholder { color: var(--white); justify-content: flex-start; margin-bottom: 12px; }
.footer-brand .logo-icon { background: var(--yellow); }
.footer-brand p { font-size: 0.9rem; opacity: 0.8; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-family: "Outfit", sans-serif; color: var(--yellow); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; opacity: 0.85; margin-bottom: 8px; transition: opacity var(--transition); }
.footer-col a:hover { opacity: 1; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; opacity: 0.7; flex-wrap: wrap; gap: 8px; }

/* RESPONSIVE - Tablet */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-short h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-teaser, .about-content, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-teaser-photo { order: -1; }
  .about-teaser-photo .photo-placeholder { max-width: 400px; margin: 0 auto; aspect-ratio: 1/1; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .trust-badges { gap: 28px; }
  .service-section-inner { grid-template-columns: 1fr; }
  .service-section .service-icon { margin-bottom: -16px; }
  .form-row { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* RESPONSIVE - Mobile */
@media (max-width: 600px) {
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; padding: 80px 32px 32px; gap: 24px; box-shadow: -4px 0 20px rgba(0,0,0,0.15); transition: right 0.35s ease; z-index: 1050; }
  .nav-links.open { right: 0; }
  .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1020; }
  .nav-overlay.show { display: block; }
  .hero { padding: 70px 0 60px; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 1.05rem; }
  .section-padding { padding: 50px 0; }
  .section-heading { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-badges { flex-direction: column; align-items: center; gap: 24px; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrapper { padding: 24px 20px; }
  .cta-banner h2 { font-size: 1.5rem; }
}

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); position: relative; border: 1px solid var(--gray-medium); }
.testimonial-card::before { content: "\201C"; font-family: "Outfit", sans-serif; font-size: 4rem; color: var(--yellow); position: absolute; top: 12px; left: 20px; line-height: 1; opacity: 0.6; }
.testimonial-card p { font-size: 0.95rem; color: #444; margin-bottom: 16px; padding-top: 24px; font-style: italic; }
.testimonial-card .testimonial-author { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--teal-primary); }

/* RECENT PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-medium); transition: all var(--transition); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.project-photo-placeholder { width: 100%; aspect-ratio: 16/10; background: var(--gray-medium); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #999; font-size: 0.9rem; gap: 8px; }
.project-photo-placeholder svg { width: 32px; height: 32px; stroke: #bbb; fill: none; stroke-width: 1.5; }
.project-card-body { padding: 20px 24px; }
.project-card-body h3 { font-size: 1.1rem; color: var(--teal-primary); margin-bottom: 4px; }
.project-card-body p { font-size: 0.9rem; color: #666; }

/* PROCESS STEPS */
.process-steps { display: flex; justify-content: center; align-items: flex-start; gap: 0; max-width: 800px; margin: 0 auto; flex-wrap: wrap; }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 160px; position: relative; padding: 0 20px; }
.process-step .step-number { width: 56px; height: 56px; background: var(--teal-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.4rem; margin-bottom: 16px; position: relative; z-index: 2; }
.process-step h4 { font-size: 1.05rem; color: var(--teal-primary); margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; color: #555; }
.process-connector { width: 80px; height: 3px; background: var(--yellow); margin-top: 28px; flex-shrink: 0; }

/* FAQ ACCORDION */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-medium); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: all var(--transition); }
.faq-item:hover { border-color: var(--teal-secondary); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; cursor: pointer; background: var(--white); font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1rem; color: var(--dark); border: none; width: 100%; text-align: left; }
.faq-question:hover { color: var(--teal-primary); }
.faq-question .faq-icon { width: 24px; height: 24px; transition: transform 0.3s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.95rem; color: #444; line-height: 1.7; }

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-medium); transition: all var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; background: var(--gray-medium); display: flex; align-items: center; justify-content: center; color: #999; font-size: 0.85rem; }
.blog-card-body { padding: 24px; }
.blog-card-body .blog-date { font-size: 0.8rem; color: #999; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.1rem; color: var(--teal-primary); margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 0.9rem; color: #555; margin-bottom: 14px; }

/* MOBILE TAP TARGET for phone links */
a.phone-link { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 600px) {
  a.phone-link { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; background: var(--yellow); color: var(--dark); border-radius: 8px; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1rem; text-align: center; }
  .testimonials-grid, .projects-grid, .blog-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .process-connector { width: 3px; height: 40px; }
}
@media (max-width: 768px) {
  .testimonials-grid, .projects-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .testimonials-grid, .projects-grid, .blog-grid { grid-template-columns: 1fr; }
}
