:root {
    --light-blue: #4bb5ff;
    --dark-blue: #062a40;
    --light-maple: #cd6920;
    --dark-maple: #a33b15;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    border-radius: 10px;
}

span {
    color: var(--light-maple);
}

.AHVAC-generic-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark-blue);
    color: white;
    z-index: 999;
}

.AHVAC-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
}

nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--light-maple);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style-type: none;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* HAMBURGER ACTIVE */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6.25px, 6.25px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6.25px, -6.25px);
}

/* HAMBURGER RESPONSIVE BEHAVIOR */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        /* height of navbar */
        right: 0;
        background: var(--dark-blue);
        flex-direction: column;
        align-items: center;
        width: 200px;
        height: 100vh;
        padding-top: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.show {
        transform: translateX(0);
    }
}

/* HERO */
#AHVAC-hero-section {
    background: linear-gradient(to right, var(--dark-blue), rgba(0, 0, 0, 0)), url("img/interface/AC.jpg") center/cover no-repeat;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.AHVAC-hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light-maple);
}

.AHVAC-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.AHVAC-hero-content p {
    max-width: 600px;
    margin: auto;
    margin-bottom: 25px;
}

.AHVAC-hero-buttons button {
    padding: 12px 25px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background: var(--light-maple);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.AHVAC-hero-buttons .outline {
    background: transparent;
    border: 2px solid var(--light-maple);
}

.AHVAC-hero-buttons button:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* FEATURES */
#AHVAC-features-section {
    background: #f4f9ff;
    padding: 60px 0;
}

.AHVAC-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.AHVAC-features-card {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: 0.5s
}

.AHVAC-features-card h3 {
    margin-bottom: 10px;
    color: white;
}

.AHVAC-features-card p {
    margin-bottom: 10px;
    color: white;
}

.AHVAC-features-card:hover {
    transform: translateY(-15px);
}

.AHVAC-features-card-image {
    width: 100px;
    height: auto;
}

.light-blue-bg {
    background: var(--light-maple);
}

.dark-blue-bg {
    background: var(--dark-blue);
}

/* ABOUT */
.AHVAC-about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 60px 0;
}

.AHVAC-about-text {
    flex: 50%;
    padding: 20px;
}

.AHVAC-about-text h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.AHVAC-about-text button {
    background: var(--light-maple);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
}

.AHVAC-about-img {
    flex: 50%;
    padding: 20px;
    text-align: center;
}

@media (max-width: 800px) {
  .AHVAC-about-text, .AHVAC-about-img {
    flex: 100%;
  }
}

/* SERVICES */
#AHVAC-services-section {
    background: #f4f4f4;
    padding: 60px 0;
}

.AHVAC-section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.AHVAC-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.AHVAC-service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}

.AHVAC-service-card h3 {
    margin: 15px 0;
    color: var(--dark-blue);
}

.AHVAC-service-card {
    position: relative;
    transition: 0.5s
}

.AHVAC-service-card:hover {
    transform: translateY(-15px);
}

/* GALLEY */
#AHVAC-gallery {
    padding: 60px 0;
}

.carousel-container {
  position: relative;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}

.carousel-dots button.active {
  background: white;
}

/* CONTACT */
#AHVAC-contact {
    background: #f4f4f4;
    padding: 60px 0;
}

#AHVAC-table-contact-info {
    margin-left: auto;
    margin-right: auto;
    border-collapse: separate;
    border-spacing: 10px 10px;
}

#AHVAC-table-contact-info th, td {
    text-align: center;
}

#AHVAC-table-contact-info img {
    max-width: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.AHVAC-section-text {
    text-align: center;
    max-width: 600px;
    margin: auto;
    margin-bottom: 25px;
}

/* FOOTER */
footer {
    background: var(--dark-blue);
    color: white;
    text-align: center;
    padding: 20px;
}