/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.5.1
	Stable tag: 3.5.1
	Requires at least: 6.0
	Tested up to: 7.0
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* Theta HVAC - Modern Clean Site Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100% !important;
  z-index: 99999;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  padding: 0 max(60px, calc((100% - 1140px) / 2));
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 72px;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    height 0.35s ease;
}

/* Home: transparan di atas hero, putih ketika di-scroll */
body.home .site-header {
  position: fixed;
  background: transparent;
  box-shadow: none;
}

body.home .site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header,
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
}

.site-header .site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .site-branding .site-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  max-width: 200px;
  width: auto !important;
}

.site-header .site-branding .site-title a {
  color: #0d2b4e;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}

.site-header .site-branding .site-logo img,
.site-header .site-branding .custom-logo-link img,
.site-header .site-branding img.custom-logo {
  max-height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Header Navigation (Desktop) */
.site-header .site-navigation {
  display: flex;
  align-items: center;
}

.site-header .site-navigation ul,
.site-header .site-navigation ul.menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.site-header .site-navigation ul li {
  position: relative;
  margin: 0;
  padding: 0;
}

.site-header .site-navigation ul li a {
  color: #111827; /* Hitam tegas */
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
  padding: 6px 0;
  position: relative;
  display: inline-block;
}

/* Garis bawah animasi: default tersembunyi (scaleX 0), HANYA muncul saat di-hover */
.site-header .site-navigation ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #005b9f;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .site-navigation ul li a:hover {
  color: #005b9f !important; /* Biru primary */
}

.site-header .site-navigation ul li a:hover::after {
  transform: scaleX(1);
}

/* Hamburger Toggle Button */
.site-navigation-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100001;
  outline: none;
  color: #0d2b4e;
  transition: color 0.2s ease;
}

.site-navigation-toggle:hover {
  color: #005b9f;
  background: transparent !important;
}

.site-navigation-toggle .icon-menu {
  display: block;
  width: 26px;
  height: 26px;
}

.site-navigation-toggle .icon-close {
  display: none;
  width: 26px;
  height: 26px;
}

.site-navigation-toggle.is-active .icon-menu {
  display: none;
}

.site-navigation-toggle.is-active .icon-close {
  display: block;
  color: #005b9f;
}

/* Responsive Mobile Navigation */
@media (max-width: 868px) {
  .site-header {
    padding: 0 20px !important;
    height: 64px !important;
    min-height: 64px !important;
  }

  body.home .site-header.menu-open {
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
  }

  .site-navigation-toggle {
    display: flex !important;
  }

  .site-header .site-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f1f5f9;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
    display: block !important;
  }

  .site-header .site-navigation.is-open {
    max-height: 450px;
    opacity: 1;
    visibility: visible;
  }

  .site-header .site-navigation ul,
  .site-header .site-navigation ul.menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px 24px 18px !important;
    margin: 0 !important;
  }

  .site-header .site-navigation ul li {
    border-bottom: 1px solid #f1f5f9;
  }

  .site-header .site-navigation ul li:last-child {
    border-bottom: none;
  }

  .site-header .site-navigation ul li a {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    transition:
      color 0.2s ease,
      padding-left 0.2s ease;
  }

  .site-header .site-navigation ul li a:hover,
  .site-header .site-navigation ul li.current-menu-item a {
    color: #005b9f !important;
    padding-left: 8px;
  }
}

/* Floating WhatsApp Button (matches reference mockup) */
.th-floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99998;
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease;
  text-decoration: none;
}

.th-floating-wa:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

/* Samakan tinggi ketiga kolom kontak */
.kontak-section > .elementor-container {
  display: flex;
  align-items: stretch;
}

.kontak-section > .elementor-container > .elementor-column {
  display: flex;
  align-items: stretch;
}

.kontak-section > .elementor-container > .elementor-column > .elementor-element-populated {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.kontak-section .elementor-widget-icon-box {
  width: 100%;
  height: 100%;
}

.kontak-section .elementor-widget-icon-box > .elementor-widget-container {
  height: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   Theta HVAC - Default Fallback Footer
   (Displayed when Header Footer Elementor is not configured or as fallback)
   ========================================================================== */
.th-main-footer {
  background: #0b1f3a;
  color: #94a3b8;
  padding: 65px 0 30px;
  border-top: 3px solid #005b9f;
  position: relative;
  font-family: inherit;
}

.th-footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.th-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.3fr 1.1fr;
  gap: 40px;
  align-items: flex-start;
}

.th-footer-col {
  display: flex;
  flex-direction: column;
}

.th-footer-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.2px;
  position: relative;
}

.th-footer-title b,
.th-footer-title strong {
  color: #38bdf8;
  font-weight: 700;
}

.th-footer-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, #005b9f, #38bdf8);
  border-radius: 2px;
  margin-top: 8px;
}

.th-footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0 0 14px;
}

.th-footer-text strong {
  color: #f1f5f9;
  font-weight: 600;
}

.th-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.th-footer-icon {
  font-size: 15px;
  line-height: 1.6;
  flex-shrink: 0;
}

.th-footer-contact-item a,
.th-footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.th-footer-contact-item a:hover,
.th-footer-col a:hover {
  color: #38bdf8;
}

/* Nav links in footer */
.th-footer-nav ul,
.th-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.th-footer-nav ul li,
.th-footer-links li {
  margin: 0;
  padding: 0;
}

.th-footer-nav ul li a,
.th-footer-links li a {
  display: inline-block;
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.th-footer-nav ul li a:hover,
.th-footer-links li a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

/* Bottom bar */
.th-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 24px;
  text-align: center;
}

.th-footer-bottom p {
  color: #64748b;
  font-size: 13px;
  margin: 0;
}

.th-footer-bottom strong {
  color: #94a3b8;
}

/* Responsive Footer */
@media (max-width: 991px) {
  .th-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 575px) {
  .th-main-footer {
    padding: 48px 0 24px;
  }

  .th-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .th-footer-bottom {
    margin-top: 36px;
  }
}
