/* ================================================
   ACDC POWER CONNECTION LTD — STYLESHEET
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --dark:        #111904;
  --green-dark:  #1E2C05;
  --green:       #3A5008;
  --gold:        #F5A623;
  --gold-hover:  #D48F0E;
  --light:       #F5F7F0;
  --white:       #FFFFFF;
  --text:        #252D10;
  --text-muted:  #5C6645;
  --border:      #D4DDBF;
  --radius:      8px;
  --font-display:'Montserrat', 'Segoe UI', sans-serif;
  --font-body:   'Inter', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2.5rem;
  height: 72px;
  background: var(--dark);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.45);
  transition: height 0.3s ease, background 0.3s ease;
}

.navbar.shrink { height: 58px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 48px; transition: height 0.3s; }
.navbar.shrink .logo img { height: 36px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
  margin-right: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.72);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.83rem;
  border-radius: var(--radius);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.call-button:hover { background: var(--gold-hover); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger .bar {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
  .navbar,
  .navbar.shrink {
    height: 70px;
    flex-wrap: nowrap;
    padding: 0 16px;
  }
  .logo { order: 0; }
  .logo img { height: 40px; }
  .navbar.shrink .logo img { height: 40px; }
  .call-button { order: 1; margin-left: auto; padding: 8px 14px; font-size: 0.77rem; }
  .hamburger { display: flex; order: 2; margin-left: 12px; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin: 0;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px 12px;
    z-index: 999;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  }
  .nav-links a {
    display: block;
    padding: 11px 2px;
    font-size: 0.87rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .navbar.active .nav-links { display: flex; }
  .navbar.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-4px, 5px); }
  .navbar.active .bar:nth-child(2) { opacity: 0; }
  .navbar.active .bar:nth-child(3) { transform: rotate(45deg) translate(-4px, -5px); }
}

/* ================================================
   HERO — full-screen with slideshow background
   ================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}

.slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 12, 1, 0.78) 0%,
    rgba(8, 12, 1, 0.55) 55%,
    rgba(8, 12, 1, 0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 840px;
}

.hero-logo {
  height: 150px;
  width: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.07;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.07);
}

@media (max-width: 768px) {
  .hero-section { padding-top: 64px; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-content p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.1rem; }
}

/* ================================================
   SHARED UTILITIES
   ================================================ */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 0.2rem;
}

.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--dark);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.93rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--green); transform: translateY(-1px); }

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-section {
  padding: 7rem 2rem;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.about-image { position: relative; }

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--dark);
  padding: 1.5rem 1.75rem;
  border-radius: 10px;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 8px 24px rgba(245,166,35,0.3);
}

.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.85;
  margin: 1rem 0 1.75rem;
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
}

.about-checklist li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.93rem;
  color: var(--text);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.about-checklist li:last-child { border-bottom: none; }

.about-checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 0.6rem;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image img { height: 360px; }
  .about-badge { right: 1rem; bottom: 1rem; }
}

/* ================================================
   SERVICES
   ================================================ */
.services-section {
  padding: 7rem 2rem;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 34px rgba(0,0,0,0.13);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.service-card:hover .service-img img { transform: scale(1.07); }

.service-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold);
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.7rem;
}

.service-body p {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s, letter-spacing 0.2s;
}

.service-link:hover { color: var(--gold); letter-spacing: 0.04em; }

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-section {
  background: var(--dark);
  padding: 7rem 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.why-text h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.2rem 0 1rem;
}

.why-text > p {
  color: rgba(255,255,255,0.68);
  font-size: 1rem;
  line-height: 1.82;
  margin-bottom: 1.75rem;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.why-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.78);
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.why-list li:last-child { border-bottom: none; }

.why-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 0.7rem;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  transition: background 0.2s;
}

.feature-box:hover { background: rgba(255,255,255,0.07); }

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.8rem;
}

.feature-box h4 {
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 480px) {
  .why-features { grid-template-columns: 1fr; }
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-section {
  padding: 7rem 2rem;
  background: var(--light);
  text-align: center;
}

.testimonials-section .section-header h2 { color: var(--dark); }

.testimonial-carousel {
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 2.5rem 2rem;
}

.testimonial-item p {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.testimonial-item h4 {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonial-dots { margin-top: 1.75rem; }

.testimonial-dots button {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.testimonial-dots button.active {
  background: var(--gold);
  transform: scale(1.45);
}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
  background: var(--green-dark);
  padding: 4.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}

/* ================================================
   CONTACT
   ================================================ */
.contact-section {
  padding: 7rem 2rem;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  font-size: 1.3rem;
  width: 46px;
  height: 46px;
  background: var(--light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.info-item p,
.info-item a {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.65;
}

.info-item a:hover { color: var(--gold); }

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(58, 80, 8, 0.1);
}

textarea { min-height: 130px; resize: vertical; }

button[type="submit"] {
  padding: 0.95rem;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}

button[type="submit"]:hover { background: var(--green); transform: translateY(-1px); }

.form-success,
.form-error {
  text-align: center;
  display: none;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

.form-success { color: #27AE60; background: #EAFAF1; }
.form-error   { color: #C0392B; background: #FDEDEC; }

button[type="submit"]:disabled { opacity: 0.7; cursor: wait; transform: none; }

/* Spam trap — keep off-screen, not display:none, so bots still fill it in */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--dark);
  padding: 5rem 2rem 0;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 3.5rem;
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 3.5rem;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.8;
  max-width: 340px;
}

.footer-links h4,
.footer-contact-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.4rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact-col p,
.footer-contact-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  line-height: 1.85;
  display: block;
  transition: color 0.2s;
}

.footer-contact-col a:hover { color: var(--gold); }

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.4rem;
}

.social-icons a {
  color: rgba(255,255,255,0.38);
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
}

.social-icons a:hover { color: var(--gold); transform: translateY(-2px); }
.social-icons svg { width: 22px; height: 22px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-brand p { max-width: 100%; }
}
