/* ============================================================
   AUTOTECH CONTROLS — CLEAN RESPONSIVE HEADER CSS
   ============================================================ */

/* ---------------- HEADER WRAPPER ---------------- */
.atc-header {
  width: 100%;
  padding: 6px 0 0 0;
  background: #fff;
  box-sizing: border-box;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
}

.header-left,
.header-center,
.header-right {
    flex: 1;
}

.header-left {
    text-align: left;
}

.header-center {
    text-align: center;
}

.header-right {
    text-align: right;
}

/* Logo sizing */
.left-logo,
.right-logo {
    max-height: 90px;
    width: auto;
}

.main-logo {
    max-height: 116px;
    width: auto;
}

/* ---------------- NAV BAR (BLUE GRADIENT) ---------------- */
.atc-nav {
  margin-top: 4px;
  background: linear-gradient(#1d52c6, #2a78f6, #1d52c6);
}

.atc-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.atc-nav li {
  padding: 10px 22px;
}

.atc-nav a {
  color: #fff;
  font-size: 1.1rem;
	padding: 10px 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
	text-transform: uppercase;
}

.atc-nav a:hover {
  color: #fff;
  font-size: 1.1rem;
	padding: 10px 10px;
	transform: scale(1.05);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
	text-transform: uppercase;
	background: linear-gradient(to bottom, #003fb5, #2d7dff);
}

/* Desktop Navigation - Keep Normal */
.navbar {
    width: 100%;
    background: linear-gradient(to bottom, #2d7dff, #003fb5);
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.navbar ul li {
    display: inline-block;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
	padding: 10px 10px;
    white-space: nowrap;
}

.navbar ul li a:hover {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
	padding: 10px 10px;
	background: linear-gradient(to bottom, #003fb5, #2d7dff);
}


/* Mobile Navigation */
@media (max-width: 768px) {
	
	/* Header layout */
    .header-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "logo logo"
            "left right";
        row-gap: 12px;
        padding: 10px 15px;
    }

    .header-center {
        grid-area: logo;
        justify-self: center;
    }

    .header-left {
        grid-area: left;
        justify-self: start;
    }

    .header-right {
        grid-area: right;
        justify-self: end;
    }

    .main-logo {
        max-height: 90px;
        max-width: 95%;
    }

    .left-logo {
        max-height: 45px;
    }

    .right-logo {
        max-height: 35px;
    }


    .navbar ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 15px;
        padding: 8px 5px;
    }

    .navbar ul li {
        display: inline-block;
    }

    .navbar ul li a {
        font-size: 13px;
        line-height: 1.3;
    }
}
