:root {
    --white: #ffffffff;
    --black: #000000ff;
    --yellow: #FFC451ff;
    --light-yellow: #FFD584ff;
}

/* =========================================
   Global
   ========================================= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a1a1a;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* =========================================
   Top Bar
   ========================================= */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.top-bar {
  background: #0a0a0a;
  padding: 7px 0;
  overflow: hidden;
  max-height: 40px;
  opacity: 1;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
}

.site-header-wrap.scrolled .top-bar {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

.top-bar span,
.top-bar a {
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  letter-spacing: 0.2px;
}

.top-bar i {
  color: var(--yellow);
}

.top-bar a:hover {
  color: var(--yellow);
}

/* =========================================
   Navbar
   ========================================= */
.site-navbar {
  background: rgba(5, 5, 5, 0.96);
  padding: 14px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease,
              -webkit-backdrop-filter 0.4s ease, padding 0.35s ease,
              box-shadow 0.35s ease;
}

.site-header-wrap.scrolled .site-navbar {
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.55);
}

.navbar-brand img {
  height: 48px;
  width: auto;
  transition: height 0.35s ease;
}

.site-header-wrap.scrolled .navbar-brand img {
  height: 40px;
}

/* Desktop nav links */
.site-navbar .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px !important;
  position: relative;
  transition: color 0.2s;
}

.site-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  transform: scaleX(1);
}

/* Contact CTA pill in desktop nav */
.btn-nav-cta {
  background: #d0a710 !important;
  color: var(--black) !important;
  font-weight: 700;
  border-radius: 4px;
  padding: 8px 20px !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

.btn-nav-cta::after {
  display: none !important;
}

.btn-nav-cta:hover {
  background: var(--light-yellow) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
}

.btn-nav-cta.active {
  background: var(--light-yellow) !important;
  color: var(--black) !important;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--yellow);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
}

.hero .badge-loc {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* =========================================
   Breadcrumb
   ========================================= */
.breadcrumb-nav {
  background: #f8f7f4;
  border-bottom: 1px solid #e8e6e0;
  padding: 10px 0;
}

.breadcrumb {
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 10px;
  color: #999;
}

.breadcrumb-item a {
  color: #555;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: var(--yellow);
}

.breadcrumb-item.active {
  color: #333;
  font-weight: 600;
}

/* =========================================
   Buttons
   ========================================= */
.btn-yellow {
  background-color: var(--yellow);
  color: var(--black);
  font-weight: 700;
  border: none;
  padding: 12px 28px;
  border-radius: 4px;
  transition: background-color 0.2s, transform 0.15s;
}

.btn-yellow:hover {
  background-color: var(--light-yellow);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-outline-white {
  color: #fff;
  border: 2px solid #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.btn-outline-white:hover {
  background-color: #fff;
  color: var(--black);
}

/* =========================================
   Section spacing & headings
   ========================================= */
section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
}

.section-title span {
  color: var(--yellow);
}

.section-subtitle {
  color: #666;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 48px auto;
}

.section-title-line {
  width: 56px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 12px auto 20px auto;
}

/* =========================================
   Service Cards (Home Overview)
   ========================================= */
.service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.service-card .card-icon {
  font-size: 2.6rem;
  color: var(--yellow);
  margin-bottom: 16px;
}

.service-card .card-title {
  font-weight: 700;
  font-size: 1.15rem;
}

.service-card .card-body {
  padding: 32px 24px;
}

.service-card .card-link {
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  transition: gap 0.15s;
}

.service-card .card-link:hover {
  gap: 8px;
}

.section-dark .service-card {
  background: #1a1a1a;
  color: #fff;
}

.section-dark .service-card .card-title {
  color: #fff;
}

.section-dark .service-card .card-text {
  color: rgba(255,255,255,0.75);
}

/* =========================================
   Benefits Grid (Service Pages)
   ========================================= */
.benefit-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 10px;
  background: #f8f8f8;
  height: 100%;
  transition: box-shadow 0.2s;
}

.benefit-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.benefit-card .icon {
  font-size: 2.8rem;
  color: var(--yellow);
  margin-bottom: 16px;
}

.benefit-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

/* =========================================
   Installation Process Steps
   ========================================= */
.steps-section {
  background: var(--black);
  color: #fff;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 36px;
}

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h5 {
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 6px;
}

.step-content p {
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* =========================================
   Maintenance Tips
   ========================================= */
.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}

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

.tips-list li i {
  color: var(--yellow);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================
   Image Gallery
   ========================================= */
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
  background: var(--black);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 36px auto;
}

.cta-phone {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
  display: block;
  margin-bottom: 28px;
}

.cta-phone i {
  margin-right: 8px;
}

/* =========================================
   Contact Page
   ========================================= */
.contact-section {
  background: #f9f9f9;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon-circle {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--black);
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
  border-radius: 6px;
  border: 1.5px solid #ddd;
  padding: 12px 14px;
  font-size: 0.97rem;
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,196,81,0.18);
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0 0;
}

.site-footer .footer-brand img {
  height: 52px;
  margin-bottom: 16px;
}

.site-footer .footer-brand p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  max-width: 240px;
}

.site-footer h6 {
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.82rem;
  margin-bottom: 20px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.site-footer ul li a:hover {
  color: var(--yellow);
}

.site-footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-right: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.site-footer .social-icons a:hover {
  background: var(--yellow);
  color: var(--black);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.4);
}

.site-footer .footer-bottom a {
  color: var(--yellow);
}

/* =========================================
   Section Dark variant
   ========================================= */
.section-dark {
  background: #111;
  color: #fff;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.65);
}

/* =========================================
   404 Page
   ========================================= */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  text-align: center;
}

.page-404 .error-code {
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.page-404 h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.page-404 p {
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin: 0 auto 32px auto;
}

/* =========================================
   PHP Email Form Messages
   ========================================= */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 6px;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 6px;
}

.php-email-form .loading {
  display: none;
  background: #1c1ca8;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 6px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =========================================
   Drawer Toggle (Hamburger → X)
   ========================================= */
.drawer-toggle {
  background: transparent;
  border: none;
  padding: 8px 6px;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  outline: none;
  align-items: center;
}

.drawer-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.dt-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease,
              background 0.2s ease;
}

body.drawer-open .dt-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--yellow);
}

body.drawer-open .dt-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.drawer-open .dt-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--yellow);
}

/* =========================================
   Nav Drawer Overlay
   ========================================= */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================
   Side Drawer
   ========================================= */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: min(320px, 85vw);
  background: #0d0d0d;
  border-left: 2px solid var(--yellow);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.drawer-brand img {
  height: 40px;
  width: auto;
}

.drawer-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.25rem;
  padding: 6px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.drawer-close:hover {
  color: var(--yellow);
}

.drawer-nav-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0 32px 0;
  overflow-y: auto;
}

.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.drawer-nav li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.drawer-link {
  display: block;
  padding: 16px 28px;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--yellow);
  padding-left: 38px;
}

.drawer-link.active {
  font-weight: 700;
}

.drawer-cta {
  padding: 28px 28px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.drawer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.drawer-phone:hover {
  color: var(--yellow);
}

body.drawer-open {
  overflow: hidden;
}