/* Custom Styles for Homepage Redesign */

/* Hero Section Updates */
.hero.hero-home {
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  padding-bottom: 50px;
}

.hero-home::before, .hero-home::after {
  display: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_background.png');
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
  /* Add a curved cut at the bottom if needed, or leave to overlay */
}

/* Add curved shape to bottom */
.hero-home::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, transparent, #fffdfa);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0.1) 60%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 86px 5vw;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(42px, 5vw, 64px);
  color: var(--green);
}

.hero-content p {
  font-weight: 600;
}

/* Service Cards Updates */
.service-card.has-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-image-wrap {
  position: relative;
  height: 200px;
  background: #f4f6f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card.has-image:hover .card-image-wrap img {
  transform: scale(1.05);
}

.icon-overlap {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
}

.card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-top: 0;
  font-size: 20px;
}

.card-content p {
  flex-grow: 1;
  margin-bottom: 24px;
}

/* Why Choose Us Updates */
.why-grid {
  gap: 24px;
}

.why-card.horizontal {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 24px;
  text-align: left;
  border: 2px solid var(--line);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-card.horizontal:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--amber);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.2);
}

.why-card.horizontal .big-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  color: var(--green);
  display: grid;
  place-items: center;
}

.why-card.horizontal .big-icon.coins {
  border-color: var(--orange);
  color: var(--orange);
}

.why-text b {
  font-size: 18px;
  color: var(--deep);
  margin-bottom: 4px;
  display: block;
}

.why-text p {
  margin: 0;
  font-size: 15px;
}

/* CTA Panel Updates */
.cta-panel {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  padding: 0 !important;
  background: radial-gradient(circle at 70% 50%, rgba(245,158,11,0.35), transparent 40%),
              linear-gradient(135deg, #0a4a24 0%, #0d5c2f 40%, #1a7a40 100%) !important;
  align-items: stretch;
  width: 100% !important;
  max-width: 100% !important;
  margin: 58px 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11,107,58,0.25);
}

.cta-left {
  padding: 50px 48px;
  background: rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}

.quote {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 28px;
  position: relative;
  color: white;
}

.quote-mark {
  color: var(--orange);
  font-size: 60px;
  line-height: 0;
  vertical-align: bottom;
}

.quote-mark-end {
  color: var(--orange);
}

.cta-middle {
  padding: 50px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

.info-item b {
  color: white;
  font-size: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: white;
}

.info-icon.phone {
  background: var(--orange);
}

.highlight-phone {
  font-size: 24px;
  font-weight: 900;
  color: var(--orange);
  display: block;
  margin-top: 4px;
}

.cta-actions-inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 99px;
  display: inline-flex;
}

.cta-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.cta-right::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at 60% 60%, rgba(245,158,11,0.5), transparent 55%);
  z-index: 0;
}

.map-image {
  width: 100%;
  max-width: 340px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  transform: translateY(10px);
  display: block;
}

@media (max-width: 980px) {
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .hero-home {
    min-height: auto;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.3) 100%);
  }
}

/* Glow effect for CTA button */
.cta-panel .btn-orange {
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

/* New Site Footer */
.site-footer {
  background: linear-gradient(180deg, #102118 0%, #06180f 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  margin-top: 60px;
  font-size: 15px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  color: white;
  font-size: 26px;
  font-weight: 900;
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-desc {
  line-height: 1.8;
  max-width: 320px;
  margin: 0;
}

.footer-heading {
  color: white;
  font-size: 20px;
  margin: 0 0 28px;
  font-weight: 800;
}

.links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-col li {
  margin-bottom: 18px;
}

.links-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  font-weight: 500;
}

.links-col a:hover {
  color: white;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  transition: transform 0.2s;
}

.contact-item:hover {
  color: white;
  transform: translateX(5px);
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}

.icon-circle.phone {
  background: rgba(255, 255, 255, 0.15);
}

.icon-circle.line {
  background: #00B900;
  color: white;
}

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

.contact-info strong {
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.contact-info span {
  font-size: 14px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll Animations */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.25s; }
.delay-4 { transition-delay: 0.35s; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* Desktop Header Fix */
.nav-wrapper {
  display: contents;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 20px !important;
    height: 70px !important;
    position: relative;
    z-index: 1000;
  }
  .site-header .logo {
    width: auto !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }
  .site-header .logo img {
    height: 36px !important;
  }
  .site-header .logo span {
    display: inline-block !important;
    font-size: 16px !important;
  }

  /* Hamburger & Controls */
  .mobile-controls {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }
  .mobile-call {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  }
  .hamburger {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f0f4f2;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--deep);
    transition: 0.3s;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hidden Nav */
  .nav-wrapper {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    pointer-events: none;
    z-index: 999;
  }
  .nav-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-header .nav {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 0 !important;
  }
  .site-header .nav a {
    padding: 16px;
    font-size: 18px;
    border-bottom: 1px solid #f0f4f2;
    color: var(--deep);
  }
  .site-header .header-call {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
