/* ==========================================================================
   AUSAFE AIR — rebuilt static stylesheet (Bridge theme look)
   Palette: accent orange #ff9f1f | deep blue #30318b | footer #262626
   Fonts: Rubik (headings/buttons) + Raleway (body)
   ========================================================================== */

:root {
  --accent: #ff9f1f;
  --blue: #30318b;
  --dark: #262626;
  --text: #777;
  --heading: #303030;
  --container: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  color: var(--heading);
  line-height: 1.25;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
header.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
header.site-header.stuck {
  position: fixed;
  animation: slideDown .3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
header.site-header.stuck .header-inner { height: 70px; }

.logo img { height: 62px; width: auto; }
header.site-header.stuck .logo img { height: 50px; }

nav.main-menu ul { list-style: none; display: flex; align-items: center; }
nav.main-menu li a {
  display: block;
  padding: 10px 18px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #303030;
  font-weight: 400;
}
nav.main-menu li a:hover,
nav.main-menu li.active a { color: var(--blue); }
nav.main-menu li.phone-item a { color: var(--blue); font-weight: 500; }
nav.main-menu li.phone-item a:hover { color: var(--accent); }

.mobile-menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span {
  display: block; width: 26px; height: 2px; background: #303030; margin: 5px 0;
}

/* --------------------------------------------------------------------------
   Page title bar (inner pages)
   -------------------------------------------------------------------------- */
.title-area {
  background: linear-gradient(rgba(20,20,30,.55), rgba(20,20,30,.55)),
              url('../images/adventure-alpine-climb.jpg') center 30% / cover no-repeat;
  padding: 230px 0 90px;
  text-align: center;
}
.title-area h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(rgba(15,18,40,.45), rgba(15,18,40,.45)),
              url('../images/air-conditioner-hero.jpg') center / cover no-repeat;
  padding: 250px 0 250px;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text { flex: 8; }
.hero-text h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 8px;
}
.hero-text h1 a { color: #fff; border-bottom: 2px solid var(--accent); }
.hero-text h1 a:hover { color: var(--accent); }
.hero-photo { flex: 4; max-width: 260px; }
.hero-photo img {
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0,0,0,.4);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 100px 0; }
.section.tight { padding: 70px 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 55px; }
.section-head h2 { font-size: 34px; font-weight: 500; margin-bottom: 14px; }
.section-head .lead { font-size: 16px; color: var(--text); }

/* Service cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: #fff;
  box-shadow: 0 4px 25px rgba(0,0,0,.09);
  padding: 62px 30px 55px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 35px rgba(0,0,0,.14); }
.card img.icon { width: 110px; height: 110px; margin: 0 auto 28px; }
.card h3 { font-size: 21px; font-weight: 500; margin-bottom: 12px; }
.card p { font-size: 15px; }

/* Welcome two-column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two-col h2 { font-size: 32px; font-weight: 500; margin-bottom: 18px; }
.two-col p { margin-bottom: 16px; }

.image-slider {
  position: relative;
  box-shadow: 0 10px 35px rgba(0,0,0,.15);
  overflow: hidden;
}
.image-slider img {
  width: 100%;
  display: none;
}
.image-slider img.active { display: block; animation: fadeIn .8s ease; }
@keyframes fadeIn { from { opacity: .3; } to { opacity: 1; } }

/* Special offers CTA */
.special-offers { text-align: center; }
.special-offers h2 { font-size: 34px; font-weight: 500; margin-bottom: 14px; }
.special-offers .lead { max-width: 760px; margin: 0 auto 45px; font-size: 16px; }
.contact-banner {
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 6px 30px rgba(0,0,0,.12);
}
.contact-banner:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }

