/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* LUMBERJACK FONT */
@import url('https://fonts.googleapis.com/css2?family=Rubik+Wet+Paint&display=swap');

body {
  font-family: 'Rubik Wet Paint', cursive;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.page-loaded {
  opacity: 1;
}

/* BACKGROUND CLASSES — SEPARATE PER PAGE */
.bg-home         { background-image: url('/img/arbor-index.jpg'); }
.bg-services     { background-image: url('/img/arbor-index.jpg'); }
.bg-gallery      { background-image: url('/img/arbor-index.jpg'); }
.bg-testimonials { background-image: url('/img/arbor-index.jpg'); }
.bg-areas        { background-image: url('/img/arbor-index.jpg'); }
.bg-faq          { background-image: url('/img/arbor-index.jpg'); }
.bg-emergency    { background-image: url('/img/arbor-index.jpg'); }
.bg-insurance    { background-image: url('/img/arbor-index.jpg'); }
.bg-about        { background-image: url('/img/arbor-index.jpg'); }
.bg-contact      { background-image: url('/img/arbor-index.jpg'); }
.bg-estimate     { background-image: url('/img/arbor-index.jpg'); }

/* HEADER */
.main-header {
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(6px);
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.logo-menu {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-menu img {
  height: 48px;
  margin-right: 10px;
}

.brand-name {
  font-size: 20px;
  font-weight: bold;
  color: red;
}

/* NAV */
.nav-links {
  display: flex;
  gap: 14px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 10px;
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(255,0,0,0.7);
}

.nav-links a.active {
  background: rgba(255,0,0,0.9);
}

.contact-btn {
  background: red;
  padding: 6px 12px;
  border-radius: 6px;
}

/* CONTACT INFO */
.contact-info a {
  color: #4CAF50;
  font-weight: bold;
  margin-left: 12px;
}

/* HERO */
.hero, .page-hero {
  text-align: center;
  padding: 120px 20px;
  color: white;
  text-shadow: 0 0 8px black;
}

.hero-top-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-main {
  flex: 2;
}

.hero-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero-main p {
  background: rgba(0,0,0,0.75);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

/* CTA BUTTONS */
.hero-cta-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-btn {
  background: rgba(255,0,0,0.9);
  padding: 12px 20px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
  box-shadow: 0 0 10px black;
}

.cta-btn.secondary {
  background: rgba(0,0,0,0.8);
}

/* HERO SIDE BOXES */
.hero-weather,
.hero-analytics {
  background: rgba(0,0,0,0.75);
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

/* TRUST BADGES */
.trust-badges {
  margin: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badges div {
  background: rgba(0,0,0,0.75);
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 0 8px black;
  font-size: 14px;
}

/* SERVICE HIGHLIGHTS */
.service-highlights {
  margin: 30px 24px;
}

.service-highlights h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.service-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  background: rgba(0,0,0,0.75);
  padding: 16px 18px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

/* OWNER INTRO */
.owner-intro {
  margin: 30px 24px;
}

.owner-intro h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.owner-intro p {
  background: rgba(0,0,0,0.75);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
  margin-bottom: 10px;
}

/* MINI GALLERY */
.mini-gallery {
  margin: 30px 24px;
}

.mini-gallery h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.gallery-row img {
  width: 30%;
  min-width: 180px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

/* HOME TESTIMONIALS */
.home-testimonials {
  margin: 30px 24px;
}

.home-testimonials h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.testimonial-snippets {
  background: rgba(0,0,0,0.75);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

/* HOME FAQ */
.home-faq {
  margin: 30px 24px;
}

.home-faq h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.home-faq ul {
  list-style: none;
}

.home-faq li {
  margin-bottom: 6px;
}

.home-faq a {
  background: rgba(0,0,0,0.75);
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 0 8px black;
  color: white;
  text-decoration: none;
  font-size: 14px;
}

/* HOME SERVICE AREAS */
.home-service-areas {
  margin: 30px 24px;
}

.home-service-areas h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.home-service-areas p {
  background: rgba(0,0,0,0.75);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

/* CTA SECTION */
.cta-section {
  margin: 30px 24px 40px;
  text-align: center;
}

.cta-section h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.cta-section p {
  background: rgba(0,0,0,0.75);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
  display: inline-block;
  margin-bottom: 16px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* FOOTER */
.footer {
  background: rgba(0,0,0,0.85);
  padding: 16px 24px;
  text-align: center;
  font-size: 14px;
}

/* FLOATING CONTACT BUTTON (IMAGE) */
.floating-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 90px;
  height: 90px;
  background-image: url('/img/med-float.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  box-shadow: 0 0 12px black;
  z-index: 999;
  cursor: pointer;
  color: transparent;
}

/* LEAF ANIMATION */
#leaf-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.leaf {
  position: absolute;
  width: 24px;
  height: 24px;
  background-image: url('/img/leaf.png');
  background-size: cover;
  animation: fall linear forwards;
}

@keyframes fall {
  from { transform: translateY(-50px) rotate(0deg); }
  to { transform: translateY(110vh) rotate(360deg); }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-top-row {
    flex-direction: column;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: black;
    padding: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .gallery-row img {
    width: 100%;
  }

  .service-card-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}
/* FIX TOP CONTACT INFO CUTTING OFF */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding-left: 10px;
  padding-right: 10px;
  height: 100%;
  white-space: nowrap;
  background: rgba(0,0,0,0.55); /* keeps it ON the block */
  border-radius: 8px;
}

.contact-info a {
  font-size: 18px;
  line-height: 1.3;
  display: block;
}
