/* ===== CUSTOM CSS FOR ACRES CLIMATETECH ===== */

/* Google Fonts - Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0b2e1f;       /* Deep Green */
  --secondary-color: #2e7d32;     /* Forest Green */
  --accent-color: #069c6a;        /* Emerald / Vibrant Green */
  --light-bg: #f8fafc;            /* Off-white */
  --dark-bg: #111827;             /* Charcoal */
  --text-dark: #1e293b;           /* Slate */
  --text-light: #64748b;          /* Cool Gray */
  --white: #ffffff;
  
  --font-main: 'Outfit', sans-serif;
  --transition-speed: 0.3s;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
}

.text-accent {
  color: var(--accent-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-light-green {
  background-color: #ecfdf5;
}

/* Navbar Customization */
.navbar {
  transition: all var(--transition-speed) ease-in-out;
  padding: 1.2rem 0;
  background-color: transparent;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background-color: var(--primary-color) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--white) !important;
  margin: 0 0.5rem;
  position: relative;
  transition: color var(--transition-speed);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn-custom {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--accent-color);
  transition: all var(--transition-speed);
}

.btn-custom:hover {
  background-color: transparent;
  color: var(--accent-color);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: all var(--transition-speed);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Hero Sections */
.hero-section {
  position: relative;
  padding: 180px 0 100px;
  min-height: 80vh;

  display: flex;
  align-items: center;

  color: var(--white);

  overflow: hidden;
}

/* Animated Background Layer */
.hero-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(11, 46, 31, 0.82), rgba(11, 46, 31, 0.82)),
    url('../img/hero-640.webp');

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  animation: heroZoom 18s ease-in-out infinite alternate;

  transform-origin: center center;

  z-index: 1;
}

/* Tablet */
@media (min-width: 768px) {
  .hero-section::before {
    background-image:
      linear-gradient(rgba(11, 46, 31, 0.82), rgba(11, 46, 31, 0.82)),
      url('../img/hero-1440.webp');
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  .hero-section::before {
    background-image:
      linear-gradient(rgba(11, 46, 31, 0.82), rgba(11, 46, 31, 0.82)),
      url('../img/hero-1920.webp');
  }
}

/* Keep Content Above Background */
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Background Animation */
@keyframes heroZoom {
  0% {
    transform: scale(1) translateY(0px);
  }

  100% {
    transform: scale(1.08) translateY(-10px);
  }
}

/* Typography */
.hero-section h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}




/* Page Banner */
.page-banner {
  padding: 150px 0 80px;
  background: linear-gradient(rgba(11, 46, 31, 0.9), rgba(11, 46, 31, 0.9)), url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?q=80&w=2000&auto=format&fit=crop') center/cover;
  color: var(--white);
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: 3rem;
}

/* Custom Cards */
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed);
  border: 1px solid rgba(0, 0, 0, 0.02);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: #ecfdf5;
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Image wrappers */
.img-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
  transition: transform 0.5s ease;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-speed);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-link:hover {
  color: var(--accent-color);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Contact form */
.form-control {
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}

/* Section Padding */
.section-padding {
  padding: 100px 0;
}

/* Glassmorphism utility */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-select {
    height: 56px;
    border-radius: 14px;
    border: 1px solid #d6dbe0;
    padding: 0 18px;
    font-size: 16px;
    color: #1f2937;
    background-color: #fff;

    transition: all 0.3s ease;
}

.custom-select:focus {
    border-color: #0ea56b;
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 107, 0.15);
}

.custom-select option {
    padding: 10px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

/* Lenis Smooth Scrolling */
html.lenis, html.lenis body {
    height: auto;
    width: 100%;
}
  
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
  
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
  
.lenis.lenis-stopped {
    overflow: hidden;
}
  
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}