/* Testimonials */
.testimonials {
  background: linear-gradient(rgba(28,34,80,.82), rgba(28,34,80,.82)),
              url('../images/atmosphere-beautiful-blue.jpg') center / cover no-repeat fixed;
  padding: 130px 0;
  text-align: center;
}
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeIn .8s ease; }
.testimonial-slide img.avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 30px;
  border: 3px solid rgba(255,255,255,.35);
}
.testimonial-slide p.quote {
  color: #fff;
  font-size: 17px;
  font-style: italic;
  max-width: 820px;
  margin: 0 auto 25px;
}
.testimonial-slide p.author {
  color: var(--accent);
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
}
.testimonial-dots { margin-top: 45px; }
.testimonial-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
  padding: 0;
}
.testimonial-dots button.active { background: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   Inner page content blocks
   -------------------------------------------------------------------------- */
.intro-section { padding: 90px 0 60px; }
.intro-section h2 { font-size: 30px; font-weight: 500; margin-bottom: 20px; }
.intro-section p { margin-bottom: 16px; }

.feature-3 { text-align: center; }
.feature-3 img { width: 64px; height: 64px; margin: 0 auto 20px; }
.feature-3 h5 {
  font-size: 17px; font-weight: 500; margin-bottom: 10px; letter-spacing: .5px;
}
.feature-3 p { font-size: 14px; }

.step-list { margin: 0 0 20px 20px; }
.step-list li { margin-bottom: 10px; }

/* Three service boxes with images + Contact Us buttons */
.service-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-box { box-shadow: 0 4px 25px rgba(0,0,0,.09); background: #fff; }
.service-box img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-box .box-body { padding: 30px 28px 35px; text-align: center; }
.service-box h3 { font-size: 21px; font-weight: 500; margin-bottom: 14px; }

.btn {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 30px;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  transition: all .25s;
  cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.orange { background: var(--accent); border-color: var(--accent); }
.btn.orange:hover { background: var(--blue); border-color: var(--blue); }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-detail h3 { font-size: 24px; font-weight: 500; margin-bottom: 30px; }
.contact-detail h5 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.contact-detail .detail-row { margin-bottom: 28px; }
.contact-detail .detail-row a { font-size: 15px; }
.contact-detail p.note { margin-bottom: 30px; }

.contact-form h3 { font-size: 24px; font-weight: 500; margin-bottom: 30px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ddd;
  margin-bottom: 18px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #444;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-status { display: none; color: #2e7d32; font-size: 14px; margin-top: 10px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer.site-footer { background: var(--dark); }
.footer-top {
  padding: 75px 0 55px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 45px;
}
footer.site-footer h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
footer.site-footer p,
footer.site-footer li { color: #818181; font-size: 14px; }
footer.site-footer a { color: #818181; }
footer.site-footer a:hover { color: #fff; }
.footer-cols .contact-row { margin-bottom: 8px; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icons svg { width: 16px; height: 16px; fill: var(--blue); }
.social-icons a:hover { background: #eee; }

.footer-bottom { background: var(--blue); padding: 22px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.85); font-size: 13px; margin: 0; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--accent); }

/* Back to top */
#back_to_top {
  position: fixed;
  right: 25px; bottom: 25px;
  width: 46px; height: 46px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 15px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
#back_to_top.show { opacity: 1; visibility: visible; }
#back_to_top svg { width: 18px; height: 18px; fill: var(--accent); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .cards-3, .service-boxes, .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero { padding: 180px 0 120px; }
}

@media (max-width: 768px) {
  .header-inner { height: 70px; }
  .logo img { height: 46px; }
  nav.main-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
  }
  nav.main-menu.open { display: block; }
  nav.main-menu ul { flex-direction: column; padding: 10px 0; }
  nav.main-menu li a { padding: 12px 28px; }
  .mobile-menu-toggle { display: block; }

  .title-area { padding: 150px 0 70px; }
  .title-area h1 { font-size: 30px; }

  .hero { padding: 140px 0 80px; }
  .hero .container { flex-direction: column; align-items: flex-start; }
  .hero-text h1 { font-size: 26px; }
  .hero-photo { max-width: 200px; }

  .section { padding: 70px 0; }
  .section-head h2, .special-offers h2, .two-col h2, .intro-section h2 { font-size: 26px; }

  .cards-3, .service-boxes, .footer-cols, .two-col, .contact-grid { grid-template-columns: 1fr; }

  .testimonials { background-attachment: scroll; padding: 90px 0; }
  .testimonial-slide p.quote { font-size: 15px; }
}
